Skip to content

Commit

Permalink
Release branch/v0.22.187631 into main (microsoft#592)
Browse files Browse the repository at this point in the history
* Use latest Azure Quantum .NET SDK in 2201 release (microsoft#587)

* Update Newtonsoft.Json dependency to 13.0.1

* Update Newtonsoft.Json to 13.0.1

* Use latest Azure Quantum .NET SDK and Newtonsoft.Json packages (microsoft#589)

* Update Newtonsoft.Json dependency to 13.0.1

* Update Newtonsoft.Json to 13.0.1

* Fix readme formatting

* Build 0.22.187631.

* rerun cells to verify changed output

Co-authored-by: XField <[email protected]>
Co-authored-by: Angela Burton <[email protected]>
  • Loading branch information
3 people authored Feb 2, 2022
1 parent 7b76c4c commit e1b3d7d
Show file tree
Hide file tree
Showing 66 changed files with 96 additions and 94 deletions.
2 changes: 1 addition & 1 deletion Build/images/samples/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# https://github.com/microsoft/iqsharp/blob/main/images/iqsharp-base/Dockerfile.
# As per Binder documentation, we choose to use an SHA sum here instead of a
# tag.
FROM mcr.microsoft.com/quantum/iqsharp-base:0.21.2112180703
FROM mcr.microsoft.com/quantum/iqsharp-base:0.22.187631

# Mark that this Dockerfile is used with the samples repository.
ENV IQSHARP_HOSTING_ENV=SAMPLES_DOCKERFILE
Expand Down
2 changes: 1 addition & 1 deletion samples/algorithms/chsh-game/CHSHGame.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand Down
2 changes: 1 addition & 1 deletion samples/algorithms/oracle-synthesis/OracleSynthesis.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand Down
2 changes: 1 addition & 1 deletion samples/algorithms/order-finding/OrderFinding.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand Down
2 changes: 1 addition & 1 deletion samples/algorithms/simple-grover/SimpleGroverSample.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand Down
2 changes: 1 addition & 1 deletion samples/algorithms/sudoku-grover/SudokuGroverSample.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
Expand Down
2 changes: 1 addition & 1 deletion samples/algorithms/variational-algorithms/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ channels:
dependencies:
- notebook
- matplotlib
- qsharp==0.21.2112.180703
- qsharp==0.22.187631
# This sample uses the QuTiP library to decompose Hamiltonian operators in
# the Pauli basis.
- qutip
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<IQSharpLoadAutomatically>true</IQSharpLoadAutomatically>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Quantum.Chemistry" Version="0.21.2112180703" />
<PackageReference Include="Microsoft.Quantum.Chemistry" Version="0.22.187631" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Quantum.Chemistry" Version="0.21.2112180703" />
<PackageReference Include="Microsoft.Quantum.Chemistry" Version="0.22.187631" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion samples/azure-quantum/grover/Grover.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand Down
2 changes: 1 addition & 1 deletion samples/azure-quantum/hidden-shift/HiddenShift.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand Down
2 changes: 1 addition & 1 deletion samples/azure-quantum/ising-model/IsingModel.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand Down
2 changes: 1 addition & 1 deletion samples/azure-quantum/parallel-qrng/ParallelQrng.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand Down
18 changes: 10 additions & 8 deletions samples/azure-quantum/parallel-qrng/ParallelQrng.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion samples/azure-quantum/teleport/Teleport.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies:
- ipyparallel
- py
- notebook
- qsharp==0.21.2112.180703
- qsharp==0.22.187631
- jupyter_client==6.1.7
- pyzmq==19.0.2=py37h453f00a_2
- pip
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Library</OutputType>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies:
- ipyparallel
- py
- notebook
- qsharp==0.21.2112.180703
- qsharp==0.22.187631
- jupyter_client==6.1.7
- pyzmq==19.0.2=py37h453f00a_2
- pip
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<PackageReference Include="Microsoft.Extensions.Logging" Version="3.1.7" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="3.1.7" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="3.1.7" />
<PackageReference Include="Microsoft.Quantum.Chemistry" Version="0.21.2112180703" />
<PackageReference Include="Microsoft.Quantum.Chemistry" Version="0.22.187631" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Quantum.Chemistry" Version="0.21.2112180703" />
<PackageReference Include="Microsoft.Quantum.Chemistry" Version="0.22.187631" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions samples/chemistry/GetGateCount/3-GetGateCount.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand All @@ -18,7 +18,7 @@
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="3.1.7" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="3.1.7" />
<PackageReference Include="PowerShellStandard.Library" Version="5.1.0" />
<PackageReference Include="Microsoft.Quantum.Chemistry" Version="0.21.2112180703" />
<PackageReference Include="Microsoft.Quantum.Chemistry" Version="0.22.187631" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions samples/chemistry/LithiumHydrideGUI/LithiumHydrideGUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Quantum.Chemistry" Version="0.21.2112180703" />
<PackageReference Include="Microsoft.Quantum.Simulators" Version="0.21.2112180703" />
<PackageReference Include="Microsoft.Quantum.Chemistry" Version="0.22.187631" />
<PackageReference Include="Microsoft.Quantum.Simulators" Version="0.22.187631" />
<PackageReference Include="Mono.Options" Version="5.3.0.1" />
</ItemGroup>

Expand Down
4 changes: 2 additions & 2 deletions samples/chemistry/MolecularHydrogen/MolecularHydrogen.csproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Quantum.Chemistry" Version="0.21.2112180703" />
<PackageReference Include="Microsoft.Quantum.Chemistry" Version="0.22.187631" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Quantum.Chemistry" Version="0.21.2112180703" />
<PackageReference Include="Microsoft.Quantum.Simulators" Version="0.21.2112180703" />
<PackageReference Include="Microsoft.Quantum.Chemistry" Version="0.22.187631" />
<PackageReference Include="Microsoft.Quantum.Simulators" Version="0.22.187631" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
</ItemGroup>

Expand Down
6 changes: 3 additions & 3 deletions samples/chemistry/RunSimulation/2-RunSimulation.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand All @@ -11,8 +11,8 @@
<PackageReference Include="Microsoft.Extensions.Logging" Version="3.1.7" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="3.1.7" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="3.1.7" />
<PackageReference Include="Microsoft.Quantum.Chemistry" Version="0.21.2112180703" />
<PackageReference Include="Microsoft.Quantum.Research" Version="0.21.2112180703" />
<PackageReference Include="Microsoft.Quantum.Chemistry" Version="0.22.187631" />
<PackageReference Include="Microsoft.Quantum.Research" Version="0.22.187631" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Quantum.Chemistry" Version="0.21.2112180703" />
<PackageReference Include="Microsoft.Quantum.Chemistry" Version="0.22.187631" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions samples/diagnostics/unit-testing/UnitTesting.csproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Quantum.Xunit" Version="0.21.2112180703" />
<PackageReference Include="Microsoft.Quantum.Xunit" Version="0.22.187631" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
Expand Down
2 changes: 1 addition & 1 deletion samples/error-correction/bit-flip-code/BitFlipCode.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand Down
2 changes: 1 addition & 1 deletion samples/error-correction/syndrome/Syndrome.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
Expand Down
2 changes: 1 addition & 1 deletion samples/getting-started/measurement/Measurement.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand Down
2 changes: 1 addition & 1 deletion samples/getting-started/qrng/Qrng.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand Down
2 changes: 1 addition & 1 deletion samples/interoperability/dotnet/qsharp/qsharp.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Library</OutputType>
Expand Down
2 changes: 1 addition & 1 deletion samples/interoperability/python/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ dependencies:
- qutip
- matplotlib
- notebook
- qsharp==0.21.2112.180703
- qsharp==0.22.187631
4 changes: 2 additions & 2 deletions samples/interoperability/python/python.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- This line declares that the project is a Q# project, built using the
Microsoft.Quantum.Sdk package. -->
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Library</OutputType>
Expand All @@ -15,7 +15,7 @@
will automatically be downloaded from nuget.org and made available to your
Q# workspace. -->
<ItemGroup>
<PackageReference Include="Microsoft.Quantum.Numerics" Version="0.21.2112180703" />
<PackageReference Include="Microsoft.Quantum.Numerics" Version="0.22.187631" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion samples/interoperability/qrng/Qrng.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand Down
4 changes: 2 additions & 2 deletions samples/machine-learning/half-moons/HalfMoons.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand All @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Quantum.MachineLearning" Version="0.21.2112180703" />
<PackageReference Include="Microsoft.Quantum.MachineLearning" Version="0.22.187631" />
<PackageReference Include="System.Text.Json" Version="4.7.2" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion samples/machine-learning/half-moons/HalfMoons.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"plt.style.use('ggplot')\n",
"\n",
"import qsharp\n",
"qsharp.packages.add(\"Microsoft.Quantum.MachineLearning::0.21.2112180703\")\n",
"qsharp.packages.add(\"Microsoft.Quantum.MachineLearning::0.22.187631\")\n",
"qsharp.reload()\n",
"\n",
"from Microsoft.Quantum.Samples import (\n",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.21.2112180703">
<Project Sdk="Microsoft.Quantum.Sdk/0.22.187631">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Quantum.MachineLearning" Version="0.21.2112180703" />
<PackageReference Include="Microsoft.Quantum.MachineLearning" Version="0.22.187631" />
<PackageReference Include="System.Text.Json" Version="4.7.2" />
</ItemGroup>

Expand Down
Loading

0 comments on commit e1b3d7d

Please sign in to comment.