Quantum Circuit Explorer

Step through a circuit one column at a time and see how each gate changes the quantum state.

Qubits

Drag gates onto a wire. Dropping on an occupied spot inserts a new column. Drag a gate off the circuit to delete it.

Click a column or use the ← → keys to move between steps. Click a wire’s |0⟩ label to set its starting state. For a CNOT or CZ, drag either end to change which qubit it acts on.

State vector

Qiskit equivalent

Highlighted lines have been applied so far.