A quantum circuit becomes less intimidating once you can point to a gate, name its qubit and explain what comes next.
Key takeaways
- Trace wires in order.
- Check control and target assignments.
- Read measurement order before interpreting bitstrings.
Chapter 01
Follow one wire at a time
Read a circuit from left to right. Each wire identifies a qubit; a gate changes its state or its relationship with another qubit. Start by tracing a single wire through the drawing. A large page of symbols is easier to understand as a sequence of small operations than as one mysterious algorithm.
Chapter 02
A controlled gate has two different jobs
In a CNOT, the control and target are not interchangeable labels. The target flips when the control is in the computational state 1. Swapping those roles changes the operation. When inserting a gate, check its qubit assignments rather than relying only on the position of its icon.
Explore the ideal model
What changes when you remove CNOT?
H(q0) → CX(q0, q1) → measure
Chapter 03
Make measurement explicit
Measurements turn the experiment into classical outputs you can count. Decide which qubits are measured and where the results are stored. A register ordering convention can make a displayed bitstring look reversed from your drawing, so check the convention before diagnosing an error.
Chapter 04
Use the second view as a cross-check
In QFlow, inspect the supported generated code after editing the circuit. Compare the gate order, controls, parameters and measurements. If the selected format cannot preserve an operation, keep the current representation and read the compatibility explanation. A smaller faithful circuit is more useful than a larger ambiguous export.



