diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index dcda0578..1a3ad7e7 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -109,7 +109,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.15.2103133969 + PS> ./scripts/Update-QDKVersion.ps1 0.16.2104138035 ``` 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 89488c9e..f48ac6a9 100644 --- a/BasicGates/BasicGates.csproj +++ b/BasicGates/BasicGates.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/CHSHGame/CHSHGame.csproj b/CHSHGame/CHSHGame.csproj index 3b4e2ebf..00f8d6ce 100644 --- a/CHSHGame/CHSHGame.csproj +++ b/CHSHGame/CHSHGame.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/DeutschJozsaAlgorithm/DeutschJozsaAlgorithm.csproj b/DeutschJozsaAlgorithm/DeutschJozsaAlgorithm.csproj index dbcd4cd2..39c75688 100644 --- a/DeutschJozsaAlgorithm/DeutschJozsaAlgorithm.csproj +++ b/DeutschJozsaAlgorithm/DeutschJozsaAlgorithm.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -7,8 +7,8 @@ - - + + diff --git a/DistinguishUnitaries/DistinguishUnitaries.csproj b/DistinguishUnitaries/DistinguishUnitaries.csproj index 5e61e49a..a9e5ff3d 100644 --- a/DistinguishUnitaries/DistinguishUnitaries.csproj +++ b/DistinguishUnitaries/DistinguishUnitaries.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/Dockerfile b/Dockerfile index af3e5a0f..f70252c3 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.15.2103133969 +FROM mcr.microsoft.com/quantum/iqsharp-base:0.16.2104138035 # 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 dbbe3d96..b831067d 100644 --- a/GHZGame/GHZGame.csproj +++ b/GHZGame/GHZGame.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/GraphColoring/GraphColoring.csproj b/GraphColoring/GraphColoring.csproj index 18df4822..8d7c08cb 100644 --- a/GraphColoring/GraphColoring.csproj +++ b/GraphColoring/GraphColoring.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/GroversAlgorithm/GroversAlgorithm.csproj b/GroversAlgorithm/GroversAlgorithm.csproj index b50ddad5..75c34f83 100755 --- a/GroversAlgorithm/GroversAlgorithm.csproj +++ b/GroversAlgorithm/GroversAlgorithm.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/JointMeasurements/JointMeasurements.csproj b/JointMeasurements/JointMeasurements.csproj index ea213b34..1fa5b830 100644 --- a/JointMeasurements/JointMeasurements.csproj +++ b/JointMeasurements/JointMeasurements.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/KeyDistribution_BB84/KeyDistribution_BB84.csproj b/KeyDistribution_BB84/KeyDistribution_BB84.csproj index 13bbe494..6a795c2b 100644 --- a/KeyDistribution_BB84/KeyDistribution_BB84.csproj +++ b/KeyDistribution_BB84/KeyDistribution_BB84.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/MagicSquareGame/MagicSquareGame.csproj b/MagicSquareGame/MagicSquareGame.csproj index b478c80f..a910f5f3 100644 --- a/MagicSquareGame/MagicSquareGame.csproj +++ b/MagicSquareGame/MagicSquareGame.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/Measurements/Measurements.csproj b/Measurements/Measurements.csproj index cb741e12..033a3769 100644 --- a/Measurements/Measurements.csproj +++ b/Measurements/Measurements.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/PhaseEstimation/PhaseEstimation.csproj b/PhaseEstimation/PhaseEstimation.csproj index eeb6c657..7cbb90f8 100644 --- a/PhaseEstimation/PhaseEstimation.csproj +++ b/PhaseEstimation/PhaseEstimation.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/QEC_BitFlipCode/QEC_BitFlipCode.csproj b/QEC_BitFlipCode/QEC_BitFlipCode.csproj index 6d5b0cc1..659903a3 100644 --- a/QEC_BitFlipCode/QEC_BitFlipCode.csproj +++ b/QEC_BitFlipCode/QEC_BitFlipCode.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -11,8 +11,8 @@ - - + + diff --git a/QFT/QFT.csproj b/QFT/QFT.csproj index 8c4612b2..02a949c0 100644 --- a/QFT/QFT.csproj +++ b/QFT/QFT.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/RippleCarryAdder/RippleCarryAdder.csproj b/RippleCarryAdder/RippleCarryAdder.csproj index aef65db8..323ab078 100644 --- a/RippleCarryAdder/RippleCarryAdder.csproj +++ b/RippleCarryAdder/RippleCarryAdder.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/SimonsAlgorithm/SimonsAlgorithm.csproj b/SimonsAlgorithm/SimonsAlgorithm.csproj index c8d7dce3..05687160 100644 --- a/SimonsAlgorithm/SimonsAlgorithm.csproj +++ b/SimonsAlgorithm/SimonsAlgorithm.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/SolveSATWithGrover/SolveSATWithGrover.csproj b/SolveSATWithGrover/SolveSATWithGrover.csproj index b50ddad5..75c34f83 100644 --- a/SolveSATWithGrover/SolveSATWithGrover.csproj +++ b/SolveSATWithGrover/SolveSATWithGrover.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/SuperdenseCoding/SuperdenseCoding.csproj b/SuperdenseCoding/SuperdenseCoding.csproj index e0ac4f41..b8719803 100644 --- a/SuperdenseCoding/SuperdenseCoding.csproj +++ b/SuperdenseCoding/SuperdenseCoding.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/Superposition/Superposition.csproj b/Superposition/Superposition.csproj index 223c8915..08f0f01f 100644 --- a/Superposition/Superposition.csproj +++ b/Superposition/Superposition.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/Teleportation/Teleportation.csproj b/Teleportation/Teleportation.csproj index e4760287..64da9324 100644 --- a/Teleportation/Teleportation.csproj +++ b/Teleportation/Teleportation.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/TruthTables/TruthTables.csproj b/TruthTables/TruthTables.csproj index 33a2cf80..e6e2783d 100644 --- a/TruthTables/TruthTables.csproj +++ b/TruthTables/TruthTables.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/UnitaryPatterns/UnitaryPatterns.csproj b/UnitaryPatterns/UnitaryPatterns.csproj index 012bcc16..9b40471b 100644 --- a/UnitaryPatterns/UnitaryPatterns.csproj +++ b/UnitaryPatterns/UnitaryPatterns.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -8,8 +8,8 @@ - - + + diff --git a/scripts/Update-QDKVersion.ps1 b/scripts/Update-QDKVersion.ps1 index fa8ca105..f272f499 100644 --- a/scripts/Update-QDKVersion.ps1 +++ b/scripts/Update-QDKVersion.ps1 @@ -18,7 +18,7 @@ param( .EXAMPLE - PS> ./Update-QDKVersion.ps1 -Version 0.15.2103133969 + PS> ./Update-QDKVersion.ps1 -Version 0.16.2104138035 #> $katasRoot = Join-Path $PSScriptRoot "\..\" diff --git a/scripts/install-iqsharp.ps1 b/scripts/install-iqsharp.ps1 index 2d69a63a..842512b3 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.15.2103133969 --tool-path $Env:TOOLS_DIR + dotnet tool install Microsoft.Quantum.IQSharp --version 0.16.2104138035 --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/DeutschJozsaAlgorithmTutorial.csproj b/tutorials/ExploringDeutschJozsaAlgorithm/DeutschJozsaAlgorithmTutorial.csproj index dbcd4cd2..39c75688 100644 --- a/tutorials/ExploringDeutschJozsaAlgorithm/DeutschJozsaAlgorithmTutorial.csproj +++ b/tutorials/ExploringDeutschJozsaAlgorithm/DeutschJozsaAlgorithmTutorial.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -7,8 +7,8 @@ - - + + diff --git a/tutorials/ExploringGroversAlgorithm/ExploringGroversAlgorithmTutorial.csproj b/tutorials/ExploringGroversAlgorithm/ExploringGroversAlgorithmTutorial.csproj index 202994bb..961980ce 100644 --- a/tutorials/ExploringGroversAlgorithm/ExploringGroversAlgorithmTutorial.csproj +++ b/tutorials/ExploringGroversAlgorithm/ExploringGroversAlgorithmTutorial.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -7,7 +7,7 @@ - + diff --git a/tutorials/MultiQubitGates/MultiQubitGates.csproj b/tutorials/MultiQubitGates/MultiQubitGates.csproj index c8aa9a11..763e4239 100644 --- a/tutorials/MultiQubitGates/MultiQubitGates.csproj +++ b/tutorials/MultiQubitGates/MultiQubitGates.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -7,8 +7,8 @@ - - + + diff --git a/tutorials/MultiQubitSystems/MultiQubitSystems.csproj b/tutorials/MultiQubitSystems/MultiQubitSystems.csproj index 35632e4e..fcafd43a 100644 --- a/tutorials/MultiQubitSystems/MultiQubitSystems.csproj +++ b/tutorials/MultiQubitSystems/MultiQubitSystems.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -7,8 +7,8 @@ - - + + diff --git a/tutorials/Oracles/Oracles.csproj b/tutorials/Oracles/Oracles.csproj index 861dffca..97c231ac 100644 --- a/tutorials/Oracles/Oracles.csproj +++ b/tutorials/Oracles/Oracles.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -7,8 +7,8 @@ - - + + diff --git a/tutorials/QuantumClassification/QuantumClassification.csproj b/tutorials/QuantumClassification/QuantumClassification.csproj index 409790ae..8fb8d7c8 100644 --- a/tutorials/QuantumClassification/QuantumClassification.csproj +++ b/tutorials/QuantumClassification/QuantumClassification.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 @@ -11,7 +11,7 @@ - + diff --git a/tutorials/RandomNumberGeneration/RandomNumberGenerationTutorial.csproj b/tutorials/RandomNumberGeneration/RandomNumberGenerationTutorial.csproj index e73acc14..9d8c5bd5 100644 --- a/tutorials/RandomNumberGeneration/RandomNumberGenerationTutorial.csproj +++ b/tutorials/RandomNumberGeneration/RandomNumberGenerationTutorial.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -7,8 +7,8 @@ - - + + diff --git a/tutorials/SingleQubitGates/SingleQubitGates.csproj b/tutorials/SingleQubitGates/SingleQubitGates.csproj index e2519a25..08232b7d 100644 --- a/tutorials/SingleQubitGates/SingleQubitGates.csproj +++ b/tutorials/SingleQubitGates/SingleQubitGates.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 x64 @@ -7,8 +7,8 @@ - - + + diff --git a/tutorials/SingleQubitSystemMeasurements/SingleQubitSystemMeasurements.csproj b/tutorials/SingleQubitSystemMeasurements/SingleQubitSystemMeasurements.csproj index 86374314..b75b0a8e 100644 --- a/tutorials/SingleQubitSystemMeasurements/SingleQubitSystemMeasurements.csproj +++ b/tutorials/SingleQubitSystemMeasurements/SingleQubitSystemMeasurements.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.1 @@ -8,8 +8,8 @@ - - + + diff --git a/utilities/Common/Common.csproj b/utilities/Common/Common.csproj index 3ab838bf..09ca8420 100644 --- a/utilities/Common/Common.csproj +++ b/utilities/Common/Common.csproj @@ -1,4 +1,4 @@ - + netstandard2.1 x64 diff --git a/utilities/DumpUnitary/DumpUnitary.csproj b/utilities/DumpUnitary/DumpUnitary.csproj index 9832b905..ee62c7e1 100644 --- a/utilities/DumpUnitary/DumpUnitary.csproj +++ b/utilities/DumpUnitary/DumpUnitary.csproj @@ -1,4 +1,4 @@ - + Exe netcoreapp3.1 diff --git a/utilities/Microsoft.Quantum.Katas/Microsoft.Quantum.Katas.csproj b/utilities/Microsoft.Quantum.Katas/Microsoft.Quantum.Katas.csproj index 7d4efd10..4aad5d39 100644 --- a/utilities/Microsoft.Quantum.Katas/Microsoft.Quantum.Katas.csproj +++ b/utilities/Microsoft.Quantum.Katas/Microsoft.Quantum.Katas.csproj @@ -17,7 +17,7 @@ - +