π‘ Paste your CASM or quantum code below, or upload a file.
| X β | Pauli-X (bit flip) |
| H β | Hadamard (superposition) |
| CX β | CNOT (control Q0 β target Q1) |
| MEASURE β | Collapse to classical bit |
| Classical | Quantum |
| MOV R1, 5 | X Q0 |
| MOV R2, 10 | H Q1 |
| ADD R3, R1, R2 | CX Q0 Q1 |
| LABEL 10 | MEASURE Q1 β C0 |