qsharp-lang 1.1.4-dev → 1.1.6-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 +29 -9
- package/dist/compiler/compiler.js +42 -9
- 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 +7 -5
- package/dist/debug-service/debug-service.js +20 -3
- 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 +353 -353
- 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 +4 -4
- package/docs/Microsoft.Quantum.Arrays/CircularlyShifted.md +4 -4
- package/docs/Microsoft.Quantum.Arrays/ColumnAt.md +4 -4
- package/docs/Microsoft.Quantum.Arrays/Count.md +4 -6
- package/docs/Microsoft.Quantum.Arrays/Diagonal.md +4 -4
- 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 +4 -4
- 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 +4 -4
- package/docs/Microsoft.Quantum.Arrays/HeadAndRest.md +4 -4
- 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 +4 -4
- package/docs/Microsoft.Quantum.Arrays/IsEmpty.md +4 -4
- package/docs/Microsoft.Quantum.Arrays/IsRectangularArray.md +4 -4
- package/docs/Microsoft.Quantum.Arrays/IsSorted.md +4 -5
- package/docs/Microsoft.Quantum.Arrays/IsSquareArray.md +4 -4
- 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 +4 -4
- package/docs/Microsoft.Quantum.Arrays/Padded.md +4 -5
- package/docs/Microsoft.Quantum.Arrays/Partitioned.md +4 -4
- 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 +4 -4
- package/docs/Microsoft.Quantum.Arrays/SequenceL.md +4 -4
- 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 +4 -4
- package/docs/Microsoft.Quantum.Arrays/Tail.md +4 -4
- 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 +4 -4
- package/docs/Microsoft.Quantum.Arrays/Zipped.md +4 -5
- package/docs/Microsoft.Quantum.Canon/ApplyCNOTChain.md +5 -5
- 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 +5 -5
- package/docs/Microsoft.Quantum.Canon/ApplyToEach.md +5 -5
- 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 +5 -5
- package/docs/Microsoft.Quantum.Canon/CY.md +5 -5
- package/docs/Microsoft.Quantum.Canon/CZ.md +5 -5
- package/docs/Microsoft.Quantum.Canon/Fst.md +4 -4
- package/docs/Microsoft.Quantum.Canon/Snd.md +4 -4
- package/docs/Microsoft.Quantum.Canon/SwapReverseRegister.md +5 -5
- 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 +4 -4
- 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 +4 -4
- package/docs/Microsoft.Quantum.Convert/IntAsBoolArray.md +4 -5
- package/docs/Microsoft.Quantum.Convert/IntAsDouble.md +4 -4
- package/docs/Microsoft.Quantum.Convert/ResultArrayAsBoolArray.md +4 -5
- package/docs/Microsoft.Quantum.Convert/ResultArrayAsInt.md +4 -4
- package/docs/Microsoft.Quantum.Convert/ResultAsBool.md +4 -5
- package/docs/Microsoft.Quantum.Core/IsRangeEmpty.md +4 -4
- package/docs/Microsoft.Quantum.Core/Length.md +4 -4
- package/docs/Microsoft.Quantum.Core/RangeEnd.md +4 -5
- package/docs/Microsoft.Quantum.Core/RangeReverse.md +4 -4
- package/docs/Microsoft.Quantum.Core/RangeStart.md +4 -4
- package/docs/Microsoft.Quantum.Core/RangeStep.md +4 -4
- package/docs/Microsoft.Quantum.Core/Repeated.md +4 -4
- package/docs/Microsoft.Quantum.Diagnostics/CheckAllZero.md +5 -5
- package/docs/Microsoft.Quantum.Diagnostics/CheckOperationsAreEqual.md +5 -5
- package/docs/Microsoft.Quantum.Diagnostics/CheckZero.md +5 -5
- package/docs/Microsoft.Quantum.Diagnostics/DumpMachine.md +4 -4
- package/docs/Microsoft.Quantum.Diagnostics/Fact.md +4 -4
- package/docs/Microsoft.Quantum.Intrinsic/CCNOT.md +5 -5
- package/docs/Microsoft.Quantum.Intrinsic/CNOT.md +5 -5
- package/docs/Microsoft.Quantum.Intrinsic/Exp.md +5 -5
- package/docs/Microsoft.Quantum.Intrinsic/H.md +11 -8
- package/docs/Microsoft.Quantum.Intrinsic/I.md +5 -5
- 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 +4 -4
- package/docs/Microsoft.Quantum.Intrinsic/R.md +5 -5
- package/docs/Microsoft.Quantum.Intrinsic/R1.md +5 -5
- 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 +5 -5
- package/docs/Microsoft.Quantum.Intrinsic/Rxx.md +5 -5
- package/docs/Microsoft.Quantum.Intrinsic/Ry.md +5 -5
- package/docs/Microsoft.Quantum.Intrinsic/Ryy.md +5 -5
- package/docs/Microsoft.Quantum.Intrinsic/Rz.md +5 -5
- package/docs/Microsoft.Quantum.Intrinsic/Rzz.md +5 -5
- package/docs/Microsoft.Quantum.Intrinsic/S.md +5 -5
- package/docs/Microsoft.Quantum.Intrinsic/SWAP.md +5 -5
- package/docs/Microsoft.Quantum.Intrinsic/T.md +5 -5
- package/docs/Microsoft.Quantum.Intrinsic/X.md +5 -5
- package/docs/Microsoft.Quantum.Intrinsic/Y.md +5 -5
- package/docs/Microsoft.Quantum.Intrinsic/Z.md +5 -5
- package/docs/Microsoft.Quantum.Logical/Xor.md +4 -4
- 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 +4 -4
- package/docs/Microsoft.Quantum.Math/AbsI.md +4 -4
- package/docs/Microsoft.Quantum.Math/AbsL.md +4 -4
- 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 +4 -4
- package/docs/Microsoft.Quantum.Math/ArcCos.md +4 -4
- package/docs/Microsoft.Quantum.Math/ArcCosh.md +4 -4
- package/docs/Microsoft.Quantum.Math/ArcSin.md +4 -4
- package/docs/Microsoft.Quantum.Math/ArcSinh.md +4 -4
- package/docs/Microsoft.Quantum.Math/ArcTan.md +4 -4
- package/docs/Microsoft.Quantum.Math/ArcTan2.md +4 -4
- package/docs/Microsoft.Quantum.Math/ArcTanh.md +4 -4
- package/docs/Microsoft.Quantum.Math/ArgComplex.md +4 -5
- package/docs/Microsoft.Quantum.Math/ArgComplexPolar.md +4 -4
- package/docs/Microsoft.Quantum.Math/Binom.md +4 -4
- 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 +4 -4
- package/docs/Microsoft.Quantum.Math/Cosh.md +4 -4
- package/docs/Microsoft.Quantum.Math/DivRemI.md +4 -4
- package/docs/Microsoft.Quantum.Math/DivRemL.md +4 -4
- package/docs/Microsoft.Quantum.Math/DividedByC.md +4 -4
- package/docs/Microsoft.Quantum.Math/DividedByCP.md +4 -4
- package/docs/Microsoft.Quantum.Math/E.md +4 -4
- 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 +4 -4
- package/docs/Microsoft.Quantum.Math/FactorialL.md +4 -4
- 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 +4 -4
- package/docs/Microsoft.Quantum.Math/InverseModI.md +4 -4
- package/docs/Microsoft.Quantum.Math/InverseModL.md +4 -4
- package/docs/Microsoft.Quantum.Math/IsCoprimeI.md +4 -4
- package/docs/Microsoft.Quantum.Math/IsCoprimeL.md +4 -4
- 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 +4 -4
- package/docs/Microsoft.Quantum.Math/Lg.md +4 -4
- package/docs/Microsoft.Quantum.Math/Log.md +4 -4
- package/docs/Microsoft.Quantum.Math/Log10.md +4 -4
- 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 +4 -4
- package/docs/Microsoft.Quantum.Math/Max.md +4 -4
- package/docs/Microsoft.Quantum.Math/MaxD.md +4 -4
- package/docs/Microsoft.Quantum.Math/MaxI.md +4 -4
- package/docs/Microsoft.Quantum.Math/MaxL.md +4 -4
- package/docs/Microsoft.Quantum.Math/Min.md +4 -4
- package/docs/Microsoft.Quantum.Math/MinD.md +4 -4
- package/docs/Microsoft.Quantum.Math/MinI.md +4 -4
- package/docs/Microsoft.Quantum.Math/MinL.md +4 -4
- package/docs/Microsoft.Quantum.Math/MinusC.md +4 -4
- package/docs/Microsoft.Quantum.Math/MinusCP.md +4 -4
- 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 +4 -4
- package/docs/Microsoft.Quantum.Math/NegationCP.md +4 -4
- package/docs/Microsoft.Quantum.Math/PI.md +4 -4
- 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 +4 -4
- package/docs/Microsoft.Quantum.Math/PlusCP.md +4 -4
- 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 +4 -4
- package/docs/Microsoft.Quantum.Math/Round.md +4 -5
- package/docs/Microsoft.Quantum.Math/SignD.md +4 -4
- package/docs/Microsoft.Quantum.Math/SignI.md +4 -4
- package/docs/Microsoft.Quantum.Math/SignL.md +4 -4
- package/docs/Microsoft.Quantum.Math/Sin.md +4 -4
- package/docs/Microsoft.Quantum.Math/Sinh.md +4 -4
- package/docs/Microsoft.Quantum.Math/SmallestFixedPoint.md +4 -4
- package/docs/Microsoft.Quantum.Math/Sqrt.md +4 -4
- package/docs/Microsoft.Quantum.Math/SquaredNorm.md +4 -4
- package/docs/Microsoft.Quantum.Math/Tan.md +4 -4
- package/docs/Microsoft.Quantum.Math/Tanh.md +4 -4
- package/docs/Microsoft.Quantum.Math/TimesC.md +4 -4
- package/docs/Microsoft.Quantum.Math/TimesCP.md +4 -4
- 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 +5 -5
- package/docs/Microsoft.Quantum.Measurement/MeasureEachZ.md +5 -5
- package/docs/Microsoft.Quantum.Measurement/MeasureInteger.md +5 -7
- package/docs/Microsoft.Quantum.Random/DrawRandomDouble.md +5 -5
- package/docs/Microsoft.Quantum.Random/DrawRandomInt.md +5 -5
- 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 +5 -5
- 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 +5 -5
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/IncByIUsingIncByLE.md +5 -6
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/IncByL.md +5 -5
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/IncByLE.md +5 -5
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/IncByLEUsingAddLE.md +5 -5
- 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 +5 -5
- package/docs/Microsoft.Quantum.Unstable.Arithmetic/ReflectAboutInteger.md +5 -5
- 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 +5 -5
- 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 +5 -5
- package/docs/toc.yml +286 -284
- package/lib/node/qsc_wasm.cjs +74 -51
- package/lib/node/qsc_wasm.d.cts +12 -6
- package/lib/node/qsc_wasm_bg.wasm +0 -0
- package/lib/web/qsc_wasm.d.ts +17 -11
- package/lib/web/qsc_wasm.js +72 -49
- package/lib/web/qsc_wasm_bg.wasm +0 -0
- package/package.json +1 -1
- package/ux/estimatesOverview.tsx +6 -2
- package/ux/scatterChart.tsx +31 -10
- 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,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/28/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/28/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,17 +1,17 @@
|
|
|
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/28/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
|
-
qsharp.summary: Companion operation to `BeginRepeatEstimates`.
|
|
9
|
+
qsharp.summary: "Companion operation to `BeginRepeatEstimates`."
|
|
10
10
|
---
|
|
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/28/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/28/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/28/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/28/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/28/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/28/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/28/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/28/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/28/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/28/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/28/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
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.Unstable.Arithmetic.ApplyIfGreaterLE
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.Unstable.Arithmetic.ApplyIfGreaterLE
|
|
3
3
|
title: ApplyIfGreaterLE operation
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/28/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: ApplyIfGreaterLE
|
|
9
|
-
qsharp.summary: Computes `if x > y { action(target) }`, that is, applies `action` to `target`
|
|
10
|
-
if register `x` is greater than 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 greater than the register `y`. Both qubit registers should be in a little-endian format."
|
|
12
10
|
---
|
|
13
11
|
|
|
14
12
|
# ApplyIfGreaterLE operation
|
|
15
13
|
|
|
16
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.Unstable.Arithmetic
|
|
17
15
|
|
|
18
16
|
```qsharp
|
|
19
17
|
operation ApplyIfGreaterLE<'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.ApplyIfGreaterOrEqualL
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.Unstable.Arithmetic.ApplyIfGreaterOrEqualL
|
|
3
3
|
title: ApplyIfGreaterOrEqualL operation
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/28/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: ApplyIfGreaterOrEqualL
|
|
9
|
-
qsharp.summary: Computes `if (c >= x) { action(target) }`, that is, applies `action` to `target`
|
|
10
|
-
if a BigInt value `c` is greater or 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 greater or equal to the little-endian qubit register `x`"
|
|
11
10
|
---
|
|
12
11
|
|
|
13
12
|
# ApplyIfGreaterOrEqualL operation
|
|
14
13
|
|
|
15
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.Unstable.Arithmetic
|
|
16
15
|
|
|
17
16
|
```qsharp
|
|
18
17
|
operation ApplyIfGreaterOrEqualL<'T>(action : ('T => Unit is Adj + Ctl), c : BigInt, x : Qubit[], target : 'T) : Unit is Adj + Ctl
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.Unstable.Arithmetic.ApplyIfGreaterOrEqualLE
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.Unstable.Arithmetic.ApplyIfGreaterOrEqualLE
|
|
3
3
|
title: ApplyIfGreaterOrEqualLE operation
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/28/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: ApplyIfGreaterOrEqualLE
|
|
9
|
-
qsharp.summary: Computes `if x >= y { action(target) }`, that is, applies `action` to `target`
|
|
10
|
-
if register `x` is greater or 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 greater or equal to the register `y`. Both qubit registers should be in a little-endian format."
|
|
12
10
|
---
|
|
13
11
|
|
|
14
12
|
# ApplyIfGreaterOrEqualLE operation
|
|
15
13
|
|
|
16
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.Unstable.Arithmetic
|
|
17
15
|
|
|
18
16
|
```qsharp
|
|
19
17
|
operation ApplyIfGreaterOrEqualLE<'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.ApplyIfLessL
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.Unstable.Arithmetic.ApplyIfLessL
|
|
3
3
|
title: ApplyIfLessL operation
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/28/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: ApplyIfLessL
|
|
9
|
-
qsharp.summary: Computes `if (c < x) { action(target) }`, that is, applies `action` to `target`
|
|
10
|
-
if a BigInt value `c` is less 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 less than the little-endian qubit register `x`"
|
|
11
10
|
---
|
|
12
11
|
|
|
13
12
|
# ApplyIfLessL operation
|
|
14
13
|
|
|
15
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.Unstable.Arithmetic
|
|
16
15
|
|
|
17
16
|
```qsharp
|
|
18
17
|
operation ApplyIfLessL<'T>(action : ('T => Unit is Adj + Ctl), c : BigInt, x : Qubit[], target : 'T) : Unit is Adj + Ctl
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.Unstable.Arithmetic.ApplyIfLessLE
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.Unstable.Arithmetic.ApplyIfLessLE
|
|
3
3
|
title: ApplyIfLessLE operation
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/28/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: ApplyIfLessLE
|
|
9
|
-
qsharp.summary: Computes `if x < y { action(target) }`, that is, applies `action` to `target`
|
|
10
|
-
if register `x` is less than 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 less than the register `y`. Both qubit registers should be in a little-endian format."
|
|
12
10
|
---
|
|
13
11
|
|
|
14
12
|
# ApplyIfLessLE operation
|
|
15
13
|
|
|
16
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.Unstable.Arithmetic
|
|
17
15
|
|
|
18
16
|
```qsharp
|
|
19
17
|
operation ApplyIfLessLE<'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.ApplyIfLessOrEqualL
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.Unstable.Arithmetic.ApplyIfLessOrEqualL
|
|
3
3
|
title: ApplyIfLessOrEqualL operation
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/28/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: ApplyIfLessOrEqualL
|
|
9
|
-
qsharp.summary: Computes `if (c <= x) { action(target) }`, that is, applies `action` to `target`
|
|
10
|
-
if a BigInt value `c` is less or 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 less or equal to the little-endian qubit register `x`"
|
|
11
10
|
---
|
|
12
11
|
|
|
13
12
|
# ApplyIfLessOrEqualL operation
|
|
14
13
|
|
|
15
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.Unstable.Arithmetic
|
|
16
15
|
|
|
17
16
|
```qsharp
|
|
18
17
|
operation ApplyIfLessOrEqualL<'T>(action : ('T => Unit is Adj + Ctl), c : BigInt, x : Qubit[], target : 'T) : Unit is Adj + Ctl
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.Unstable.Arithmetic.ApplyIfLessOrEqualLE
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.Unstable.Arithmetic.ApplyIfLessOrEqualLE
|
|
3
3
|
title: ApplyIfLessOrEqualLE operation
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/28/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: ApplyIfLessOrEqualLE
|
|
9
|
-
qsharp.summary: Computes `if x <= y { action(target) }`, that is, applies `action` to `target`
|
|
10
|
-
if register `x` is less or 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 less or equal to the register `y`. Both qubit registers should be in a little-endian format."
|
|
12
10
|
---
|
|
13
11
|
|
|
14
12
|
# ApplyIfLessOrEqualLE operation
|
|
15
13
|
|
|
16
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.Unstable.Arithmetic
|
|
17
15
|
|
|
18
16
|
```qsharp
|
|
19
17
|
operation ApplyIfLessOrEqualLE<'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.FourierTDIncByLE
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.Unstable.Arithmetic.FourierTDIncByLE
|
|
3
3
|
title: FourierTDIncByLE operation
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/28/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: FourierTDIncByLE
|
|
9
|
-
qsharp.summary: Increments a little-endian register ys by a little-endian register xs
|
|
10
|
-
using Quantum Fourier Transform.
|
|
9
|
+
qsharp.summary: "Increments a little-endian register ys by a little-endian register xs using Quantum Fourier Transform."
|
|
11
10
|
---
|
|
12
11
|
|
|
13
12
|
# FourierTDIncByLE operation
|
|
14
13
|
|
|
15
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.Unstable.Arithmetic
|
|
16
15
|
|
|
17
16
|
```qsharp
|
|
18
17
|
operation FourierTDIncByLE(xs : Qubit[], ys : Qubit[]) : Unit is Adj + Ctl
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.Unstable.Arithmetic.IncByI
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.Unstable.Arithmetic.IncByI
|
|
3
3
|
title: IncByI operation
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/28/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: IncByI
|
|
9
|
-
qsharp.summary: Increments a little-endian register ys by an integer number c
|
|
9
|
+
qsharp.summary: "Increments a little-endian register ys by an integer number c"
|
|
10
10
|
---
|
|
11
11
|
|
|
12
12
|
# IncByI operation
|
|
13
13
|
|
|
14
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.Unstable.Arithmetic
|
|
15
15
|
|
|
16
16
|
```qsharp
|
|
17
17
|
operation IncByI(c : Int, ys : Qubit[]) : Unit is Adj + Ctl
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.Unstable.Arithmetic.IncByIUsingIncByLE
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.Unstable.Arithmetic.IncByIUsingIncByLE
|
|
3
3
|
title: IncByIUsingIncByLE operation
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/28/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: IncByIUsingIncByLE
|
|
9
|
-
qsharp.summary: Increments a little-endian register ys by an Int number c
|
|
10
|
-
using provided adder.
|
|
9
|
+
qsharp.summary: "Increments a little-endian register ys by an Int number c using provided adder."
|
|
11
10
|
---
|
|
12
11
|
|
|
13
12
|
# IncByIUsingIncByLE operation
|
|
14
13
|
|
|
15
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.Unstable.Arithmetic
|
|
16
15
|
|
|
17
16
|
```qsharp
|
|
18
17
|
operation IncByIUsingIncByLE(adder : ((Qubit[], Qubit[]) => Unit is Adj + Ctl), c : Int, ys : Qubit[]) : Unit is Adj + Ctl
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.Unstable.Arithmetic.IncByL
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.Unstable.Arithmetic.IncByL
|
|
3
3
|
title: IncByL operation
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/28/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: IncByL
|
|
9
|
-
qsharp.summary: Increments a little-endian register ys by a BigInt number c
|
|
9
|
+
qsharp.summary: "Increments a little-endian register ys by a BigInt number c"
|
|
10
10
|
---
|
|
11
11
|
|
|
12
12
|
# IncByL operation
|
|
13
13
|
|
|
14
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.Unstable.Arithmetic
|
|
15
15
|
|
|
16
16
|
```qsharp
|
|
17
17
|
operation IncByL(c : BigInt, ys : Qubit[]) : Unit is Adj + Ctl
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
uid: Microsoft.Quantum.Unstable.Arithmetic.IncByLE
|
|
2
|
+
uid: Qdk.Microsoft.Quantum.Unstable.Arithmetic.IncByLE
|
|
3
3
|
title: IncByLE operation
|
|
4
|
-
ms.date: 02/
|
|
4
|
+
ms.date: 02/28/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: IncByLE
|
|
9
|
-
qsharp.summary: Increments a little-endian register ys by a little-endian register xs
|
|
9
|
+
qsharp.summary: "Increments a little-endian register ys by a little-endian register xs"
|
|
10
10
|
---
|
|
11
11
|
|
|
12
12
|
# IncByLE operation
|
|
13
13
|
|
|
14
|
-
Namespace:
|
|
14
|
+
Namespace: Microsoft.Quantum.Unstable.Arithmetic
|
|
15
15
|
|
|
16
16
|
```qsharp
|
|
17
17
|
operation IncByLE(xs : Qubit[], ys : Qubit[]) : Unit is Adj + Ctl
|