Measurement
Why looking forces an answer, and how to predict the odds.
Lesson 4 of 7 about 11 min
Asking a qubit a question
Everything a quantum computer does is hidden inside its qubits, until the very end. Then you measure: you ask each qubit a single question, “0 or 1?”, and it always answers with one of the two.
Try it. Prepare a qubit, measure it, and watch what happens to its arrow. Then prepare a fresh one and do it again.
The rule for the odds
The rule that turns a state into odds is named after the physicist Max Born, who wrote it down in 1926. You already know it from the warm-up:
Your turn
Ask again, same answer
What if you measure the same qubit twice? The first answer is random. But after that, the qubit is its answer: the arrow has snapped to a pole. So asking again gives the same answer, every time.
Your turn
Looking changes things
Here's where it gets strange. Two H gates in a row cancel out, so |0⟩ goes in and a certain 0 comes out. Now let our lab monkey peek at the qubit, just once, between the two gates.
Run it to see the results.
The peek snapped the qubit to |0⟩ or |1⟩. That wiped out its phase, the part the second H needed to cancel everything back to 0. So the second H turned it into a coin flip instead.
One shot tells you almost nothing
A single measurement gives one bit, a 0 or a 1, and destroys the superposition. So how can anyone learn a qubit's odds? The same way you found the mystery coin's chance in the warm-up: prepare it again and again, measure every time, and count.
–
share of 0s so far (0 shots)
Your turn
Real quantum computers work exactly like this. A program is run for thousands of shots, and the answer is read from the counts.
No copies allowed
You might think: why not just copy the qubit a thousand times, and measure all the copies? Because nature forbids it. In 1982, physicists proved the no-cloning theorem: nobody can build a machine that copies an unknown qubit.
Your turn
What you now know
- Measuring asks “0 or 1?”. The answer is random, with odds |α|² and |β|² (Born's rule).
- The state snaps to the answer, so measuring again gives the same result.
- Measuring wipes out the phase. A peek in the middle of a program can ruin its interference.
- To learn the odds you repeat: prepare, measure, count. Each run is a shot.
- An unknown qubit can never be copied: the no-cloning theorem.
Next: reading kets, the notation every quantum textbook and paper uses, decoded one symbol at a time.