qsharp-lang 1.10.2-dev → 1.10.3-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/katas-content.generated.js +3 -3
- package/dist/katas-content.generated.md.js +3 -3
- package/dist/samples.generated.js +23 -18
- package/docs/Microsoft.Quantum.Core/Length.md +4 -5
- package/docs/Microsoft.Quantum.Core/Repeated.md +4 -5
- package/docs/Microsoft.Quantum.Core/index.md +18 -0
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/AddLE.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/ApplyIfEqualL.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/ApplyIfEqualLE.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/ApplyIfGreaterL.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/ApplyIfGreaterLE.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/ApplyIfGreaterOrEqualL.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/ApplyIfGreaterOrEqualLE.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/ApplyIfLessL.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/ApplyIfLessLE.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/ApplyIfLessOrEqualL.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/ApplyIfLessOrEqualLE.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/FourierTDIncByLE.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/IncByI.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/IncByIUsingIncByLE.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/IncByL.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/IncByLE.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/IncByLEUsingAddLE.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/IncByLUsingIncByLE.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/LookAheadDKRSAddLE.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/MAJ.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/ReflectAboutInteger.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/RippleCarryCGAddLE.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/RippleCarryCGIncByLE.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/RippleCarryTTKIncByLE.md +5 -4
- package/docs/Std.Arithmetic/index.md +40 -0
- package/docs/Std.Arrays/All.md +2 -1
- package/docs/Std.Arrays/Any.md +2 -1
- package/docs/Std.Arrays/Chunks.md +2 -1
- package/docs/Std.Arrays/CircularlyShifted.md +2 -1
- package/docs/Std.Arrays/ColumnAt.md +2 -1
- package/docs/Std.Arrays/Count.md +2 -1
- package/docs/Std.Arrays/Diagonal.md +2 -1
- package/docs/Std.Arrays/DrawMany.md +2 -1
- package/docs/Std.Arrays/Enumerated.md +2 -1
- package/docs/Std.Arrays/Excluding.md +2 -1
- package/docs/Std.Arrays/Filtered.md +2 -1
- package/docs/Std.Arrays/FlatMapped.md +2 -1
- package/docs/Std.Arrays/Flattened.md +2 -1
- package/docs/Std.Arrays/Fold.md +2 -1
- package/docs/Std.Arrays/ForEach.md +2 -1
- package/docs/Std.Arrays/Head.md +2 -1
- package/docs/Std.Arrays/HeadAndRest.md +2 -1
- package/docs/Std.Arrays/IndexOf.md +2 -1
- package/docs/Std.Arrays/IndexRange.md +2 -1
- package/docs/Std.Arrays/Interleaved.md +2 -1
- package/docs/Std.Arrays/IsEmpty.md +2 -1
- package/docs/Std.Arrays/IsRectangularArray.md +2 -1
- package/docs/Std.Arrays/IsSorted.md +2 -1
- package/docs/Std.Arrays/IsSquareArray.md +2 -1
- package/docs/Std.Arrays/Mapped.md +2 -1
- package/docs/Std.Arrays/MappedByIndex.md +2 -1
- package/docs/Std.Arrays/MappedOverRange.md +2 -1
- package/docs/Std.Arrays/Most.md +2 -1
- package/docs/Std.Arrays/MostAndTail.md +2 -1
- package/docs/Std.Arrays/Padded.md +2 -1
- package/docs/Std.Arrays/Partitioned.md +2 -1
- package/docs/Std.Arrays/Rest.md +2 -1
- package/docs/Std.Arrays/Reversed.md +2 -1
- package/docs/Std.Arrays/SequenceI.md +2 -1
- package/docs/Std.Arrays/SequenceL.md +2 -1
- package/docs/Std.Arrays/Sorted.md +2 -1
- package/docs/Std.Arrays/Subarray.md +2 -1
- package/docs/Std.Arrays/Swapped.md +2 -1
- package/docs/Std.Arrays/Tail.md +2 -1
- package/docs/Std.Arrays/Transposed.md +2 -1
- package/docs/Std.Arrays/Unzipped.md +2 -1
- package/docs/Std.Arrays/Where.md +2 -1
- package/docs/Std.Arrays/Windows.md +2 -1
- package/docs/Std.Arrays/Zipped.md +2 -1
- package/docs/Std.Arrays/index.md +60 -0
- package/docs/Std.Canon/ApplyCNOTChain.md +2 -1
- package/docs/Std.Canon/ApplyControlledOnBitString.md +2 -1
- package/docs/Std.Canon/ApplyControlledOnInt.md +2 -1
- package/docs/Std.Canon/ApplyP.md +2 -1
- package/docs/Std.Canon/ApplyPauli.md +2 -1
- package/docs/Std.Canon/ApplyPauliFromBitString.md +2 -1
- package/docs/Std.Canon/ApplyPauliFromInt.md +2 -1
- package/docs/Std.Canon/ApplyQFT.md +2 -1
- package/docs/Std.Canon/ApplyToEach.md +2 -1
- package/docs/Std.Canon/ApplyToEachA.md +2 -1
- package/docs/Std.Canon/ApplyToEachC.md +2 -1
- package/docs/Std.Canon/ApplyToEachCA.md +2 -1
- package/docs/Std.Canon/ApplyXorInPlace.md +2 -1
- package/docs/Std.Canon/ApplyXorInPlaceL.md +2 -1
- package/docs/Std.Canon/CX.md +2 -1
- package/docs/Std.Canon/CY.md +2 -1
- package/docs/Std.Canon/CZ.md +2 -1
- package/docs/Std.Canon/Fst.md +2 -1
- package/docs/Std.Canon/Relabel.md +2 -1
- package/docs/Std.Canon/Snd.md +2 -1
- package/docs/Std.Canon/SwapReverseRegister.md +2 -1
- package/docs/Std.Canon/index.md +37 -0
- package/docs/Std.Convert/BigIntAsBoolArray.md +2 -1
- package/docs/Std.Convert/BoolArrayAsBigInt.md +2 -1
- package/docs/Std.Convert/BoolArrayAsInt.md +2 -1
- package/docs/Std.Convert/BoolArrayAsResultArray.md +2 -1
- package/docs/Std.Convert/BoolAsResult.md +2 -1
- package/docs/Std.Convert/ComplexAsComplexPolar.md +2 -1
- package/docs/Std.Convert/ComplexPolarAsComplex.md +2 -1
- package/docs/Std.Convert/DoubleAsStringWithPrecision.md +2 -1
- package/docs/Std.Convert/IntAsBigInt.md +2 -1
- package/docs/Std.Convert/IntAsBoolArray.md +2 -1
- package/docs/Std.Convert/IntAsDouble.md +2 -1
- package/docs/Std.Convert/ResultArrayAsBoolArray.md +2 -1
- package/docs/Std.Convert/ResultArrayAsInt.md +2 -1
- package/docs/Std.Convert/ResultAsBool.md +2 -1
- package/docs/Std.Convert/index.md +30 -0
- package/docs/Std.Core/Length.md +2 -1
- package/docs/Std.Core/Repeated.md +2 -1
- package/docs/Std.Core/index.md +18 -0
- package/docs/Std.Diagnostics/ApplyIdleNoise.md +34 -0
- package/docs/Std.Diagnostics/BitFlipNoise.md +23 -0
- package/docs/Std.Diagnostics/CheckAllZero.md +38 -0
- package/docs/Std.Diagnostics/CheckOperationsAreEqual.md +49 -0
- package/docs/Std.Diagnostics/CheckZero.md +38 -0
- package/docs/Std.Diagnostics/ConfigurePauliNoise.md +38 -0
- package/docs/Std.Diagnostics/DepolarizingNoise.md +23 -0
- package/docs/Std.Diagnostics/DumpMachine.md +2 -1
- package/docs/Std.Diagnostics/DumpOperation.md +3 -2
- package/docs/Std.Diagnostics/DumpRegister.md +2 -1
- package/docs/Std.Diagnostics/Fact.md +2 -1
- package/docs/Std.Diagnostics/NoNoise.md +23 -0
- package/docs/Std.Diagnostics/PhaseFlipNoise.md +23 -0
- package/docs/Std.Diagnostics/StartCountingFunction.md +44 -0
- package/docs/Std.Diagnostics/StartCountingOperation.md +53 -0
- package/docs/Std.Diagnostics/StartCountingQubits.md +39 -0
- package/docs/Std.Diagnostics/StopCountingFunction.md +34 -0
- package/docs/Std.Diagnostics/StopCountingOperation.md +34 -0
- package/docs/Std.Diagnostics/StopCountingQubits.md +30 -0
- package/docs/Std.Diagnostics/index.md +35 -0
- package/docs/Std.Intrinsic/AND.md +3 -2
- package/docs/Std.Intrinsic/CCNOT.md +2 -1
- package/docs/Std.Intrinsic/CNOT.md +2 -1
- package/docs/Std.Intrinsic/Exp.md +2 -1
- package/docs/Std.Intrinsic/H.md +2 -1
- package/docs/Std.Intrinsic/I.md +2 -1
- package/docs/Std.Intrinsic/M.md +2 -1
- package/docs/Std.Intrinsic/Measure.md +2 -1
- package/docs/Std.Intrinsic/Message.md +2 -1
- package/docs/Std.Intrinsic/R.md +2 -1
- package/docs/Std.Intrinsic/R1.md +3 -2
- package/docs/Std.Intrinsic/R1Frac.md +3 -2
- package/docs/Std.Intrinsic/RFrac.md +2 -1
- package/docs/Std.Intrinsic/Reset.md +3 -2
- package/docs/Std.Intrinsic/ResetAll.md +3 -2
- package/docs/Std.Intrinsic/Rx.md +2 -1
- package/docs/Std.Intrinsic/Rxx.md +2 -1
- package/docs/Std.Intrinsic/Ry.md +2 -1
- package/docs/Std.Intrinsic/Ryy.md +2 -1
- package/docs/Std.Intrinsic/Rz.md +2 -1
- package/docs/Std.Intrinsic/Rzz.md +2 -1
- package/docs/Std.Intrinsic/S.md +2 -1
- package/docs/Std.Intrinsic/SWAP.md +2 -1
- package/docs/Std.Intrinsic/T.md +2 -1
- package/docs/Std.Intrinsic/X.md +2 -1
- package/docs/Std.Intrinsic/Y.md +2 -1
- package/docs/Std.Intrinsic/Z.md +2 -1
- package/docs/Std.Intrinsic/index.md +43 -0
- package/docs/Std.Logical/Xor.md +2 -1
- package/docs/Std.Logical/index.md +17 -0
- package/docs/Std.Math/AbsComplex.md +2 -1
- package/docs/Std.Math/AbsComplexPolar.md +2 -1
- package/docs/Std.Math/AbsD.md +2 -1
- package/docs/Std.Math/AbsI.md +2 -1
- package/docs/Std.Math/AbsL.md +6 -2
- package/docs/Std.Math/AbsSquaredComplex.md +2 -1
- package/docs/Std.Math/AbsSquaredComplexPolar.md +2 -1
- package/docs/Std.Math/ApproximateFactorial.md +2 -1
- package/docs/Std.Math/ArcCos.md +2 -1
- package/docs/Std.Math/ArcCosh.md +2 -1
- package/docs/Std.Math/ArcSin.md +2 -1
- package/docs/Std.Math/ArcSinh.md +2 -1
- package/docs/Std.Math/ArcTan.md +2 -1
- package/docs/Std.Math/ArcTan2.md +2 -1
- package/docs/Std.Math/ArcTanh.md +2 -1
- package/docs/Std.Math/ArgComplex.md +2 -1
- package/docs/Std.Math/ArgComplexPolar.md +2 -1
- package/docs/Std.Math/Binom.md +2 -1
- package/docs/Std.Math/BitSizeI.md +2 -1
- package/docs/Std.Math/BitSizeL.md +2 -1
- package/docs/Std.Math/Ceiling.md +2 -1
- package/docs/Std.Math/Complex.md +2 -1
- package/docs/Std.Math/ComplexPolar.md +2 -1
- package/docs/Std.Math/ContinuedFractionConvergentI.md +2 -1
- package/docs/Std.Math/ContinuedFractionConvergentL.md +2 -1
- package/docs/Std.Math/Cos.md +2 -1
- package/docs/Std.Math/Cosh.md +2 -1
- package/docs/Std.Math/DivRemI.md +2 -1
- package/docs/Std.Math/DivRemL.md +2 -1
- package/docs/Std.Math/DividedByC.md +2 -1
- package/docs/Std.Math/DividedByCP.md +2 -1
- package/docs/Std.Math/E.md +2 -1
- package/docs/Std.Math/ExpModI.md +2 -1
- package/docs/Std.Math/ExpModL.md +2 -1
- package/docs/Std.Math/ExtendedGreatestCommonDivisorI.md +2 -1
- package/docs/Std.Math/ExtendedGreatestCommonDivisorL.md +2 -1
- package/docs/Std.Math/FactorialI.md +2 -1
- package/docs/Std.Math/FactorialL.md +2 -1
- package/docs/Std.Math/Floor.md +2 -1
- package/docs/Std.Math/GreatestCommonDivisorI.md +2 -1
- package/docs/Std.Math/GreatestCommonDivisorL.md +2 -1
- package/docs/Std.Math/HammingWeightI.md +2 -1
- package/docs/Std.Math/InverseModI.md +2 -1
- package/docs/Std.Math/InverseModL.md +2 -1
- package/docs/Std.Math/IsCoprimeI.md +2 -1
- package/docs/Std.Math/IsCoprimeL.md +2 -1
- package/docs/Std.Math/IsInfinite.md +2 -1
- package/docs/Std.Math/IsNaN.md +2 -1
- package/docs/Std.Math/LargestFixedPoint.md +2 -1
- package/docs/Std.Math/Lg.md +2 -1
- package/docs/Std.Math/Log.md +2 -1
- package/docs/Std.Math/Log10.md +2 -1
- package/docs/Std.Math/LogFactorialD.md +2 -1
- package/docs/Std.Math/LogGammaD.md +2 -1
- package/docs/Std.Math/LogOf2.md +2 -1
- package/docs/Std.Math/Max.md +2 -1
- package/docs/Std.Math/MaxD.md +2 -1
- package/docs/Std.Math/MaxI.md +2 -1
- package/docs/Std.Math/MaxL.md +2 -1
- package/docs/Std.Math/Min.md +2 -1
- package/docs/Std.Math/MinD.md +2 -1
- package/docs/Std.Math/MinI.md +2 -1
- package/docs/Std.Math/MinL.md +2 -1
- package/docs/Std.Math/MinusC.md +2 -1
- package/docs/Std.Math/MinusCP.md +2 -1
- package/docs/Std.Math/ModulusI.md +2 -1
- package/docs/Std.Math/ModulusL.md +2 -1
- package/docs/Std.Math/NegationC.md +2 -1
- package/docs/Std.Math/NegationCP.md +2 -1
- package/docs/Std.Math/PI.md +2 -1
- package/docs/Std.Math/PNorm.md +3 -2
- package/docs/Std.Math/PNormalized.md +3 -2
- package/docs/Std.Math/PlusC.md +2 -1
- package/docs/Std.Math/PlusCP.md +2 -1
- package/docs/Std.Math/PowC.md +2 -1
- package/docs/Std.Math/PowCP.md +2 -1
- package/docs/Std.Math/RealMod.md +2 -1
- package/docs/Std.Math/Round.md +2 -1
- package/docs/Std.Math/SignD.md +2 -1
- package/docs/Std.Math/SignI.md +2 -1
- package/docs/Std.Math/SignL.md +2 -1
- package/docs/Std.Math/Sin.md +2 -1
- package/docs/Std.Math/Sinh.md +2 -1
- package/docs/Std.Math/SmallestFixedPoint.md +2 -1
- package/docs/Std.Math/Sqrt.md +2 -1
- package/docs/Std.Math/SquaredNorm.md +2 -1
- package/docs/Std.Math/Tan.md +2 -1
- package/docs/Std.Math/Tanh.md +2 -1
- package/docs/Std.Math/TimesC.md +2 -1
- package/docs/Std.Math/TimesCP.md +2 -1
- package/docs/Std.Math/TrailingZeroCountI.md +2 -1
- package/docs/Std.Math/TrailingZeroCountL.md +2 -1
- package/docs/Std.Math/Truncate.md +2 -1
- package/docs/Std.Math/index.md +109 -0
- package/docs/Std.Measurement/MResetEachZ.md +2 -1
- package/docs/Std.Measurement/MResetX.md +2 -1
- package/docs/Std.Measurement/MResetY.md +2 -1
- package/docs/Std.Measurement/MResetZ.md +2 -1
- package/docs/Std.Measurement/MeasureAllZ.md +2 -1
- package/docs/Std.Measurement/MeasureEachZ.md +2 -1
- package/docs/Std.Measurement/MeasureInteger.md +2 -1
- package/docs/Std.Measurement/index.md +23 -0
- package/docs/Std.Random/DrawRandomBool.md +38 -0
- package/docs/Std.Random/DrawRandomDouble.md +40 -0
- package/docs/Std.Random/DrawRandomInt.md +40 -0
- package/docs/Std.Random/index.md +19 -0
- package/docs/Std.Range/IsRangeEmpty.md +2 -1
- package/docs/Std.Range/RangeEnd.md +2 -1
- package/docs/Std.Range/RangeReverse.md +2 -1
- package/docs/Std.Range/RangeStart.md +2 -1
- package/docs/Std.Range/RangeStep.md +2 -1
- package/docs/Std.Range/index.md +21 -0
- package/docs/Std.ResourceEstimation/AccountForEstimates.md +2 -1
- package/docs/Std.ResourceEstimation/AuxQubitCount.md +2 -1
- package/docs/Std.ResourceEstimation/BeginEstimateCaching.md +2 -1
- package/docs/Std.ResourceEstimation/BeginRepeatEstimates.md +2 -1
- package/docs/Std.ResourceEstimation/CczCount.md +2 -1
- package/docs/Std.ResourceEstimation/EndEstimateCaching.md +2 -1
- package/docs/Std.ResourceEstimation/EndRepeatEstimates.md +2 -1
- package/docs/Std.ResourceEstimation/MeasurementCount.md +2 -1
- package/docs/Std.ResourceEstimation/PSSPCLayout.md +2 -1
- package/docs/Std.ResourceEstimation/RepeatEstimates.md +2 -1
- package/docs/Std.ResourceEstimation/RotationCount.md +2 -1
- package/docs/Std.ResourceEstimation/RotationDepth.md +2 -1
- package/docs/Std.ResourceEstimation/SingleVariant.md +2 -1
- package/docs/Std.ResourceEstimation/TCount.md +2 -1
- package/docs/Std.ResourceEstimation/index.md +30 -0
- package/docs/{Microsoft.Quantum.Unstable.StatePreparation → Std.StatePreparation}/ApproximatelyPreparePureStateCP.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.StatePreparation → Std.StatePreparation}/PreparePureStateD.md +6 -5
- package/docs/Std.StatePreparation/index.md +18 -0
- package/docs/{Microsoft.Quantum.Unstable.TableLookup → Std.TableLookup}/Select.md +5 -4
- package/docs/Std.TableLookup/index.md +17 -0
- package/docs/index.md +32 -0
- package/docs/toc.yml +76 -38
- package/lib/node/qsc_wasm.cjs +1 -1
- package/lib/node/qsc_wasm.d.cts +1 -1
- package/lib/node/qsc_wasm_bg.wasm +0 -0
- package/lib/web/qsc_wasm.d.ts +1 -1
- package/lib/web/qsc_wasm.js +1 -1
- package/lib/web/qsc_wasm_bg.wasm +0 -0
- package/package.json +1 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.ResourceEstimation.MeasurementCount
|
|
3
3
|
title: MeasurementCount function
|
|
4
|
-
|
|
4
|
+
description: "Q# MeasurementCount function: Returns a tuple that can be passed to the `AccountForEstimates` operation to specify that the number Measurements is equal to the `amount`."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.ResourceEstimation.PSSPCLayout
|
|
3
3
|
title: PSSPCLayout function
|
|
4
|
-
|
|
4
|
+
description: "Q# PSSPCLayout function: Pass the value returned by the function to the `AccountForEstimates` operation to indicate Parallel Synthesis Sequential Pauli Computation (PSSPC) layout. See https://arxiv.org/pdf/2211.07629.pdf for details."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.ResourceEstimation.RepeatEstimates
|
|
3
3
|
title: RepeatEstimates operation
|
|
4
|
-
|
|
4
|
+
description: "Q# RepeatEstimates operation: Instructs the resource estimator to assume that the resources from the call of this operation until a call to `Adjoint RepeatEstimates` are accounted for `count` times, without the need to execute the code that many times."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: operation
|
|
7
8
|
qsharp.package: __Std__
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.ResourceEstimation.RotationCount
|
|
3
3
|
title: RotationCount function
|
|
4
|
-
|
|
4
|
+
description: "Q# RotationCount function: Returns a tuple that can be passed to the `AccountForEstimates` operation to specify that the number of rotations is equal to the `amount`."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.ResourceEstimation.RotationDepth
|
|
3
3
|
title: RotationDepth function
|
|
4
|
-
|
|
4
|
+
description: "Q# RotationDepth function: Returns a tuple that can be passed to the `AccountForEstimates` operation to specify that the rotation depth is equal to the `amount`."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.ResourceEstimation.SingleVariant
|
|
3
3
|
title: SingleVariant function
|
|
4
|
-
|
|
4
|
+
description: "Q# SingleVariant function: Used to specify that there's only one execution variant in `BeginEstimateCaching` function"
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.ResourceEstimation.TCount
|
|
3
3
|
title: TCount function
|
|
4
|
-
|
|
4
|
+
description: "Q# TCount function: Returns a tuple that can be passed to the `AccountForEstimates` operation to specify that the number of the T gates is equal to the `amount`."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
uid: Qdk.Std.ResourceEstimation-toc
|
|
3
|
+
title: Std.ResourceEstimation namespace
|
|
4
|
+
description: Table of contents for the Q# ResourceEstimation namespace
|
|
5
|
+
author: {AUTHOR}
|
|
6
|
+
ms.author: {MS_AUTHOR}
|
|
7
|
+
ms.date: 11/15/2024
|
|
8
|
+
ms.topic: landing-page
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Std.ResourceEstimation
|
|
12
|
+
|
|
13
|
+
The Std.ResourceEstimation namespace contains the following items:
|
|
14
|
+
|
|
15
|
+
| Name | Description |
|
|
16
|
+
|------|-------------|
|
|
17
|
+
| [AccountForEstimates](xref:Qdk.Std.ResourceEstimation.AccountForEstimates) | Account for the resource estimates of an unimplemented operation, which were obtained separately. This operation is only available when using resource estimator execution target. |
|
|
18
|
+
| [AuxQubitCount](xref:Qdk.Std.ResourceEstimation.AuxQubitCount) | Returns a tuple that can be passed to the `AccountForEstimates` operation to specify that the number of auxiliary qubits is equal to the `amount`. |
|
|
19
|
+
| [BeginEstimateCaching](xref:Qdk.Std.ResourceEstimation.BeginEstimateCaching) | Informs the resource estimator of the start of the code fragment for which estimates caching can be done. This function is only available when using resource estimator execution target. |
|
|
20
|
+
| [BeginRepeatEstimates](xref:Qdk.Std.ResourceEstimation.BeginRepeatEstimates) | Instructs the resource estimator to assume that the resources from the call of this operation until a call to `EndRepeatEstimates` are accounted for `count` times, without the need to execute the code that many times. Calls to `BeginRepeatEstimates` and `EndRepeatEstimates` can be nested. A helper operation `RepeatEstimates` allows to call the two functions in a `within` block. |
|
|
21
|
+
| [CczCount](xref:Qdk.Std.ResourceEstimation.CczCount) | Returns a tuple that can be passed to the `AccountForEstimates` operation to specify that the number of the CCZ gates is equal to the `amount`. |
|
|
22
|
+
| [EndEstimateCaching](xref:Qdk.Std.ResourceEstimation.EndEstimateCaching) | Instructs the resource estimator to stop estimates caching because the code fragment in consideration is over. This function is only available when using resource estimator execution target. |
|
|
23
|
+
| [EndRepeatEstimates](xref:Qdk.Std.ResourceEstimation.EndRepeatEstimates) | Companion operation to `BeginRepeatEstimates`. |
|
|
24
|
+
| [MeasurementCount](xref:Qdk.Std.ResourceEstimation.MeasurementCount) | Returns a tuple that can be passed to the `AccountForEstimates` operation to specify that the number Measurements is equal to the `amount`. |
|
|
25
|
+
| [PSSPCLayout](xref:Qdk.Std.ResourceEstimation.PSSPCLayout) | Pass the value returned by the function to the `AccountForEstimates` operation to indicate Parallel Synthesis Sequential Pauli Computation (PSSPC) layout. See https://arxiv.org/pdf/2211.07629.pdf for details. |
|
|
26
|
+
| [RepeatEstimates](xref:Qdk.Std.ResourceEstimation.RepeatEstimates) | Instructs the resource estimator to assume that the resources from the call of this operation until a call to `Adjoint RepeatEstimates` are accounted for `count` times, without the need to execute the code that many times. |
|
|
27
|
+
| [RotationCount](xref:Qdk.Std.ResourceEstimation.RotationCount) | Returns a tuple that can be passed to the `AccountForEstimates` operation to specify that the number of rotations is equal to the `amount`. |
|
|
28
|
+
| [RotationDepth](xref:Qdk.Std.ResourceEstimation.RotationDepth) | Returns a tuple that can be passed to the `AccountForEstimates` operation to specify that the rotation depth is equal to the `amount`. |
|
|
29
|
+
| [SingleVariant](xref:Qdk.Std.ResourceEstimation.SingleVariant) | Used to specify that there's only one execution variant in `BeginEstimateCaching` function |
|
|
30
|
+
| [TCount](xref:Qdk.Std.ResourceEstimation.TCount) | Returns a tuple that can be passed to the `AccountForEstimates` operation to specify that the number of the T gates is equal to the `amount`. |
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Qdk.
|
|
2
|
+
uid: Qdk.Std.StatePreparation.ApproximatelyPreparePureStateCP
|
|
3
3
|
title: ApproximatelyPreparePureStateCP operation
|
|
4
|
-
|
|
4
|
+
description: "Q# ApproximatelyPreparePureStateCP operation: Given a set of coefficients and a big-endian quantum register, prepares a state on that register described by the given coefficients, up to a given approximation tolerance."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: operation
|
|
7
8
|
qsharp.package: __Std__
|
|
8
|
-
qsharp.namespace:
|
|
9
|
+
qsharp.namespace: Std.StatePreparation
|
|
9
10
|
qsharp.name: ApproximatelyPreparePureStateCP
|
|
10
11
|
qsharp.summary: "Given a set of coefficients and a big-endian quantum register, prepares a state on that register described by the given coefficients, up to a given approximation tolerance."
|
|
11
12
|
---
|
|
12
13
|
|
|
13
14
|
# ApproximatelyPreparePureStateCP operation
|
|
14
15
|
|
|
15
|
-
Fully qualified name:
|
|
16
|
+
Fully qualified name: Std.StatePreparation.ApproximatelyPreparePureStateCP
|
|
16
17
|
|
|
17
18
|
```qsharp
|
|
18
19
|
operation ApproximatelyPreparePureStateCP(tolerance : Double, coefficients : ComplexPolar[], qubits : Qubit[]) : Unit is Adj + Ctl
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Qdk.
|
|
2
|
+
uid: Qdk.Std.StatePreparation.PreparePureStateD
|
|
3
3
|
title: PreparePureStateD operation
|
|
4
|
-
|
|
4
|
+
description: "Q# PreparePureStateD operation: Given a set of coefficients and a big-endian quantum register, prepares a state on that register described by the given coefficients."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: operation
|
|
7
8
|
qsharp.package: __Std__
|
|
8
|
-
qsharp.namespace:
|
|
9
|
+
qsharp.namespace: Std.StatePreparation
|
|
9
10
|
qsharp.name: PreparePureStateD
|
|
10
11
|
qsharp.summary: "Given a set of coefficients and a big-endian quantum register, prepares a state on that register described by the given coefficients."
|
|
11
12
|
---
|
|
12
13
|
|
|
13
14
|
# PreparePureStateD operation
|
|
14
15
|
|
|
15
|
-
Fully qualified name:
|
|
16
|
+
Fully qualified name: Std.StatePreparation.PreparePureStateD
|
|
16
17
|
|
|
17
18
|
```qsharp
|
|
18
19
|
operation PreparePureStateD(coefficients : Double[], qubits : Qubit[]) : Unit is Adj + Ctl
|
|
@@ -62,4 +63,4 @@ PreparePureStateD(amplitudes, qubits);
|
|
|
62
63
|
Vivek V. Shende, Stephen S. Bullock, Igor L. Markov
|
|
63
64
|
|
|
64
65
|
## See Also
|
|
65
|
-
-
|
|
66
|
+
- Unstable.StatePreparation.ApproximatelyPreparePureStateCP
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
uid: Qdk.Std.StatePreparation-toc
|
|
3
|
+
title: Std.StatePreparation namespace
|
|
4
|
+
description: Table of contents for the Q# StatePreparation namespace
|
|
5
|
+
author: {AUTHOR}
|
|
6
|
+
ms.author: {MS_AUTHOR}
|
|
7
|
+
ms.date: 11/15/2024
|
|
8
|
+
ms.topic: landing-page
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Std.StatePreparation
|
|
12
|
+
|
|
13
|
+
The Std.StatePreparation namespace contains the following items:
|
|
14
|
+
|
|
15
|
+
| Name | Description |
|
|
16
|
+
|------|-------------|
|
|
17
|
+
| [ApproximatelyPreparePureStateCP](xref:Qdk.Std.StatePreparation.ApproximatelyPreparePureStateCP) | Given a set of coefficients and a big-endian quantum register, prepares a state on that register described by the given coefficients, up to a given approximation tolerance. |
|
|
18
|
+
| [PreparePureStateD](xref:Qdk.Std.StatePreparation.PreparePureStateD) | Given a set of coefficients and a big-endian quantum register, prepares a state on that register described by the given coefficients. |
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Qdk.
|
|
2
|
+
uid: Qdk.Std.TableLookup.Select
|
|
3
3
|
title: Select operation
|
|
4
|
-
|
|
4
|
+
description: "Q# Select operation: Performs table lookup using a SELECT network"
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: operation
|
|
7
8
|
qsharp.package: __Std__
|
|
8
|
-
qsharp.namespace:
|
|
9
|
+
qsharp.namespace: Std.TableLookup
|
|
9
10
|
qsharp.name: Select
|
|
10
11
|
qsharp.summary: "Performs table lookup using a SELECT network"
|
|
11
12
|
---
|
|
12
13
|
|
|
13
14
|
# Select operation
|
|
14
15
|
|
|
15
|
-
Fully qualified name:
|
|
16
|
+
Fully qualified name: Std.TableLookup.Select
|
|
16
17
|
|
|
17
18
|
```qsharp
|
|
18
19
|
operation Select(data : Bool[][], address : Qubit[], target : Qubit[]) : Unit is Adj + Ctl
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
uid: Qdk.Std.TableLookup-toc
|
|
3
|
+
title: Std.TableLookup namespace
|
|
4
|
+
description: Table of contents for the Q# TableLookup namespace
|
|
5
|
+
author: {AUTHOR}
|
|
6
|
+
ms.author: {MS_AUTHOR}
|
|
7
|
+
ms.date: 11/15/2024
|
|
8
|
+
ms.topic: landing-page
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Std.TableLookup
|
|
12
|
+
|
|
13
|
+
The Std.TableLookup namespace contains the following items:
|
|
14
|
+
|
|
15
|
+
| Name | Description |
|
|
16
|
+
|------|-------------|
|
|
17
|
+
| [Select](xref:Qdk.Std.TableLookup.Select) | Performs table lookup using a SELECT network |
|
package/docs/index.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
uid: Microsoft.Quantum.apiref-toc
|
|
3
|
+
title: Q# standard libraries for the Azure Quantum Development Kit
|
|
4
|
+
description: Table of contents for the Q# standard libraries for Azure Quantum Development Kit
|
|
5
|
+
author: {AUTHOR}
|
|
6
|
+
ms.author: {MS_AUTHOR}
|
|
7
|
+
ms.date: 11/15/2024
|
|
8
|
+
ms.topic: landing-page
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Q# standard library
|
|
12
|
+
|
|
13
|
+
The Q# standard library contains the following namespaces:
|
|
14
|
+
|
|
15
|
+
| Namespace | Description |
|
|
16
|
+
| --------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |
|
|
17
|
+
| [`Microsoft.Quantum.Core`](xref:Qdk.Microsoft.Quantum.Core-toc) | Re-exported functions. |
|
|
18
|
+
| [`Std.Arrays`](xref:Qdk.Std.Arrays-toc) | Items for working with arrays. |
|
|
19
|
+
| [`Std.Canon`](xref:Qdk.Std.Canon-toc) | Canonical implementations of common classical and quantum utilities.|
|
|
20
|
+
| [`Std.Convert`](xref:Qdk.Std.Convert-toc) | Items for converting between different types. |
|
|
21
|
+
| [`Std.Core`](xref:Qdk.Std.Core-toc) | Items for language built-in operations. |
|
|
22
|
+
| [`Std.Diagnostics`](xref:Qdk.Std.Diagnostics-toc) | Items for debugging and testing quantum programs. |
|
|
23
|
+
| [`Std.Intrinsic`](xref:Qdk.Std.Intrinsic-toc) | Items that provide core quantum operations. |
|
|
24
|
+
| [`Std.Logical`](xref:Qdk.Std.Logical-toc) | Boolean Logic functions. |
|
|
25
|
+
| [`Std.Math`](xref:Qdk.Std.Math-toc) | Items for classical math operations. |
|
|
26
|
+
| [`Std.Measurement`](xref:Qdk.Std.Measurement-toc) | Items for measuring quantum results. |
|
|
27
|
+
| [`Std.Random`](xref:Qdk.Std.Random-toc) | Items for creating random values. |
|
|
28
|
+
| [`Std.Range`](xref:Qdk.Std.Range-toc) | Items for working with ranges. |
|
|
29
|
+
| [`Std.ResourceEstimation`](xref:Qdk.Std.ResourceEstimation-toc) | Items for working with the Azure Quantum Resource Estimator. |
|
|
30
|
+
| [`Microsoft.Quantum.Unstable.Arithmetic`](xref:Qdk.Microsoft.Quantum.Unstable.Arithmetic-toc) | Items for working with quantum arithmetic operations. |
|
|
31
|
+
| [`Microsoft.Quantum.Unstable.StatePreparation`](xref:Qdk.Microsoft.Quantum.Unstable.StatePreparation-toc) | Items for preparing a quantum state. |
|
|
32
|
+
| [`Microsoft.Quantum.Unstable.TableLookup`](xref:Qdk.Microsoft.Quantum.Unstable.TableLookup-toc) | Items for performing quantum table lookups. |
|
package/docs/toc.yml
CHANGED
|
@@ -1,51 +1,46 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
3
|
-
|
|
4
2
|
# This file is automatically generated.
|
|
5
3
|
# Please do not modify this file manually, or your changes will be lost when
|
|
6
4
|
# documentation is rebuilt.
|
|
7
5
|
- items:
|
|
6
|
+
name: Overview
|
|
7
|
+
uid: Microsoft.Quantum.apiref-toc
|
|
8
|
+
- items:
|
|
9
|
+
- {name: Overview, uid: Qdk.Microsoft.Quantum.Core-toc}
|
|
8
10
|
- {name: Length, uid: Qdk.Microsoft.Quantum.Core.Length}
|
|
9
11
|
- {name: Repeated, uid: Qdk.Microsoft.Quantum.Core.Repeated}
|
|
10
12
|
name: Microsoft.Quantum.Core
|
|
11
13
|
uid: Qdk.Microsoft.Quantum.Core
|
|
12
14
|
- items:
|
|
13
|
-
- {name:
|
|
14
|
-
- {name:
|
|
15
|
-
- {name:
|
|
16
|
-
- {name:
|
|
17
|
-
- {name:
|
|
18
|
-
- {name:
|
|
19
|
-
- {name:
|
|
20
|
-
- {name:
|
|
21
|
-
- {name:
|
|
22
|
-
- {name:
|
|
23
|
-
- {name:
|
|
24
|
-
- {name:
|
|
25
|
-
- {name:
|
|
26
|
-
- {name:
|
|
27
|
-
- {name:
|
|
28
|
-
- {name:
|
|
29
|
-
- {name:
|
|
30
|
-
- {name:
|
|
31
|
-
- {name:
|
|
32
|
-
- {name:
|
|
33
|
-
- {name:
|
|
34
|
-
- {name:
|
|
35
|
-
- {name:
|
|
36
|
-
- {name:
|
|
37
|
-
name:
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
- {name: ApproximatelyPreparePureStateCP, uid: Qdk.Microsoft.Quantum.Unstable.StatePreparation.ApproximatelyPreparePureStateCP}
|
|
41
|
-
- {name: PreparePureStateD, uid: Qdk.Microsoft.Quantum.Unstable.StatePreparation.PreparePureStateD}
|
|
42
|
-
name: Microsoft.Quantum.Unstable.StatePreparation
|
|
43
|
-
uid: Qdk.Microsoft.Quantum.Unstable.StatePreparation
|
|
44
|
-
- items:
|
|
45
|
-
- {name: Select, uid: Qdk.Microsoft.Quantum.Unstable.TableLookup.Select}
|
|
46
|
-
name: Microsoft.Quantum.Unstable.TableLookup
|
|
47
|
-
uid: Qdk.Microsoft.Quantum.Unstable.TableLookup
|
|
15
|
+
- {name: Overview, uid: Qdk.Std.Arithmetic-toc}
|
|
16
|
+
- {name: AddLE, uid: Qdk.Std.Arithmetic.AddLE}
|
|
17
|
+
- {name: ApplyIfEqualL, uid: Qdk.Std.Arithmetic.ApplyIfEqualL}
|
|
18
|
+
- {name: ApplyIfEqualLE, uid: Qdk.Std.Arithmetic.ApplyIfEqualLE}
|
|
19
|
+
- {name: ApplyIfGreaterL, uid: Qdk.Std.Arithmetic.ApplyIfGreaterL}
|
|
20
|
+
- {name: ApplyIfGreaterLE, uid: Qdk.Std.Arithmetic.ApplyIfGreaterLE}
|
|
21
|
+
- {name: ApplyIfGreaterOrEqualL, uid: Qdk.Std.Arithmetic.ApplyIfGreaterOrEqualL}
|
|
22
|
+
- {name: ApplyIfGreaterOrEqualLE, uid: Qdk.Std.Arithmetic.ApplyIfGreaterOrEqualLE}
|
|
23
|
+
- {name: ApplyIfLessL, uid: Qdk.Std.Arithmetic.ApplyIfLessL}
|
|
24
|
+
- {name: ApplyIfLessLE, uid: Qdk.Std.Arithmetic.ApplyIfLessLE}
|
|
25
|
+
- {name: ApplyIfLessOrEqualL, uid: Qdk.Std.Arithmetic.ApplyIfLessOrEqualL}
|
|
26
|
+
- {name: ApplyIfLessOrEqualLE, uid: Qdk.Std.Arithmetic.ApplyIfLessOrEqualLE}
|
|
27
|
+
- {name: FourierTDIncByLE, uid: Qdk.Std.Arithmetic.FourierTDIncByLE}
|
|
28
|
+
- {name: IncByI, uid: Qdk.Std.Arithmetic.IncByI}
|
|
29
|
+
- {name: IncByIUsingIncByLE, uid: Qdk.Std.Arithmetic.IncByIUsingIncByLE}
|
|
30
|
+
- {name: IncByL, uid: Qdk.Std.Arithmetic.IncByL}
|
|
31
|
+
- {name: IncByLE, uid: Qdk.Std.Arithmetic.IncByLE}
|
|
32
|
+
- {name: IncByLEUsingAddLE, uid: Qdk.Std.Arithmetic.IncByLEUsingAddLE}
|
|
33
|
+
- {name: IncByLUsingIncByLE, uid: Qdk.Std.Arithmetic.IncByLUsingIncByLE}
|
|
34
|
+
- {name: LookAheadDKRSAddLE, uid: Qdk.Std.Arithmetic.LookAheadDKRSAddLE}
|
|
35
|
+
- {name: MAJ, uid: Qdk.Std.Arithmetic.MAJ}
|
|
36
|
+
- {name: ReflectAboutInteger, uid: Qdk.Std.Arithmetic.ReflectAboutInteger}
|
|
37
|
+
- {name: RippleCarryCGAddLE, uid: Qdk.Std.Arithmetic.RippleCarryCGAddLE}
|
|
38
|
+
- {name: RippleCarryCGIncByLE, uid: Qdk.Std.Arithmetic.RippleCarryCGIncByLE}
|
|
39
|
+
- {name: RippleCarryTTKIncByLE, uid: Qdk.Std.Arithmetic.RippleCarryTTKIncByLE}
|
|
40
|
+
name: Std.Arithmetic
|
|
41
|
+
uid: Qdk.Std.Arithmetic
|
|
48
42
|
- items:
|
|
43
|
+
- {name: Overview, uid: Qdk.Std.Arrays-toc}
|
|
49
44
|
- {name: All, uid: Qdk.Std.Arrays.All}
|
|
50
45
|
- {name: Any, uid: Qdk.Std.Arrays.Any}
|
|
51
46
|
- {name: Chunks, uid: Qdk.Std.Arrays.Chunks}
|
|
@@ -93,6 +88,7 @@
|
|
|
93
88
|
name: Std.Arrays
|
|
94
89
|
uid: Qdk.Std.Arrays
|
|
95
90
|
- items:
|
|
91
|
+
- {name: Overview, uid: Qdk.Std.Canon-toc}
|
|
96
92
|
- {name: ApplyCNOTChain, uid: Qdk.Std.Canon.ApplyCNOTChain}
|
|
97
93
|
- {name: ApplyControlledOnBitString, uid: Qdk.Std.Canon.ApplyControlledOnBitString}
|
|
98
94
|
- {name: ApplyControlledOnInt, uid: Qdk.Std.Canon.ApplyControlledOnInt}
|
|
@@ -117,6 +113,7 @@
|
|
|
117
113
|
name: Std.Canon
|
|
118
114
|
uid: Qdk.Std.Canon
|
|
119
115
|
- items:
|
|
116
|
+
- {name: Overview, uid: Qdk.Std.Convert-toc}
|
|
120
117
|
- {name: BigIntAsBoolArray, uid: Qdk.Std.Convert.BigIntAsBoolArray}
|
|
121
118
|
- {name: BoolArrayAsBigInt, uid: Qdk.Std.Convert.BoolArrayAsBigInt}
|
|
122
119
|
- {name: BoolArrayAsInt, uid: Qdk.Std.Convert.BoolArrayAsInt}
|
|
@@ -134,18 +131,36 @@
|
|
|
134
131
|
name: Std.Convert
|
|
135
132
|
uid: Qdk.Std.Convert
|
|
136
133
|
- items:
|
|
134
|
+
- {name: Overview, uid: Qdk.Std.Core-toc}
|
|
137
135
|
- {name: Length, uid: Qdk.Std.Core.Length}
|
|
138
136
|
- {name: Repeated, uid: Qdk.Std.Core.Repeated}
|
|
139
137
|
name: Std.Core
|
|
140
138
|
uid: Qdk.Std.Core
|
|
141
139
|
- items:
|
|
140
|
+
- {name: Overview, uid: Qdk.Std.Diagnostics-toc}
|
|
141
|
+
- {name: ApplyIdleNoise, uid: Qdk.Std.Diagnostics.ApplyIdleNoise}
|
|
142
|
+
- {name: BitFlipNoise, uid: Qdk.Std.Diagnostics.BitFlipNoise}
|
|
143
|
+
- {name: CheckAllZero, uid: Qdk.Std.Diagnostics.CheckAllZero}
|
|
144
|
+
- {name: CheckOperationsAreEqual, uid: Qdk.Std.Diagnostics.CheckOperationsAreEqual}
|
|
145
|
+
- {name: CheckZero, uid: Qdk.Std.Diagnostics.CheckZero}
|
|
146
|
+
- {name: ConfigurePauliNoise, uid: Qdk.Std.Diagnostics.ConfigurePauliNoise}
|
|
147
|
+
- {name: DepolarizingNoise, uid: Qdk.Std.Diagnostics.DepolarizingNoise}
|
|
142
148
|
- {name: DumpMachine, uid: Qdk.Std.Diagnostics.DumpMachine}
|
|
143
149
|
- {name: DumpOperation, uid: Qdk.Std.Diagnostics.DumpOperation}
|
|
144
150
|
- {name: DumpRegister, uid: Qdk.Std.Diagnostics.DumpRegister}
|
|
145
151
|
- {name: Fact, uid: Qdk.Std.Diagnostics.Fact}
|
|
152
|
+
- {name: NoNoise, uid: Qdk.Std.Diagnostics.NoNoise}
|
|
153
|
+
- {name: PhaseFlipNoise, uid: Qdk.Std.Diagnostics.PhaseFlipNoise}
|
|
154
|
+
- {name: StartCountingFunction, uid: Qdk.Std.Diagnostics.StartCountingFunction}
|
|
155
|
+
- {name: StartCountingOperation, uid: Qdk.Std.Diagnostics.StartCountingOperation}
|
|
156
|
+
- {name: StartCountingQubits, uid: Qdk.Std.Diagnostics.StartCountingQubits}
|
|
157
|
+
- {name: StopCountingFunction, uid: Qdk.Std.Diagnostics.StopCountingFunction}
|
|
158
|
+
- {name: StopCountingOperation, uid: Qdk.Std.Diagnostics.StopCountingOperation}
|
|
159
|
+
- {name: StopCountingQubits, uid: Qdk.Std.Diagnostics.StopCountingQubits}
|
|
146
160
|
name: Std.Diagnostics
|
|
147
161
|
uid: Qdk.Std.Diagnostics
|
|
148
162
|
- items:
|
|
163
|
+
- {name: Overview, uid: Qdk.Std.Intrinsic-toc}
|
|
149
164
|
- {name: AND, uid: Qdk.Std.Intrinsic.AND}
|
|
150
165
|
- {name: CCNOT, uid: Qdk.Std.Intrinsic.CCNOT}
|
|
151
166
|
- {name: CNOT, uid: Qdk.Std.Intrinsic.CNOT}
|
|
@@ -176,10 +191,12 @@
|
|
|
176
191
|
name: Std.Intrinsic
|
|
177
192
|
uid: Qdk.Std.Intrinsic
|
|
178
193
|
- items:
|
|
194
|
+
- {name: Overview, uid: Qdk.Std.Logical-toc}
|
|
179
195
|
- {name: Xor, uid: Qdk.Std.Logical.Xor}
|
|
180
196
|
name: Std.Logical
|
|
181
197
|
uid: Qdk.Std.Logical
|
|
182
198
|
- items:
|
|
199
|
+
- {name: Overview, uid: Qdk.Std.Math-toc}
|
|
183
200
|
- {name: AbsComplex, uid: Qdk.Std.Math.AbsComplex}
|
|
184
201
|
- {name: AbsComplexPolar, uid: Qdk.Std.Math.AbsComplexPolar}
|
|
185
202
|
- {name: AbsD, uid: Qdk.Std.Math.AbsD}
|
|
@@ -276,6 +293,7 @@
|
|
|
276
293
|
name: Std.Math
|
|
277
294
|
uid: Qdk.Std.Math
|
|
278
295
|
- items:
|
|
296
|
+
- {name: Overview, uid: Qdk.Std.Measurement-toc}
|
|
279
297
|
- {name: MResetEachZ, uid: Qdk.Std.Measurement.MResetEachZ}
|
|
280
298
|
- {name: MResetX, uid: Qdk.Std.Measurement.MResetX}
|
|
281
299
|
- {name: MResetY, uid: Qdk.Std.Measurement.MResetY}
|
|
@@ -286,6 +304,14 @@
|
|
|
286
304
|
name: Std.Measurement
|
|
287
305
|
uid: Qdk.Std.Measurement
|
|
288
306
|
- items:
|
|
307
|
+
- {name: Overview, uid: Qdk.Std.Random-toc}
|
|
308
|
+
- {name: DrawRandomBool, uid: Qdk.Std.Random.DrawRandomBool}
|
|
309
|
+
- {name: DrawRandomDouble, uid: Qdk.Std.Random.DrawRandomDouble}
|
|
310
|
+
- {name: DrawRandomInt, uid: Qdk.Std.Random.DrawRandomInt}
|
|
311
|
+
name: Std.Random
|
|
312
|
+
uid: Qdk.Std.Random
|
|
313
|
+
- items:
|
|
314
|
+
- {name: Overview, uid: Qdk.Std.Range-toc}
|
|
289
315
|
- {name: IsRangeEmpty, uid: Qdk.Std.Range.IsRangeEmpty}
|
|
290
316
|
- {name: RangeEnd, uid: Qdk.Std.Range.RangeEnd}
|
|
291
317
|
- {name: RangeReverse, uid: Qdk.Std.Range.RangeReverse}
|
|
@@ -294,6 +320,7 @@
|
|
|
294
320
|
name: Std.Range
|
|
295
321
|
uid: Qdk.Std.Range
|
|
296
322
|
- items:
|
|
323
|
+
- {name: Overview, uid: Qdk.Std.ResourceEstimation-toc}
|
|
297
324
|
- {name: AccountForEstimates, uid: Qdk.Std.ResourceEstimation.AccountForEstimates}
|
|
298
325
|
- {name: AuxQubitCount, uid: Qdk.Std.ResourceEstimation.AuxQubitCount}
|
|
299
326
|
- {name: BeginEstimateCaching, uid: Qdk.Std.ResourceEstimation.BeginEstimateCaching}
|
|
@@ -309,4 +336,15 @@
|
|
|
309
336
|
- {name: SingleVariant, uid: Qdk.Std.ResourceEstimation.SingleVariant}
|
|
310
337
|
- {name: TCount, uid: Qdk.Std.ResourceEstimation.TCount}
|
|
311
338
|
name: Std.ResourceEstimation
|
|
312
|
-
uid: Qdk.Std.ResourceEstimation
|
|
339
|
+
uid: Qdk.Std.ResourceEstimation
|
|
340
|
+
- items:
|
|
341
|
+
- {name: Overview, uid: Qdk.Std.StatePreparation-toc}
|
|
342
|
+
- {name: ApproximatelyPreparePureStateCP, uid: Qdk.Std.StatePreparation.ApproximatelyPreparePureStateCP}
|
|
343
|
+
- {name: PreparePureStateD, uid: Qdk.Std.StatePreparation.PreparePureStateD}
|
|
344
|
+
name: Std.StatePreparation
|
|
345
|
+
uid: Qdk.Std.StatePreparation
|
|
346
|
+
- items:
|
|
347
|
+
- {name: Overview, uid: Qdk.Std.TableLookup-toc}
|
|
348
|
+
- {name: Select, uid: Qdk.Std.TableLookup.Select}
|
|
349
|
+
name: Std.TableLookup
|
|
350
|
+
uid: Qdk.Std.TableLookup
|
package/lib/node/qsc_wasm.cjs
CHANGED
|
@@ -1575,7 +1575,7 @@ module.exports.__wbindgen_memory = function() {
|
|
|
1575
1575
|
return addHeapObject(ret);
|
|
1576
1576
|
};
|
|
1577
1577
|
|
|
1578
|
-
module.exports.
|
|
1578
|
+
module.exports.__wbindgen_closure_wrapper927 = function(arg0, arg1, arg2) {
|
|
1579
1579
|
const ret = makeMutClosure(arg0, arg1, 369, __wbg_adapter_54);
|
|
1580
1580
|
return addHeapObject(ret);
|
|
1581
1581
|
};
|
package/lib/node/qsc_wasm.d.cts
CHANGED
|
@@ -185,7 +185,7 @@ export interface ICompletionList {
|
|
|
185
185
|
|
|
186
186
|
export interface ICompletionItem {
|
|
187
187
|
label: string;
|
|
188
|
-
kind: "function" | "interface" | "keyword" | "module" | "property" | "variable" | "typeParameter" | "field" ;
|
|
188
|
+
kind: "function" | "interface" | "keyword" | "module" | "property" | "variable" | "typeParameter" | "field" | "class";
|
|
189
189
|
sortText?: string;
|
|
190
190
|
detail?: string;
|
|
191
191
|
additionalTextEdits?: ITextEdit[];
|
|
Binary file
|
package/lib/web/qsc_wasm.d.ts
CHANGED
|
@@ -185,7 +185,7 @@ export interface ICompletionList {
|
|
|
185
185
|
|
|
186
186
|
export interface ICompletionItem {
|
|
187
187
|
label: string;
|
|
188
|
-
kind: "function" | "interface" | "keyword" | "module" | "property" | "variable" | "typeParameter" | "field" ;
|
|
188
|
+
kind: "function" | "interface" | "keyword" | "module" | "property" | "variable" | "typeParameter" | "field" | "class";
|
|
189
189
|
sortText?: string;
|
|
190
190
|
detail?: string;
|
|
191
191
|
additionalTextEdits?: ITextEdit[];
|
package/lib/web/qsc_wasm.js
CHANGED
|
@@ -1511,7 +1511,7 @@ function __wbg_get_imports() {
|
|
|
1511
1511
|
const ret = wasm.memory;
|
|
1512
1512
|
return addHeapObject(ret);
|
|
1513
1513
|
};
|
|
1514
|
-
imports.wbg.
|
|
1514
|
+
imports.wbg.__wbindgen_closure_wrapper927 = function(arg0, arg1, arg2) {
|
|
1515
1515
|
const ret = makeMutClosure(arg0, arg1, 369, __wbg_adapter_54);
|
|
1516
1516
|
return addHeapObject(ret);
|
|
1517
1517
|
};
|
package/lib/web/qsc_wasm_bg.wasm
CHANGED
|
Binary file
|