From 0414b2af4d0361245d5c04bfa03f4c88b5495c31 Mon Sep 17 00:00:00 2001 From: Robin Kuzmin <9372582+kuzminrobin@users.noreply.github.com> Date: Sun, 11 Dec 2022 22:12:40 -0800 Subject: [PATCH] Switch to QDK ver 0.27.244707. (#860) --- .github/CONTRIBUTING.md | 2 +- BasicGates/BasicGates.csproj | 6 +++--- BoundedKnapsack/BoundedKnapsack.csproj | 6 +++--- CHSHGame/CHSHGame.csproj | 6 +++--- DeutschJozsaAlgorithm/DeutschJozsaAlgorithm.csproj | 6 +++--- DistinguishUnitaries/DistinguishUnitaries.csproj | 6 +++--- Dockerfile | 2 +- GHZGame/GHZGame.csproj | 6 +++--- GraphColoring/GraphColoring.csproj | 6 +++--- GroversAlgorithm/GroversAlgorithm.csproj | 6 +++--- JointMeasurements/JointMeasurements.csproj | 6 +++--- KeyDistribution_BB84/KeyDistribution_BB84.csproj | 6 +++--- MagicSquareGame/MagicSquareGame.csproj | 6 +++--- Measurements/Measurements.csproj | 6 +++--- PhaseEstimation/PhaseEstimation.csproj | 6 +++--- QEC_BitFlipCode/QEC_BitFlipCode.csproj | 6 +++--- QFT/QFT.csproj | 6 +++--- RippleCarryAdder/RippleCarryAdder.csproj | 6 +++--- SimonsAlgorithm/SimonsAlgorithm.csproj | 6 +++--- SolveSATWithGrover/SolveSATWithGrover.csproj | 6 +++--- SuperdenseCoding/SuperdenseCoding.csproj | 6 +++--- Superposition/Superposition.csproj | 6 +++--- Teleportation/Teleportation.csproj | 6 +++--- TruthTables/TruthTables.csproj | 6 +++--- UnitaryPatterns/UnitaryPatterns.csproj | 6 +++--- global.json | 2 +- scripts/Update-QDKVersion.ps1 | 2 +- scripts/install-iqsharp.ps1 | 2 +- .../AQ/ProviderDependencies.csproj | 4 ++-- .../DeutschJozsaAlgorithmTutorial.csproj | 6 +++--- .../ExploringGroversAlgorithmTutorial.csproj | 4 ++-- tutorials/MultiQubitGates/MultiQubitGates.csproj | 6 +++--- .../MultiQubitSystemMeasurements.csproj | 6 +++--- tutorials/MultiQubitSystems/MultiQubitSystems.csproj | 6 +++--- tutorials/Oracles/Oracles.csproj | 6 +++--- .../QuantumClassification/QuantumClassification.csproj | 4 ++-- .../RandomNumberGenerationTutorial.csproj | 6 +++--- tutorials/SingleQubitGates/SingleQubitGates.csproj | 6 +++--- .../SingleQubitSystemMeasurements.csproj | 6 +++--- tutorials/VisualizationTools/VisualizationTools.csproj | 6 +++--- utilities/Common/Common.csproj | 2 +- .../CounterSimulatorTests/CounterSimulatorTests.csproj | 4 ++-- utilities/DumpUnitary/DumpUnitary.csproj | 2 +- .../Microsoft.Quantum.Katas/Microsoft.Quantum.Katas.csproj | 2 +- 44 files changed, 112 insertions(+), 112 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 463f24ec..35238ec7 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -111,7 +111,7 @@ The Quantum Development Kit is updated monthly (you can find the latest releases Updating the Katas to a different QDK version can be done using PowerShell script [Update-QDKVersion](https://github.com/microsoft/QuantumKatas/blob/main/scripts/Update-QDKVersion.ps1). It takes one parameter, the version to be used, so the command looks like this: ```powershell - PS> ./scripts/Update-QDKVersion.ps1 0.27.238334 + PS> ./scripts/Update-QDKVersion.ps1 0.27.244707 ``` After running this script you should validate that the update didn't introduce any breaking changes; see the next section for how to do this. diff --git a/BasicGates/BasicGates.csproj b/BasicGates/BasicGates.csproj index ebd88a0d..66b51552 100644 --- a/BasicGates/BasicGates.csproj +++ b/BasicGates/BasicGates.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/BoundedKnapsack/BoundedKnapsack.csproj b/BoundedKnapsack/BoundedKnapsack.csproj index 5eb9f5d3..8cacdef7 100644 --- a/BoundedKnapsack/BoundedKnapsack.csproj +++ b/BoundedKnapsack/BoundedKnapsack.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -7,8 +7,8 @@ - - + + diff --git a/CHSHGame/CHSHGame.csproj b/CHSHGame/CHSHGame.csproj index f2759a77..97ec92f4 100644 --- a/CHSHGame/CHSHGame.csproj +++ b/CHSHGame/CHSHGame.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/DeutschJozsaAlgorithm/DeutschJozsaAlgorithm.csproj b/DeutschJozsaAlgorithm/DeutschJozsaAlgorithm.csproj index e4c6c82a..3dae818b 100644 --- a/DeutschJozsaAlgorithm/DeutschJozsaAlgorithm.csproj +++ b/DeutschJozsaAlgorithm/DeutschJozsaAlgorithm.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -7,8 +7,8 @@ - - + + diff --git a/DistinguishUnitaries/DistinguishUnitaries.csproj b/DistinguishUnitaries/DistinguishUnitaries.csproj index 981bac19..66af1f78 100644 --- a/DistinguishUnitaries/DistinguishUnitaries.csproj +++ b/DistinguishUnitaries/DistinguishUnitaries.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/Dockerfile b/Dockerfile index 0ae9298e..86f4a59c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # We use the iqsharp-base image, as that includes # the .NET Core SDK, IQ#, and Jupyter Notebook already # installed for us. -FROM mcr.microsoft.com/quantum/iqsharp-base:0.27.238334 +FROM mcr.microsoft.com/quantum/iqsharp-base:0.27.244707 # Add metadata indicating that this image is used for the katas. ENV IQSHARP_HOSTING_ENV=KATAS_DOCKERFILE diff --git a/GHZGame/GHZGame.csproj b/GHZGame/GHZGame.csproj index 0d069b96..9dfbaf39 100644 --- a/GHZGame/GHZGame.csproj +++ b/GHZGame/GHZGame.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/GraphColoring/GraphColoring.csproj b/GraphColoring/GraphColoring.csproj index 308417a6..3699f522 100644 --- a/GraphColoring/GraphColoring.csproj +++ b/GraphColoring/GraphColoring.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/GroversAlgorithm/GroversAlgorithm.csproj b/GroversAlgorithm/GroversAlgorithm.csproj index 835d5aca..83e7ac9a 100755 --- a/GroversAlgorithm/GroversAlgorithm.csproj +++ b/GroversAlgorithm/GroversAlgorithm.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/JointMeasurements/JointMeasurements.csproj b/JointMeasurements/JointMeasurements.csproj index 40cdacbf..0a6c342b 100644 --- a/JointMeasurements/JointMeasurements.csproj +++ b/JointMeasurements/JointMeasurements.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/KeyDistribution_BB84/KeyDistribution_BB84.csproj b/KeyDistribution_BB84/KeyDistribution_BB84.csproj index d21c13fe..c70a4276 100644 --- a/KeyDistribution_BB84/KeyDistribution_BB84.csproj +++ b/KeyDistribution_BB84/KeyDistribution_BB84.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/MagicSquareGame/MagicSquareGame.csproj b/MagicSquareGame/MagicSquareGame.csproj index 5e700380..a23545ec 100644 --- a/MagicSquareGame/MagicSquareGame.csproj +++ b/MagicSquareGame/MagicSquareGame.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/Measurements/Measurements.csproj b/Measurements/Measurements.csproj index 59fe5eb9..239b6bcd 100644 --- a/Measurements/Measurements.csproj +++ b/Measurements/Measurements.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/PhaseEstimation/PhaseEstimation.csproj b/PhaseEstimation/PhaseEstimation.csproj index 6dfdfe1b..3d69023d 100644 --- a/PhaseEstimation/PhaseEstimation.csproj +++ b/PhaseEstimation/PhaseEstimation.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/QEC_BitFlipCode/QEC_BitFlipCode.csproj b/QEC_BitFlipCode/QEC_BitFlipCode.csproj index bd79d2a7..eb312ccb 100644 --- a/QEC_BitFlipCode/QEC_BitFlipCode.csproj +++ b/QEC_BitFlipCode/QEC_BitFlipCode.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -11,8 +11,8 @@ - - + + diff --git a/QFT/QFT.csproj b/QFT/QFT.csproj index c3de1307..a2cd0664 100644 --- a/QFT/QFT.csproj +++ b/QFT/QFT.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/RippleCarryAdder/RippleCarryAdder.csproj b/RippleCarryAdder/RippleCarryAdder.csproj index e123b652..2ec1769c 100644 --- a/RippleCarryAdder/RippleCarryAdder.csproj +++ b/RippleCarryAdder/RippleCarryAdder.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/SimonsAlgorithm/SimonsAlgorithm.csproj b/SimonsAlgorithm/SimonsAlgorithm.csproj index 74988679..9503cb89 100644 --- a/SimonsAlgorithm/SimonsAlgorithm.csproj +++ b/SimonsAlgorithm/SimonsAlgorithm.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/SolveSATWithGrover/SolveSATWithGrover.csproj b/SolveSATWithGrover/SolveSATWithGrover.csproj index 835d5aca..83e7ac9a 100644 --- a/SolveSATWithGrover/SolveSATWithGrover.csproj +++ b/SolveSATWithGrover/SolveSATWithGrover.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/SuperdenseCoding/SuperdenseCoding.csproj b/SuperdenseCoding/SuperdenseCoding.csproj index 224468ae..3e5f45e2 100644 --- a/SuperdenseCoding/SuperdenseCoding.csproj +++ b/SuperdenseCoding/SuperdenseCoding.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/Superposition/Superposition.csproj b/Superposition/Superposition.csproj index 8f1b4a91..901bbb01 100644 --- a/Superposition/Superposition.csproj +++ b/Superposition/Superposition.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/Teleportation/Teleportation.csproj b/Teleportation/Teleportation.csproj index e69d77da..1d834831 100644 --- a/Teleportation/Teleportation.csproj +++ b/Teleportation/Teleportation.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/TruthTables/TruthTables.csproj b/TruthTables/TruthTables.csproj index 9fe1f01f..8a0036f1 100644 --- a/TruthTables/TruthTables.csproj +++ b/TruthTables/TruthTables.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/UnitaryPatterns/UnitaryPatterns.csproj b/UnitaryPatterns/UnitaryPatterns.csproj index ccd619b0..9b18efbd 100644 --- a/UnitaryPatterns/UnitaryPatterns.csproj +++ b/UnitaryPatterns/UnitaryPatterns.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/global.json b/global.json index 45f2aa03..a98a2f97 100644 --- a/global.json +++ b/global.json @@ -4,6 +4,6 @@ "rollForward": "latestMinor" }, "msbuild-sdks": { - "Microsoft.Quantum.Sdk": "0.27.238334" + "Microsoft.Quantum.Sdk": "0.27.244707" } } diff --git a/scripts/Update-QDKVersion.ps1 b/scripts/Update-QDKVersion.ps1 index e9fb6aa8..4742e757 100644 --- a/scripts/Update-QDKVersion.ps1 +++ b/scripts/Update-QDKVersion.ps1 @@ -18,7 +18,7 @@ param( .EXAMPLE - PS> ./Update-QDKVersion.ps1 -Version 0.27.238334 + PS> ./Update-QDKVersion.ps1 -Version 0.27.244707 #> $katasRoot = Join-Path $PSScriptRoot "\..\" diff --git a/scripts/install-iqsharp.ps1 b/scripts/install-iqsharp.ps1 index 3e1ba833..e7d18f86 100644 --- a/scripts/install-iqsharp.ps1 +++ b/scripts/install-iqsharp.ps1 @@ -19,7 +19,7 @@ try { if ($install) { try { Write-Host ("Installing Microsoft.Quantum.IQSharp at $Env:TOOLS_DIR") - dotnet tool install Microsoft.Quantum.IQSharp --version 0.27.238334 --tool-path $Env:TOOLS_DIR + dotnet tool install Microsoft.Quantum.IQSharp --version 0.27.244707 --tool-path $Env:TOOLS_DIR # dotnet-iqsharp writes some output to stderr, which causes Powershell to throw # unless $ErrorActionPreference is set to 'Continue'. diff --git a/tutorials/ExploringDeutschJozsaAlgorithm/AQ/ProviderDependencies.csproj b/tutorials/ExploringDeutschJozsaAlgorithm/AQ/ProviderDependencies.csproj index 5554d56b..9c8654c9 100644 --- a/tutorials/ExploringDeutschJozsaAlgorithm/AQ/ProviderDependencies.csproj +++ b/tutorials/ExploringDeutschJozsaAlgorithm/AQ/ProviderDependencies.csproj @@ -5,7 +5,7 @@ - - + + diff --git a/tutorials/ExploringDeutschJozsaAlgorithm/DeutschJozsaAlgorithmTutorial.csproj b/tutorials/ExploringDeutschJozsaAlgorithm/DeutschJozsaAlgorithmTutorial.csproj index e4c6c82a..3dae818b 100644 --- a/tutorials/ExploringDeutschJozsaAlgorithm/DeutschJozsaAlgorithmTutorial.csproj +++ b/tutorials/ExploringDeutschJozsaAlgorithm/DeutschJozsaAlgorithmTutorial.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -7,8 +7,8 @@ - - + + diff --git a/tutorials/ExploringGroversAlgorithm/ExploringGroversAlgorithmTutorial.csproj b/tutorials/ExploringGroversAlgorithm/ExploringGroversAlgorithmTutorial.csproj index d60e2928..1c59876b 100644 --- a/tutorials/ExploringGroversAlgorithm/ExploringGroversAlgorithmTutorial.csproj +++ b/tutorials/ExploringGroversAlgorithm/ExploringGroversAlgorithmTutorial.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -7,7 +7,7 @@ - + diff --git a/tutorials/MultiQubitGates/MultiQubitGates.csproj b/tutorials/MultiQubitGates/MultiQubitGates.csproj index 01921fdc..22a95139 100644 --- a/tutorials/MultiQubitGates/MultiQubitGates.csproj +++ b/tutorials/MultiQubitGates/MultiQubitGates.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -7,8 +7,8 @@ - - + + diff --git a/tutorials/MultiQubitSystemMeasurements/MultiQubitSystemMeasurements.csproj b/tutorials/MultiQubitSystemMeasurements/MultiQubitSystemMeasurements.csproj index 16c34e76..46d255ea 100644 --- a/tutorials/MultiQubitSystemMeasurements/MultiQubitSystemMeasurements.csproj +++ b/tutorials/MultiQubitSystemMeasurements/MultiQubitSystemMeasurements.csproj @@ -1,4 +1,4 @@ - + net6.0 @@ -8,8 +8,8 @@ - - + + diff --git a/tutorials/MultiQubitSystems/MultiQubitSystems.csproj b/tutorials/MultiQubitSystems/MultiQubitSystems.csproj index 5ae24fd9..b836ac1b 100644 --- a/tutorials/MultiQubitSystems/MultiQubitSystems.csproj +++ b/tutorials/MultiQubitSystems/MultiQubitSystems.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -7,8 +7,8 @@ - - + + diff --git a/tutorials/Oracles/Oracles.csproj b/tutorials/Oracles/Oracles.csproj index 3982716e..9edfd0f9 100644 --- a/tutorials/Oracles/Oracles.csproj +++ b/tutorials/Oracles/Oracles.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -7,8 +7,8 @@ - - + + diff --git a/tutorials/QuantumClassification/QuantumClassification.csproj b/tutorials/QuantumClassification/QuantumClassification.csproj index 7310d532..5370675b 100644 --- a/tutorials/QuantumClassification/QuantumClassification.csproj +++ b/tutorials/QuantumClassification/QuantumClassification.csproj @@ -1,4 +1,4 @@ - + net6.0 @@ -11,7 +11,7 @@ - + diff --git a/tutorials/RandomNumberGeneration/RandomNumberGenerationTutorial.csproj b/tutorials/RandomNumberGeneration/RandomNumberGenerationTutorial.csproj index 86470471..f2e35992 100644 --- a/tutorials/RandomNumberGeneration/RandomNumberGenerationTutorial.csproj +++ b/tutorials/RandomNumberGeneration/RandomNumberGenerationTutorial.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -7,8 +7,8 @@ - - + + diff --git a/tutorials/SingleQubitGates/SingleQubitGates.csproj b/tutorials/SingleQubitGates/SingleQubitGates.csproj index 6039beec..dd966b6f 100644 --- a/tutorials/SingleQubitGates/SingleQubitGates.csproj +++ b/tutorials/SingleQubitGates/SingleQubitGates.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -7,8 +7,8 @@ - - + + diff --git a/tutorials/SingleQubitSystemMeasurements/SingleQubitSystemMeasurements.csproj b/tutorials/SingleQubitSystemMeasurements/SingleQubitSystemMeasurements.csproj index ee0b0ad7..0d70379e 100644 --- a/tutorials/SingleQubitSystemMeasurements/SingleQubitSystemMeasurements.csproj +++ b/tutorials/SingleQubitSystemMeasurements/SingleQubitSystemMeasurements.csproj @@ -1,4 +1,4 @@ - + net6.0 @@ -8,8 +8,8 @@ - - + + diff --git a/tutorials/VisualizationTools/VisualizationTools.csproj b/tutorials/VisualizationTools/VisualizationTools.csproj index d80aeb3d..503cbb73 100644 --- a/tutorials/VisualizationTools/VisualizationTools.csproj +++ b/tutorials/VisualizationTools/VisualizationTools.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -7,8 +7,8 @@ - - + + diff --git a/utilities/Common/Common.csproj b/utilities/Common/Common.csproj index 9edbfe3e..31697872 100644 --- a/utilities/Common/Common.csproj +++ b/utilities/Common/Common.csproj @@ -1,4 +1,4 @@ - + netstandard2.1 x64 diff --git a/utilities/CounterSimulatorTests/CounterSimulatorTests.csproj b/utilities/CounterSimulatorTests/CounterSimulatorTests.csproj index 6eef317f..f30e626f 100644 --- a/utilities/CounterSimulatorTests/CounterSimulatorTests.csproj +++ b/utilities/CounterSimulatorTests/CounterSimulatorTests.csproj @@ -1,4 +1,4 @@ - + net6.0 @@ -6,7 +6,7 @@ - + diff --git a/utilities/DumpUnitary/DumpUnitary.csproj b/utilities/DumpUnitary/DumpUnitary.csproj index 48ade24c..1c31fecf 100644 --- a/utilities/DumpUnitary/DumpUnitary.csproj +++ b/utilities/DumpUnitary/DumpUnitary.csproj @@ -1,4 +1,4 @@ - + Exe net6.0 diff --git a/utilities/Microsoft.Quantum.Katas/Microsoft.Quantum.Katas.csproj b/utilities/Microsoft.Quantum.Katas/Microsoft.Quantum.Katas.csproj index 4f8bfedb..c337db64 100644 --- a/utilities/Microsoft.Quantum.Katas/Microsoft.Quantum.Katas.csproj +++ b/utilities/Microsoft.Quantum.Katas/Microsoft.Quantum.Katas.csproj @@ -17,7 +17,7 @@ - +