01 / Foundations · LESSON 2 / 27 · 10 MIN
The sign you cannot see.
Tell phase apart from probability and watch interference at work.
|0⟩ ─ H ─ Z ─ H ─ |1⟩
Identical bars, different states
|+⟩ = (|0⟩ + |1⟩)/√2 and |−⟩ = (|0⟩ − |1⟩)/√2 each give 50/50 when measured in the computational basis; only the relative sign differs. Z turns |+⟩ into |−⟩ while leaving those immediate probabilities untouched.
Interference exposes the phase
H maps |+⟩ to |0⟩ and |−⟩ to |1⟩. In an H-H sequence the routes into 1 cancel, while in H-Z-H the routes into 0 cancel. A gate first adds amplitudes together; squaring to get probabilities comes only later.
Global phase versus relative phase
Multiplying all amplitudes by one common phase has no observable effect. Altering the phase of just one amplitude, however, can change what subsequent gates reveal.
LIVE EXPERIMENT / 1 OF 4
Start in zero
Every qubit begins in |0⟩.
TEST YOURSELF
Lesson quiz
Get all 2 questions right to pass. Retry as often as you like.
0/2 answered
Sign in with email or a wallet to check your answers and keep your lesson progress in sync.