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
4 changes: 2 additions & 2 deletions Chemistry/src/Runtime/Runtime.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.11.2006.403">
<Project Sdk="Microsoft.Quantum.Sdk/0.12.20062514-beta">

<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
Expand Down Expand Up @@ -36,7 +36,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Quantum.Simulators" Version="0.11.2006.403" />
<PackageReference Include="Microsoft.Quantum.Simulators" Version="0.12.20062514-beta" />
</ItemGroup>

</Project>
Expand Down
2 changes: 1 addition & 1 deletion Chemistry/tests/ChemistryTests/QSharpTests.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.11.2006.403">
<Project Sdk="Microsoft.Quantum.Sdk/0.12.20062514-beta">

<Import Project="..\..\..\Build\props\tests.props" />

Expand Down
2 changes: 1 addition & 1 deletion Chemistry/tests/SystemTests/SystemTests.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.11.2006.403">
<Project Sdk="Microsoft.Quantum.Sdk/0.12.20062514-beta">

<Import Project="..\..\..\Build\props\tests.props" />

Expand Down
2 changes: 1 addition & 1 deletion MachineLearning/src/MachineLearning.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.11.2006.403">
<Project Sdk="Microsoft.Quantum.Sdk/0.12.20062514-beta">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<AssemblyName>Microsoft.Quantum.MachineLearning</AssemblyName>
Expand Down
2 changes: 1 addition & 1 deletion MachineLearning/tests/MachineLearningTests.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.11.2006.403">
<Project Sdk="Microsoft.Quantum.Sdk/0.12.20062514-beta">

<Import Project="..\..\Build\props\tests.props" />

Expand Down
4 changes: 2 additions & 2 deletions Numerics/src/Numerics.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.11.2006.403">
<Project Sdk="Microsoft.Quantum.Sdk/0.12.20062514-beta">

<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
Expand Down Expand Up @@ -37,7 +37,7 @@


<ItemGroup>
<PackageReference Include="Microsoft.Quantum.Simulators" Version="0.11.2006.403" />
<PackageReference Include="Microsoft.Quantum.Simulators" Version="0.12.20062514-beta" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion Numerics/tests/NumericsTests.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.11.2006.403">
<Project Sdk="Microsoft.Quantum.Sdk/0.12.20062514-beta">

<Import Project="..\..\Build\props\tests.props" />

Expand Down
25 changes: 0 additions & 25 deletions Standard/src/Arrays/Enumeration.qs
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,6 @@

namespace Microsoft.Quantum.Arrays {

/// # Summary
/// Given an array, returns a range over the indices of that array, suitable
/// for use in a for loop.
///
/// # Type Parameters
/// ## 'TElement
/// The type of elements of the array.
///
/// # Input
/// ## array
/// An array for which a range of indices should be returned.
///
/// # Output
/// A range over all indices of the array.
///
/// # Example
/// The following `for` loops are equivalent:
/// ```Q#
/// for (idx in IndexRange(array)) { ... }
/// for (idx in IndexRange(array)) { ... }
/// ```
function IndexRange<'TElement>(array : 'TElement[]) : Range {
return 0..(Length(array) - 1);
}

internal function Identity<'T>(input : 'T) : 'T { return input; }

/// # Summary
Expand Down
45 changes: 0 additions & 45 deletions Standard/src/Canon/NoOp.qs

This file was deleted.

4 changes: 3 additions & 1 deletion Standard/src/Characterization/EstimateFrequency.cs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,9 @@ private static Pauli[] FindPaulis(ICallable measure, long count)
public virtual bool CanEmulate(IAdjointable preparation, ICallable measure) =>
this.Simulator != null &&
(preparation.Qubits == null || !preparation.Qubits.Where(q => q != null).Any()) &&
(measure.FullName == typeof(Primitive.Measure).FullName || measure.FullName == typeof(Intrinsic.Measure).FullName || measure.FullName == typeof(MeasureAllZ).FullName);
// NB: the "Primitive" deprecation stub has been removed, so we check against the exact
// full name instead. That check should be removed in the future.
(measure.FullName == "Microsoft.Quantum.Primitive.Measure" || measure.FullName == typeof(Intrinsic.Measure).FullName || measure.FullName == typeof(MeasureAllZ).FullName);
}
}
}
4 changes: 2 additions & 2 deletions Standard/src/Standard.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.11.2006.403">
<Project Sdk="Microsoft.Quantum.Sdk/0.12.20062514-beta">

<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
Expand Down Expand Up @@ -30,7 +30,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Quantum.Simulators" Version="0.11.2006.403" />
<PackageReference Include="Microsoft.Quantum.Simulators" Version="0.12.20062514-beta" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion Standard/tests/Standard.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.11.2006.403">
<Project Sdk="Microsoft.Quantum.Sdk/0.12.20062514-beta">

<Import Project="..\..\Build\props\tests.props" />

Expand Down