qsharp-lang 1.1.4-dev → 1.1.5-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/browser.d.ts +3 -3
- package/dist/browser.js +12 -58
- package/dist/compiler/compiler.d.ts +4 -2
- package/dist/compiler/compiler.js +14 -1
- package/dist/compiler/events.d.ts +1 -1
- package/dist/compiler/worker-browser.d.ts +1 -1
- package/dist/compiler/worker-browser.js +3 -40
- package/dist/compiler/worker-node.js +3 -39
- package/dist/debug-service/debug-service.d.ts +5 -3
- package/dist/debug-service/debug-service.js +18 -1
- package/dist/debug-service/worker-browser.d.ts +1 -1
- package/dist/debug-service/worker-browser.js +3 -29
- package/dist/debug-service/worker-node.js +3 -28
- package/dist/katas-content.generated.js +308 -308
- package/dist/language-service/language-service.d.ts +7 -1
- package/dist/language-service/language-service.js +27 -0
- package/dist/language-service/worker-browser.d.ts +1 -1
- package/dist/language-service/worker-browser.js +3 -29
- package/dist/language-service/worker-node.js +3 -28
- package/dist/main.d.ts +2 -2
- package/dist/main.js +7 -42
- package/dist/samples.generated.js +1 -1
- package/dist/workers/browser.d.ts +21 -0
- package/dist/workers/browser.js +67 -0
- package/dist/{worker-proxy.d.ts → workers/common.d.ts} +26 -9
- package/dist/{worker-proxy.js → workers/common.js} +33 -4
- package/dist/workers/node.d.ts +20 -0
- package/dist/workers/node.js +55 -0
- package/docs/Microsoft.Quantum.Arrays/All.md +4 -6
- package/docs/Microsoft.Quantum.Arrays/Any.md +4 -6
- package/docs/Microsoft.Quantum.Arrays/Chunks.md +3 -3
- package/docs/Microsoft.Quantum.Arrays/CircularlyShifted.md +3 -3
- package/docs/Microsoft.Quantum.Arrays/ColumnAt.md +3 -3
- package/docs/Microsoft.Quantum.Arrays/Count.md +4 -6
- package/docs/Microsoft.Quantum.Arrays/Diagonal.md +3 -3
- package/docs/Microsoft.Quantum.Arrays/DrawMany.md +5 -6
- package/docs/Microsoft.Quantum.Arrays/Enumerated.md +4 -5
- package/docs/Microsoft.Quantum.Arrays/Excluding.md +4 -5
- package/docs/Microsoft.Quantum.Arrays/Filtered.md +4 -6
- package/docs/Microsoft.Quantum.Arrays/FlatMapped.md +4 -5
- package/docs/Microsoft.Quantum.Arrays/Flattened.md +3 -3
- package/docs/Microsoft.Quantum.Arrays/Fold.md +4 -5
- package/docs/Microsoft.Quantum.Arrays/ForEach.md +5 -7
- package/docs/Microsoft.Quantum.Arrays/Head.md +3 -3
- package/docs/Microsoft.Quantum.Arrays/HeadAndRest.md +3 -3
- package/docs/Microsoft.Quantum.Arrays/IndexOf.md +4 -5
- package/docs/Microsoft.Quantum.Arrays/IndexRange.md +4 -5
- package/docs/Microsoft.Quantum.Arrays/Interleaved.md +3 -3
- package/docs/Microsoft.Quantum.Arrays/IsEmpty.md +3 -3
- package/docs/Microsoft.Quantum.Arrays/IsRectangularArray.md +3 -3
- package/docs/Microsoft.Quantum.Arrays/IsSorted.md +4 -5
- package/docs/Microsoft.Quantum.Arrays/IsSquareArray.md +3 -3
- package/docs/Microsoft.Quantum.Arrays/Mapped.md +4 -6
- package/docs/Microsoft.Quantum.Arrays/MappedByIndex.md +4 -6
- package/docs/Microsoft.Quantum.Arrays/MappedOverRange.md +4 -6
- package/docs/Microsoft.Quantum.Arrays/Most.md +4 -5
- package/docs/Microsoft.Quantum.Arrays/MostAndTail.md +3 -3
- package/docs/Microsoft.Quantum.Arrays/Padded.md +4 -5
- package/docs/Microsoft.Quantum.Arrays/Partitioned.md +3 -3
- package/docs/Microsoft.Quantum.Arrays/Rest.md +4 -5
- package/docs/Microsoft.Quantum.Arrays/Reversed.md +4 -5
- package/docs/Microsoft.Quantum.Arrays/SequenceI.md +3 -3
- package/docs/Microsoft.Quantum.Arrays/SequenceL.md +3 -3
- package/docs/Microsoft.Quantum.Arrays/Sorted.md +4 -5
- package/docs/Microsoft.Quantum.Arrays/Subarray.md +4 -6
- package/docs/Microsoft.Quantum.Arrays/Swapped.md +3 -3
- package/docs/Microsoft.Quantum.Arrays/Tail.md +3 -3
- package/docs/Microsoft.Quantum.Arrays/Transposed.md +4 -5
- package/docs/Microsoft.Quantum.Arrays/Unzipped.md +4 -5
- package/docs/Microsoft.Quantum.Arrays/Where.md +4 -5
- package/docs/Microsoft.Quantum.Arrays/Windows.md +3 -3
- package/docs/Microsoft.Quantum.Arrays/Zipped.md +4 -5
- package/docs/Microsoft.Quantum.Canon/ApplyCNOTChain.md +4 -4
- package/docs/Microsoft.Quantum.Canon/ApplyControlledOnBitString.md +5 -6
- package/docs/Microsoft.Quantum.Canon/ApplyControlledOnInt.md +5 -6
- package/docs/Microsoft.Quantum.Canon/ApplyP.md +5 -6
- package/docs/Microsoft.Quantum.Canon/ApplyPauli.md +5 -6
- package/docs/Microsoft.Quantum.Canon/ApplyPauliFromBitString.md +5 -6
- package/docs/Microsoft.Quantum.Canon/ApplyPauliFromInt.md +5 -6
- package/docs/Microsoft.Quantum.Canon/ApplyQFT.md +4 -4
- package/docs/Microsoft.Quantum.Canon/ApplyToEach.md +4 -4
- package/docs/Microsoft.Quantum.Canon/ApplyToEachA.md +5 -6
- package/docs/Microsoft.Quantum.Canon/ApplyToEachC.md +5 -6
- package/docs/Microsoft.Quantum.Canon/ApplyToEachCA.md +5 -6
- package/docs/Microsoft.Quantum.Canon/ApplyXorInPlace.md +5 -6
- package/docs/Microsoft.Quantum.Canon/ApplyXorInPlaceL.md +5 -6
- package/docs/Microsoft.Quantum.Canon/CX.md +4 -4
- package/docs/Microsoft.Quantum.Canon/CY.md +4 -4
- package/docs/Microsoft.Quantum.Canon/CZ.md +4 -4
- package/docs/Microsoft.Quantum.Canon/Fst.md +3 -3
- package/docs/Microsoft.Quantum.Canon/Snd.md +3 -3
- package/docs/Microsoft.Quantum.Canon/SwapReverseRegister.md +4 -4
- package/docs/Microsoft.Quantum.Convert/BigIntAsBoolArray.md +4 -5
- package/docs/Microsoft.Quantum.Convert/BoolArrayAsBigInt.md +4 -5
- package/docs/Microsoft.Quantum.Convert/BoolArrayAsInt.md +3 -3
- package/docs/Microsoft.Quantum.Convert/BoolArrayAsResultArray.md +4 -5
- package/docs/Microsoft.Quantum.Convert/BoolAsResult.md +4 -5
- package/docs/Microsoft.Quantum.Convert/ComplexAsComplexPolar.md +4 -5
- package/docs/Microsoft.Quantum.Convert/ComplexPolarAsComplex.md +4 -5
- package/docs/Microsoft.Quantum.Convert/IntAsBigInt.md +3 -3
- package/docs/Microsoft.Quantum.Convert/IntAsBoolArray.md +4 -5
- package/docs/Microsoft.Quantum.Convert/IntAsDouble.md +3 -3
- package/docs/Microsoft.Quantum.Convert/ResultArrayAsBoolArray.md +4 -5
- package/docs/Microsoft.Quantum.Convert/ResultArrayAsInt.md +3 -3
- package/docs/Microsoft.Quantum.Convert/ResultAsBool.md +4 -5
- package/docs/Microsoft.Quantum.Core/IsRangeEmpty.md +3 -3
- package/docs/Microsoft.Quantum.Core/Length.md +3 -3
- package/docs/Microsoft.Quantum.Core/RangeEnd.md +4 -5
- package/docs/Microsoft.Quantum.Core/RangeReverse.md +3 -3
- package/docs/Microsoft.Quantum.Core/RangeStart.md +3 -3
- package/docs/Microsoft.Quantum.Core/RangeStep.md +3 -3
- package/docs/Microsoft.Quantum.Core/Repeated.md +3 -3
- package/docs/Microsoft.Quantum.Diagnostics/CheckAllZero.md +4 -4
- package/docs/Microsoft.Quantum.Diagnostics/CheckOperationsAreEqual.md +4 -4
- package/docs/Microsoft.Quantum.Diagnostics/CheckZero.md +4 -4
- package/docs/Microsoft.Quantum.Diagnostics/DumpMachine.md +3 -3
- package/docs/Microsoft.Quantum.Diagnostics/Fact.md +3 -3
- package/docs/Microsoft.Quantum.Intrinsic/CCNOT.md +4 -4
- package/docs/Microsoft.Quantum.Intrinsic/CNOT.md +4 -4
- package/docs/Microsoft.Quantum.Intrinsic/Exp.md +4 -4
- package/docs/Microsoft.Quantum.Intrinsic/H.md +4 -4
- package/docs/Microsoft.Quantum.Intrinsic/I.md +4 -4
- package/docs/Microsoft.Quantum.Intrinsic/M.md +5 -6
- package/docs/Microsoft.Quantum.Intrinsic/Measure.md +5 -6
- package/docs/Microsoft.Quantum.Intrinsic/Message.md +3 -3
- package/docs/Microsoft.Quantum.Intrinsic/R.md +4 -4
- package/docs/Microsoft.Quantum.Intrinsic/R1.md +4 -4
- package/docs/Microsoft.Quantum.Intrinsic/R1Frac.md +5 -11
- package/docs/Microsoft.Quantum.Intrinsic/RFrac.md +5 -10
- package/docs/Microsoft.Quantum.Intrinsic/Reset.md +5 -6
- package/docs/Microsoft.Quantum.Intrinsic/ResetAll.md +5 -6
- package/docs/Microsoft.Quantum.Intrinsic/Rx.md +4 -4
- package/docs/Microsoft.Quantum.Intrinsic/Rxx.md +4 -4
- package/docs/Microsoft.Quantum.Intrinsic/Ry.md +4 -4
- package/docs/Microsoft.Quantum.Intrinsic/Ryy.md +4 -4
- package/docs/Microsoft.Quantum.Intrinsic/Rz.md +4 -4
- package/docs/Microsoft.Quantum.Intrinsic/Rzz.md +4 -4
- package/docs/Microsoft.Quantum.Intrinsic/S.md +4 -4
- package/docs/Microsoft.Quantum.Intrinsic/SWAP.md +4 -4
- package/docs/Microsoft.Quantum.Intrinsic/T.md +4 -4
- package/docs/Microsoft.Quantum.Intrinsic/X.md +4 -4
- package/docs/Microsoft.Quantum.Intrinsic/Y.md +4 -4
- package/docs/Microsoft.Quantum.Intrinsic/Z.md +4 -4
- package/docs/Microsoft.Quantum.Logical/Xor.md +3 -3
- package/docs/Microsoft.Quantum.Math/AbsComplex.md +4 -5
- package/docs/Microsoft.Quantum.Math/AbsComplexPolar.md +4 -5
- package/docs/Microsoft.Quantum.Math/AbsD.md +3 -3
- package/docs/Microsoft.Quantum.Math/AbsI.md +3 -3
- package/docs/Microsoft.Quantum.Math/AbsL.md +3 -3
- package/docs/Microsoft.Quantum.Math/AbsSquaredComplex.md +4 -5
- package/docs/Microsoft.Quantum.Math/AbsSquaredComplexPolar.md +4 -5
- package/docs/Microsoft.Quantum.Math/ApproximateFactorial.md +3 -3
- package/docs/Microsoft.Quantum.Math/ArcCos.md +3 -3
- package/docs/Microsoft.Quantum.Math/ArcCosh.md +3 -3
- package/docs/Microsoft.Quantum.Math/ArcSin.md +3 -3
- package/docs/Microsoft.Quantum.Math/ArcSinh.md +3 -3
- package/docs/Microsoft.Quantum.Math/ArcTan.md +3 -3
- package/docs/Microsoft.Quantum.Math/ArcTan2.md +3 -3
- package/docs/Microsoft.Quantum.Math/ArcTanh.md +3 -3
- package/docs/Microsoft.Quantum.Math/ArgComplex.md +4 -5
- package/docs/Microsoft.Quantum.Math/ArgComplexPolar.md +3 -3
- package/docs/Microsoft.Quantum.Math/Binom.md +3 -3
- package/docs/Microsoft.Quantum.Math/BitSizeI.md +4 -5
- package/docs/Microsoft.Quantum.Math/BitSizeL.md +4 -5
- package/docs/Microsoft.Quantum.Math/Ceiling.md +4 -5
- package/docs/Microsoft.Quantum.Math/Complex.md +4 -6
- package/docs/Microsoft.Quantum.Math/ComplexPolar.md +4 -5
- package/docs/Microsoft.Quantum.Math/ContinuedFractionConvergentI.md +4 -6
- package/docs/Microsoft.Quantum.Math/ContinuedFractionConvergentL.md +4 -6
- package/docs/Microsoft.Quantum.Math/Cos.md +3 -3
- package/docs/Microsoft.Quantum.Math/Cosh.md +3 -3
- package/docs/Microsoft.Quantum.Math/DivRemI.md +3 -3
- package/docs/Microsoft.Quantum.Math/DivRemL.md +3 -3
- package/docs/Microsoft.Quantum.Math/DividedByC.md +3 -3
- package/docs/Microsoft.Quantum.Math/DividedByCP.md +3 -3
- package/docs/Microsoft.Quantum.Math/E.md +3 -3
- package/docs/Microsoft.Quantum.Math/ExpModI.md +4 -5
- package/docs/Microsoft.Quantum.Math/ExpModL.md +4 -5
- package/docs/Microsoft.Quantum.Math/ExtendedGreatestCommonDivisorI.md +4 -5
- package/docs/Microsoft.Quantum.Math/ExtendedGreatestCommonDivisorL.md +4 -5
- package/docs/Microsoft.Quantum.Math/FactorialI.md +3 -3
- package/docs/Microsoft.Quantum.Math/FactorialL.md +3 -3
- package/docs/Microsoft.Quantum.Math/Floor.md +4 -5
- package/docs/Microsoft.Quantum.Math/GreatestCommonDivisorI.md +4 -5
- package/docs/Microsoft.Quantum.Math/GreatestCommonDivisorL.md +4 -5
- package/docs/Microsoft.Quantum.Math/HammingWeightI.md +3 -3
- package/docs/Microsoft.Quantum.Math/InverseModI.md +3 -3
- package/docs/Microsoft.Quantum.Math/InverseModL.md +3 -3
- package/docs/Microsoft.Quantum.Math/IsCoprimeI.md +3 -3
- package/docs/Microsoft.Quantum.Math/IsCoprimeL.md +3 -3
- package/docs/Microsoft.Quantum.Math/IsInfinite.md +4 -5
- package/docs/Microsoft.Quantum.Math/IsNaN.md +4 -5
- package/docs/Microsoft.Quantum.Math/LargestFixedPoint.md +3 -3
- package/docs/Microsoft.Quantum.Math/Lg.md +3 -3
- package/docs/Microsoft.Quantum.Math/Log.md +3 -3
- package/docs/Microsoft.Quantum.Math/Log10.md +3 -3
- package/docs/Microsoft.Quantum.Math/LogFactorialD.md +4 -5
- package/docs/Microsoft.Quantum.Math/LogGammaD.md +4 -5
- package/docs/Microsoft.Quantum.Math/LogOf2.md +3 -3
- package/docs/Microsoft.Quantum.Math/Max.md +3 -3
- package/docs/Microsoft.Quantum.Math/MaxD.md +3 -3
- package/docs/Microsoft.Quantum.Math/MaxI.md +3 -3
- package/docs/Microsoft.Quantum.Math/MaxL.md +3 -3
- package/docs/Microsoft.Quantum.Math/Min.md +3 -3
- package/docs/Microsoft.Quantum.Math/MinD.md +3 -3
- package/docs/Microsoft.Quantum.Math/MinI.md +3 -3
- package/docs/Microsoft.Quantum.Math/MinL.md +3 -3
- package/docs/Microsoft.Quantum.Math/MinusC.md +3 -3
- package/docs/Microsoft.Quantum.Math/MinusCP.md +3 -3
- package/docs/Microsoft.Quantum.Math/ModulusI.md +4 -5
- package/docs/Microsoft.Quantum.Math/ModulusL.md +4 -5
- package/docs/Microsoft.Quantum.Math/NegationC.md +3 -3
- package/docs/Microsoft.Quantum.Math/NegationCP.md +3 -3
- package/docs/Microsoft.Quantum.Math/PI.md +3 -3
- package/docs/Microsoft.Quantum.Math/PNorm.md +4 -7
- package/docs/Microsoft.Quantum.Math/PNormalized.md +4 -8
- package/docs/Microsoft.Quantum.Math/PlusC.md +3 -3
- package/docs/Microsoft.Quantum.Math/PlusCP.md +3 -3
- package/docs/Microsoft.Quantum.Math/PowC.md +4 -5
- package/docs/Microsoft.Quantum.Math/PowCP.md +4 -5
- package/docs/Microsoft.Quantum.Math/RealMod.md +3 -3
- package/docs/Microsoft.Quantum.Math/Round.md +4 -5
- package/docs/Microsoft.Quantum.Math/SignD.md +3 -3
- package/docs/Microsoft.Quantum.Math/SignI.md +3 -3
- package/docs/Microsoft.Quantum.Math/SignL.md +3 -3
- package/docs/Microsoft.Quantum.Math/Sin.md +3 -3
- package/docs/Microsoft.Quantum.Math/Sinh.md +3 -3
- package/docs/Microsoft.Quantum.Math/SmallestFixedPoint.md +3 -3
- package/docs/Microsoft.Quantum.Math/Sqrt.md +3 -3
- package/docs/Microsoft.Quantum.Math/SquaredNorm.md +3 -3
- package/docs/Microsoft.Quantum.Math/Tan.md +3 -3
- package/docs/Microsoft.Quantum.Math/Tanh.md +3 -3
- package/docs/Microsoft.Quantum.Math/TimesC.md +3 -3
- package/docs/Microsoft.Quantum.Math/TimesCP.md +3 -3
- package/docs/Microsoft.Quantum.Math/TrailingZeroCountI.md +4 -5
- package/docs/Microsoft.Quantum.Math/TrailingZeroCountL.md +4 -5
- package/docs/Microsoft.Quantum.Math/Truncate.md +4 -5
- package/docs/Microsoft.Quantum.Measurement/MResetEachZ.md +5 -6
- package/docs/Microsoft.Quantum.Measurement/MResetX.md +5 -7
- package/docs/Microsoft.Quantum.Measurement/MResetY.md +5 -7
- package/docs/Microsoft.Quantum.Measurement/MResetZ.md +5 -7
- package/docs/Microsoft.Quantum.Measurement/MeasureAllZ.md +4 -4
- package/docs/Microsoft.Quantum.Measurement/MeasureEachZ.md +4 -4
- package/docs/Microsoft.Quantum.Measurement/MeasureInteger.md +5 -7
- package/docs/Microsoft.Quantum.Random/DrawRandomDouble.md +4 -4
- package/docs/Microsoft.Quantum.Random/DrawRandomInt.md +4 -4
- package/docs/Microsoft.Quantum.ResourceEstimation/AccountForEstimates.md +5 -7
- package/docs/Microsoft.Quantum.ResourceEstimation/AuxQubitCount.md +4 -5
- package/docs/Microsoft.Quantum.ResourceEstimation/BeginEstimateCaching.md +4 -6
- package/docs/Microsoft.Quantum.ResourceEstimation/BeginRepeatEstimates.md +5 -10
- package/docs/Microsoft.Quantum.ResourceEstimation/CczCount.md +4 -5
- package/docs/Microsoft.Quantum.ResourceEstimation/EndEstimateCaching.md +4 -6
- package/docs/Microsoft.Quantum.ResourceEstimation/EndRepeatEstimates.md +4 -4
- package/docs/Microsoft.Quantum.ResourceEstimation/MeasurementCount.md +4 -5
- package/docs/Microsoft.Quantum.ResourceEstimation/PSSPCLayout.md +4 -6
- package/docs/Microsoft.Quantum.ResourceEstimation/RepeatEstimates.md +5 -8
- package/docs/Microsoft.Quantum.ResourceEstimation/RotationCount.md +4 -5
- package/docs/Microsoft.Quantum.ResourceEstimation/RotationDepth.md +4 -5
- package/docs/Microsoft.Quantum.ResourceEstimation/SingleVariant.md +4 -5
- package/docs/Microsoft.Quantum.ResourceEstimation/TCount.md +4 -5
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/AddLE.md +5 -6
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfEqualL.md +5 -6
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfEqualLE.md +5 -7
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfGreaterL.md +5 -6
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfGreaterLE.md +5 -7
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfGreaterOrEqualL.md +5 -6
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfGreaterOrEqualLE.md +5 -7
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfLessL.md +5 -6
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfLessLE.md +5 -7
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfLessOrEqualL.md +5 -6
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfLessOrEqualLE.md +5 -7
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/FourierTDIncByLE.md +5 -6
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/IncByI.md +4 -4
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/IncByIUsingIncByLE.md +5 -6
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/IncByL.md +4 -4
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/IncByLE.md +4 -4
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/IncByLEUsingAddLE.md +4 -4
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/IncByLUsingIncByLE.md +5 -6
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/LookAheadDKRSAddLE.md +5 -6
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/MAJ.md +4 -4
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/ReflectAboutInteger.md +4 -4
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/RippleCarryCGAddLE.md +5 -6
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/RippleCarryCGIncByLE.md +5 -6
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/RippleCarryTTKIncByLE.md +4 -4
- package/docs/Microsoft.Quantum.Unstable.StatePreparation/ApproximatelyPreparePureStateCP.md +5 -7
- package/docs/Microsoft.Quantum.Unstable.StatePreparation/PreparePureStateD.md +5 -6
- package/docs/Microsoft.Quantum.Unstable.TableLookup/Select.md +4 -4
- package/docs/toc.yml +286 -284
- package/lib/node/qsc_wasm_bg.wasm +0 -0
- package/lib/web/qsc_wasm_bg.wasm +0 -0
- package/package.json +1 -1
- package/dist/compiler/worker-proxy.d.ts +0 -7
- package/dist/compiler/worker-proxy.js +0 -18
- package/dist/debug-service/worker-proxy.d.ts +0 -7
- package/dist/debug-service/worker-proxy.js +0 -22
- package/dist/language-service/worker-proxy.d.ts +0 -6
- package/dist/language-service/worker-proxy.js +0 -28
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.Measurement.MResetX
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.Measurement.MResetX
|
|
3
3
|
title: MResetX operation
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/23/2024 12:00:00 AM
|
|
5
5
|
ms.topic: managed-reference
|
|
6
|
-
qsharp.kind:
|
|
6
|
+
qsharp.kind: operation
|
|
7
7
|
qsharp.namespace: Microsoft.Quantum.Measurement
|
|
8
8
|
qsharp.name: MResetX
|
|
9
|
-
qsharp.summary: Measures a single qubit in the X basis,
|
|
10
|
-
and resets it to a fixed initial state
|
|
11
|
-
following the measurement.
|
|
9
|
+
qsharp.summary: Measures a single qubit in the X basis, and resets it to a fixed initial state following the measurement.
|
|
12
10
|
---
|
|
13
11
|
|
|
14
12
|
# MResetX operation
|
|
15
13
|
|
|
16
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.Measurement
|
|
17
15
|
|
|
18
16
|
```qsharp
|
|
19
17
|
operation MResetX(target : Qubit) : Result
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.Measurement.MResetY
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.Measurement.MResetY
|
|
3
3
|
title: MResetY operation
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/23/2024 12:00:00 AM
|
|
5
5
|
ms.topic: managed-reference
|
|
6
|
-
qsharp.kind:
|
|
6
|
+
qsharp.kind: operation
|
|
7
7
|
qsharp.namespace: Microsoft.Quantum.Measurement
|
|
8
8
|
qsharp.name: MResetY
|
|
9
|
-
qsharp.summary: Measures a single qubit in the Y basis,
|
|
10
|
-
and resets it to a fixed initial state
|
|
11
|
-
following the measurement.
|
|
9
|
+
qsharp.summary: Measures a single qubit in the Y basis, and resets it to a fixed initial state following the measurement.
|
|
12
10
|
---
|
|
13
11
|
|
|
14
12
|
# MResetY operation
|
|
15
13
|
|
|
16
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.Measurement
|
|
17
15
|
|
|
18
16
|
```qsharp
|
|
19
17
|
operation MResetY(target : Qubit) : Result
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.Measurement.MResetZ
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.Measurement.MResetZ
|
|
3
3
|
title: MResetZ operation
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/23/2024 12:00:00 AM
|
|
5
5
|
ms.topic: managed-reference
|
|
6
|
-
qsharp.kind:
|
|
6
|
+
qsharp.kind: operation
|
|
7
7
|
qsharp.namespace: Microsoft.Quantum.Measurement
|
|
8
8
|
qsharp.name: MResetZ
|
|
9
|
-
qsharp.summary: Measures a single qubit in the Z basis,
|
|
10
|
-
and resets it to a fixed initial state
|
|
11
|
-
following the measurement.
|
|
9
|
+
qsharp.summary: Measures a single qubit in the Z basis, and resets it to a fixed initial state following the measurement.
|
|
12
10
|
---
|
|
13
11
|
|
|
14
12
|
# MResetZ operation
|
|
15
13
|
|
|
16
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.Measurement
|
|
17
15
|
|
|
18
16
|
```qsharp
|
|
19
17
|
operation MResetZ(target : Qubit) : Result
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.Measurement.MeasureAllZ
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.Measurement.MeasureAllZ
|
|
3
3
|
title: MeasureAllZ operation
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/23/2024 12:00:00 AM
|
|
5
5
|
ms.topic: managed-reference
|
|
6
|
-
qsharp.kind:
|
|
6
|
+
qsharp.kind: operation
|
|
7
7
|
qsharp.namespace: Microsoft.Quantum.Measurement
|
|
8
8
|
qsharp.name: MeasureAllZ
|
|
9
9
|
qsharp.summary: Jointly measures a register of qubits in the Pauli Z basis.
|
|
@@ -11,7 +11,7 @@ qsharp.summary: Jointly measures a register of qubits in the Pauli Z basis.
|
|
|
11
11
|
|
|
12
12
|
# MeasureAllZ operation
|
|
13
13
|
|
|
14
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.Measurement
|
|
15
15
|
|
|
16
16
|
```qsharp
|
|
17
17
|
operation MeasureAllZ(register : Qubit[]) : Result
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.Measurement.MeasureEachZ
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.Measurement.MeasureEachZ
|
|
3
3
|
title: MeasureEachZ operation
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/23/2024 12:00:00 AM
|
|
5
5
|
ms.topic: managed-reference
|
|
6
|
-
qsharp.kind:
|
|
6
|
+
qsharp.kind: operation
|
|
7
7
|
qsharp.namespace: Microsoft.Quantum.Measurement
|
|
8
8
|
qsharp.name: MeasureEachZ
|
|
9
9
|
qsharp.summary: Measures each qubit in a given array in the standard basis.
|
|
@@ -11,7 +11,7 @@ qsharp.summary: Measures each qubit in a given array in the standard basis.
|
|
|
11
11
|
|
|
12
12
|
# MeasureEachZ operation
|
|
13
13
|
|
|
14
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.Measurement
|
|
15
15
|
|
|
16
16
|
```qsharp
|
|
17
17
|
operation MeasureEachZ(register : Qubit[]) : Result[]
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.Measurement.MeasureInteger
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.Measurement.MeasureInteger
|
|
3
3
|
title: MeasureInteger operation
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/23/2024 12:00:00 AM
|
|
5
5
|
ms.topic: managed-reference
|
|
6
|
-
qsharp.kind:
|
|
6
|
+
qsharp.kind: operation
|
|
7
7
|
qsharp.namespace: Microsoft.Quantum.Measurement
|
|
8
8
|
qsharp.name: MeasureInteger
|
|
9
|
-
qsharp.summary: Measures the content of a quantum register and converts
|
|
10
|
-
it to an integer. The measurement is performed with respect
|
|
11
|
-
to the standard computational basis, i.e., the eigenbasis of `PauliZ`.
|
|
9
|
+
qsharp.summary: Measures the content of a quantum register and converts it to an integer. The measurement is performed with respect to the standard computational basis, i.e., the eigenbasis of `PauliZ`.
|
|
12
10
|
---
|
|
13
11
|
|
|
14
12
|
# MeasureInteger operation
|
|
15
13
|
|
|
16
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.Measurement
|
|
17
15
|
|
|
18
16
|
```qsharp
|
|
19
17
|
operation MeasureInteger(target : Qubit[]) : Int
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.Random.DrawRandomDouble
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.Random.DrawRandomDouble
|
|
3
3
|
title: DrawRandomDouble operation
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/23/2024 12:00:00 AM
|
|
5
5
|
ms.topic: managed-reference
|
|
6
|
-
qsharp.kind:
|
|
6
|
+
qsharp.kind: operation
|
|
7
7
|
qsharp.namespace: Microsoft.Quantum.Random
|
|
8
8
|
qsharp.name: DrawRandomDouble
|
|
9
9
|
qsharp.summary: Draws a random real number in a given inclusive interval.
|
|
@@ -11,7 +11,7 @@ qsharp.summary: Draws a random real number in a given inclusive interval.
|
|
|
11
11
|
|
|
12
12
|
# DrawRandomDouble operation
|
|
13
13
|
|
|
14
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.Random
|
|
15
15
|
|
|
16
16
|
```qsharp
|
|
17
17
|
operation DrawRandomDouble(min : Double, max : Double) : Double
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.Random.DrawRandomInt
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.Random.DrawRandomInt
|
|
3
3
|
title: DrawRandomInt operation
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/23/2024 12:00:00 AM
|
|
5
5
|
ms.topic: managed-reference
|
|
6
|
-
qsharp.kind:
|
|
6
|
+
qsharp.kind: operation
|
|
7
7
|
qsharp.namespace: Microsoft.Quantum.Random
|
|
8
8
|
qsharp.name: DrawRandomInt
|
|
9
9
|
qsharp.summary: Draws a random integer in a given inclusive range.
|
|
@@ -11,7 +11,7 @@ qsharp.summary: Draws a random integer in a given inclusive range.
|
|
|
11
11
|
|
|
12
12
|
# DrawRandomInt operation
|
|
13
13
|
|
|
14
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.Random
|
|
15
15
|
|
|
16
16
|
```qsharp
|
|
17
17
|
operation DrawRandomInt(min : Int, max : Int) : Int
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.ResourceEstimation.AccountForEstimates
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.ResourceEstimation.AccountForEstimates
|
|
3
3
|
title: AccountForEstimates operation
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/23/2024 12:00:00 AM
|
|
5
5
|
ms.topic: managed-reference
|
|
6
|
-
qsharp.kind:
|
|
6
|
+
qsharp.kind: operation
|
|
7
7
|
qsharp.namespace: Microsoft.Quantum.ResourceEstimation
|
|
8
8
|
qsharp.name: AccountForEstimates
|
|
9
|
-
qsharp.summary: Account for the resource estimates of an unimplemented operation,
|
|
10
|
-
which were obtained separately. This operation is only available
|
|
11
|
-
when using resource estimator execution target.
|
|
9
|
+
qsharp.summary: Account for the resource estimates of an unimplemented operation, which were obtained separately. This operation is only available when using resource estimator execution target.
|
|
12
10
|
---
|
|
13
11
|
|
|
14
12
|
# AccountForEstimates operation
|
|
15
13
|
|
|
16
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.ResourceEstimation
|
|
17
15
|
|
|
18
16
|
```qsharp
|
|
19
17
|
operation AccountForEstimates(estimates : (Int, Int)[], layout : Int, arguments : Qubit[]) : Unit is Adj
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.ResourceEstimation.AuxQubitCount
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.ResourceEstimation.AuxQubitCount
|
|
3
3
|
title: AuxQubitCount function
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/23/2024 12:00:00 AM
|
|
5
5
|
ms.topic: managed-reference
|
|
6
6
|
qsharp.kind: function
|
|
7
7
|
qsharp.namespace: Microsoft.Quantum.ResourceEstimation
|
|
8
8
|
qsharp.name: AuxQubitCount
|
|
9
|
-
qsharp.summary: Returns a tuple that can be passed to the `AccountForEstimates` operation
|
|
10
|
-
to specify that the number of auxiliary qubits is equal to the `amount`.
|
|
9
|
+
qsharp.summary: Returns a tuple that can be passed to the `AccountForEstimates` operation to specify that the number of auxiliary qubits is equal to the `amount`.
|
|
11
10
|
---
|
|
12
11
|
|
|
13
12
|
# AuxQubitCount function
|
|
14
13
|
|
|
15
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.ResourceEstimation
|
|
16
15
|
|
|
17
16
|
```qsharp
|
|
18
17
|
function AuxQubitCount(amount : Int) : (Int, Int)
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.ResourceEstimation.BeginEstimateCaching
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.ResourceEstimation.BeginEstimateCaching
|
|
3
3
|
title: BeginEstimateCaching function
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/23/2024 12:00:00 AM
|
|
5
5
|
ms.topic: managed-reference
|
|
6
6
|
qsharp.kind: function
|
|
7
7
|
qsharp.namespace: Microsoft.Quantum.ResourceEstimation
|
|
8
8
|
qsharp.name: BeginEstimateCaching
|
|
9
|
-
qsharp.summary: Informs the resource estimator of the start of the code fragment
|
|
10
|
-
for which estimates caching can be done. This function
|
|
11
|
-
is only available when using resource estimator execution target.
|
|
9
|
+
qsharp.summary: 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.
|
|
12
10
|
---
|
|
13
11
|
|
|
14
12
|
# BeginEstimateCaching function
|
|
15
13
|
|
|
16
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.ResourceEstimation
|
|
17
15
|
|
|
18
16
|
```qsharp
|
|
19
17
|
function BeginEstimateCaching(name : String, variant : Int) : Bool
|
|
@@ -1,22 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.ResourceEstimation.BeginRepeatEstimates
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.ResourceEstimation.BeginRepeatEstimates
|
|
3
3
|
title: BeginRepeatEstimates operation
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/23/2024 12:00:00 AM
|
|
5
5
|
ms.topic: managed-reference
|
|
6
|
-
qsharp.kind:
|
|
6
|
+
qsharp.kind: operation
|
|
7
7
|
qsharp.namespace: Microsoft.Quantum.ResourceEstimation
|
|
8
8
|
qsharp.name: BeginRepeatEstimates
|
|
9
|
-
qsharp.summary: Instructs the resource estimator to assume that the resources from the
|
|
10
|
-
call of this operation until a call to `EndRepeatEstimates` are
|
|
11
|
-
accounted for `count` times, without the need to execute the code that many
|
|
12
|
-
times. Calls to `BeginRepeatEstimates` and `EndRepeatEstimates` can be nested.
|
|
13
|
-
A helper operation `RepeatEstimates` allows to call the two functions in a
|
|
14
|
-
`within` block.
|
|
9
|
+
qsharp.summary: 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.
|
|
15
10
|
---
|
|
16
11
|
|
|
17
12
|
# BeginRepeatEstimates operation
|
|
18
13
|
|
|
19
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.ResourceEstimation
|
|
20
15
|
|
|
21
16
|
```qsharp
|
|
22
17
|
operation BeginRepeatEstimates(count : Int) : Unit is Adj
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.ResourceEstimation.CczCount
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.ResourceEstimation.CczCount
|
|
3
3
|
title: CczCount function
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/23/2024 12:00:00 AM
|
|
5
5
|
ms.topic: managed-reference
|
|
6
6
|
qsharp.kind: function
|
|
7
7
|
qsharp.namespace: Microsoft.Quantum.ResourceEstimation
|
|
8
8
|
qsharp.name: CczCount
|
|
9
|
-
qsharp.summary: Returns a tuple that can be passed to the `AccountForEstimates` operation
|
|
10
|
-
to specify that the number of the CCZ gates is equal to the `amount`.
|
|
9
|
+
qsharp.summary: 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`.
|
|
11
10
|
---
|
|
12
11
|
|
|
13
12
|
# CczCount function
|
|
14
13
|
|
|
15
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.ResourceEstimation
|
|
16
15
|
|
|
17
16
|
```qsharp
|
|
18
17
|
function CczCount(amount : Int) : (Int, Int)
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.ResourceEstimation.EndEstimateCaching
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.ResourceEstimation.EndEstimateCaching
|
|
3
3
|
title: EndEstimateCaching function
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/23/2024 12:00:00 AM
|
|
5
5
|
ms.topic: managed-reference
|
|
6
6
|
qsharp.kind: function
|
|
7
7
|
qsharp.namespace: Microsoft.Quantum.ResourceEstimation
|
|
8
8
|
qsharp.name: EndEstimateCaching
|
|
9
|
-
qsharp.summary: Instructs the resource estimator to stop estimates caching
|
|
10
|
-
because the code fragment in consideration is over. This function
|
|
11
|
-
is only available when using resource estimator execution target.
|
|
9
|
+
qsharp.summary: 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.
|
|
12
10
|
---
|
|
13
11
|
|
|
14
12
|
# EndEstimateCaching function
|
|
15
13
|
|
|
16
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.ResourceEstimation
|
|
17
15
|
|
|
18
16
|
```qsharp
|
|
19
17
|
function EndEstimateCaching() : Unit
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.ResourceEstimation.EndRepeatEstimates
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.ResourceEstimation.EndRepeatEstimates
|
|
3
3
|
title: EndRepeatEstimates operation
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/23/2024 12:00:00 AM
|
|
5
5
|
ms.topic: managed-reference
|
|
6
|
-
qsharp.kind:
|
|
6
|
+
qsharp.kind: operation
|
|
7
7
|
qsharp.namespace: Microsoft.Quantum.ResourceEstimation
|
|
8
8
|
qsharp.name: EndRepeatEstimates
|
|
9
9
|
qsharp.summary: Companion operation to `BeginRepeatEstimates`.
|
|
@@ -11,7 +11,7 @@ qsharp.summary: Companion operation to `BeginRepeatEstimates`.
|
|
|
11
11
|
|
|
12
12
|
# EndRepeatEstimates operation
|
|
13
13
|
|
|
14
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.ResourceEstimation
|
|
15
15
|
|
|
16
16
|
```qsharp
|
|
17
17
|
operation EndRepeatEstimates() : Unit is Adj
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.ResourceEstimation.MeasurementCount
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.ResourceEstimation.MeasurementCount
|
|
3
3
|
title: MeasurementCount function
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/23/2024 12:00:00 AM
|
|
5
5
|
ms.topic: managed-reference
|
|
6
6
|
qsharp.kind: function
|
|
7
7
|
qsharp.namespace: Microsoft.Quantum.ResourceEstimation
|
|
8
8
|
qsharp.name: MeasurementCount
|
|
9
|
-
qsharp.summary: Returns a tuple that can be passed to the `AccountForEstimates` operation
|
|
10
|
-
to specify that the number Measurements is equal to the `amount`.
|
|
9
|
+
qsharp.summary: Returns a tuple that can be passed to the `AccountForEstimates` operation to specify that the number Measurements is equal to the `amount`.
|
|
11
10
|
---
|
|
12
11
|
|
|
13
12
|
# MeasurementCount function
|
|
14
13
|
|
|
15
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.ResourceEstimation
|
|
16
15
|
|
|
17
16
|
```qsharp
|
|
18
17
|
function MeasurementCount(amount : Int) : (Int, Int)
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.ResourceEstimation.PSSPCLayout
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.ResourceEstimation.PSSPCLayout
|
|
3
3
|
title: PSSPCLayout function
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/23/2024 12:00:00 AM
|
|
5
5
|
ms.topic: managed-reference
|
|
6
6
|
qsharp.kind: function
|
|
7
7
|
qsharp.namespace: Microsoft.Quantum.ResourceEstimation
|
|
8
8
|
qsharp.name: PSSPCLayout
|
|
9
|
-
qsharp.summary: Pass the value returned by the function to the `AccountForEstimates` operation
|
|
10
|
-
to indicate Parallel Synthesis Sequential Pauli Computation (PSSPC) layout.
|
|
11
|
-
See https://arxiv.org/pdf/2211.07629.pdf for details.
|
|
9
|
+
qsharp.summary: 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.
|
|
12
10
|
---
|
|
13
11
|
|
|
14
12
|
# PSSPCLayout function
|
|
15
13
|
|
|
16
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.ResourceEstimation
|
|
17
15
|
|
|
18
16
|
```qsharp
|
|
19
17
|
function PSSPCLayout() : Int
|
|
@@ -1,20 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.ResourceEstimation.RepeatEstimates
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.ResourceEstimation.RepeatEstimates
|
|
3
3
|
title: RepeatEstimates operation
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/23/2024 12:00:00 AM
|
|
5
5
|
ms.topic: managed-reference
|
|
6
|
-
qsharp.kind:
|
|
6
|
+
qsharp.kind: operation
|
|
7
7
|
qsharp.namespace: Microsoft.Quantum.ResourceEstimation
|
|
8
8
|
qsharp.name: RepeatEstimates
|
|
9
|
-
qsharp.summary: Instructs the resource estimator to assume that the resources from the
|
|
10
|
-
call of this operation until a call to `Adjoint RepeatEstimates` are
|
|
11
|
-
accounted for `count` times, without the need to execute the code that many
|
|
12
|
-
times.
|
|
9
|
+
qsharp.summary: 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.
|
|
13
10
|
---
|
|
14
11
|
|
|
15
12
|
# RepeatEstimates operation
|
|
16
13
|
|
|
17
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.ResourceEstimation
|
|
18
15
|
|
|
19
16
|
```qsharp
|
|
20
17
|
operation RepeatEstimates(count : Int) : Unit is Adj
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.ResourceEstimation.RotationCount
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.ResourceEstimation.RotationCount
|
|
3
3
|
title: RotationCount function
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/23/2024 12:00:00 AM
|
|
5
5
|
ms.topic: managed-reference
|
|
6
6
|
qsharp.kind: function
|
|
7
7
|
qsharp.namespace: Microsoft.Quantum.ResourceEstimation
|
|
8
8
|
qsharp.name: RotationCount
|
|
9
|
-
qsharp.summary: Returns a tuple that can be passed to the `AccountForEstimates` operation
|
|
10
|
-
to specify that the number of rotations is equal to the `amount`.
|
|
9
|
+
qsharp.summary: Returns a tuple that can be passed to the `AccountForEstimates` operation to specify that the number of rotations is equal to the `amount`.
|
|
11
10
|
---
|
|
12
11
|
|
|
13
12
|
# RotationCount function
|
|
14
13
|
|
|
15
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.ResourceEstimation
|
|
16
15
|
|
|
17
16
|
```qsharp
|
|
18
17
|
function RotationCount(amount : Int) : (Int, Int)
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.ResourceEstimation.RotationDepth
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.ResourceEstimation.RotationDepth
|
|
3
3
|
title: RotationDepth function
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/23/2024 12:00:00 AM
|
|
5
5
|
ms.topic: managed-reference
|
|
6
6
|
qsharp.kind: function
|
|
7
7
|
qsharp.namespace: Microsoft.Quantum.ResourceEstimation
|
|
8
8
|
qsharp.name: RotationDepth
|
|
9
|
-
qsharp.summary: Returns a tuple that can be passed to the `AccountForEstimates` operation
|
|
10
|
-
to specify that the rotation depth is equal to the `amount`.
|
|
9
|
+
qsharp.summary: Returns a tuple that can be passed to the `AccountForEstimates` operation to specify that the rotation depth is equal to the `amount`.
|
|
11
10
|
---
|
|
12
11
|
|
|
13
12
|
# RotationDepth function
|
|
14
13
|
|
|
15
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.ResourceEstimation
|
|
16
15
|
|
|
17
16
|
```qsharp
|
|
18
17
|
function RotationDepth(amount : Int) : (Int, Int)
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.ResourceEstimation.SingleVariant
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.ResourceEstimation.SingleVariant
|
|
3
3
|
title: SingleVariant function
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/23/2024 12:00:00 AM
|
|
5
5
|
ms.topic: managed-reference
|
|
6
6
|
qsharp.kind: function
|
|
7
7
|
qsharp.namespace: Microsoft.Quantum.ResourceEstimation
|
|
8
8
|
qsharp.name: SingleVariant
|
|
9
|
-
qsharp.summary: Used to specify that there's only one execution variant in `BeginEstimateCaching`
|
|
10
|
-
function
|
|
9
|
+
qsharp.summary: Used to specify that there's only one execution variant in `BeginEstimateCaching` function
|
|
11
10
|
---
|
|
12
11
|
|
|
13
12
|
# SingleVariant function
|
|
14
13
|
|
|
15
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.ResourceEstimation
|
|
16
15
|
|
|
17
16
|
```qsharp
|
|
18
17
|
function SingleVariant() : Int
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.ResourceEstimation.TCount
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.ResourceEstimation.TCount
|
|
3
3
|
title: TCount function
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/23/2024 12:00:00 AM
|
|
5
5
|
ms.topic: managed-reference
|
|
6
6
|
qsharp.kind: function
|
|
7
7
|
qsharp.namespace: Microsoft.Quantum.ResourceEstimation
|
|
8
8
|
qsharp.name: TCount
|
|
9
|
-
qsharp.summary: Returns a tuple that can be passed to the `AccountForEstimates` operation
|
|
10
|
-
to specify that the number of the T gates is equal to the `amount`.
|
|
9
|
+
qsharp.summary: 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`.
|
|
11
10
|
---
|
|
12
11
|
|
|
13
12
|
# TCount function
|
|
14
13
|
|
|
15
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.ResourceEstimation
|
|
16
15
|
|
|
17
16
|
```qsharp
|
|
18
17
|
function TCount(amount : Int) : (Int, Int)
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.Unstable.Arithmetic.AddLE
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.Unstable.Arithmetic.AddLE
|
|
3
3
|
title: AddLE operation
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/23/2024 12:00:00 AM
|
|
5
5
|
ms.topic: managed-reference
|
|
6
|
-
qsharp.kind:
|
|
6
|
+
qsharp.kind: operation
|
|
7
7
|
qsharp.namespace: Microsoft.Quantum.Unstable.Arithmetic
|
|
8
8
|
qsharp.name: AddLE
|
|
9
|
-
qsharp.summary: Sets a zero-initialized little-endian register zs to the sum of
|
|
10
|
-
little-endian registers xs and ys
|
|
9
|
+
qsharp.summary: Sets a zero-initialized little-endian register zs to the sum of little-endian registers xs and ys
|
|
11
10
|
---
|
|
12
11
|
|
|
13
12
|
# AddLE operation
|
|
14
13
|
|
|
15
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.Unstable.Arithmetic
|
|
16
15
|
|
|
17
16
|
```qsharp
|
|
18
17
|
operation AddLE(xs : Qubit[], ys : Qubit[], zs : Qubit[]) : Unit is Adj
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.Unstable.Arithmetic.ApplyIfEqualL
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.Unstable.Arithmetic.ApplyIfEqualL
|
|
3
3
|
title: ApplyIfEqualL operation
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/23/2024 12:00:00 AM
|
|
5
5
|
ms.topic: managed-reference
|
|
6
|
-
qsharp.kind:
|
|
6
|
+
qsharp.kind: operation
|
|
7
7
|
qsharp.namespace: Microsoft.Quantum.Unstable.Arithmetic
|
|
8
8
|
qsharp.name: ApplyIfEqualL
|
|
9
|
-
qsharp.summary: Computes `if (c == x) { action(target) }`, that is, applies `action` to `target`
|
|
10
|
-
if a BigInt value `c` is equal to the little-endian qubit register `x`
|
|
9
|
+
qsharp.summary: Computes `if (c == x) { action(target) }`, that is, applies `action` to `target` if a BigInt value `c` is equal to the little-endian qubit register `x`
|
|
11
10
|
---
|
|
12
11
|
|
|
13
12
|
# ApplyIfEqualL operation
|
|
14
13
|
|
|
15
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.Unstable.Arithmetic
|
|
16
15
|
|
|
17
16
|
```qsharp
|
|
18
17
|
operation ApplyIfEqualL<'T>(action : ('T => Unit is Adj + Ctl), c : BigInt, xs : Qubit[], target : 'T) : Unit is Adj + Ctl
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.Unstable.Arithmetic.ApplyIfEqualLE
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.Unstable.Arithmetic.ApplyIfEqualLE
|
|
3
3
|
title: ApplyIfEqualLE operation
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/23/2024 12:00:00 AM
|
|
5
5
|
ms.topic: managed-reference
|
|
6
|
-
qsharp.kind:
|
|
6
|
+
qsharp.kind: operation
|
|
7
7
|
qsharp.namespace: Microsoft.Quantum.Unstable.Arithmetic
|
|
8
8
|
qsharp.name: ApplyIfEqualLE
|
|
9
|
-
qsharp.summary: Computes `if x == y { action(target) }`, that is, applies `action` to `target`
|
|
10
|
-
if register `x` is equal to the register `y`.
|
|
11
|
-
Both qubit registers should be in a little-endian format.
|
|
9
|
+
qsharp.summary: Computes `if x == y { action(target) }`, that is, applies `action` to `target` if register `x` is equal to the register `y`. Both qubit registers should be in a little-endian format.
|
|
12
10
|
---
|
|
13
11
|
|
|
14
12
|
# ApplyIfEqualLE operation
|
|
15
13
|
|
|
16
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.Unstable.Arithmetic
|
|
17
15
|
|
|
18
16
|
```qsharp
|
|
19
17
|
operation ApplyIfEqualLE<'T>(action : ('T => Unit is Adj + Ctl), x : Qubit[], y : Qubit[], target : 'T) : Unit is Adj + Ctl
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.Unstable.Arithmetic.ApplyIfGreaterL
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.Unstable.Arithmetic.ApplyIfGreaterL
|
|
3
3
|
title: ApplyIfGreaterL operation
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/23/2024 12:00:00 AM
|
|
5
5
|
ms.topic: managed-reference
|
|
6
|
-
qsharp.kind:
|
|
6
|
+
qsharp.kind: operation
|
|
7
7
|
qsharp.namespace: Microsoft.Quantum.Unstable.Arithmetic
|
|
8
8
|
qsharp.name: ApplyIfGreaterL
|
|
9
|
-
qsharp.summary: Computes `if (c > x) { action(target) }`, that is, applies `action` to `target`
|
|
10
|
-
if a BigInt value `c` is greater than the little-endian qubit register `x`
|
|
9
|
+
qsharp.summary: Computes `if (c > x) { action(target) }`, that is, applies `action` to `target` if a BigInt value `c` is greater than the little-endian qubit register `x`
|
|
11
10
|
---
|
|
12
11
|
|
|
13
12
|
# ApplyIfGreaterL operation
|
|
14
13
|
|
|
15
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.Unstable.Arithmetic
|
|
16
15
|
|
|
17
16
|
```qsharp
|
|
18
17
|
operation ApplyIfGreaterL<'T>(action : ('T => Unit is Adj + Ctl), c : BigInt, x : Qubit[], target : 'T) : Unit is Adj + Ctl
|