- Bit order
Top wire is q₀ and the first digit:
|q₀q₁q₂q₃⟩. Other tools differ — run
Ordering check from the preset list to see it.
- Amplitudes
Real numbers only, as in the book. Every gate here keeps
them real, so nothing needs complex arithmetic.
- Measurement
All wires, in the 0/1 basis, at the end of the circuit.
- Gate set
X, H, Z, CNOT, open-control CNOT, CZ, SWAP and Toffoli —
exactly the gates the workbook teaches, and no others.