Toolbox

Rx Ry Y Rz Z S T H SX |0⟩ Run
| ψ 0 | ψ 1 | ψ 2 | ψ 3 | ψ 4 | ψ 5 | ψ 6 | ψ 7 | ψ 8 | ψ 9 | ψ 10 | ψ 11 | ψ 12 | ψ 13 | ψ 14 | ψ 15 | ψ 16 | ψ 17 | ψ 18 | ψ 19 | ψ 20 | ψ 21 | ψ 22 | ψ 23 | ψ 24 | ψ 25 | ψ 26 | ψ 27 | ψ 28 | ψ 29 | ψ 30 | ψ 31 H c 0 if : c 0 = |1〉 ResultComparisonToLiteral H c 1 if : c 1 = |0〉 ResultComparisonToLiteralZero H c 2 if : c 2 = |1〉 ElseBlockOnly H H c 3 c 4 if : c 3 c 4 = |00〉 or c 3 c 4 = |11〉 ResultComparisonToResult H H ResultComparisonEmptyBlock H c 7 if : c 7 = |1〉 c 7 if : c 7 = |0〉 Y IfElse H H c 9 if : c 9 = |1〉 c 9 if : c 9 = |0〉 Z c 10 if : c 10 = |1〉 c 10 if : c 10 = |0〉 Y SequentialIfs H H c 12 if : c 12 = |1〉 c 12 c 13 if : c 13 = |1〉 c 12 c 13 if : c 13 = |0〉 Y c 12 if : c 12 = |0〉 Z NestedIfs H c 15 using : c 15 Rx f ( c 15 ) MultiplePossibleFloatValuesInUnitaryArg H c 17 using : c 17 foo f ( c 17 ) CustomIntrinsicVariableArg H c 18 using : c 18 Rx f ( c 18 ) BranchOnDynamicDouble H c 20 if : f ( c 20 ) BranchOnDynamicBool Y Bar Foo H c 22 if : c 22 = |1〉 Y Bar Foo NestedCallablesInBranch |0⟩ |0⟩ c 23 if : c 23 = |1〉 (1) c 24 if : c 24 = |1〉 (2) loop : 0..1 H Baz (1) H Baz (2) loop : 0..1 ConditionalInLoop |0⟩ |0⟩ c 25 if : c 25 = |0〉 c 25 c 26 if : c 26 = |1〉 c 25 c 26 if : c 26 = |0〉 Z Quux NestedConditionalsInCallable H H H c 27 if : c 27 = |1〉 H MeasurementInConditional H c 0 c 1 if : c 0 = |1〉 or if : c 1 = |1〉 TwoMeasurementsOnSameQubit |0⟩ |0⟩ |0⟩ |0⟩ |0⟩ |0⟩ |0⟩ |0⟩ |0⟩ |0⟩ |0⟩ |0⟩ |0⟩ |0⟩ |0⟩ |0⟩ |0⟩ |0⟩ |0⟩ |0⟩ |0⟩ |0⟩ |0⟩ |0⟩ |0⟩ |0⟩ |0⟩ |0⟩ |0⟩ |0⟩ |0⟩ |0⟩ Main