From 1346962f761c82ade05487b29222b5e1675fea8a Mon Sep 17 00:00:00 2001 From: Robin Kuzmin <9372582+kuzminrobin@users.noreply.github.com> Date: Tue, 24 May 2022 13:54:56 -0700 Subject: [PATCH] Update QDK to May release 0.24.210930. (#787) --- .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 +++--- 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 +- 43 files changed, 111 insertions(+), 111 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 46a1e162..31ee188e 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.24.208024 + PS> ./scripts/Update-QDKVersion.ps1 0.24.210930 ``` 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 b4135c0a..4dbfdfbc 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 01acc135..b561e4c9 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 16c7588b..cb202f5e 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 8b81b627..388cc931 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 5bf577d1..d42a6c51 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 c83bb723..57d6a0dd 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.24.208024 +FROM mcr.microsoft.com/quantum/iqsharp-base:0.24.210930 # 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 a535b39f..25ef7b19 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 873d54d7..bbcf4495 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 af4a46e6..0e9578ef 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 b529f29f..5a47dc45 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 6ccce686..43bd243b 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 c1c226a2..274602f1 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 6adc3e81..a6778c83 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 3ea37594..c0f5b6f1 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 0f979f83..eb1ddca2 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 c6d1e2b6..3574d47a 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 f9cb096a..dea78c0a 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 5969fbdf..0a2cb502 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 af4a46e6..0e9578ef 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 a6204489..31909c71 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 3dabbd15..abab974e 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 4c440c8d..fddcb3a7 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 c6b5dcdc..2c77a442 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 447dda72..c95f9a3a 100644 --- a/UnitaryPatterns/UnitaryPatterns.csproj +++ b/UnitaryPatterns/UnitaryPatterns.csproj @@ -1,4 +1,4 @@ - + net6.0 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/scripts/Update-QDKVersion.ps1 b/scripts/Update-QDKVersion.ps1 index 0c4a1b36..f6523189 100644 --- a/scripts/Update-QDKVersion.ps1 +++ b/scripts/Update-QDKVersion.ps1 @@ -18,7 +18,7 @@ param( .EXAMPLE - PS> ./Update-QDKVersion.ps1 -Version 0.24.208024 + PS> ./Update-QDKVersion.ps1 -Version 0.24.210930 #> $katasRoot = Join-Path $PSScriptRoot "\..\" diff --git a/scripts/install-iqsharp.ps1 b/scripts/install-iqsharp.ps1 index 3385eb98..0956a744 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.24.208024 --tool-path $Env:TOOLS_DIR + dotnet tool install Microsoft.Quantum.IQSharp --version 0.24.210930 --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 3ddb60ea..fb20a3b7 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 8b81b627..388cc931 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 39055897..2cef86ee 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 f5b33f10..bb833fc7 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 16e7ac93..900d4b26 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 4161854c..60696232 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 49474e9c..8f1addac 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 d32800da..800ca90c 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 f8f72686..5041f33c 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 13094e3e..965819b1 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 dd35d771..03e61def 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 7a0571d0..2d18a96f 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 024ef071..73b0201e 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 c2c4ed93..fa92a389 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 c00ffc8f..a8c6a870 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 8c5ae866..9b21d67e 100644 --- a/utilities/Microsoft.Quantum.Katas/Microsoft.Quantum.Katas.csproj +++ b/utilities/Microsoft.Quantum.Katas/Microsoft.Quantum.Katas.csproj @@ -17,7 +17,7 @@ - +