💡 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 |
eCASM is a reduced instruction set framework for compiling symbolic programs into deterministic, executable representations (classical + quantum).