qsharp-lang 1.8.2-dev → 1.8.4-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.
Files changed (265) hide show
  1. package/dist/samples.generated.js +16 -16
  2. package/docs/Microsoft.Quantum.Core/IsRangeEmpty.md +1 -1
  3. package/docs/Microsoft.Quantum.Core/Length.md +1 -1
  4. package/docs/Microsoft.Quantum.Core/RangeEnd.md +1 -1
  5. package/docs/Microsoft.Quantum.Core/RangeReverse.md +1 -1
  6. package/docs/Microsoft.Quantum.Core/RangeStart.md +1 -1
  7. package/docs/Microsoft.Quantum.Core/RangeStep.md +1 -1
  8. package/docs/Microsoft.Quantum.Core/Repeated.md +1 -1
  9. package/docs/Microsoft.Quantum.Unstable.Arithmetic/AddLE.md +1 -1
  10. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfEqualL.md +1 -1
  11. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfEqualLE.md +1 -1
  12. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfGreaterL.md +1 -1
  13. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfGreaterLE.md +1 -1
  14. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfGreaterOrEqualL.md +1 -1
  15. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfGreaterOrEqualLE.md +1 -1
  16. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfLessL.md +1 -1
  17. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfLessLE.md +1 -1
  18. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfLessOrEqualL.md +1 -1
  19. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfLessOrEqualLE.md +1 -1
  20. package/docs/Microsoft.Quantum.Unstable.Arithmetic/FourierTDIncByLE.md +1 -1
  21. package/docs/Microsoft.Quantum.Unstable.Arithmetic/IncByI.md +1 -1
  22. package/docs/Microsoft.Quantum.Unstable.Arithmetic/IncByIUsingIncByLE.md +1 -1
  23. package/docs/Microsoft.Quantum.Unstable.Arithmetic/IncByL.md +1 -1
  24. package/docs/Microsoft.Quantum.Unstable.Arithmetic/IncByLE.md +1 -1
  25. package/docs/Microsoft.Quantum.Unstable.Arithmetic/IncByLEUsingAddLE.md +1 -1
  26. package/docs/Microsoft.Quantum.Unstable.Arithmetic/IncByLUsingIncByLE.md +1 -1
  27. package/docs/Microsoft.Quantum.Unstable.Arithmetic/LookAheadDKRSAddLE.md +1 -1
  28. package/docs/Microsoft.Quantum.Unstable.Arithmetic/MAJ.md +1 -1
  29. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ReflectAboutInteger.md +1 -1
  30. package/docs/Microsoft.Quantum.Unstable.Arithmetic/RippleCarryCGAddLE.md +1 -1
  31. package/docs/Microsoft.Quantum.Unstable.Arithmetic/RippleCarryCGIncByLE.md +1 -1
  32. package/docs/Microsoft.Quantum.Unstable.Arithmetic/RippleCarryTTKIncByLE.md +1 -1
  33. package/docs/Microsoft.Quantum.Unstable.StatePreparation/ApproximatelyPreparePureStateCP.md +1 -1
  34. package/docs/Microsoft.Quantum.Unstable.StatePreparation/PreparePureStateD.md +1 -1
  35. package/docs/Microsoft.Quantum.Unstable.TableLookup/Select.md +1 -1
  36. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/All.md +4 -4
  37. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/Any.md +5 -6
  38. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/Chunks.md +5 -6
  39. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/CircularlyShifted.md +5 -6
  40. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/ColumnAt.md +5 -6
  41. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/Count.md +5 -6
  42. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/Diagonal.md +5 -6
  43. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/DrawMany.md +5 -6
  44. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/Enumerated.md +5 -6
  45. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/Excluding.md +5 -6
  46. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/Filtered.md +5 -6
  47. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/FlatMapped.md +5 -6
  48. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/Flattened.md +5 -6
  49. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/Fold.md +5 -6
  50. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/ForEach.md +5 -6
  51. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/Head.md +5 -6
  52. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/HeadAndRest.md +5 -6
  53. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/IndexOf.md +5 -6
  54. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/IndexRange.md +5 -6
  55. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/Interleaved.md +5 -6
  56. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/IsEmpty.md +5 -6
  57. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/IsRectangularArray.md +5 -6
  58. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/IsSorted.md +5 -6
  59. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/IsSquareArray.md +5 -6
  60. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/Mapped.md +5 -6
  61. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/MappedByIndex.md +5 -6
  62. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/MappedOverRange.md +5 -6
  63. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/Most.md +5 -6
  64. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/MostAndTail.md +5 -6
  65. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/Padded.md +5 -6
  66. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/Partitioned.md +5 -6
  67. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/Rest.md +5 -6
  68. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/Reversed.md +5 -6
  69. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/SequenceI.md +5 -6
  70. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/SequenceL.md +5 -6
  71. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/Sorted.md +5 -6
  72. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/Subarray.md +5 -6
  73. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/Swapped.md +5 -6
  74. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/Tail.md +5 -6
  75. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/Transposed.md +5 -6
  76. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/Unzipped.md +5 -6
  77. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/Where.md +5 -6
  78. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/Windows.md +5 -6
  79. package/docs/{Microsoft.Quantum.Arrays → Std.Arrays}/Zipped.md +5 -6
  80. package/docs/{Microsoft.Quantum.Canon → Std.Canon}/ApplyCNOTChain.md +4 -4
  81. package/docs/{Microsoft.Quantum.Canon → Std.Canon}/ApplyControlledOnBitString.md +4 -4
  82. package/docs/{Microsoft.Quantum.Canon → Std.Canon}/ApplyControlledOnInt.md +4 -4
  83. package/docs/{Microsoft.Quantum.Canon → Std.Canon}/ApplyP.md +4 -4
  84. package/docs/{Microsoft.Quantum.Canon → Std.Canon}/ApplyPauli.md +4 -4
  85. package/docs/{Microsoft.Quantum.Canon → Std.Canon}/ApplyPauliFromBitString.md +4 -4
  86. package/docs/{Microsoft.Quantum.Canon → Std.Canon}/ApplyPauliFromInt.md +4 -4
  87. package/docs/{Microsoft.Quantum.Canon → Std.Canon}/ApplyQFT.md +4 -4
  88. package/docs/{Microsoft.Quantum.Canon → Std.Canon}/ApplyToEach.md +4 -4
  89. package/docs/{Microsoft.Quantum.Canon → Std.Canon}/ApplyToEachA.md +4 -4
  90. package/docs/{Microsoft.Quantum.Canon → Std.Canon}/ApplyToEachC.md +4 -4
  91. package/docs/{Microsoft.Quantum.Canon → Std.Canon}/ApplyToEachCA.md +4 -4
  92. package/docs/{Microsoft.Quantum.Canon → Std.Canon}/ApplyXorInPlace.md +4 -4
  93. package/docs/{Microsoft.Quantum.Canon → Std.Canon}/ApplyXorInPlaceL.md +4 -4
  94. package/docs/{Microsoft.Quantum.Canon → Std.Canon}/CX.md +4 -4
  95. package/docs/{Microsoft.Quantum.Canon → Std.Canon}/CY.md +4 -4
  96. package/docs/{Microsoft.Quantum.Canon → Std.Canon}/CZ.md +4 -4
  97. package/docs/{Microsoft.Quantum.Canon → Std.Canon}/Fst.md +4 -4
  98. package/docs/Std.Canon/Relabel.md +49 -0
  99. package/docs/{Microsoft.Quantum.Canon → Std.Canon}/Snd.md +4 -4
  100. package/docs/{Microsoft.Quantum.Canon → Std.Canon}/SwapReverseRegister.md +4 -4
  101. package/docs/{Microsoft.Quantum.Convert → Std.Convert}/BigIntAsBoolArray.md +5 -6
  102. package/docs/{Microsoft.Quantum.Convert → Std.Convert}/BoolArrayAsBigInt.md +5 -6
  103. package/docs/{Microsoft.Quantum.Convert → Std.Convert}/BoolArrayAsInt.md +5 -6
  104. package/docs/{Microsoft.Quantum.Convert → Std.Convert}/BoolArrayAsResultArray.md +5 -6
  105. package/docs/{Microsoft.Quantum.Convert → Std.Convert}/BoolAsResult.md +5 -6
  106. package/docs/{Microsoft.Quantum.Convert → Std.Convert}/ComplexAsComplexPolar.md +5 -6
  107. package/docs/{Microsoft.Quantum.Convert → Std.Convert}/ComplexPolarAsComplex.md +5 -6
  108. package/docs/{Microsoft.Quantum.Convert → Std.Convert}/DoubleAsStringWithPrecision.md +5 -6
  109. package/docs/{Microsoft.Quantum.Convert → Std.Convert}/IntAsBigInt.md +4 -5
  110. package/docs/{Microsoft.Quantum.Convert → Std.Convert}/IntAsBoolArray.md +5 -6
  111. package/docs/{Microsoft.Quantum.Convert → Std.Convert}/IntAsDouble.md +4 -4
  112. package/docs/{Microsoft.Quantum.Convert → Std.Convert}/ResultArrayAsBoolArray.md +5 -6
  113. package/docs/{Microsoft.Quantum.Convert → Std.Convert}/ResultArrayAsInt.md +5 -6
  114. package/docs/{Microsoft.Quantum.Convert → Std.Convert}/ResultAsBool.md +5 -6
  115. package/docs/{Microsoft.Quantum.Diagnostics → Std.Diagnostics}/DumpMachine.md +4 -4
  116. package/docs/{Microsoft.Quantum.Diagnostics → Std.Diagnostics}/DumpRegister.md +5 -6
  117. package/docs/{Microsoft.Quantum.Diagnostics → Std.Diagnostics}/Fact.md +5 -6
  118. package/docs/{Microsoft.Quantum.Intrinsic → Std.Intrinsic}/AND.md +5 -6
  119. package/docs/{Microsoft.Quantum.Intrinsic → Std.Intrinsic}/CCNOT.md +5 -6
  120. package/docs/{Microsoft.Quantum.Intrinsic → Std.Intrinsic}/CNOT.md +5 -6
  121. package/docs/{Microsoft.Quantum.Intrinsic → Std.Intrinsic}/Exp.md +5 -6
  122. package/docs/{Microsoft.Quantum.Intrinsic → Std.Intrinsic}/H.md +5 -6
  123. package/docs/{Microsoft.Quantum.Intrinsic → Std.Intrinsic}/I.md +5 -6
  124. package/docs/{Microsoft.Quantum.Intrinsic → Std.Intrinsic}/M.md +5 -6
  125. package/docs/{Microsoft.Quantum.Intrinsic → Std.Intrinsic}/Measure.md +5 -6
  126. package/docs/{Microsoft.Quantum.Intrinsic → Std.Intrinsic}/Message.md +5 -6
  127. package/docs/{Microsoft.Quantum.Intrinsic → Std.Intrinsic}/R.md +5 -6
  128. package/docs/{Microsoft.Quantum.Intrinsic → Std.Intrinsic}/R1.md +5 -6
  129. package/docs/{Microsoft.Quantum.Intrinsic → Std.Intrinsic}/R1Frac.md +5 -6
  130. package/docs/{Microsoft.Quantum.Intrinsic → Std.Intrinsic}/RFrac.md +5 -6
  131. package/docs/{Microsoft.Quantum.Intrinsic → Std.Intrinsic}/Reset.md +5 -6
  132. package/docs/{Microsoft.Quantum.Intrinsic → Std.Intrinsic}/ResetAll.md +5 -6
  133. package/docs/{Microsoft.Quantum.Intrinsic → Std.Intrinsic}/Rx.md +5 -6
  134. package/docs/{Microsoft.Quantum.Intrinsic → Std.Intrinsic}/Rxx.md +5 -6
  135. package/docs/{Microsoft.Quantum.Intrinsic → Std.Intrinsic}/Ry.md +5 -6
  136. package/docs/{Microsoft.Quantum.Intrinsic → Std.Intrinsic}/Ryy.md +5 -6
  137. package/docs/{Microsoft.Quantum.Intrinsic → Std.Intrinsic}/Rz.md +5 -6
  138. package/docs/{Microsoft.Quantum.Intrinsic → Std.Intrinsic}/Rzz.md +5 -6
  139. package/docs/{Microsoft.Quantum.Intrinsic → Std.Intrinsic}/S.md +5 -6
  140. package/docs/{Microsoft.Quantum.Intrinsic → Std.Intrinsic}/SWAP.md +5 -6
  141. package/docs/{Microsoft.Quantum.Intrinsic → Std.Intrinsic}/T.md +5 -6
  142. package/docs/{Microsoft.Quantum.Intrinsic → Std.Intrinsic}/X.md +5 -6
  143. package/docs/{Microsoft.Quantum.Intrinsic → Std.Intrinsic}/Y.md +5 -6
  144. package/docs/{Microsoft.Quantum.Intrinsic → Std.Intrinsic}/Z.md +5 -6
  145. package/docs/{Microsoft.Quantum.Logical → Std.Logical}/Xor.md +4 -4
  146. package/docs/{Microsoft.Quantum.Math → Std.Math}/AbsComplex.md +5 -6
  147. package/docs/{Microsoft.Quantum.Math → Std.Math}/AbsComplexPolar.md +5 -6
  148. package/docs/{Microsoft.Quantum.Math → Std.Math}/AbsD.md +4 -5
  149. package/docs/{Microsoft.Quantum.Math → Std.Math}/AbsI.md +4 -5
  150. package/docs/{Microsoft.Quantum.Math → Std.Math}/AbsL.md +4 -6
  151. package/docs/{Microsoft.Quantum.Math → Std.Math}/AbsSquaredComplex.md +5 -6
  152. package/docs/{Microsoft.Quantum.Math → Std.Math}/AbsSquaredComplexPolar.md +5 -6
  153. package/docs/{Microsoft.Quantum.Math → Std.Math}/ApproximateFactorial.md +5 -6
  154. package/docs/{Microsoft.Quantum.Math → Std.Math}/ArcCos.md +4 -4
  155. package/docs/{Microsoft.Quantum.Math → Std.Math}/ArcCosh.md +4 -5
  156. package/docs/{Microsoft.Quantum.Math → Std.Math}/ArcSin.md +4 -5
  157. package/docs/{Microsoft.Quantum.Math → Std.Math}/ArcSinh.md +4 -5
  158. package/docs/{Microsoft.Quantum.Math → Std.Math}/ArcTan.md +4 -5
  159. package/docs/{Microsoft.Quantum.Math → Std.Math}/ArcTan2.md +4 -5
  160. package/docs/{Microsoft.Quantum.Math → Std.Math}/ArcTanh.md +4 -5
  161. package/docs/{Microsoft.Quantum.Math → Std.Math}/ArgComplex.md +5 -6
  162. package/docs/{Microsoft.Quantum.Math → Std.Math}/ArgComplexPolar.md +5 -6
  163. package/docs/{Microsoft.Quantum.Math → Std.Math}/Binom.md +5 -6
  164. package/docs/{Microsoft.Quantum.Math → Std.Math}/BitSizeI.md +4 -4
  165. package/docs/{Microsoft.Quantum.Math → Std.Math}/BitSizeL.md +4 -5
  166. package/docs/{Microsoft.Quantum.Math → Std.Math}/Ceiling.md +4 -5
  167. package/docs/{Microsoft.Quantum.Math → Std.Math}/Complex.md +4 -4
  168. package/docs/{Microsoft.Quantum.Math → Std.Math}/ComplexPolar.md +5 -6
  169. package/docs/{Microsoft.Quantum.Math → Std.Math}/ContinuedFractionConvergentI.md +4 -5
  170. package/docs/{Microsoft.Quantum.Math → Std.Math}/ContinuedFractionConvergentL.md +4 -5
  171. package/docs/{Microsoft.Quantum.Math → Std.Math}/Cos.md +4 -5
  172. package/docs/{Microsoft.Quantum.Math → Std.Math}/Cosh.md +4 -5
  173. package/docs/{Microsoft.Quantum.Math → Std.Math}/DivRemI.md +4 -4
  174. package/docs/{Microsoft.Quantum.Math → Std.Math}/DivRemL.md +4 -5
  175. package/docs/{Microsoft.Quantum.Math → Std.Math}/DividedByC.md +5 -6
  176. package/docs/{Microsoft.Quantum.Math → Std.Math}/DividedByCP.md +5 -6
  177. package/docs/{Microsoft.Quantum.Math → Std.Math}/E.md +5 -6
  178. package/docs/{Microsoft.Quantum.Math → Std.Math}/ExpModI.md +4 -5
  179. package/docs/{Microsoft.Quantum.Math → Std.Math}/ExpModL.md +4 -5
  180. package/docs/{Microsoft.Quantum.Math → Std.Math}/ExtendedGreatestCommonDivisorI.md +4 -5
  181. package/docs/{Microsoft.Quantum.Math → Std.Math}/ExtendedGreatestCommonDivisorL.md +4 -5
  182. package/docs/{Microsoft.Quantum.Math → Std.Math}/FactorialI.md +4 -4
  183. package/docs/{Microsoft.Quantum.Math → Std.Math}/FactorialL.md +5 -6
  184. package/docs/{Microsoft.Quantum.Math → Std.Math}/Floor.md +4 -5
  185. package/docs/{Microsoft.Quantum.Math → Std.Math}/GreatestCommonDivisorI.md +4 -4
  186. package/docs/{Microsoft.Quantum.Math → Std.Math}/GreatestCommonDivisorL.md +4 -5
  187. package/docs/{Microsoft.Quantum.Math → Std.Math}/HammingWeightI.md +4 -5
  188. package/docs/{Microsoft.Quantum.Math → Std.Math}/InverseModI.md +5 -6
  189. package/docs/{Microsoft.Quantum.Math → Std.Math}/InverseModL.md +5 -6
  190. package/docs/{Microsoft.Quantum.Math → Std.Math}/IsCoprimeI.md +5 -6
  191. package/docs/{Microsoft.Quantum.Math → Std.Math}/IsCoprimeL.md +5 -6
  192. package/docs/{Microsoft.Quantum.Math → Std.Math}/IsInfinite.md +5 -6
  193. package/docs/{Microsoft.Quantum.Math → Std.Math}/IsNaN.md +4 -4
  194. package/docs/{Microsoft.Quantum.Math → Std.Math}/LargestFixedPoint.md +5 -6
  195. package/docs/{Microsoft.Quantum.Math → Std.Math}/Lg.md +4 -5
  196. package/docs/{Microsoft.Quantum.Math → Std.Math}/Log.md +4 -5
  197. package/docs/{Microsoft.Quantum.Math → Std.Math}/Log10.md +4 -5
  198. package/docs/{Microsoft.Quantum.Math → Std.Math}/LogFactorialD.md +5 -6
  199. package/docs/{Microsoft.Quantum.Math → Std.Math}/LogGammaD.md +5 -6
  200. package/docs/{Microsoft.Quantum.Math → Std.Math}/LogOf2.md +5 -6
  201. package/docs/{Microsoft.Quantum.Math → Std.Math}/Max.md +5 -6
  202. package/docs/{Microsoft.Quantum.Math → Std.Math}/MaxD.md +4 -5
  203. package/docs/{Microsoft.Quantum.Math → Std.Math}/MaxI.md +4 -5
  204. package/docs/{Microsoft.Quantum.Math → Std.Math}/MaxL.md +4 -5
  205. package/docs/{Microsoft.Quantum.Math → Std.Math}/Min.md +5 -6
  206. package/docs/{Microsoft.Quantum.Math → Std.Math}/MinD.md +4 -5
  207. package/docs/{Microsoft.Quantum.Math → Std.Math}/MinI.md +4 -5
  208. package/docs/{Microsoft.Quantum.Math → Std.Math}/MinL.md +4 -5
  209. package/docs/{Microsoft.Quantum.Math → Std.Math}/MinusC.md +5 -6
  210. package/docs/{Microsoft.Quantum.Math → Std.Math}/MinusCP.md +5 -6
  211. package/docs/{Microsoft.Quantum.Math → Std.Math}/ModulusI.md +4 -5
  212. package/docs/{Microsoft.Quantum.Math → Std.Math}/ModulusL.md +4 -5
  213. package/docs/{Microsoft.Quantum.Math → Std.Math}/NegationC.md +5 -6
  214. package/docs/{Microsoft.Quantum.Math → Std.Math}/NegationCP.md +5 -6
  215. package/docs/{Microsoft.Quantum.Math → Std.Math}/PI.md +4 -4
  216. package/docs/{Microsoft.Quantum.Math → Std.Math}/PNorm.md +5 -6
  217. package/docs/{Microsoft.Quantum.Math → Std.Math}/PNormalized.md +5 -6
  218. package/docs/{Microsoft.Quantum.Math → Std.Math}/PlusC.md +5 -6
  219. package/docs/{Microsoft.Quantum.Math → Std.Math}/PlusCP.md +5 -6
  220. package/docs/{Microsoft.Quantum.Math → Std.Math}/PowC.md +5 -6
  221. package/docs/{Microsoft.Quantum.Math → Std.Math}/PowCP.md +5 -6
  222. package/docs/{Microsoft.Quantum.Math → Std.Math}/RealMod.md +5 -6
  223. package/docs/{Microsoft.Quantum.Math → Std.Math}/Round.md +4 -5
  224. package/docs/{Microsoft.Quantum.Math → Std.Math}/SignD.md +4 -5
  225. package/docs/{Microsoft.Quantum.Math → Std.Math}/SignI.md +4 -4
  226. package/docs/{Microsoft.Quantum.Math → Std.Math}/SignL.md +4 -5
  227. package/docs/{Microsoft.Quantum.Math → Std.Math}/Sin.md +4 -5
  228. package/docs/{Microsoft.Quantum.Math → Std.Math}/Sinh.md +4 -5
  229. package/docs/{Microsoft.Quantum.Math → Std.Math}/SmallestFixedPoint.md +4 -4
  230. package/docs/{Microsoft.Quantum.Math → Std.Math}/Sqrt.md +4 -4
  231. package/docs/{Microsoft.Quantum.Math → Std.Math}/SquaredNorm.md +4 -4
  232. package/docs/{Microsoft.Quantum.Math → Std.Math}/Tan.md +4 -5
  233. package/docs/{Microsoft.Quantum.Math → Std.Math}/Tanh.md +4 -5
  234. package/docs/{Microsoft.Quantum.Math → Std.Math}/TimesC.md +5 -6
  235. package/docs/{Microsoft.Quantum.Math → Std.Math}/TimesCP.md +5 -6
  236. package/docs/{Microsoft.Quantum.Math → Std.Math}/TrailingZeroCountI.md +4 -5
  237. package/docs/{Microsoft.Quantum.Math → Std.Math}/TrailingZeroCountL.md +4 -5
  238. package/docs/{Microsoft.Quantum.Math → Std.Math}/Truncate.md +4 -4
  239. package/docs/{Microsoft.Quantum.Measurement → Std.Measurement}/MResetEachZ.md +5 -6
  240. package/docs/{Microsoft.Quantum.Measurement → Std.Measurement}/MResetX.md +5 -6
  241. package/docs/{Microsoft.Quantum.Measurement → Std.Measurement}/MResetY.md +5 -6
  242. package/docs/{Microsoft.Quantum.Measurement → Std.Measurement}/MResetZ.md +5 -6
  243. package/docs/{Microsoft.Quantum.Measurement → Std.Measurement}/MeasureAllZ.md +4 -4
  244. package/docs/{Microsoft.Quantum.Measurement → Std.Measurement}/MeasureEachZ.md +5 -6
  245. package/docs/{Microsoft.Quantum.Measurement → Std.Measurement}/MeasureInteger.md +5 -6
  246. package/docs/{Microsoft.Quantum.ResourceEstimation → Std.ResourceEstimation}/AccountForEstimates.md +5 -6
  247. package/docs/{Microsoft.Quantum.ResourceEstimation → Std.ResourceEstimation}/AuxQubitCount.md +4 -4
  248. package/docs/{Microsoft.Quantum.ResourceEstimation → Std.ResourceEstimation}/BeginEstimateCaching.md +5 -6
  249. package/docs/{Microsoft.Quantum.ResourceEstimation → Std.ResourceEstimation}/BeginRepeatEstimates.md +5 -6
  250. package/docs/{Microsoft.Quantum.ResourceEstimation → Std.ResourceEstimation}/CczCount.md +4 -5
  251. package/docs/{Microsoft.Quantum.ResourceEstimation → Std.ResourceEstimation}/EndEstimateCaching.md +4 -5
  252. package/docs/{Microsoft.Quantum.ResourceEstimation → Std.ResourceEstimation}/EndRepeatEstimates.md +4 -5
  253. package/docs/{Microsoft.Quantum.ResourceEstimation → Std.ResourceEstimation}/MeasurementCount.md +4 -5
  254. package/docs/{Microsoft.Quantum.ResourceEstimation → Std.ResourceEstimation}/PSSPCLayout.md +4 -5
  255. package/docs/{Microsoft.Quantum.ResourceEstimation → Std.ResourceEstimation}/RepeatEstimates.md +5 -6
  256. package/docs/{Microsoft.Quantum.ResourceEstimation → Std.ResourceEstimation}/RotationCount.md +4 -5
  257. package/docs/{Microsoft.Quantum.ResourceEstimation → Std.ResourceEstimation}/RotationDepth.md +4 -5
  258. package/docs/{Microsoft.Quantum.ResourceEstimation → Std.ResourceEstimation}/SingleVariant.md +4 -4
  259. package/docs/{Microsoft.Quantum.ResourceEstimation → Std.ResourceEstimation}/TCount.md +4 -5
  260. package/docs/toc.yml +252 -251
  261. package/lib/node/qsc_wasm.cjs +2 -2
  262. package/lib/node/qsc_wasm_bg.wasm +0 -0
  263. package/lib/web/qsc_wasm.js +2 -2
  264. package/lib/web/qsc_wasm_bg.wasm +0 -0
  265. package/package.json +1 -1
@@ -1,17 +1,17 @@
1
1
  ---
2
- uid: Qdk.Microsoft.Quantum.Canon.ApplyXorInPlace
2
+ uid: Qdk.Std.Canon.ApplyXorInPlace
3
3
  title: ApplyXorInPlace operation
4
- ms.date: 09/10/2024 12:00:00 AM
4
+ ms.date: 09/25/2024 12:00:00 AM
5
5
  ms.topic: managed-reference
6
6
  qsharp.kind: operation
7
- qsharp.namespace: Microsoft.Quantum.Canon
7
+ qsharp.namespace: Std.Canon
8
8
  qsharp.name: ApplyXorInPlace
9
9
  qsharp.summary: "Applies a bitwise-XOR operation between a classical integer and an integer represented by a register of qubits."
10
10
  ---
11
11
 
12
12
  # ApplyXorInPlace operation
13
13
 
14
- Fully qualified name: Microsoft.Quantum.Canon.ApplyXorInPlace
14
+ Fully qualified name: Std.Canon.ApplyXorInPlace
15
15
 
16
16
  ```qsharp
17
17
  operation ApplyXorInPlace(value : Int, target : Qubit[]) : Unit is Adj + Ctl
@@ -1,17 +1,17 @@
1
1
  ---
2
- uid: Qdk.Microsoft.Quantum.Canon.ApplyXorInPlaceL
2
+ uid: Qdk.Std.Canon.ApplyXorInPlaceL
3
3
  title: ApplyXorInPlaceL operation
4
- ms.date: 09/10/2024 12:00:00 AM
4
+ ms.date: 09/25/2024 12:00:00 AM
5
5
  ms.topic: managed-reference
6
6
  qsharp.kind: operation
7
- qsharp.namespace: Microsoft.Quantum.Canon
7
+ qsharp.namespace: Std.Canon
8
8
  qsharp.name: ApplyXorInPlaceL
9
9
  qsharp.summary: "Applies a bitwise-XOR operation between a classical integer and an integer represented by a register of qubits."
10
10
  ---
11
11
 
12
12
  # ApplyXorInPlaceL operation
13
13
 
14
- Fully qualified name: Microsoft.Quantum.Canon.ApplyXorInPlaceL
14
+ Fully qualified name: Std.Canon.ApplyXorInPlaceL
15
15
 
16
16
  ```qsharp
17
17
  operation ApplyXorInPlaceL(value : BigInt, target : Qubit[]) : Unit is Adj + Ctl
@@ -1,17 +1,17 @@
1
1
  ---
2
- uid: Qdk.Microsoft.Quantum.Canon.CX
2
+ uid: Qdk.Std.Canon.CX
3
3
  title: CX operation
4
- ms.date: 09/10/2024 12:00:00 AM
4
+ ms.date: 09/25/2024 12:00:00 AM
5
5
  ms.topic: managed-reference
6
6
  qsharp.kind: operation
7
- qsharp.namespace: Microsoft.Quantum.Canon
7
+ qsharp.namespace: Std.Canon
8
8
  qsharp.name: CX
9
9
  qsharp.summary: "Applies the controlled-X (CX) gate to a pair of qubits."
10
10
  ---
11
11
 
12
12
  # CX operation
13
13
 
14
- Fully qualified name: Microsoft.Quantum.Canon.CX
14
+ Fully qualified name: Std.Canon.CX
15
15
 
16
16
  ```qsharp
17
17
  operation CX(control : Qubit, target : Qubit) : Unit is Adj + Ctl
@@ -1,17 +1,17 @@
1
1
  ---
2
- uid: Qdk.Microsoft.Quantum.Canon.CY
2
+ uid: Qdk.Std.Canon.CY
3
3
  title: CY operation
4
- ms.date: 09/10/2024 12:00:00 AM
4
+ ms.date: 09/25/2024 12:00:00 AM
5
5
  ms.topic: managed-reference
6
6
  qsharp.kind: operation
7
- qsharp.namespace: Microsoft.Quantum.Canon
7
+ qsharp.namespace: Std.Canon
8
8
  qsharp.name: CY
9
9
  qsharp.summary: "Applies the controlled-Y (CY) gate to a pair of qubits."
10
10
  ---
11
11
 
12
12
  # CY operation
13
13
 
14
- Fully qualified name: Microsoft.Quantum.Canon.CY
14
+ Fully qualified name: Std.Canon.CY
15
15
 
16
16
  ```qsharp
17
17
  operation CY(control : Qubit, target : Qubit) : Unit is Adj + Ctl
@@ -1,17 +1,17 @@
1
1
  ---
2
- uid: Qdk.Microsoft.Quantum.Canon.CZ
2
+ uid: Qdk.Std.Canon.CZ
3
3
  title: CZ operation
4
- ms.date: 09/10/2024 12:00:00 AM
4
+ ms.date: 09/25/2024 12:00:00 AM
5
5
  ms.topic: managed-reference
6
6
  qsharp.kind: operation
7
- qsharp.namespace: Microsoft.Quantum.Canon
7
+ qsharp.namespace: Std.Canon
8
8
  qsharp.name: CZ
9
9
  qsharp.summary: "Applies the controlled-Z (CZ) gate to a pair of qubits."
10
10
  ---
11
11
 
12
12
  # CZ operation
13
13
 
14
- Fully qualified name: Microsoft.Quantum.Canon.CZ
14
+ Fully qualified name: Std.Canon.CZ
15
15
 
16
16
  ```qsharp
17
17
  operation CZ(control : Qubit, target : Qubit) : Unit is Adj + Ctl
@@ -1,17 +1,17 @@
1
1
  ---
2
- uid: Qdk.Microsoft.Quantum.Canon.Fst
2
+ uid: Qdk.Std.Canon.Fst
3
3
  title: Fst function
4
- ms.date: 09/10/2024 12:00:00 AM
4
+ ms.date: 09/25/2024 12:00:00 AM
5
5
  ms.topic: managed-reference
6
6
  qsharp.kind: function
7
- qsharp.namespace: Microsoft.Quantum.Canon
7
+ qsharp.namespace: Std.Canon
8
8
  qsharp.name: Fst
9
9
  qsharp.summary: "Given a pair, returns its first element."
10
10
  ---
11
11
 
12
12
  # Fst function
13
13
 
14
- Fully qualified name: Microsoft.Quantum.Canon.Fst
14
+ Fully qualified name: Std.Canon.Fst
15
15
 
16
16
  ```qsharp
17
17
  function Fst<'T, 'U>(pair : ('T, 'U)) : 'T
@@ -0,0 +1,49 @@
1
+ ---
2
+ uid: Qdk.Std.Canon.Relabel
3
+ title: Relabel operation
4
+ ms.date: 09/25/2024 12:00:00 AM
5
+ ms.topic: managed-reference
6
+ qsharp.kind: operation
7
+ qsharp.namespace: Std.Canon
8
+ qsharp.name: Relabel
9
+ qsharp.summary: "Relabels the qubits in the `current` array with the qubits in the `updated` array. The `updated` array must be a valid permutation of the `current` array."
10
+ ---
11
+
12
+ # Relabel operation
13
+
14
+ Fully qualified name: Std.Canon.Relabel
15
+
16
+ ```qsharp
17
+ operation Relabel(current : Qubit[], updated : Qubit[]) : Unit is Adj
18
+ ```
19
+
20
+ ## Summary
21
+ Relabels the qubits in the `current` array with the qubits in the `updated` array. The `updated` array
22
+ must be a valid permutation of the `current` array.
23
+
24
+ ## Input
25
+ ### current
26
+ Array of qubits to be relabeled.
27
+ ### updated
28
+ Array of qubits with which to relabel the `current` array.
29
+
30
+ ## Remarks
31
+ This operation is useful when you need to relabel qubits in a way that does not incur any quantum operations.
32
+ Note that when compiling for execution on hardware with limited qubit connectivity, this operation
33
+ may not result in any changes to qubit adjacency and one or more `SWAP` gates may still be required.
34
+
35
+ ## Example
36
+ The following example demonstrates how to relabel qubits in a register:
37
+ ```qsharp
38
+ use qubits = Qubit[3];
39
+ let newOrder = [qubits[2], qubits[0], qubits[1]];
40
+ Relabel(qubits, newOrder);
41
+ ```
42
+ After this operation, any use of `qubits[0]` will refer to the qubit that was originally `qubits[2]`, and so on.
43
+ To exchange the labels on two qubits, the virtual equivalent of a `SWAP` gate, you can use the following code:
44
+ ```qsharp
45
+ use (q0, q1) = (Qubit(), Qubit());
46
+ Relabel([q0, q1], [q1, q0]);
47
+ ```
48
+ Note that the adjoint of this operation effectively changes the order of arguments, such that
49
+ `Adjoint Relabel(qubits, newOrder)` is equivalent to `Relabel(newOrder, qubits)`.
@@ -1,17 +1,17 @@
1
1
  ---
2
- uid: Qdk.Microsoft.Quantum.Canon.Snd
2
+ uid: Qdk.Std.Canon.Snd
3
3
  title: Snd function
4
- ms.date: 09/10/2024 12:00:00 AM
4
+ ms.date: 09/25/2024 12:00:00 AM
5
5
  ms.topic: managed-reference
6
6
  qsharp.kind: function
7
- qsharp.namespace: Microsoft.Quantum.Canon
7
+ qsharp.namespace: Std.Canon
8
8
  qsharp.name: Snd
9
9
  qsharp.summary: "Given a pair, returns its second element."
10
10
  ---
11
11
 
12
12
  # Snd function
13
13
 
14
- Fully qualified name: Microsoft.Quantum.Canon.Snd
14
+ Fully qualified name: Std.Canon.Snd
15
15
 
16
16
  ```qsharp
17
17
  function Snd<'T, 'U>(pair : ('T, 'U)) : 'U
@@ -1,17 +1,17 @@
1
1
  ---
2
- uid: Qdk.Microsoft.Quantum.Canon.SwapReverseRegister
2
+ uid: Qdk.Std.Canon.SwapReverseRegister
3
3
  title: SwapReverseRegister operation
4
- ms.date: 09/10/2024 12:00:00 AM
4
+ ms.date: 09/25/2024 12:00:00 AM
5
5
  ms.topic: managed-reference
6
6
  qsharp.kind: operation
7
- qsharp.namespace: Microsoft.Quantum.Canon
7
+ qsharp.namespace: Std.Canon
8
8
  qsharp.name: SwapReverseRegister
9
9
  qsharp.summary: "Uses SWAP gates to reverse the order of the qubits in a register."
10
10
  ---
11
11
 
12
12
  # SwapReverseRegister operation
13
13
 
14
- Fully qualified name: Microsoft.Quantum.Canon.SwapReverseRegister
14
+ Fully qualified name: Std.Canon.SwapReverseRegister
15
15
 
16
16
  ```qsharp
17
17
  operation SwapReverseRegister(register : Qubit[]) : Unit is Adj + Ctl
@@ -1,23 +1,22 @@
1
1
  ---
2
- uid: Qdk.Microsoft.Quantum.Convert.BigIntAsBoolArray
2
+ uid: Qdk.Std.Convert.BigIntAsBoolArray
3
3
  title: BigIntAsBoolArray function
4
- ms.date: 09/10/2024 12:00:00 AM
4
+ ms.date: 09/25/2024 12:00:00 AM
5
5
  ms.topic: managed-reference
6
6
  qsharp.kind: function
7
- qsharp.namespace: Microsoft.Quantum.Convert
7
+ qsharp.namespace: Std.Convert
8
8
  qsharp.name: BigIntAsBoolArray
9
- qsharp.summary: "Produces a binary representation of a non-negative BigInt, using the little-endian representation for the returned array."
9
+ qsharp.summary: "Produces a binary representation of a non-negative BigInt, using the little-endian representation for the returned array. # Input ## number A non-negative BigInt to be converted to an array of Boolean values. ## bits The number of bits in the binary representation of `number`. # Output An array of Boolean values representing `number`. # Remarks The input `bits` must be non-negative. The input `number` must be between 0 and 2^bits - 1."
10
10
  ---
11
11
 
12
12
  # BigIntAsBoolArray function
13
13
 
14
- Fully qualified name: Microsoft.Quantum.Convert.BigIntAsBoolArray
14
+ Fully qualified name: Std.Convert.BigIntAsBoolArray
15
15
 
16
16
  ```qsharp
17
17
  function BigIntAsBoolArray(number : BigInt, bits : Int) : Bool[]
18
18
  ```
19
19
 
20
- ## Summary
21
20
  Produces a binary representation of a non-negative BigInt, using the
22
21
  little-endian representation for the returned array.
23
22
 
@@ -1,23 +1,22 @@
1
1
  ---
2
- uid: Qdk.Microsoft.Quantum.Convert.BoolArrayAsBigInt
2
+ uid: Qdk.Std.Convert.BoolArrayAsBigInt
3
3
  title: BoolArrayAsBigInt function
4
- ms.date: 09/10/2024 12:00:00 AM
4
+ ms.date: 09/25/2024 12:00:00 AM
5
5
  ms.topic: managed-reference
6
6
  qsharp.kind: function
7
- qsharp.namespace: Microsoft.Quantum.Convert
7
+ qsharp.namespace: Std.Convert
8
8
  qsharp.name: BoolArrayAsBigInt
9
- qsharp.summary: "Converts an array of Boolean values into a non-negative BigInt, interpreting the array as a binary representation in little-endian format."
9
+ qsharp.summary: "Converts an array of Boolean values into a non-negative BigInt, interpreting the array as a binary representation in little-endian format. # Input ## boolArray An array of Boolean values representing the binary digits of a BigInt. # Output A BigInt represented by `boolArray`. # Remarks The function interprets the array in little-endian format, where the first element of the array represents the least significant bit. The input `boolArray` should not be empty."
10
10
  ---
11
11
 
12
12
  # BoolArrayAsBigInt function
13
13
 
14
- Fully qualified name: Microsoft.Quantum.Convert.BoolArrayAsBigInt
14
+ Fully qualified name: Std.Convert.BoolArrayAsBigInt
15
15
 
16
16
  ```qsharp
17
17
  function BoolArrayAsBigInt(boolArray : Bool[]) : BigInt
18
18
  ```
19
19
 
20
- ## Summary
21
20
  Converts an array of Boolean values into a non-negative BigInt, interpreting the
22
21
  array as a binary representation in little-endian format.
23
22
 
@@ -1,23 +1,22 @@
1
1
  ---
2
- uid: Qdk.Microsoft.Quantum.Convert.BoolArrayAsInt
2
+ uid: Qdk.Std.Convert.BoolArrayAsInt
3
3
  title: BoolArrayAsInt function
4
- ms.date: 09/10/2024 12:00:00 AM
4
+ ms.date: 09/25/2024 12:00:00 AM
5
5
  ms.topic: managed-reference
6
6
  qsharp.kind: function
7
- qsharp.namespace: Microsoft.Quantum.Convert
7
+ qsharp.namespace: Std.Convert
8
8
  qsharp.name: BoolArrayAsInt
9
- qsharp.summary: "Produces a non-negative integer from a string of bits in little-endian format. `bits[0]` represents the least significant bit."
9
+ qsharp.summary: "Produces a non-negative integer from a string of bits in little-endian format. `bits[0]` represents the least significant bit. # Input ## bits Bits in binary representation of number."
10
10
  ---
11
11
 
12
12
  # BoolArrayAsInt function
13
13
 
14
- Fully qualified name: Microsoft.Quantum.Convert.BoolArrayAsInt
14
+ Fully qualified name: Std.Convert.BoolArrayAsInt
15
15
 
16
16
  ```qsharp
17
17
  function BoolArrayAsInt(bits : Bool[]) : Int
18
18
  ```
19
19
 
20
- ## Summary
21
20
  Produces a non-negative integer from a string of bits in little-endian format.
22
21
  `bits[0]` represents the least significant bit.
23
22
 
@@ -1,23 +1,22 @@
1
1
  ---
2
- uid: Qdk.Microsoft.Quantum.Convert.BoolArrayAsResultArray
2
+ uid: Qdk.Std.Convert.BoolArrayAsResultArray
3
3
  title: BoolArrayAsResultArray function
4
- ms.date: 09/10/2024 12:00:00 AM
4
+ ms.date: 09/25/2024 12:00:00 AM
5
5
  ms.topic: managed-reference
6
6
  qsharp.kind: function
7
- qsharp.namespace: Microsoft.Quantum.Convert
7
+ qsharp.namespace: Std.Convert
8
8
  qsharp.name: BoolArrayAsResultArray
9
- qsharp.summary: "Converts a `Bool[]` type to a `Result[]` type, where `true` is mapped to `One` and `false` is mapped to `Zero`."
9
+ qsharp.summary: "Converts a `Bool[]` type to a `Result[]` type, where `true` is mapped to `One` and `false` is mapped to `Zero`. # Input ## input `Bool[]` to be converted. # Output A `Result[]` representing the `input`."
10
10
  ---
11
11
 
12
12
  # BoolArrayAsResultArray function
13
13
 
14
- Fully qualified name: Microsoft.Quantum.Convert.BoolArrayAsResultArray
14
+ Fully qualified name: Std.Convert.BoolArrayAsResultArray
15
15
 
16
16
  ```qsharp
17
17
  function BoolArrayAsResultArray(input : Bool[]) : Result[]
18
18
  ```
19
19
 
20
- ## Summary
21
20
  Converts a `Bool[]` type to a `Result[]` type, where `true`
22
21
  is mapped to `One` and `false` is mapped to `Zero`.
23
22
 
@@ -1,23 +1,22 @@
1
1
  ---
2
- uid: Qdk.Microsoft.Quantum.Convert.BoolAsResult
2
+ uid: Qdk.Std.Convert.BoolAsResult
3
3
  title: BoolAsResult function
4
- ms.date: 09/10/2024 12:00:00 AM
4
+ ms.date: 09/25/2024 12:00:00 AM
5
5
  ms.topic: managed-reference
6
6
  qsharp.kind: function
7
- qsharp.namespace: Microsoft.Quantum.Convert
7
+ qsharp.namespace: Std.Convert
8
8
  qsharp.name: BoolAsResult
9
- qsharp.summary: "Converts a `Bool` type to a `Result` type, where `true` is mapped to `One` and `false` is mapped to `Zero`."
9
+ qsharp.summary: "Converts a `Bool` type to a `Result` type, where `true` is mapped to `One` and `false` is mapped to `Zero`. # Input ## input `Bool` to be converted. # Output A `Result` representing the `input`."
10
10
  ---
11
11
 
12
12
  # BoolAsResult function
13
13
 
14
- Fully qualified name: Microsoft.Quantum.Convert.BoolAsResult
14
+ Fully qualified name: Std.Convert.BoolAsResult
15
15
 
16
16
  ```qsharp
17
17
  function BoolAsResult(input : Bool) : Result
18
18
  ```
19
19
 
20
- ## Summary
21
20
  Converts a `Bool` type to a `Result` type, where `true` is mapped to
22
21
  `One` and `false` is mapped to `Zero`.
23
22
 
@@ -1,23 +1,22 @@
1
1
  ---
2
- uid: Qdk.Microsoft.Quantum.Convert.ComplexAsComplexPolar
2
+ uid: Qdk.Std.Convert.ComplexAsComplexPolar
3
3
  title: ComplexAsComplexPolar function
4
- ms.date: 09/10/2024 12:00:00 AM
4
+ ms.date: 09/25/2024 12:00:00 AM
5
5
  ms.topic: managed-reference
6
6
  qsharp.kind: function
7
- qsharp.namespace: Microsoft.Quantum.Convert
7
+ qsharp.namespace: Std.Convert
8
8
  qsharp.name: ComplexAsComplexPolar
9
- qsharp.summary: "Converts a complex number of type `Complex` to a complex number of type `ComplexPolar`."
9
+ qsharp.summary: "Converts a complex number of type `Complex` to a complex number of type `ComplexPolar`. # Input ## input Complex number c = x + y𝑖. # Output Complex number c = r⋅e^(t𝑖)."
10
10
  ---
11
11
 
12
12
  # ComplexAsComplexPolar function
13
13
 
14
- Fully qualified name: Microsoft.Quantum.Convert.ComplexAsComplexPolar
14
+ Fully qualified name: Std.Convert.ComplexAsComplexPolar
15
15
 
16
16
  ```qsharp
17
17
  function ComplexAsComplexPolar(input : Complex) : ComplexPolar
18
18
  ```
19
19
 
20
- ## Summary
21
20
  Converts a complex number of type `Complex` to a complex
22
21
  number of type `ComplexPolar`.
23
22
 
@@ -1,23 +1,22 @@
1
1
  ---
2
- uid: Qdk.Microsoft.Quantum.Convert.ComplexPolarAsComplex
2
+ uid: Qdk.Std.Convert.ComplexPolarAsComplex
3
3
  title: ComplexPolarAsComplex function
4
- ms.date: 09/10/2024 12:00:00 AM
4
+ ms.date: 09/25/2024 12:00:00 AM
5
5
  ms.topic: managed-reference
6
6
  qsharp.kind: function
7
- qsharp.namespace: Microsoft.Quantum.Convert
7
+ qsharp.namespace: Std.Convert
8
8
  qsharp.name: ComplexPolarAsComplex
9
- qsharp.summary: "Converts a complex number of type `ComplexPolar` to a complex number of type `Complex`."
9
+ qsharp.summary: "Converts a complex number of type `ComplexPolar` to a complex number of type `Complex`. # Input ## input Complex number c = r⋅e^(t𝑖). # Output Complex number c = x + y𝑖."
10
10
  ---
11
11
 
12
12
  # ComplexPolarAsComplex function
13
13
 
14
- Fully qualified name: Microsoft.Quantum.Convert.ComplexPolarAsComplex
14
+ Fully qualified name: Std.Convert.ComplexPolarAsComplex
15
15
 
16
16
  ```qsharp
17
17
  function ComplexPolarAsComplex(input : ComplexPolar) : Complex
18
18
  ```
19
19
 
20
- ## Summary
21
20
  Converts a complex number of type `ComplexPolar` to a complex
22
21
  number of type `Complex`.
23
22
 
@@ -1,23 +1,22 @@
1
1
  ---
2
- uid: Qdk.Microsoft.Quantum.Convert.DoubleAsStringWithPrecision
2
+ uid: Qdk.Std.Convert.DoubleAsStringWithPrecision
3
3
  title: DoubleAsStringWithPrecision function
4
- ms.date: 09/10/2024 12:00:00 AM
4
+ ms.date: 09/25/2024 12:00:00 AM
5
5
  ms.topic: managed-reference
6
6
  qsharp.kind: function
7
- qsharp.namespace: Microsoft.Quantum.Convert
7
+ qsharp.namespace: Std.Convert
8
8
  qsharp.name: DoubleAsStringWithPrecision
9
- qsharp.summary: "Converts a given double-precision floating-point number to a string representation with desired precision, rounding if required."
9
+ qsharp.summary: "Converts a given double-precision floating-point number to a string representation with desired precision, rounding if required. # Input ## input Double to be converted. ## precision Non-negative number of digits after the decimal point. # Example ```qsharp Message($"{DoubleAsStringWithPrecision(0.354, 2)}"); // Prints 0.35 Message($"{DoubleAsStringWithPrecision(0.485, 1)}"); // Prints 0.5 Message($"{DoubleAsStringWithPrecision(5.6, 4)}"); // Prints 5.6000 Message($"{DoubleAsStringWithPrecision(2.268, 0)}"); // Prints 2 ```"
10
10
  ---
11
11
 
12
12
  # DoubleAsStringWithPrecision function
13
13
 
14
- Fully qualified name: Microsoft.Quantum.Convert.DoubleAsStringWithPrecision
14
+ Fully qualified name: Std.Convert.DoubleAsStringWithPrecision
15
15
 
16
16
  ```qsharp
17
17
  function DoubleAsStringWithPrecision(input : Double, precision : Int) : String
18
18
  ```
19
19
 
20
- ## Summary
21
20
  Converts a given double-precision floating-point number to a string representation with desired precision, rounding if required.
22
21
 
23
22
  ## Input
@@ -1,21 +1,20 @@
1
1
  ---
2
- uid: Qdk.Microsoft.Quantum.Convert.IntAsBigInt
2
+ uid: Qdk.Std.Convert.IntAsBigInt
3
3
  title: IntAsBigInt function
4
- ms.date: 09/10/2024 12:00:00 AM
4
+ ms.date: 09/25/2024 12:00:00 AM
5
5
  ms.topic: managed-reference
6
6
  qsharp.kind: function
7
- qsharp.namespace: Microsoft.Quantum.Convert
7
+ qsharp.namespace: Std.Convert
8
8
  qsharp.name: IntAsBigInt
9
9
  qsharp.summary: "Converts a given integer `number` to an equivalent big integer."
10
10
  ---
11
11
 
12
12
  # IntAsBigInt function
13
13
 
14
- Fully qualified name: Microsoft.Quantum.Convert.IntAsBigInt
14
+ Fully qualified name: Std.Convert.IntAsBigInt
15
15
 
16
16
  ```qsharp
17
17
  function IntAsBigInt(number : Int) : BigInt
18
18
  ```
19
19
 
20
- ## Summary
21
20
  Converts a given integer `number` to an equivalent big integer.
@@ -1,23 +1,22 @@
1
1
  ---
2
- uid: Qdk.Microsoft.Quantum.Convert.IntAsBoolArray
2
+ uid: Qdk.Std.Convert.IntAsBoolArray
3
3
  title: IntAsBoolArray function
4
- ms.date: 09/10/2024 12:00:00 AM
4
+ ms.date: 09/25/2024 12:00:00 AM
5
5
  ms.topic: managed-reference
6
6
  qsharp.kind: function
7
- qsharp.namespace: Microsoft.Quantum.Convert
7
+ qsharp.namespace: Std.Convert
8
8
  qsharp.name: IntAsBoolArray
9
- qsharp.summary: "Produces a binary representation of a non-negative integer, using the little-endian representation for the returned array."
9
+ qsharp.summary: "Produces a binary representation of a non-negative integer, using the little-endian representation for the returned array. # Input ## number A non-negative integer to be converted to an array of Boolean values. ## bits The number of bits in the binary representation of `number`. # Output An array of Boolean values representing `number`. # Remarks The input `bits` must be non-negative. The input `number` must be between 0 and 2^bits - 1."
10
10
  ---
11
11
 
12
12
  # IntAsBoolArray function
13
13
 
14
- Fully qualified name: Microsoft.Quantum.Convert.IntAsBoolArray
14
+ Fully qualified name: Std.Convert.IntAsBoolArray
15
15
 
16
16
  ```qsharp
17
17
  function IntAsBoolArray(number : Int, bits : Int) : Bool[]
18
18
  ```
19
19
 
20
- ## Summary
21
20
  Produces a binary representation of a non-negative integer, using the
22
21
  little-endian representation for the returned array.
23
22
 
@@ -1,17 +1,17 @@
1
1
  ---
2
- uid: Qdk.Microsoft.Quantum.Convert.IntAsDouble
2
+ uid: Qdk.Std.Convert.IntAsDouble
3
3
  title: IntAsDouble function
4
- ms.date: 09/10/2024 12:00:00 AM
4
+ ms.date: 09/25/2024 12:00:00 AM
5
5
  ms.topic: managed-reference
6
6
  qsharp.kind: function
7
- qsharp.namespace: Microsoft.Quantum.Convert
7
+ qsharp.namespace: Std.Convert
8
8
  qsharp.name: IntAsDouble
9
9
  qsharp.summary: "Converts a given integer `number` to an equivalent double-precision floating-point number."
10
10
  ---
11
11
 
12
12
  # IntAsDouble function
13
13
 
14
- Fully qualified name: Microsoft.Quantum.Convert.IntAsDouble
14
+ Fully qualified name: Std.Convert.IntAsDouble
15
15
 
16
16
  ```qsharp
17
17
  function IntAsDouble(number : Int) : Double
@@ -1,23 +1,22 @@
1
1
  ---
2
- uid: Qdk.Microsoft.Quantum.Convert.ResultArrayAsBoolArray
2
+ uid: Qdk.Std.Convert.ResultArrayAsBoolArray
3
3
  title: ResultArrayAsBoolArray function
4
- ms.date: 09/10/2024 12:00:00 AM
4
+ ms.date: 09/25/2024 12:00:00 AM
5
5
  ms.topic: managed-reference
6
6
  qsharp.kind: function
7
- qsharp.namespace: Microsoft.Quantum.Convert
7
+ qsharp.namespace: Std.Convert
8
8
  qsharp.name: ResultArrayAsBoolArray
9
- qsharp.summary: "Converts a `Result[]` type to a `Bool[]` type, where `One` is mapped to `true` and `Zero` is mapped to `false`."
9
+ qsharp.summary: "Converts a `Result[]` type to a `Bool[]` type, where `One` is mapped to `true` and `Zero` is mapped to `false`. # Input ## input `Result[]` to be converted. # Output A `Bool[]` representing the `input`."
10
10
  ---
11
11
 
12
12
  # ResultArrayAsBoolArray function
13
13
 
14
- Fully qualified name: Microsoft.Quantum.Convert.ResultArrayAsBoolArray
14
+ Fully qualified name: Std.Convert.ResultArrayAsBoolArray
15
15
 
16
16
  ```qsharp
17
17
  function ResultArrayAsBoolArray(input : Result[]) : Bool[]
18
18
  ```
19
19
 
20
- ## Summary
21
20
  Converts a `Result[]` type to a `Bool[]` type, where `One`
22
21
  is mapped to `true` and `Zero` is mapped to `false`.
23
22
 
@@ -1,23 +1,22 @@
1
1
  ---
2
- uid: Qdk.Microsoft.Quantum.Convert.ResultArrayAsInt
2
+ uid: Qdk.Std.Convert.ResultArrayAsInt
3
3
  title: ResultArrayAsInt function
4
- ms.date: 09/10/2024 12:00:00 AM
4
+ ms.date: 09/25/2024 12:00:00 AM
5
5
  ms.topic: managed-reference
6
6
  qsharp.kind: function
7
- qsharp.namespace: Microsoft.Quantum.Convert
7
+ qsharp.namespace: Std.Convert
8
8
  qsharp.name: ResultArrayAsInt
9
- qsharp.summary: "Produces a non-negative integer from a string of Results in little-endian format."
9
+ qsharp.summary: "Produces a non-negative integer from a string of Results in little-endian format. # Input ## results Results in binary representation of number. # Output A non-negative integer # Example ```qsharp // The following returns 1 let int1 = ResultArrayAsInt([One,Zero]) ```"
10
10
  ---
11
11
 
12
12
  # ResultArrayAsInt function
13
13
 
14
- Fully qualified name: Microsoft.Quantum.Convert.ResultArrayAsInt
14
+ Fully qualified name: Std.Convert.ResultArrayAsInt
15
15
 
16
16
  ```qsharp
17
17
  function ResultArrayAsInt(results : Result[]) : Int
18
18
  ```
19
19
 
20
- ## Summary
21
20
  Produces a non-negative integer from a string of Results in little-endian format.
22
21
 
23
22
  ## Input
@@ -1,23 +1,22 @@
1
1
  ---
2
- uid: Qdk.Microsoft.Quantum.Convert.ResultAsBool
2
+ uid: Qdk.Std.Convert.ResultAsBool
3
3
  title: ResultAsBool function
4
- ms.date: 09/10/2024 12:00:00 AM
4
+ ms.date: 09/25/2024 12:00:00 AM
5
5
  ms.topic: managed-reference
6
6
  qsharp.kind: function
7
- qsharp.namespace: Microsoft.Quantum.Convert
7
+ qsharp.namespace: Std.Convert
8
8
  qsharp.name: ResultAsBool
9
- qsharp.summary: "Converts a `Result` type to a `Bool` type, where `One` is mapped to `true` and `Zero` is mapped to `false`."
9
+ qsharp.summary: "Converts a `Result` type to a `Bool` type, where `One` is mapped to `true` and `Zero` is mapped to `false`. # Input ## input `Result` to be converted. # Output A `Bool` representing the `input`."
10
10
  ---
11
11
 
12
12
  # ResultAsBool function
13
13
 
14
- Fully qualified name: Microsoft.Quantum.Convert.ResultAsBool
14
+ Fully qualified name: Std.Convert.ResultAsBool
15
15
 
16
16
  ```qsharp
17
17
  function ResultAsBool(input : Result) : Bool
18
18
  ```
19
19
 
20
- ## Summary
21
20
  Converts a `Result` type to a `Bool` type, where `One` is mapped to
22
21
  `true` and `Zero` is mapped to `false`.
23
22