Real cases
A case · you decide
H and Measurement: twice back to zero
Measurement & H (Hadamard gate) — a 16-year-old working through the circuit console
Ari starts a qubit in |0⟩, applies H, then applies H again, then measures.
One H turns |0⟩ into amplitudes (1/√2, 1/√2): measuring now would give 0 or 1 half the time each.
A second H sends both amplitudes through again, so the two paths to each outcome meet.
What does Ari measure?
Amplitudes can cancel. Probabilities, the squares, cannot. That difference is quantum.
A case · you decide
Z and Measurement: the invisible sign
Z (phase gate) & Measurement — a 17-year-old testing the phase gate
Emi runs two circuits on |0⟩. Circuit A: H, then measure. Circuit B: H, then Z, then H, then measure.
After H, the amplitudes are (1/√2, 1/√2). Z flips the sign of the second one: (1/√2, −1/√2). Measuring right after Z would still give 50/50.
In circuit B, a final H follows the flip.
What does circuit B measure?
A phase is hidden until another gate makes it interfere.