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
3 changes: 1 addition & 2 deletions Build/props/tests.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Quantum.Xunit" Version="0.12.20082515-beta" />
<PackageReference Include="Microsoft.Quantum.Xunit" Version="0.12.20102008-beta" />
<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" />
<DotNetCliToolReference Include="dotnet-xunit" Version="2.3.1" />
</ItemGroup>

</Project>

2 changes: 1 addition & 1 deletion Chemistry/src/Jupyter/BroombridgeMagic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class BroombridgeMagic : MagicSymbol
public BroombridgeMagic()
{
this.Name = $"%chemistry.broombridge";
this.Documentation = new Documentation() { Summary = "Loads and returns Broombridge electronic structure problem representation from a given .yaml file." };
this.Documentation = new Microsoft.Jupyter.Core.Documentation() { Summary = "Loads and returns Broombridge electronic structure problem representation from a given .yaml file." };
this.Kind = SymbolKind.Magic;
this.Execute = this.Run;
}
Expand Down
2 changes: 1 addition & 1 deletion Chemistry/src/Jupyter/ChemistryEncodeMagic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class ChemistryEncodeMagic : MagicSymbol
public ChemistryEncodeMagic()
{
this.Name = $"%chemistry.encode";
this.Documentation = new Documentation() { Summary = "Encodes a fermion Hamiltonian to a format consumable by Q#." };
this.Documentation = new Microsoft.Jupyter.Core.Documentation() { Summary = "Encodes a fermion Hamiltonian to a format consumable by Q#." };
this.Kind = SymbolKind.Magic;
this.Execute = this.Run;
}
Expand Down
7 changes: 5 additions & 2 deletions Chemistry/src/Jupyter/FermionHamiltonianMagic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class FermionHamiltonianLoadMagic : MagicSymbol
public FermionHamiltonianLoadMagic()
{
this.Name = $"%chemistry.fh.load";
this.Documentation = new Documentation() { Summary = "Loads the fermion Hamiltonian for an electronic structure problem. The problem is loaded from a file or passed as an argument." };
this.Documentation = new Microsoft.Jupyter.Core.Documentation() { Summary = "Loads the fermion Hamiltonian for an electronic structure problem. The problem is loaded from a file or passed as an argument." };
this.Kind = SymbolKind.Magic;
this.Execute = this.Run;
}
Expand Down Expand Up @@ -113,7 +113,10 @@ public class FermionHamiltonianAddTermsMagic : MagicSymbol
public FermionHamiltonianAddTermsMagic()
{
this.Name = $"%chemistry.fh.add_terms";
this.Documentation = new Documentation() { Summary = "Adds terms to a fermion Hamiltonian." };
this.Documentation = new Microsoft.Jupyter.Core.Documentation
{
Summary = "Adds terms to a fermion Hamiltonian."
};
this.Kind = SymbolKind.Magic;
this.Execute = this.Run;
}
Expand Down
2 changes: 1 addition & 1 deletion Chemistry/src/Jupyter/WavefunctionMagic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class WavefunctionMagic : MagicSymbol
public WavefunctionMagic()
{
this.Name = $"%chemistry.inputstate.load";
this.Documentation = new Documentation() { Summary = "Loads Broombridge electronic structure problem and returns selected input state." };
this.Documentation = new Microsoft.Jupyter.Core.Documentation() { Summary = "Loads Broombridge electronic structure problem and returns selected input state." };
this.Kind = SymbolKind.Magic;
this.Execute = this.Run;
}
Expand Down
9 changes: 6 additions & 3 deletions Chemistry/src/Runtime/Runtime.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.12.20082515-beta">
<Project Sdk="Microsoft.Quantum.Sdk/0.12.20102008-beta">

<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<AssemblyName>Microsoft.Quantum.Chemistry.Runtime</AssemblyName>
<QsharpDocsGeneration>true</QsharpDocsGeneration>
<IncludeQsharpCorePackages>false</IncludeQsharpCorePackages>
<RunQDocGen>True</RunQDocGen>
<!-- List the name of the metapackage that users can
use to take a dependency on these Q# APIs, rather
than the subpackage directly. -->
<QsharpDocsPackageId>Microsoft.Quantum.Chemistry</QsharpDocsPackageId>
</PropertyGroup>

<PropertyGroup>
Expand Down Expand Up @@ -36,12 +40,11 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Quantum.Simulators" Version="0.12.20082515-beta" />
<PackageReference Include="Microsoft.Quantum.Simulators" Version="0.12.20102008-beta" />
</ItemGroup>

<ItemGroup>
<None Include="..\..\..\Build\assets\qdk-nuget-icon.png" Pack="true" Visible="false" PackagePath="" />
</ItemGroup>

</Project>

3 changes: 1 addition & 2 deletions 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.12.20082515-beta">
<Project Sdk="Microsoft.Quantum.Sdk/0.12.20102008-beta">

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

Expand All @@ -12,4 +12,3 @@
</ItemGroup>

</Project>

3 changes: 1 addition & 2 deletions 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.12.20082515-beta">
<Project Sdk="Microsoft.Quantum.Sdk/0.12.20102008-beta">

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

Expand Down Expand Up @@ -39,4 +39,3 @@
</ItemGroup>

</Project>

3 changes: 2 additions & 1 deletion MachineLearning/src/MachineLearning.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.12.20082515-beta">
<Project Sdk="Microsoft.Quantum.Sdk/0.12.20102008-beta">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<AssemblyName>Microsoft.Quantum.MachineLearning</AssemblyName>
<QsharpDocsGeneration>true</QsharpDocsGeneration>
<QsharpDocsPackageId>Microsoft.Quantum.MachineLearning</QsharpDocsPackageId>
<!--
Include core packages using project references instead, since they get
built at the same time as this project.
Expand Down
12 changes: 6 additions & 6 deletions MachineLearning/src/Types.qs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Microsoft.Quantum.MachineLearning {
/// Describes a controlled rotation in terms of its target and control
/// indices, rotation axis, and index into a model parameter vector.
///
/// # Input
/// # Named Items
/// ## TargetIndex
/// Index of the target qubit for this controlled rotation.
/// ## ControlIndices
Expand Down Expand Up @@ -50,7 +50,7 @@ namespace Microsoft.Quantum.MachineLearning {
/// parameterized and controlled rotations, an assignment of rotation
/// angles, and a bias between the two classes recognized by the model.
///
/// # Input
/// # Named Items
/// ## Structure
/// The sequence of controlled rotations used to classify inputs.
/// ## Parameters
Expand All @@ -70,7 +70,7 @@ namespace Microsoft.Quantum.MachineLearning {
/// Describes an operation that prepares a given input to a sequential
/// classifier.
///
/// # Input
/// # Named Items
/// ## NQubits
/// The number of qubits on which the encoded input is defined.
/// ## Prepare
Expand All @@ -84,7 +84,7 @@ namespace Microsoft.Quantum.MachineLearning {
/// # Summary
/// A sample, labeled with a class to which that sample belongs.
///
/// # Input
/// # Named Items
/// ## Features
/// A vector of features for the given sample.
/// ## Label
Expand Down Expand Up @@ -152,7 +152,7 @@ namespace Microsoft.Quantum.MachineLearning {
/// The results from having validated a classifier against a set of
/// samples.
///
/// # Input
/// # Named Items
/// ## NMisclassifications
/// The number of misclassifications observed during validation.
newtype ValidationResults = (
Expand All @@ -163,7 +163,7 @@ namespace Microsoft.Quantum.MachineLearning {
/// # Summary
/// A collection of options to be used in training quantum classifiers.
///
/// # Input
/// # Named Items
/// ## LearningRate
/// The learning rate by which gradients should be rescaled when updating
/// model parameters during training steps.
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.12.20082515-beta">
<Project Sdk="Microsoft.Quantum.Sdk/0.12.20102008-beta">

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

Expand Down
6 changes: 3 additions & 3 deletions Numerics/src/Numerics.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.12.20082515-beta">
<Project Sdk="Microsoft.Quantum.Sdk/0.12.20102008-beta">

<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<AssemblyName>Microsoft.Quantum.Numerics</AssemblyName>
<QsharpDocsGeneration>true</QsharpDocsGeneration>
<QsharpDocsPackageId>Microsoft.Quantum.Numerics</QsharpDocsPackageId>
<IncludeQsharpCorePackages>false</IncludeQsharpCorePackages>
</PropertyGroup>

Expand Down Expand Up @@ -40,9 +41,8 @@
</ItemGroup>

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

</Project>

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.12.20082515-beta">
<Project Sdk="Microsoft.Quantum.Sdk/0.12.20102008-beta">

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,6 @@ namespace Microsoft.Quantum.AmplitudeAmplification {
/// Reflection operator about start state
/// ## targetStateReflection
/// Reflection operator about target state
/// ## startQubits
/// Qubit register
///
/// # Output
/// An operation that implements amplitude amplification by partial reflections.
Expand Down Expand Up @@ -223,8 +221,6 @@ namespace Microsoft.Quantum.AmplitudeAmplification {
/// Unitary oracle $A$ that prepares start state
/// ## idxFlagQubit
/// Index to flag qubit
/// ## qubits
/// Start state register
///
/// # Output
/// An operation that implements amplitude amplification by oracles that are
Expand Down Expand Up @@ -259,12 +255,10 @@ namespace Microsoft.Quantum.AmplitudeAmplification {
/// # Input
/// ## nIterations
/// Number of iterations $n$ of amplitude amplification
/// ## statePrepOracle
/// ## stateOracle
/// Unitary oracle $A$ that prepares start state
/// ## idxFlagQubit
/// Index to flag qubit
/// ## qubits
/// Start state register
///
/// # Output
/// An operation that implements the standard amplitude amplification quantum algorithm
Expand Down
11 changes: 8 additions & 3 deletions Standard/src/AmplitudeAmplification/Types.qs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,15 @@ namespace Microsoft.Quantum.AmplitudeAmplification {
/// # Summary
/// Phases for a sequence of partial reflections in amplitude amplification.
///
/// # Remarks
/// The first parameter is an array of phases for reflection about the
/// start state. The second parameter is an array of phases for reflection
/// # Named Items
/// ## AboutStart
/// An array of phases for reflection about the
/// start state.
/// ## AboutTarget
/// An array of phases for reflection
/// about the target state.
///
/// # Remarks
/// Both arrays must be of equal length. Note that in many cases, the first phase about the start state and last phase about the target state introduces a global phase shift and may be set to $0$.
newtype ReflectionPhases = (
AboutStart: Double[],
Expand Down
6 changes: 3 additions & 3 deletions Standard/src/Arithmetic/ApplyDual.qs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace Microsoft.Quantum.Arithmetic {
}

/// # See Also
/// - ApplyPhaseLEOperationOnLE
/// - Microsoft.Quantum.Canon.ApplyPhaseLEOperationOnLE
operation ApplyPhaseLEOperationOnLEA (op : (PhaseLittleEndian => Unit is Adj), target : LittleEndian) : Unit
{
body (...)
Expand All @@ -53,7 +53,7 @@ namespace Microsoft.Quantum.Arithmetic {


/// # See Also
/// - @"microsoft.quantum.canon.applyphaseleoperationonle"
/// - Microsoft.Quantum.Canon.ApplyPhaseLEOperationOnLE
operation ApplyPhaseLEOperationOnLEC (op : (PhaseLittleEndian => Unit is Ctl), target : LittleEndian) : Unit
{
body (...)
Expand All @@ -75,7 +75,7 @@ namespace Microsoft.Quantum.Arithmetic {


/// # See Also
/// - @"microsoft.quantum.canon.applyphaseleoperationonle"
/// - Microsoft.Quantum.Canon.ApplyPhaseLEOperationOnLE
operation ApplyPhaseLEOperationOnLECA (op : (PhaseLittleEndian => Unit is Adj + Ctl), target : LittleEndian) : Unit
{
body (...)
Expand Down
Loading