qsharp-lang 1.10.2-dev → 1.10.3-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/katas-content.generated.js +3 -3
- package/dist/katas-content.generated.md.js +3 -3
- package/dist/samples.generated.js +23 -18
- package/docs/Microsoft.Quantum.Core/Length.md +4 -5
- package/docs/Microsoft.Quantum.Core/Repeated.md +4 -5
- package/docs/Microsoft.Quantum.Core/index.md +18 -0
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/AddLE.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/ApplyIfEqualL.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/ApplyIfEqualLE.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/ApplyIfGreaterL.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/ApplyIfGreaterLE.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/ApplyIfGreaterOrEqualL.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/ApplyIfGreaterOrEqualLE.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/ApplyIfLessL.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/ApplyIfLessLE.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/ApplyIfLessOrEqualL.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/ApplyIfLessOrEqualLE.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/FourierTDIncByLE.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/IncByI.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/IncByIUsingIncByLE.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/IncByL.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/IncByLE.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/IncByLEUsingAddLE.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/IncByLUsingIncByLE.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/LookAheadDKRSAddLE.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/MAJ.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/ReflectAboutInteger.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/RippleCarryCGAddLE.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/RippleCarryCGIncByLE.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.Arithmetic → Std.Arithmetic}/RippleCarryTTKIncByLE.md +5 -4
- package/docs/Std.Arithmetic/index.md +40 -0
- package/docs/Std.Arrays/All.md +2 -1
- package/docs/Std.Arrays/Any.md +2 -1
- package/docs/Std.Arrays/Chunks.md +2 -1
- package/docs/Std.Arrays/CircularlyShifted.md +2 -1
- package/docs/Std.Arrays/ColumnAt.md +2 -1
- package/docs/Std.Arrays/Count.md +2 -1
- package/docs/Std.Arrays/Diagonal.md +2 -1
- package/docs/Std.Arrays/DrawMany.md +2 -1
- package/docs/Std.Arrays/Enumerated.md +2 -1
- package/docs/Std.Arrays/Excluding.md +2 -1
- package/docs/Std.Arrays/Filtered.md +2 -1
- package/docs/Std.Arrays/FlatMapped.md +2 -1
- package/docs/Std.Arrays/Flattened.md +2 -1
- package/docs/Std.Arrays/Fold.md +2 -1
- package/docs/Std.Arrays/ForEach.md +2 -1
- package/docs/Std.Arrays/Head.md +2 -1
- package/docs/Std.Arrays/HeadAndRest.md +2 -1
- package/docs/Std.Arrays/IndexOf.md +2 -1
- package/docs/Std.Arrays/IndexRange.md +2 -1
- package/docs/Std.Arrays/Interleaved.md +2 -1
- package/docs/Std.Arrays/IsEmpty.md +2 -1
- package/docs/Std.Arrays/IsRectangularArray.md +2 -1
- package/docs/Std.Arrays/IsSorted.md +2 -1
- package/docs/Std.Arrays/IsSquareArray.md +2 -1
- package/docs/Std.Arrays/Mapped.md +2 -1
- package/docs/Std.Arrays/MappedByIndex.md +2 -1
- package/docs/Std.Arrays/MappedOverRange.md +2 -1
- package/docs/Std.Arrays/Most.md +2 -1
- package/docs/Std.Arrays/MostAndTail.md +2 -1
- package/docs/Std.Arrays/Padded.md +2 -1
- package/docs/Std.Arrays/Partitioned.md +2 -1
- package/docs/Std.Arrays/Rest.md +2 -1
- package/docs/Std.Arrays/Reversed.md +2 -1
- package/docs/Std.Arrays/SequenceI.md +2 -1
- package/docs/Std.Arrays/SequenceL.md +2 -1
- package/docs/Std.Arrays/Sorted.md +2 -1
- package/docs/Std.Arrays/Subarray.md +2 -1
- package/docs/Std.Arrays/Swapped.md +2 -1
- package/docs/Std.Arrays/Tail.md +2 -1
- package/docs/Std.Arrays/Transposed.md +2 -1
- package/docs/Std.Arrays/Unzipped.md +2 -1
- package/docs/Std.Arrays/Where.md +2 -1
- package/docs/Std.Arrays/Windows.md +2 -1
- package/docs/Std.Arrays/Zipped.md +2 -1
- package/docs/Std.Arrays/index.md +60 -0
- package/docs/Std.Canon/ApplyCNOTChain.md +2 -1
- package/docs/Std.Canon/ApplyControlledOnBitString.md +2 -1
- package/docs/Std.Canon/ApplyControlledOnInt.md +2 -1
- package/docs/Std.Canon/ApplyP.md +2 -1
- package/docs/Std.Canon/ApplyPauli.md +2 -1
- package/docs/Std.Canon/ApplyPauliFromBitString.md +2 -1
- package/docs/Std.Canon/ApplyPauliFromInt.md +2 -1
- package/docs/Std.Canon/ApplyQFT.md +2 -1
- package/docs/Std.Canon/ApplyToEach.md +2 -1
- package/docs/Std.Canon/ApplyToEachA.md +2 -1
- package/docs/Std.Canon/ApplyToEachC.md +2 -1
- package/docs/Std.Canon/ApplyToEachCA.md +2 -1
- package/docs/Std.Canon/ApplyXorInPlace.md +2 -1
- package/docs/Std.Canon/ApplyXorInPlaceL.md +2 -1
- package/docs/Std.Canon/CX.md +2 -1
- package/docs/Std.Canon/CY.md +2 -1
- package/docs/Std.Canon/CZ.md +2 -1
- package/docs/Std.Canon/Fst.md +2 -1
- package/docs/Std.Canon/Relabel.md +2 -1
- package/docs/Std.Canon/Snd.md +2 -1
- package/docs/Std.Canon/SwapReverseRegister.md +2 -1
- package/docs/Std.Canon/index.md +37 -0
- package/docs/Std.Convert/BigIntAsBoolArray.md +2 -1
- package/docs/Std.Convert/BoolArrayAsBigInt.md +2 -1
- package/docs/Std.Convert/BoolArrayAsInt.md +2 -1
- package/docs/Std.Convert/BoolArrayAsResultArray.md +2 -1
- package/docs/Std.Convert/BoolAsResult.md +2 -1
- package/docs/Std.Convert/ComplexAsComplexPolar.md +2 -1
- package/docs/Std.Convert/ComplexPolarAsComplex.md +2 -1
- package/docs/Std.Convert/DoubleAsStringWithPrecision.md +2 -1
- package/docs/Std.Convert/IntAsBigInt.md +2 -1
- package/docs/Std.Convert/IntAsBoolArray.md +2 -1
- package/docs/Std.Convert/IntAsDouble.md +2 -1
- package/docs/Std.Convert/ResultArrayAsBoolArray.md +2 -1
- package/docs/Std.Convert/ResultArrayAsInt.md +2 -1
- package/docs/Std.Convert/ResultAsBool.md +2 -1
- package/docs/Std.Convert/index.md +30 -0
- package/docs/Std.Core/Length.md +2 -1
- package/docs/Std.Core/Repeated.md +2 -1
- package/docs/Std.Core/index.md +18 -0
- package/docs/Std.Diagnostics/ApplyIdleNoise.md +34 -0
- package/docs/Std.Diagnostics/BitFlipNoise.md +23 -0
- package/docs/Std.Diagnostics/CheckAllZero.md +38 -0
- package/docs/Std.Diagnostics/CheckOperationsAreEqual.md +49 -0
- package/docs/Std.Diagnostics/CheckZero.md +38 -0
- package/docs/Std.Diagnostics/ConfigurePauliNoise.md +38 -0
- package/docs/Std.Diagnostics/DepolarizingNoise.md +23 -0
- package/docs/Std.Diagnostics/DumpMachine.md +2 -1
- package/docs/Std.Diagnostics/DumpOperation.md +3 -2
- package/docs/Std.Diagnostics/DumpRegister.md +2 -1
- package/docs/Std.Diagnostics/Fact.md +2 -1
- package/docs/Std.Diagnostics/NoNoise.md +23 -0
- package/docs/Std.Diagnostics/PhaseFlipNoise.md +23 -0
- package/docs/Std.Diagnostics/StartCountingFunction.md +44 -0
- package/docs/Std.Diagnostics/StartCountingOperation.md +53 -0
- package/docs/Std.Diagnostics/StartCountingQubits.md +39 -0
- package/docs/Std.Diagnostics/StopCountingFunction.md +34 -0
- package/docs/Std.Diagnostics/StopCountingOperation.md +34 -0
- package/docs/Std.Diagnostics/StopCountingQubits.md +30 -0
- package/docs/Std.Diagnostics/index.md +35 -0
- package/docs/Std.Intrinsic/AND.md +3 -2
- package/docs/Std.Intrinsic/CCNOT.md +2 -1
- package/docs/Std.Intrinsic/CNOT.md +2 -1
- package/docs/Std.Intrinsic/Exp.md +2 -1
- package/docs/Std.Intrinsic/H.md +2 -1
- package/docs/Std.Intrinsic/I.md +2 -1
- package/docs/Std.Intrinsic/M.md +2 -1
- package/docs/Std.Intrinsic/Measure.md +2 -1
- package/docs/Std.Intrinsic/Message.md +2 -1
- package/docs/Std.Intrinsic/R.md +2 -1
- package/docs/Std.Intrinsic/R1.md +3 -2
- package/docs/Std.Intrinsic/R1Frac.md +3 -2
- package/docs/Std.Intrinsic/RFrac.md +2 -1
- package/docs/Std.Intrinsic/Reset.md +3 -2
- package/docs/Std.Intrinsic/ResetAll.md +3 -2
- package/docs/Std.Intrinsic/Rx.md +2 -1
- package/docs/Std.Intrinsic/Rxx.md +2 -1
- package/docs/Std.Intrinsic/Ry.md +2 -1
- package/docs/Std.Intrinsic/Ryy.md +2 -1
- package/docs/Std.Intrinsic/Rz.md +2 -1
- package/docs/Std.Intrinsic/Rzz.md +2 -1
- package/docs/Std.Intrinsic/S.md +2 -1
- package/docs/Std.Intrinsic/SWAP.md +2 -1
- package/docs/Std.Intrinsic/T.md +2 -1
- package/docs/Std.Intrinsic/X.md +2 -1
- package/docs/Std.Intrinsic/Y.md +2 -1
- package/docs/Std.Intrinsic/Z.md +2 -1
- package/docs/Std.Intrinsic/index.md +43 -0
- package/docs/Std.Logical/Xor.md +2 -1
- package/docs/Std.Logical/index.md +17 -0
- package/docs/Std.Math/AbsComplex.md +2 -1
- package/docs/Std.Math/AbsComplexPolar.md +2 -1
- package/docs/Std.Math/AbsD.md +2 -1
- package/docs/Std.Math/AbsI.md +2 -1
- package/docs/Std.Math/AbsL.md +6 -2
- package/docs/Std.Math/AbsSquaredComplex.md +2 -1
- package/docs/Std.Math/AbsSquaredComplexPolar.md +2 -1
- package/docs/Std.Math/ApproximateFactorial.md +2 -1
- package/docs/Std.Math/ArcCos.md +2 -1
- package/docs/Std.Math/ArcCosh.md +2 -1
- package/docs/Std.Math/ArcSin.md +2 -1
- package/docs/Std.Math/ArcSinh.md +2 -1
- package/docs/Std.Math/ArcTan.md +2 -1
- package/docs/Std.Math/ArcTan2.md +2 -1
- package/docs/Std.Math/ArcTanh.md +2 -1
- package/docs/Std.Math/ArgComplex.md +2 -1
- package/docs/Std.Math/ArgComplexPolar.md +2 -1
- package/docs/Std.Math/Binom.md +2 -1
- package/docs/Std.Math/BitSizeI.md +2 -1
- package/docs/Std.Math/BitSizeL.md +2 -1
- package/docs/Std.Math/Ceiling.md +2 -1
- package/docs/Std.Math/Complex.md +2 -1
- package/docs/Std.Math/ComplexPolar.md +2 -1
- package/docs/Std.Math/ContinuedFractionConvergentI.md +2 -1
- package/docs/Std.Math/ContinuedFractionConvergentL.md +2 -1
- package/docs/Std.Math/Cos.md +2 -1
- package/docs/Std.Math/Cosh.md +2 -1
- package/docs/Std.Math/DivRemI.md +2 -1
- package/docs/Std.Math/DivRemL.md +2 -1
- package/docs/Std.Math/DividedByC.md +2 -1
- package/docs/Std.Math/DividedByCP.md +2 -1
- package/docs/Std.Math/E.md +2 -1
- package/docs/Std.Math/ExpModI.md +2 -1
- package/docs/Std.Math/ExpModL.md +2 -1
- package/docs/Std.Math/ExtendedGreatestCommonDivisorI.md +2 -1
- package/docs/Std.Math/ExtendedGreatestCommonDivisorL.md +2 -1
- package/docs/Std.Math/FactorialI.md +2 -1
- package/docs/Std.Math/FactorialL.md +2 -1
- package/docs/Std.Math/Floor.md +2 -1
- package/docs/Std.Math/GreatestCommonDivisorI.md +2 -1
- package/docs/Std.Math/GreatestCommonDivisorL.md +2 -1
- package/docs/Std.Math/HammingWeightI.md +2 -1
- package/docs/Std.Math/InverseModI.md +2 -1
- package/docs/Std.Math/InverseModL.md +2 -1
- package/docs/Std.Math/IsCoprimeI.md +2 -1
- package/docs/Std.Math/IsCoprimeL.md +2 -1
- package/docs/Std.Math/IsInfinite.md +2 -1
- package/docs/Std.Math/IsNaN.md +2 -1
- package/docs/Std.Math/LargestFixedPoint.md +2 -1
- package/docs/Std.Math/Lg.md +2 -1
- package/docs/Std.Math/Log.md +2 -1
- package/docs/Std.Math/Log10.md +2 -1
- package/docs/Std.Math/LogFactorialD.md +2 -1
- package/docs/Std.Math/LogGammaD.md +2 -1
- package/docs/Std.Math/LogOf2.md +2 -1
- package/docs/Std.Math/Max.md +2 -1
- package/docs/Std.Math/MaxD.md +2 -1
- package/docs/Std.Math/MaxI.md +2 -1
- package/docs/Std.Math/MaxL.md +2 -1
- package/docs/Std.Math/Min.md +2 -1
- package/docs/Std.Math/MinD.md +2 -1
- package/docs/Std.Math/MinI.md +2 -1
- package/docs/Std.Math/MinL.md +2 -1
- package/docs/Std.Math/MinusC.md +2 -1
- package/docs/Std.Math/MinusCP.md +2 -1
- package/docs/Std.Math/ModulusI.md +2 -1
- package/docs/Std.Math/ModulusL.md +2 -1
- package/docs/Std.Math/NegationC.md +2 -1
- package/docs/Std.Math/NegationCP.md +2 -1
- package/docs/Std.Math/PI.md +2 -1
- package/docs/Std.Math/PNorm.md +3 -2
- package/docs/Std.Math/PNormalized.md +3 -2
- package/docs/Std.Math/PlusC.md +2 -1
- package/docs/Std.Math/PlusCP.md +2 -1
- package/docs/Std.Math/PowC.md +2 -1
- package/docs/Std.Math/PowCP.md +2 -1
- package/docs/Std.Math/RealMod.md +2 -1
- package/docs/Std.Math/Round.md +2 -1
- package/docs/Std.Math/SignD.md +2 -1
- package/docs/Std.Math/SignI.md +2 -1
- package/docs/Std.Math/SignL.md +2 -1
- package/docs/Std.Math/Sin.md +2 -1
- package/docs/Std.Math/Sinh.md +2 -1
- package/docs/Std.Math/SmallestFixedPoint.md +2 -1
- package/docs/Std.Math/Sqrt.md +2 -1
- package/docs/Std.Math/SquaredNorm.md +2 -1
- package/docs/Std.Math/Tan.md +2 -1
- package/docs/Std.Math/Tanh.md +2 -1
- package/docs/Std.Math/TimesC.md +2 -1
- package/docs/Std.Math/TimesCP.md +2 -1
- package/docs/Std.Math/TrailingZeroCountI.md +2 -1
- package/docs/Std.Math/TrailingZeroCountL.md +2 -1
- package/docs/Std.Math/Truncate.md +2 -1
- package/docs/Std.Math/index.md +109 -0
- package/docs/Std.Measurement/MResetEachZ.md +2 -1
- package/docs/Std.Measurement/MResetX.md +2 -1
- package/docs/Std.Measurement/MResetY.md +2 -1
- package/docs/Std.Measurement/MResetZ.md +2 -1
- package/docs/Std.Measurement/MeasureAllZ.md +2 -1
- package/docs/Std.Measurement/MeasureEachZ.md +2 -1
- package/docs/Std.Measurement/MeasureInteger.md +2 -1
- package/docs/Std.Measurement/index.md +23 -0
- package/docs/Std.Random/DrawRandomBool.md +38 -0
- package/docs/Std.Random/DrawRandomDouble.md +40 -0
- package/docs/Std.Random/DrawRandomInt.md +40 -0
- package/docs/Std.Random/index.md +19 -0
- package/docs/Std.Range/IsRangeEmpty.md +2 -1
- package/docs/Std.Range/RangeEnd.md +2 -1
- package/docs/Std.Range/RangeReverse.md +2 -1
- package/docs/Std.Range/RangeStart.md +2 -1
- package/docs/Std.Range/RangeStep.md +2 -1
- package/docs/Std.Range/index.md +21 -0
- package/docs/Std.ResourceEstimation/AccountForEstimates.md +2 -1
- package/docs/Std.ResourceEstimation/AuxQubitCount.md +2 -1
- package/docs/Std.ResourceEstimation/BeginEstimateCaching.md +2 -1
- package/docs/Std.ResourceEstimation/BeginRepeatEstimates.md +2 -1
- package/docs/Std.ResourceEstimation/CczCount.md +2 -1
- package/docs/Std.ResourceEstimation/EndEstimateCaching.md +2 -1
- package/docs/Std.ResourceEstimation/EndRepeatEstimates.md +2 -1
- package/docs/Std.ResourceEstimation/MeasurementCount.md +2 -1
- package/docs/Std.ResourceEstimation/PSSPCLayout.md +2 -1
- package/docs/Std.ResourceEstimation/RepeatEstimates.md +2 -1
- package/docs/Std.ResourceEstimation/RotationCount.md +2 -1
- package/docs/Std.ResourceEstimation/RotationDepth.md +2 -1
- package/docs/Std.ResourceEstimation/SingleVariant.md +2 -1
- package/docs/Std.ResourceEstimation/TCount.md +2 -1
- package/docs/Std.ResourceEstimation/index.md +30 -0
- package/docs/{Microsoft.Quantum.Unstable.StatePreparation → Std.StatePreparation}/ApproximatelyPreparePureStateCP.md +5 -4
- package/docs/{Microsoft.Quantum.Unstable.StatePreparation → Std.StatePreparation}/PreparePureStateD.md +6 -5
- package/docs/Std.StatePreparation/index.md +18 -0
- package/docs/{Microsoft.Quantum.Unstable.TableLookup → Std.TableLookup}/Select.md +5 -4
- package/docs/Std.TableLookup/index.md +17 -0
- package/docs/index.md +32 -0
- package/docs/toc.yml +76 -38
- package/lib/node/qsc_wasm.cjs +1 -1
- package/lib/node/qsc_wasm.d.cts +1 -1
- package/lib/node/qsc_wasm_bg.wasm +0 -0
- package/lib/web/qsc_wasm.d.ts +1 -1
- package/lib/web/qsc_wasm.js +1 -1
- package/lib/web/qsc_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/docs/Std.Intrinsic/R.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Intrinsic.R
|
|
3
3
|
title: R operation
|
|
4
|
-
|
|
4
|
+
description: "Q# R operation: Applies a rotation about the given Pauli axis."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: operation
|
|
7
8
|
qsharp.package: __Std__
|
package/docs/Std.Intrinsic/R1.md
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Intrinsic.R1
|
|
3
3
|
title: R1 operation
|
|
4
|
-
|
|
4
|
+
description: "Q# R1 operation: Applies a rotation about the \|1⟩ state by a given angle."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: operation
|
|
7
8
|
qsharp.package: __Std__
|
|
8
9
|
qsharp.namespace: Std.Intrinsic
|
|
9
10
|
qsharp.name: R1
|
|
10
|
-
qsharp.summary: "Applies a rotation about the
|
|
11
|
+
qsharp.summary: "Applies a rotation about the \|1⟩ state by a given angle."
|
|
11
12
|
---
|
|
12
13
|
|
|
13
14
|
# R1 operation
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Intrinsic.R1Frac
|
|
3
3
|
title: R1Frac operation
|
|
4
|
-
|
|
4
|
+
description: "Q# R1Frac operation: Applies a rotation about the \|1⟩ state by an angle specified as a dyadic fraction. WARNING: This operation uses the **opposite** sign convention from Microsoft.Quantum.Intrinsic.R."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: operation
|
|
7
8
|
qsharp.package: __Std__
|
|
8
9
|
qsharp.namespace: Std.Intrinsic
|
|
9
10
|
qsharp.name: R1Frac
|
|
10
|
-
qsharp.summary: "Applies a rotation about the
|
|
11
|
+
qsharp.summary: "Applies a rotation about the \|1⟩ state by an angle specified as a dyadic fraction. WARNING: This operation uses the **opposite** sign convention from Microsoft.Quantum.Intrinsic.R."
|
|
11
12
|
---
|
|
12
13
|
|
|
13
14
|
# R1Frac operation
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Intrinsic.RFrac
|
|
3
3
|
title: RFrac operation
|
|
4
|
-
|
|
4
|
+
description: "Q# RFrac operation: Applies a rotation about the given Pauli axis by an angle specified as a dyadic fraction. WARNING: This operation uses the **opposite** sign convention from Microsoft.Quantum.Intrinsic.R."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: operation
|
|
7
8
|
qsharp.package: __Std__
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Intrinsic.Reset
|
|
3
3
|
title: Reset operation
|
|
4
|
-
|
|
4
|
+
description: "Q# Reset operation: Given a single qubit, measures it and ensures it is in the \|0⟩ state such that it can be safely released."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: operation
|
|
7
8
|
qsharp.package: __Std__
|
|
8
9
|
qsharp.namespace: Std.Intrinsic
|
|
9
10
|
qsharp.name: Reset
|
|
10
|
-
qsharp.summary: "Given a single qubit, measures it and ensures it is in the
|
|
11
|
+
qsharp.summary: "Given a single qubit, measures it and ensures it is in the \|0⟩ state such that it can be safely released."
|
|
11
12
|
---
|
|
12
13
|
|
|
13
14
|
# Reset operation
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Intrinsic.ResetAll
|
|
3
3
|
title: ResetAll operation
|
|
4
|
-
|
|
4
|
+
description: "Q# ResetAll operation: Given an array of qubits, measure them and ensure they are in the \|0⟩ state such that they can be safely released."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: operation
|
|
7
8
|
qsharp.package: __Std__
|
|
8
9
|
qsharp.namespace: Std.Intrinsic
|
|
9
10
|
qsharp.name: ResetAll
|
|
10
|
-
qsharp.summary: "Given an array of qubits, measure them and ensure they are in the
|
|
11
|
+
qsharp.summary: "Given an array of qubits, measure them and ensure they are in the \|0⟩ state such that they can be safely released."
|
|
11
12
|
---
|
|
12
13
|
|
|
13
14
|
# ResetAll operation
|
package/docs/Std.Intrinsic/Rx.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Intrinsic.Rx
|
|
3
3
|
title: Rx operation
|
|
4
|
-
|
|
4
|
+
description: "Q# Rx operation: Applies a rotation about the _x_-axis by a given angle."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: operation
|
|
7
8
|
qsharp.package: __Std__
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Intrinsic.Rxx
|
|
3
3
|
title: Rxx operation
|
|
4
|
-
|
|
4
|
+
description: "Q# Rxx operation: Applies the two qubit Ising _XX_ rotation gate."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: operation
|
|
7
8
|
qsharp.package: __Std__
|
package/docs/Std.Intrinsic/Ry.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Intrinsic.Ry
|
|
3
3
|
title: Ry operation
|
|
4
|
-
|
|
4
|
+
description: "Q# Ry operation: Applies a rotation about the _y_-axis by a given angle."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: operation
|
|
7
8
|
qsharp.package: __Std__
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Intrinsic.Ryy
|
|
3
3
|
title: Ryy operation
|
|
4
|
-
|
|
4
|
+
description: "Q# Ryy operation: Applies the two qubit Ising _YY_ rotation gate."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: operation
|
|
7
8
|
qsharp.package: __Std__
|
package/docs/Std.Intrinsic/Rz.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Intrinsic.Rz
|
|
3
3
|
title: Rz operation
|
|
4
|
-
|
|
4
|
+
description: "Q# Rz operation: Applies a rotation about the _z_-axis by a given angle."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: operation
|
|
7
8
|
qsharp.package: __Std__
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Intrinsic.Rzz
|
|
3
3
|
title: Rzz operation
|
|
4
|
-
|
|
4
|
+
description: "Q# Rzz operation: Applies the two qubit Ising _ZZ_ rotation gate."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: operation
|
|
7
8
|
qsharp.package: __Std__
|
package/docs/Std.Intrinsic/S.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Intrinsic.S
|
|
3
3
|
title: S operation
|
|
4
|
-
|
|
4
|
+
description: "Q# S operation: Applies the π/4 phase gate to a single qubit."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: operation
|
|
7
8
|
qsharp.package: __Std__
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Intrinsic.SWAP
|
|
3
3
|
title: SWAP operation
|
|
4
|
-
|
|
4
|
+
description: "Q# SWAP operation: Applies the SWAP gate to a pair of qubits."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: operation
|
|
7
8
|
qsharp.package: __Std__
|
package/docs/Std.Intrinsic/T.md
CHANGED
package/docs/Std.Intrinsic/X.md
CHANGED
package/docs/Std.Intrinsic/Y.md
CHANGED
package/docs/Std.Intrinsic/Z.md
CHANGED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
uid: Qdk.Std.Intrinsic-toc
|
|
3
|
+
title: Std.Intrinsic namespace
|
|
4
|
+
description: Table of contents for the Q# Intrinsic namespace
|
|
5
|
+
author: {AUTHOR}
|
|
6
|
+
ms.author: {MS_AUTHOR}
|
|
7
|
+
ms.date: 11/15/2024
|
|
8
|
+
ms.topic: landing-page
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Std.Intrinsic
|
|
12
|
+
|
|
13
|
+
The Std.Intrinsic namespace contains the following items:
|
|
14
|
+
|
|
15
|
+
| Name | Description |
|
|
16
|
+
|------|-------------|
|
|
17
|
+
| [AND](xref:Qdk.Std.Intrinsic.AND) | Applies the AND gate that is more efficient for use with decomposition of multi-controlled operations. Note that target qubit must be in \|0⟩ state. |
|
|
18
|
+
| [CCNOT](xref:Qdk.Std.Intrinsic.CCNOT) | Applies the doubly controlled–NOT (CCNOT) gate to three qubits. |
|
|
19
|
+
| [CNOT](xref:Qdk.Std.Intrinsic.CNOT) | Applies the controlled-NOT (CNOT) gate to a pair of qubits. |
|
|
20
|
+
| [Exp](xref:Qdk.Std.Intrinsic.Exp) | Applies the exponential of a multi-qubit Pauli operator. |
|
|
21
|
+
| [H](xref:Qdk.Std.Intrinsic.H) | Applies the Hadamard transformation to a single qubit. |
|
|
22
|
+
| [I](xref:Qdk.Std.Intrinsic.I) | Performs the identity operation (no-op) on a single qubit. |
|
|
23
|
+
| [M](xref:Qdk.Std.Intrinsic.M) | Performs a measurement of a single qubit in the Pauli _Z_ basis. |
|
|
24
|
+
| [Measure](xref:Qdk.Std.Intrinsic.Measure) | Performs a joint measurement of one or more qubits in the specified Pauli bases. If the basis array and qubit array are different lengths, then the operation will fail. |
|
|
25
|
+
| [Message](xref:Qdk.Std.Intrinsic.Message) | Logs a message. |
|
|
26
|
+
| [R](xref:Qdk.Std.Intrinsic.R) | Applies a rotation about the given Pauli axis. |
|
|
27
|
+
| [R1](xref:Qdk.Std.Intrinsic.R1) | Applies a rotation about the \|1⟩ state by a given angle. |
|
|
28
|
+
| [R1Frac](xref:Qdk.Std.Intrinsic.R1Frac) | Applies a rotation about the \|1⟩ state by an angle specified as a dyadic fraction. WARNING: This operation uses the **opposite** sign convention from Microsoft.Quantum.Intrinsic.R. |
|
|
29
|
+
| [RFrac](xref:Qdk.Std.Intrinsic.RFrac) | Applies a rotation about the given Pauli axis by an angle specified as a dyadic fraction. WARNING: This operation uses the **opposite** sign convention from Microsoft.Quantum.Intrinsic.R. |
|
|
30
|
+
| [Reset](xref:Qdk.Std.Intrinsic.Reset) | Given a single qubit, measures it and ensures it is in the \|0⟩ state such that it can be safely released. |
|
|
31
|
+
| [ResetAll](xref:Qdk.Std.Intrinsic.ResetAll) | Given an array of qubits, measure them and ensure they are in the \|0⟩ state such that they can be safely released. |
|
|
32
|
+
| [Rx](xref:Qdk.Std.Intrinsic.Rx) | Applies a rotation about the _x_-axis by a given angle. |
|
|
33
|
+
| [Rxx](xref:Qdk.Std.Intrinsic.Rxx) | Applies the two qubit Ising _XX_ rotation gate. |
|
|
34
|
+
| [Ry](xref:Qdk.Std.Intrinsic.Ry) | Applies a rotation about the _y_-axis by a given angle. |
|
|
35
|
+
| [Ryy](xref:Qdk.Std.Intrinsic.Ryy) | Applies the two qubit Ising _YY_ rotation gate. |
|
|
36
|
+
| [Rz](xref:Qdk.Std.Intrinsic.Rz) | Applies a rotation about the _z_-axis by a given angle. |
|
|
37
|
+
| [Rzz](xref:Qdk.Std.Intrinsic.Rzz) | Applies the two qubit Ising _ZZ_ rotation gate. |
|
|
38
|
+
| [S](xref:Qdk.Std.Intrinsic.S) | Applies the π/4 phase gate to a single qubit. |
|
|
39
|
+
| [SWAP](xref:Qdk.Std.Intrinsic.SWAP) | Applies the SWAP gate to a pair of qubits. |
|
|
40
|
+
| [T](xref:Qdk.Std.Intrinsic.T) | Applies the π/8 gate to a single qubit. |
|
|
41
|
+
| [X](xref:Qdk.Std.Intrinsic.X) | Applies the Pauli _X_ gate. |
|
|
42
|
+
| [Y](xref:Qdk.Std.Intrinsic.Y) | Applies the Pauli _Y_ gate. |
|
|
43
|
+
| [Z](xref:Qdk.Std.Intrinsic.Z) | Applies the Pauli _Z_ gate. |
|
package/docs/Std.Logical/Xor.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Logical.Xor
|
|
3
3
|
title: Xor function
|
|
4
|
-
|
|
4
|
+
description: "Q# Xor function: Returns the boolean exclusive disjunction (eXclusive OR, XOR) of two input boolean values."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
uid: Qdk.Std.Logical-toc
|
|
3
|
+
title: Std.Logical namespace
|
|
4
|
+
description: Table of contents for the Q# Logical namespace
|
|
5
|
+
author: {AUTHOR}
|
|
6
|
+
ms.author: {MS_AUTHOR}
|
|
7
|
+
ms.date: 11/15/2024
|
|
8
|
+
ms.topic: landing-page
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Std.Logical
|
|
12
|
+
|
|
13
|
+
The Std.Logical namespace contains the following items:
|
|
14
|
+
|
|
15
|
+
| Name | Description |
|
|
16
|
+
|------|-------------|
|
|
17
|
+
| [Xor](xref:Qdk.Std.Logical.Xor) | Returns the boolean exclusive disjunction (eXclusive OR, XOR) of two input boolean values. |
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Math.AbsComplex
|
|
3
3
|
title: AbsComplex function
|
|
4
|
-
|
|
4
|
+
description: "Q# AbsComplex function: Returns the absolute value of a complex number of type `Complex`."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Math.AbsComplexPolar
|
|
3
3
|
title: AbsComplexPolar function
|
|
4
|
-
|
|
4
|
+
description: "Q# AbsComplexPolar function: Returns the absolute value of a complex number of type `ComplexPolar`."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
package/docs/Std.Math/AbsD.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Math.AbsD
|
|
3
3
|
title: AbsD function
|
|
4
|
-
|
|
4
|
+
description: "Q# AbsD function: Returns the absolute value of a double-precision floating-point number."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
package/docs/Std.Math/AbsI.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Math.AbsI
|
|
3
3
|
title: AbsI function
|
|
4
|
-
|
|
4
|
+
description: "Q# AbsI function: Returns the absolute value of an integer."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
package/docs/Std.Math/AbsL.md
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Math.AbsL
|
|
3
3
|
title: AbsL function
|
|
4
|
-
|
|
4
|
+
description: "Q# AbsL function: Returns the absolute value of a big integer."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
|
8
9
|
qsharp.namespace: Std.Math
|
|
9
10
|
qsharp.name: AbsL
|
|
10
|
-
qsharp.summary: ""
|
|
11
|
+
qsharp.summary: "Returns the absolute value of a big integer."
|
|
11
12
|
---
|
|
12
13
|
|
|
13
14
|
# AbsL function
|
|
@@ -17,3 +18,6 @@ Fully qualified name: Std.Math.AbsL
|
|
|
17
18
|
```qsharp
|
|
18
19
|
function AbsL(a : BigInt) : BigInt
|
|
19
20
|
```
|
|
21
|
+
|
|
22
|
+
## Summary
|
|
23
|
+
Returns the absolute value of a big integer.
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Math.AbsSquaredComplex
|
|
3
3
|
title: AbsSquaredComplex function
|
|
4
|
-
|
|
4
|
+
description: "Q# AbsSquaredComplex function: Returns the squared absolute value of a complex number of type `Complex`."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Math.AbsSquaredComplexPolar
|
|
3
3
|
title: AbsSquaredComplexPolar function
|
|
4
|
-
|
|
4
|
+
description: "Q# AbsSquaredComplexPolar function: Returns the squared absolute value of a complex number of type `ComplexPolar`."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Math.ApproximateFactorial
|
|
3
3
|
title: ApproximateFactorial function
|
|
4
|
-
|
|
4
|
+
description: "Q# ApproximateFactorial function: Returns an approximate factorial of a given number."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
package/docs/Std.Math/ArcCos.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Math.ArcCos
|
|
3
3
|
title: ArcCos function
|
|
4
|
-
|
|
4
|
+
description: "Q# ArcCos function: Returns the angle whose cosine is the specified number."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
package/docs/Std.Math/ArcCosh.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Math.ArcCosh
|
|
3
3
|
title: ArcCosh function
|
|
4
|
-
|
|
4
|
+
description: "Q# ArcCosh function: Computes the inverse hyperbolic cosine of a number."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
package/docs/Std.Math/ArcSin.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Math.ArcSin
|
|
3
3
|
title: ArcSin function
|
|
4
|
-
|
|
4
|
+
description: "Q# ArcSin function: Returns the angle whose sine is the specified number."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
package/docs/Std.Math/ArcSinh.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Math.ArcSinh
|
|
3
3
|
title: ArcSinh function
|
|
4
|
-
|
|
4
|
+
description: "Q# ArcSinh function: Computes the inverse hyperbolic sine of a number."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
package/docs/Std.Math/ArcTan.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Math.ArcTan
|
|
3
3
|
title: ArcTan function
|
|
4
|
-
|
|
4
|
+
description: "Q# ArcTan function: Returns the angle whose tangent is the specified number."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
package/docs/Std.Math/ArcTan2.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Math.ArcTan2
|
|
3
3
|
title: ArcTan2 function
|
|
4
|
-
|
|
4
|
+
description: "Q# ArcTan2 function: Returns the angle whose tangent is the quotient of two specified numbers."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
package/docs/Std.Math/ArcTanh.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Math.ArcTanh
|
|
3
3
|
title: ArcTanh function
|
|
4
|
-
|
|
4
|
+
description: "Q# ArcTanh function: Computes the inverse hyperbolic tangent of a number."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Math.ArgComplex
|
|
3
3
|
title: ArgComplex function
|
|
4
|
-
|
|
4
|
+
description: "Q# ArgComplex function: Returns the phase of a complex number of type `Complex`."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Math.ArgComplexPolar
|
|
3
3
|
title: ArgComplexPolar function
|
|
4
|
-
|
|
4
|
+
description: "Q# ArgComplexPolar function: Returns the phase of a complex number of type `ComplexPolar`."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
package/docs/Std.Math/Binom.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Math.Binom
|
|
3
3
|
title: Binom function
|
|
4
|
-
|
|
4
|
+
description: "Q# Binom function: Returns the approximate binomial coefficient of two integers."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Math.BitSizeI
|
|
3
3
|
title: BitSizeI function
|
|
4
|
-
|
|
4
|
+
description: "Q# BitSizeI function: For a non-negative integer `a`, returns the number of bits required to represent `a`. NOTE: This function returns the smallest n such that a < 2^n."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Math.BitSizeL
|
|
3
3
|
title: BitSizeL function
|
|
4
|
-
|
|
4
|
+
description: "Q# BitSizeL function: For a non-negative integer `a`, returns the number of bits required to represent `a`. NOTE: This function returns the smallest n such that a < 2^n."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
package/docs/Std.Math/Ceiling.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Math.Ceiling
|
|
3
3
|
title: Ceiling function
|
|
4
|
-
|
|
4
|
+
description: "Q# Ceiling function: Returns the smallest integer greater than or equal to the specified number. For example: Ceiling(3.1) = 4; Ceiling(-3.7) = -3"
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
package/docs/Std.Math/Complex.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Math.Complex
|
|
3
3
|
title: Complex user defined type
|
|
4
|
-
|
|
4
|
+
description: "Q# Complex user defined type: Represents a complex number by its real and imaginary components. The first element of the tuple is the real component, the second one - the imaginary component."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: udt
|
|
7
8
|
qsharp.package: __Std__
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Math.ComplexPolar
|
|
3
3
|
title: ComplexPolar user defined type
|
|
4
|
-
|
|
4
|
+
description: "Q# ComplexPolar user defined type: Represents a complex number in polar form. The polar representation of a complex number is c = r⋅𝑒^(t𝑖)."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: udt
|
|
7
8
|
qsharp.package: __Std__
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Math.ContinuedFractionConvergentI
|
|
3
3
|
title: ContinuedFractionConvergentI function
|
|
4
|
-
|
|
4
|
+
description: "Q# ContinuedFractionConvergentI function: Finds the continued fraction convergent closest to `fraction` with the denominator less or equal to `denominatorBound` Using process similar to this: https://nrich.maths.org/1397"
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Math.ContinuedFractionConvergentL
|
|
3
3
|
title: ContinuedFractionConvergentL function
|
|
4
|
-
|
|
4
|
+
description: "Q# ContinuedFractionConvergentL function: Finds the continued fraction convergent closest to `fraction` with the denominator less or equal to `denominatorBound` Using process similar to this: https://nrich.maths.org/1397"
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|
package/docs/Std.Math/Cos.md
CHANGED
package/docs/Std.Math/Cosh.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
uid: Qdk.Std.Math.Cosh
|
|
3
3
|
title: Cosh function
|
|
4
|
-
|
|
4
|
+
description: "Q# Cosh function: Returns the hyperbolic cosine of the specified angle."
|
|
5
|
+
ms.date: 11/15/2024
|
|
5
6
|
ms.topic: managed-reference
|
|
6
7
|
qsharp.kind: function
|
|
7
8
|
qsharp.package: __Std__
|