Quantum Circuit Explorer
Step through a circuit one column at a time and see how each gate changes the quantum state.
Drag gates onto a wire. Dropping on an occupied spot inserts a new column. Drag a gate off the circuit to delete it.
Starting state of
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
Measurement has split the simulation into branches. Amplitudes only make sense within one branch, so pick a branch above to see them.
Qiskit equivalent
Highlighted lines have been applied so far.