diff --git a/Build/steps.yml b/Build/steps.yml index 4e2672a41336..492ef8f255a6 100644 --- a/Build/steps.yml +++ b/Build/steps.yml @@ -3,6 +3,12 @@ steps: ## # Pre-reqs ## +- task: UseDotNet@2 + displayName: 'Use .NET Core SDK 3.0.100' + inputs: + packageType: sdk + version: '3.0.100' + - task: UsePythonVersion@0 inputs: versionSpec: '3.6' diff --git a/Dockerfile b/Dockerfile index ce75b09c721b..7427791160b6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # https://github.com/microsoft/iqsharp/blob/master/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.9.1909.3002 +FROM mcr.microsoft.com/quantum/iqsharp-base:0.10.1910.3107 # Mark that this Dockerfile is used with the samples repository. ENV IQSHARP_HOSTING_ENV=SAMPLES_DOCKERFILE diff --git a/NuGet.config b/NuGet.config new file mode 100644 index 000000000000..8043ea76b235 --- /dev/null +++ b/NuGet.config @@ -0,0 +1,16 @@ + + + + + + + + + \ No newline at end of file diff --git a/samples/algorithms/chsh-game/CHSHGame.csproj b/samples/algorithms/chsh-game/CHSHGame.csproj index fdb55d9547c6..f9a9c8fcd392 100644 --- a/samples/algorithms/chsh-game/CHSHGame.csproj +++ b/samples/algorithms/chsh-game/CHSHGame.csproj @@ -2,11 +2,11 @@ Exe - netcoreapp2.0 + netcoreapp3.0 x64 - - + + diff --git a/samples/algorithms/database-search/Database Search.ipynb b/samples/algorithms/database-search/Database Search.ipynb index 77975d8425c3..c35b20194981 100644 --- a/samples/algorithms/database-search/Database Search.ipynb +++ b/samples/algorithms/database-search/Database Search.ipynb @@ -53,9 +53,9 @@ "outputs": [ { "data": { - "application/json": "{\"name\":\"Microsoft.Quantum.Canon.ControlledOnInt\",\"kind\":1,\"source\":\"/home/jovyan/.nuget/packages/microsoft.quantum.standard/0.9.1908.2906/lib/netstandard2.0/Microsoft.Quantum.Standard.dll\",\"documentation\":\" # Summary\\n Returns a unitary operator that applies an oracle on the target register if the control register state corresponds to a specified positive integer.\\n\\n # Input\\n ## numberState\\n Positive integer.\\n ## oracle\\n Unitary operator.\\n\\n # Output\\n A unitary operator that applies `oracle` on the target register if the control register state corresponds to the number state `numberState`.\"}", + "application/json": "{\"name\":\"Microsoft.Quantum.Canon.ControlledOnInt\",\"kind\":1,\"source\":\"/home/jovyan/.nuget/packages/microsoft.quantum.standard/0.9.1908.2906/lib/netstandard2.1/Microsoft.Quantum.Standard.dll\",\"documentation\":\" # Summary\\n Returns a unitary operator that applies an oracle on the target register if the control register state corresponds to a specified positive integer.\\n\\n # Input\\n ## numberState\\n Positive integer.\\n ## oracle\\n Unitary operator.\\n\\n # Output\\n A unitary operator that applies `oracle` on the target register if the control register state corresponds to the number state `numberState`.\"}", "text/html": [ - "

Microsoft.Quantum.Canon.ControlledOnInt

Summary

\n", + "

Microsoft.Quantum.Canon.ControlledOnInt

Summary

\n", "

Returns a unitary operator that applies an oracle on the target register if the control register state corresponds to a specified positive integer.

\n", "

Input

\n", "

numberState

\n", diff --git a/samples/algorithms/database-search/DatabaseSearchSample.csproj b/samples/algorithms/database-search/DatabaseSearchSample.csproj index 00a25d1ebab2..58447f44c681 100644 --- a/samples/algorithms/database-search/DatabaseSearchSample.csproj +++ b/samples/algorithms/database-search/DatabaseSearchSample.csproj @@ -1,13 +1,13 @@ - + Exe - netcoreapp2.0 + netcoreapp3.0 x64 - - + + diff --git a/samples/algorithms/integer-factorization/IntegerFactorization.csproj b/samples/algorithms/integer-factorization/IntegerFactorization.csproj index 00a25d1ebab2..58447f44c681 100644 --- a/samples/algorithms/integer-factorization/IntegerFactorization.csproj +++ b/samples/algorithms/integer-factorization/IntegerFactorization.csproj @@ -1,13 +1,13 @@ - + Exe - netcoreapp2.0 + netcoreapp3.0 x64 - - + + diff --git a/samples/algorithms/oracle-synthesis/OracleSynthesis.csproj b/samples/algorithms/oracle-synthesis/OracleSynthesis.csproj index 353711a44b89..d946e18ac592 100644 --- a/samples/algorithms/oracle-synthesis/OracleSynthesis.csproj +++ b/samples/algorithms/oracle-synthesis/OracleSynthesis.csproj @@ -1,14 +1,14 @@ - + Exe - netcoreapp2.0 + netcoreapp3.0 x64 Microsoft.Quantum.Samples.OracleSynthesis.Program - - + + diff --git a/samples/algorithms/order-finding/OrderFinding.csproj b/samples/algorithms/order-finding/OrderFinding.csproj index fb94c95cd5b4..327064cdbf37 100644 --- a/samples/algorithms/order-finding/OrderFinding.csproj +++ b/samples/algorithms/order-finding/OrderFinding.csproj @@ -1,7 +1,7 @@ - + Exe - netcoreapp2.0 + netcoreapp3.0 x64 Microsoft.Quantum.Samples.OrderFinding.Program @@ -11,7 +11,7 @@ - - + + diff --git a/samples/algorithms/reversible-logic-synthesis/ReversibleLogicSynthesis.csproj b/samples/algorithms/reversible-logic-synthesis/ReversibleLogicSynthesis.csproj index b464aff6336f..c033005c32b4 100644 --- a/samples/algorithms/reversible-logic-synthesis/ReversibleLogicSynthesis.csproj +++ b/samples/algorithms/reversible-logic-synthesis/ReversibleLogicSynthesis.csproj @@ -1,14 +1,14 @@ - + Exe - netcoreapp2.0 + netcoreapp3.0 x64 Microsoft.Quantum.Samples.ReversibleLogicSynthesis.Driver - - + + diff --git a/samples/algorithms/simple-grover/SimpleGroverSample.csproj b/samples/algorithms/simple-grover/SimpleGroverSample.csproj index 1f037269a885..323b5d027fd8 100644 --- a/samples/algorithms/simple-grover/SimpleGroverSample.csproj +++ b/samples/algorithms/simple-grover/SimpleGroverSample.csproj @@ -1,15 +1,15 @@ - + Exe - netcoreapp2.0 + netcoreapp3.0 x64 - - - - + + + + diff --git a/samples/characterization/phase-estimation/PhaseEstimationSample.csproj b/samples/characterization/phase-estimation/PhaseEstimationSample.csproj index d8b9b53534a2..5e8a5029f0af 100644 --- a/samples/characterization/phase-estimation/PhaseEstimationSample.csproj +++ b/samples/characterization/phase-estimation/PhaseEstimationSample.csproj @@ -1,8 +1,8 @@ - + Exe - netcoreapp2.0 + netcoreapp3.0 x64 @@ -11,7 +11,7 @@ - - + + diff --git a/samples/chemistry/AnalyzeHamiltonian/1-AnalyzeHamiltonian.csproj b/samples/chemistry/AnalyzeHamiltonian/1-AnalyzeHamiltonian.csproj index 499f675489c4..4b5ea9944238 100644 --- a/samples/chemistry/AnalyzeHamiltonian/1-AnalyzeHamiltonian.csproj +++ b/samples/chemistry/AnalyzeHamiltonian/1-AnalyzeHamiltonian.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp3.0 @@ -14,8 +14,8 @@ - - + + diff --git a/samples/chemistry/CreateHubbardHamiltonian/CreateHubbardHamiltonian.csproj b/samples/chemistry/CreateHubbardHamiltonian/CreateHubbardHamiltonian.csproj index c973a3580623..3e54ff10297b 100644 --- a/samples/chemistry/CreateHubbardHamiltonian/CreateHubbardHamiltonian.csproj +++ b/samples/chemistry/CreateHubbardHamiltonian/CreateHubbardHamiltonian.csproj @@ -2,13 +2,13 @@ Exe - netcoreapp2.1 + netcoreapp3.0 x64 - - + + diff --git a/samples/chemistry/GetGateCount/3-GetGateCount.csproj b/samples/chemistry/GetGateCount/3-GetGateCount.csproj index 9ef51afb402b..0616836b41fe 100644 --- a/samples/chemistry/GetGateCount/3-GetGateCount.csproj +++ b/samples/chemistry/GetGateCount/3-GetGateCount.csproj @@ -1,7 +1,7 @@  Exe - netcoreapp2.1 + netcoreapp3.0 x64 get-gatecount @@ -17,9 +17,9 @@ - - - + + + diff --git a/samples/chemistry/GetGateCount/README.md b/samples/chemistry/GetGateCount/README.md index aa69a0d822e9..0eb54b3c11af 100644 --- a/samples/chemistry/GetGateCount/README.md +++ b/samples/chemistry/GetGateCount/README.md @@ -25,7 +25,7 @@ For more options, run `dotnet run -- -?`. To use this sample from PowerShell, import the `get-gatecount.dll` assembly as a module, and use the `Get-GateCount` command, replacing `` with either `win10-x64`, `osx-x64`, or `linux-x64`: ```powershell dotnet publish --self-contained -r -Import-Module ./bin/Debug/netcoreapp2.0//publish/get-gatecount.dll +Import-Module ./bin/Debug/netcoreapp3.0//publish/get-gatecount.dll Get-GateCount -Path ../IntegralData/YAML/h2.yaml -Format Broombridge ``` @@ -132,7 +132,7 @@ To do so, replace `` in the snippet below with either `win10-x64`, `lin ```PowerShell cd Samples/GateCount dotnet publish --self-contained -r -Import-Module ./bin/Debug/netcoreapp2.0//publish/get-gatecount.dll +Import-Module ./bin/Debug/netcoreapp3.0//publish/get-gatecount.dll ``` The `Get-GateCount` command is now available, and can be used to estimate costs for evolution under different quantum chemistry Hamiltonians. diff --git a/samples/chemistry/LithiumHydrideGUI/LithiumHydrideGUI.csproj b/samples/chemistry/LithiumHydrideGUI/LithiumHydrideGUI.csproj index fd6115960ff2..fb828d607ac8 100644 --- a/samples/chemistry/LithiumHydrideGUI/LithiumHydrideGUI.csproj +++ b/samples/chemistry/LithiumHydrideGUI/LithiumHydrideGUI.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp3.0 x64 @@ -24,8 +24,8 @@ - - + + diff --git a/samples/chemistry/MolecularHydrogen/MolecularHydrogen.csproj b/samples/chemistry/MolecularHydrogen/MolecularHydrogen.csproj index 83af7738a466..183417c884f3 100644 --- a/samples/chemistry/MolecularHydrogen/MolecularHydrogen.csproj +++ b/samples/chemistry/MolecularHydrogen/MolecularHydrogen.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp3.0 @@ -10,9 +10,9 @@ - - - + + + diff --git a/samples/chemistry/MolecularHydrogenGUI/MolecularHydrogenGUI.csproj b/samples/chemistry/MolecularHydrogenGUI/MolecularHydrogenGUI.csproj index 20b7e991907c..eebc2ef73b03 100644 --- a/samples/chemistry/MolecularHydrogenGUI/MolecularHydrogenGUI.csproj +++ b/samples/chemistry/MolecularHydrogenGUI/MolecularHydrogenGUI.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp3.0 x64 @@ -25,8 +25,8 @@ - - + + diff --git a/samples/chemistry/RunSimulation/2-RunSimulation.csproj b/samples/chemistry/RunSimulation/2-RunSimulation.csproj index b322757eb2f0..7d0207aecccd 100644 --- a/samples/chemistry/RunSimulation/2-RunSimulation.csproj +++ b/samples/chemistry/RunSimulation/2-RunSimulation.csproj @@ -1,7 +1,7 @@  Exe - netcoreapp2.1 + netcoreapp3.0 x64 @@ -9,10 +9,10 @@ - - - - + + + + diff --git a/samples/chemistry/SimulateHubbardHamiltonian/SimulateHubbardHamiltonian.csproj b/samples/chemistry/SimulateHubbardHamiltonian/SimulateHubbardHamiltonian.csproj index 00fb8facecb4..42b129cece77 100644 --- a/samples/chemistry/SimulateHubbardHamiltonian/SimulateHubbardHamiltonian.csproj +++ b/samples/chemistry/SimulateHubbardHamiltonian/SimulateHubbardHamiltonian.csproj @@ -2,13 +2,13 @@ Exe - netcoreapp2.0 + netcoreapp3.0 x64 - - - + + + diff --git a/samples/diagnostics/unit-testing/UnitTesting.csproj b/samples/diagnostics/unit-testing/UnitTesting.csproj index 916cb8562f21..ea96d7cfc02d 100644 --- a/samples/diagnostics/unit-testing/UnitTesting.csproj +++ b/samples/diagnostics/unit-testing/UnitTesting.csproj @@ -1,6 +1,6 @@  - netcoreapp2.0 + netcoreapp3.0 x64 false false @@ -8,9 +8,9 @@ - - - + + + diff --git a/samples/error-correction/bit-flip-code/BitFlipCode.csproj b/samples/error-correction/bit-flip-code/BitFlipCode.csproj index 00a25d1ebab2..58447f44c681 100644 --- a/samples/error-correction/bit-flip-code/BitFlipCode.csproj +++ b/samples/error-correction/bit-flip-code/BitFlipCode.csproj @@ -1,13 +1,13 @@ - + Exe - netcoreapp2.0 + netcoreapp3.0 x64 - - + + diff --git a/samples/getting-started/intro-to-iqsharp/Notebook.ipynb b/samples/getting-started/intro-to-iqsharp/Notebook.ipynb index 8f19f6adef19..7e3b73245819 100644 --- a/samples/getting-started/intro-to-iqsharp/Notebook.ipynb +++ b/samples/getting-started/intro-to-iqsharp/Notebook.ipynb @@ -604,9 +604,9 @@ "outputs": [ { "data": { - "application/json": "{\"name\":\"Microsoft.Quantum.Intrinsic.X\",\"kind\":1,\"source\":\"/home/jovyan/.dotnet/tools/.store/microsoft.quantum.iqsharp/0.9.1908.2906/microsoft.quantum.iqsharp/0.9.1908.2906/tools/netcoreapp2.2/any/Microsoft.Quantum.Intrinsic.dll\",\"documentation\":\" # Summary\\n Applies the Pauli $X$ gate.\\n\\n \\\\begin{align}\\n \\\\sigma_x \\\\mathrel{:=}\\n \\\\begin{bmatrix}\\n 0 & 1 \\\\\\\\\\\\\\\\\\n 1 & 0\\n \\\\end{bmatrix}.\\n \\\\end{align}\\n\\n # Input\\n ## qubit\\n Qubit to which the gate should be applied.\"}", + "application/json": "{\"name\":\"Microsoft.Quantum.Intrinsic.X\",\"kind\":1,\"source\":\"/home/jovyan/.dotnet/tools/.store/microsoft.quantum.iqsharp/0.9.1908.2906/microsoft.quantum.iqsharp/0.9.1908.2906/tools/netcoreapp3.0/any/Microsoft.Quantum.Intrinsic.dll\",\"documentation\":\" # Summary\\n Applies the Pauli $X$ gate.\\n\\n \\\\begin{align}\\n \\\\sigma_x \\\\mathrel{:=}\\n \\\\begin{bmatrix}\\n 0 & 1 \\\\\\\\\\\\\\\\\\n 1 & 0\\n \\\\end{bmatrix}.\\n \\\\end{align}\\n\\n # Input\\n ## qubit\\n Qubit to which the gate should be applied.\"}", "text/html": [ - "

Microsoft.Quantum.Intrinsic.X

Summary

\n", + "

Microsoft.Quantum.Intrinsic.X

Summary

\n", "

Applies the Pauli $X$ gate.

\n", "

\\begin{align}\n", "\\sigma_x \\mathrel{:=}\n", diff --git a/samples/getting-started/measurement/Measurement.csproj b/samples/getting-started/measurement/Measurement.csproj index 00a25d1ebab2..58447f44c681 100644 --- a/samples/getting-started/measurement/Measurement.csproj +++ b/samples/getting-started/measurement/Measurement.csproj @@ -1,13 +1,13 @@ - + Exe - netcoreapp2.0 + netcoreapp3.0 x64 - - + + diff --git a/samples/getting-started/simple-algorithms/SimpleAlgorithms.csproj b/samples/getting-started/simple-algorithms/SimpleAlgorithms.csproj index a774df2301b5..9781eb833b1c 100644 --- a/samples/getting-started/simple-algorithms/SimpleAlgorithms.csproj +++ b/samples/getting-started/simple-algorithms/SimpleAlgorithms.csproj @@ -1,14 +1,14 @@ - + Exe - netcoreapp2.0 + netcoreapp3.0 x64 Microsoft.Quantum.Samples.SimpleAlgorithms.Driver - - + + diff --git a/samples/getting-started/teleportation/TeleportationSample.csproj b/samples/getting-started/teleportation/TeleportationSample.csproj index 00a25d1ebab2..58447f44c681 100644 --- a/samples/getting-started/teleportation/TeleportationSample.csproj +++ b/samples/getting-started/teleportation/TeleportationSample.csproj @@ -1,13 +1,13 @@ - + Exe - netcoreapp2.0 + netcoreapp3.0 x64 - - + + diff --git a/samples/getting-started/teleportation/TeleportationSample.qs b/samples/getting-started/teleportation/TeleportationSample.qs index 3ac6cd5ad99f..5abd95513f4d 100644 --- a/samples/getting-started/teleportation/TeleportationSample.qs +++ b/samples/getting-started/teleportation/TeleportationSample.qs @@ -91,7 +91,7 @@ namespace Microsoft.Quantum.Samples.Teleportation { Teleport(msg, target); // Check what message was sent. - return M(target) == One; + return MResetZ(target) == One; } } diff --git a/samples/interoperability/fsharp/FSharpDriver/FSharpDriver.fsproj b/samples/interoperability/fsharp/FSharpDriver/FSharpDriver.fsproj index aa93c587d7cd..77a5e02a52a2 100644 --- a/samples/interoperability/fsharp/FSharpDriver/FSharpDriver.fsproj +++ b/samples/interoperability/fsharp/FSharpDriver/FSharpDriver.fsproj @@ -2,11 +2,11 @@ Exe - netcoreapp2.1 + netcoreapp3.0 - + diff --git a/samples/interoperability/fsharp/FSharpDriver/Driver.fs b/samples/interoperability/fsharp/FSharpDriver/Host.fs similarity index 100% rename from samples/interoperability/fsharp/FSharpDriver/Driver.fs rename to samples/interoperability/fsharp/FSharpDriver/Host.fs diff --git a/samples/interoperability/fsharp/QuantumCode/QuantumCode.csproj b/samples/interoperability/fsharp/QuantumCode/QuantumCode.csproj index fda31b0f5c05..3c7cd040b62c 100644 --- a/samples/interoperability/fsharp/QuantumCode/QuantumCode.csproj +++ b/samples/interoperability/fsharp/QuantumCode/QuantumCode.csproj @@ -1,11 +1,11 @@ - + - netstandard2.0 + netstandard2.1 x64 - - + + diff --git a/samples/interoperability/python/environment.yml b/samples/interoperability/python/environment.yml index 8cfa689d5bd5..82b7af63707d 100644 --- a/samples/interoperability/python/environment.yml +++ b/samples/interoperability/python/environment.yml @@ -23,4 +23,4 @@ dependencies: - qinfer - duecredit - mpltools - - qsharp==0.9.1909.3002 + - qsharp==0.10.1910.3107 diff --git a/samples/numerics/CustomModAdd/CustomModAdd.csproj b/samples/numerics/CustomModAdd/CustomModAdd.csproj index c389bd55d9d7..b2b98d09f769 100644 --- a/samples/numerics/CustomModAdd/CustomModAdd.csproj +++ b/samples/numerics/CustomModAdd/CustomModAdd.csproj @@ -1,12 +1,12 @@  Exe - netcoreapp2.0 + netcoreapp3.0 x64 - - - + + + \ No newline at end of file diff --git a/samples/numerics/EvaluatingFunctions/EvaluatingFunctions.csproj b/samples/numerics/EvaluatingFunctions/EvaluatingFunctions.csproj index c389bd55d9d7..b2b98d09f769 100644 --- a/samples/numerics/EvaluatingFunctions/EvaluatingFunctions.csproj +++ b/samples/numerics/EvaluatingFunctions/EvaluatingFunctions.csproj @@ -1,12 +1,12 @@  Exe - netcoreapp2.0 + netcoreapp3.0 x64 - - - + + + \ No newline at end of file diff --git a/samples/numerics/ResourceCounting/ResourceCounting.csproj b/samples/numerics/ResourceCounting/ResourceCounting.csproj index c389bd55d9d7..b2b98d09f769 100644 --- a/samples/numerics/ResourceCounting/ResourceCounting.csproj +++ b/samples/numerics/ResourceCounting/ResourceCounting.csproj @@ -1,12 +1,12 @@  Exe - netcoreapp2.0 + netcoreapp3.0 x64 - - - + + + \ No newline at end of file diff --git a/samples/runtime/oracle-emulation/OracleEmulation.csproj b/samples/runtime/oracle-emulation/OracleEmulation.csproj index d98907611a40..e7236c155d8c 100644 --- a/samples/runtime/oracle-emulation/OracleEmulation.csproj +++ b/samples/runtime/oracle-emulation/OracleEmulation.csproj @@ -1,15 +1,15 @@ - + Exe - netcoreapp2.0 + netcoreapp3.0 x64 Microsoft.Quantum.Samples.OracleEmulation.Driver - - - + + + diff --git a/samples/runtime/state-visualizer/Startup.cs b/samples/runtime/state-visualizer/Startup.cs index a3326c989275..f7a23265789b 100644 --- a/samples/runtime/state-visualizer/Startup.cs +++ b/samples/runtime/state-visualizer/Startup.cs @@ -4,6 +4,7 @@ using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Hosting; namespace Microsoft.Quantum.Samples.StateVisualizer { @@ -21,14 +22,18 @@ public void ConfigureServices(IServiceCollection services) } // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. - public void Configure(IApplicationBuilder app, IApplicationLifetime lifetime, StateVisualizer visualizer) + public void Configure(IApplicationBuilder app, IHostApplicationLifetime lifetime, StateVisualizer visualizer) { app .UseDefaultFiles() .UseStaticFiles() .UseDeveloperExceptionPage() - .UseMvc() - .UseSignalR(routes => routes.MapHub("/events")); + .UseRouting() + .UseEndpoints(endpoints => + { + endpoints.MapControllers(); + endpoints.MapHub("/events"); + }); lifetime.ApplicationStopping.Register(visualizer.Stop); } } diff --git a/samples/runtime/state-visualizer/StateVisualizer.csproj b/samples/runtime/state-visualizer/StateVisualizer.csproj index ff6c09937a09..1fb779ea5d03 100644 --- a/samples/runtime/state-visualizer/StateVisualizer.csproj +++ b/samples/runtime/state-visualizer/StateVisualizer.csproj @@ -1,14 +1,12 @@ - + - netcoreapp2.2 + netcoreapp3.0 InProcess Microsoft.Quantum.Samples.StateVisualizer - - - - + + diff --git a/samples/simulation/h2/command-line/H2SimulationSampleCmdLine.csproj b/samples/simulation/h2/command-line/H2SimulationSampleCmdLine.csproj index 00a25d1ebab2..58447f44c681 100644 --- a/samples/simulation/h2/command-line/H2SimulationSampleCmdLine.csproj +++ b/samples/simulation/h2/command-line/H2SimulationSampleCmdLine.csproj @@ -1,13 +1,13 @@ - + Exe - netcoreapp2.0 + netcoreapp3.0 x64 - - + + diff --git a/samples/simulation/h2/gui/H2SimulationGUI.csproj b/samples/simulation/h2/gui/H2SimulationGUI.csproj index f54fbf6d21b4..a08e629f046d 100644 --- a/samples/simulation/h2/gui/H2SimulationGUI.csproj +++ b/samples/simulation/h2/gui/H2SimulationGUI.csproj @@ -1,15 +1,15 @@ - + Exe - netcoreapp2.0 + netcoreapp3.0 x64 - + - + diff --git a/samples/simulation/h2/gui/H2SimulationOperations.qs b/samples/simulation/h2/gui/H2SimulationOperations.qs index b885c217784a..d0659363dacb 100644 --- a/samples/simulation/h2/gui/H2SimulationOperations.qs +++ b/samples/simulation/h2/gui/H2SimulationOperations.qs @@ -146,7 +146,7 @@ namespace Microsoft.Quantum.Samples.H2Simulation { /// Given the index of a bond length, returns an operation that /// represents the decomposition of the corresponding Hamiltonian /// into unitary gates. - function H2TrotterUnitaries (idxBondLength : Int) : (Int, ((Int, Double, Qubit[]) => Unit : Adjoint, Controlled)) { + function H2TrotterUnitaries (idxBondLength : Int) : (Int, ((Int, Double, Qubit[]) => Unit is Adj + Ctl)) { let nTerms = 5; return (nTerms, H2TrotterUnitariesImpl(idxBondLength, _, _, _)); diff --git a/samples/simulation/hubbard/HubbardSimulationSample.csproj b/samples/simulation/hubbard/HubbardSimulationSample.csproj index 00a25d1ebab2..58447f44c681 100644 --- a/samples/simulation/hubbard/HubbardSimulationSample.csproj +++ b/samples/simulation/hubbard/HubbardSimulationSample.csproj @@ -1,13 +1,13 @@ - + Exe - netcoreapp2.0 + netcoreapp3.0 x64 - - + + diff --git a/samples/simulation/ising/adiabatic/AdiabaticIsingSample.csproj b/samples/simulation/ising/adiabatic/AdiabaticIsingSample.csproj index 68ddf636b0b3..9fcfce2742e9 100644 --- a/samples/simulation/ising/adiabatic/AdiabaticIsingSample.csproj +++ b/samples/simulation/ising/adiabatic/AdiabaticIsingSample.csproj @@ -1,8 +1,8 @@ - + Exe - netcoreapp2.0 + netcoreapp3.0 x64 @@ -11,7 +11,7 @@ - - + + diff --git a/samples/simulation/ising/generators/IsingGeneratorsSample.csproj b/samples/simulation/ising/generators/IsingGeneratorsSample.csproj index 00a25d1ebab2..58447f44c681 100644 --- a/samples/simulation/ising/generators/IsingGeneratorsSample.csproj +++ b/samples/simulation/ising/generators/IsingGeneratorsSample.csproj @@ -1,13 +1,13 @@ - + Exe - netcoreapp2.0 + netcoreapp3.0 x64 - - + + diff --git a/samples/simulation/ising/phase-estimation/IsingPhaseEstimationSample.csproj b/samples/simulation/ising/phase-estimation/IsingPhaseEstimationSample.csproj index 9f0363ff78dd..ddbb2e6016a2 100644 --- a/samples/simulation/ising/phase-estimation/IsingPhaseEstimationSample.csproj +++ b/samples/simulation/ising/phase-estimation/IsingPhaseEstimationSample.csproj @@ -1,8 +1,8 @@ - + Exe - netcoreapp2.0 + netcoreapp3.0 x64 @@ -12,7 +12,7 @@ - - + + diff --git a/samples/simulation/ising/simple/SimpleIsingSample.csproj b/samples/simulation/ising/simple/SimpleIsingSample.csproj index 00a25d1ebab2..58447f44c681 100644 --- a/samples/simulation/ising/simple/SimpleIsingSample.csproj +++ b/samples/simulation/ising/simple/SimpleIsingSample.csproj @@ -1,13 +1,13 @@ - + Exe - netcoreapp2.0 + netcoreapp3.0 x64 - - + + diff --git a/samples/simulation/ising/trotter-evolution/IsingTrotterSample.csproj b/samples/simulation/ising/trotter-evolution/IsingTrotterSample.csproj index 00a25d1ebab2..58447f44c681 100644 --- a/samples/simulation/ising/trotter-evolution/IsingTrotterSample.csproj +++ b/samples/simulation/ising/trotter-evolution/IsingTrotterSample.csproj @@ -1,13 +1,13 @@ - + Exe - netcoreapp2.0 + netcoreapp3.0 x64 - - + + diff --git a/samples/tests/sample-tests/SampleTests.csproj b/samples/tests/sample-tests/SampleTests.csproj index 758bfce9f30e..366d4140e22f 100644 --- a/samples/tests/sample-tests/SampleTests.csproj +++ b/samples/tests/sample-tests/SampleTests.csproj @@ -1,6 +1,6 @@  - netcoreapp2.0 + netcoreapp3.0 x64 false false @@ -22,8 +22,8 @@ - - + +