Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion images/iqsharp-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ ENV PATH=$PATH:${HOME}/dotnet:${HOME}/.dotnet/tools \
# Install IQ# and the project templates, using the NuGet packages from the
# build context.
ARG IQSHARP_VERSION
RUN dotnet new -i "Microsoft.Quantum.ProjectTemplates::0.12.20071622-beta" && \
RUN dotnet new -i "Microsoft.Quantum.ProjectTemplates::0.12.20072301-beta" && \
dotnet tool install \
--global \
Microsoft.Quantum.IQSharp \
Expand Down
2 changes: 1 addition & 1 deletion src/AzureClient/AzureClient.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Azure.Quantum.Client" Version="0.12.20071622-beta" />
<PackageReference Include="Microsoft.Azure.Quantum.Client" Version="0.12.20072301-beta" />
<PackageReference Include="Microsoft.Rest.ClientRuntime" Version="2.3.21" />
<PackageReference Include="Microsoft.Rest.ClientRuntime.Azure" Version="3.3.19" />
<PackageReference Include="System.Reactive" Version="4.3.2" />
Expand Down
6 changes: 3 additions & 3 deletions src/Core/Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
<PackageReference Include="Microsoft.CSharp" Version="4.5.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="3.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="3.0.0" />
<PackageReference Include="Microsoft.Quantum.Compiler" Version="0.12.20071622-beta" />
<PackageReference Include="Microsoft.Quantum.CsharpGeneration" Version="0.12.20071622-beta" />
<PackageReference Include="Microsoft.Quantum.Simulators" Version="0.12.20071622-beta" />
<PackageReference Include="Microsoft.Quantum.Compiler" Version="0.12.20072301-beta" />
<PackageReference Include="Microsoft.Quantum.CsharpGeneration" Version="0.12.20072301-beta" />
<PackageReference Include="Microsoft.Quantum.Simulators" Version="0.12.20072301-beta" />
<PackageReference Include="NuGet.Resolver" Version="5.1.0" />
<PackageReference Include="System.Runtime.Loader" Version="4.3.0" />
</ItemGroup>
Expand Down
19 changes: 18 additions & 1 deletion src/Tests/ExecutionPathTracerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ public void EmptyTest()
public void NoQubitArgsTest()
{
var path = GetExecutionPath("NoQubitArgsCirc");
var qubits = new QubitDeclaration[] {};
var qubits = new QubitDeclaration[] { };
var operations = new Operation[]
{
new Operation()
Expand All @@ -454,6 +454,23 @@ public void NoQubitArgsTest()
Assert.AreEqual(expected.ToJson(), path.ToJson());
}

[TestMethod]
public void OperationArgsTest()
{
var path = GetExecutionPath("OperationArgsCirc");
var qubits = new QubitDeclaration[] { };
var operations = new Operation[]
{
new Operation()
{
Gate = "OperationCirc",
DisplayArgs = "(H, 5)",
},
};
var expected = new ExecutionPath(qubits, operations);
Assert.AreEqual(expected.ToJson(), path.ToJson());
}

[TestMethod]
public void NestedTest()
{
Expand Down
7 changes: 7 additions & 0 deletions src/Tests/Workspace.ExecutionPathTracer/Circuits.qs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ namespace Tests.ExecutionPathTracer {
NoQubitCirc(2);
}

operation OperationCirc(op : (Qubit => Unit), n : Int) : Unit {
}

operation OperationArgsCirc() : Unit {
OperationCirc(H, 5);
}

operation NestedCirc() : Unit {
using (q = Qubit()) {
H(q);
Expand Down
30 changes: 15 additions & 15 deletions src/Tool/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,25 @@
},
"AllowedHosts": "*",
"DefaultPackageVersions": [
"Microsoft.Quantum.Compiler::0.12.20071622-beta",
"Microsoft.Quantum.Compiler::0.12.20072301-beta",

"Microsoft.Quantum.CsharpGeneration::0.12.20071622-beta",
"Microsoft.Quantum.Development.Kit::0.12.20071622-beta",
"Microsoft.Quantum.Simulators::0.12.20071622-beta",
"Microsoft.Quantum.Xunit::0.12.20071622-beta",
"Microsoft.Quantum.CsharpGeneration::0.12.20072301-beta",
"Microsoft.Quantum.Development.Kit::0.12.20072301-beta",
"Microsoft.Quantum.Simulators::0.12.20072301-beta",
"Microsoft.Quantum.Xunit::0.12.20072301-beta",

"Microsoft.Quantum.Standard::0.12.20071622-beta",
"Microsoft.Quantum.Chemistry::0.12.20071622-beta",
"Microsoft.Quantum.Chemistry.Jupyter::0.12.20071622-beta",
"Microsoft.Quantum.MachineLearning::0.12.20071622-beta",
"Microsoft.Quantum.Numerics::0.12.20071622-beta",
"Microsoft.Quantum.Standard::0.12.20072301-beta",
"Microsoft.Quantum.Chemistry::0.12.20072301-beta",
"Microsoft.Quantum.Chemistry.Jupyter::0.12.20072301-beta",
"Microsoft.Quantum.MachineLearning::0.12.20072301-beta",
"Microsoft.Quantum.Numerics::0.12.20072301-beta",

"Microsoft.Quantum.Katas::0.12.20071622-beta",
"Microsoft.Quantum.Katas::0.12.20072301-beta",

"Microsoft.Quantum.Research::0.12.20071622-beta",
"Microsoft.Quantum.Research::0.12.20072301-beta",

"Microsoft.Quantum.Providers.IonQ::0.12.20071622-beta",
"Microsoft.Quantum.Providers.Honeywell::0.12.20071622-beta",
"Microsoft.Quantum.Providers.QCI::0.12.20071622-beta"
"Microsoft.Quantum.Providers.IonQ::0.12.20072301-beta",
"Microsoft.Quantum.Providers.Honeywell::0.12.20072301-beta",
"Microsoft.Quantum.Providers.QCI::0.12.20072301-beta"
]
}