Tutorial 3 of 12 · Simulated in your browser
Measurement
Measuring gives one outcome at random and leaves the state in it.
- Shots
- Bloch sphere
Measure one qubit, then measure it again
Chance of 0: 75.0%, of 1: 25.0%
Nothing measured yet: the arrow is the starting state.
Measure along Z twice and the second answer repeats the first. Switch to X and the answer is a coin flip again, and so is Z afterwards: the first result is gone. Shots are seeded, so the same presses give the same answers.
Estimate the odds from many copies
The same starting state, prepared fresh for every shot and read along Z. One shot is one bit. The amplitudes are only ever estimated from the counts.
- Estimate of chance of 1
- 26.6%
- True chance sin²(θ/2)
- 25.0%
- Typical error √(p(1−p)/N)
- 5.4%
- Estimate of |β| = √(chance of 1)
- 0.515 (true 0.500)
Up is the share of shots that gave 1; across is the number of shots, on a log scale. The green line is the running estimate and the dashed line is the true chance. The magenta marker is where the slider sits, and its readings are below. The grey band is two typical errors either side of the true chance. It narrows like one over the square root of the shots, so ten times the precision costs a hundred times the shots. Z counts give the size of each amplitude, never the phase between them.
Measure a qubit in the standard basis and you get a single bit, 0 or 1. The odds are fixed by the state: the outcome 0 has probability |α|² and the outcome 1 has probability |β|², where α and β are the two amplitudes. This is the Born rule. One measurement never shows you α or β themselves; it shows one classical result, drawn at random.
Then the state changes. In the textbook rule, when an outcome occurs the state becomes the normalised part of the old state that agrees with it. For a qubit measured along Z that is |0⟩ or |1⟩, and on the sphere the arrow jumps to a pole. Press Measure in the panel “Measure one qubit, then measure it again” and watch it: the arrow lands on the axis you measured along, the chips record the axis and outcome of each press, and the line above them says how likely that outcome was. For a measurement of one part of a larger system, IBM’s course describes the same step as collapsing as far as the outcome requires and then normalising.
A second measurement along the same axis therefore has nothing left to decide: the state is already one of its two answers, so it repeats the first result every time. Preskill’s notes make the general point that orthogonal measurements are the repeatable kind, and that the more general measurements need not be. Measure along a different axis and the state is no longer an answer to that question. From |0⟩ an X measurement is a fair coin, because |0⟩ has equal weight on |+⟩ and |−⟩, and the qubit then sits on the X axis. Measure along Z once more and it is a fair coin again: the first Z result was erased by the X measurement in between.
IBM’s single-systems lesson shows why the basis matters. The states |+⟩ and |−⟩ give identical odds in the Z basis, so a Z measurement says nothing about which was prepared; applying a Hadamard first turns the difference into a certain 0 or 1. On the page the basis buttons do that rotation for you, and the chance of the first outcome along each axis is (1 + the arrow’s coordinate on that axis) / 2, which the page recomputes from the state.
Because a measurement uses the state up, you cannot find the odds by measuring one qubit over and over. You prepare it afresh each time, which the panel “Estimate the odds from many copies” does for a state you chose, and count. After N shots the share of 1s is an estimate of the chance of 1, with a typical error of √(p(1 − p)/N). That error shrinks like one over the square root of N: four times the shots halves it, a hundred times the shots cuts it by ten. Move the marker along the green line with the shots slider and the line settles into the grey band around the true value. Taking the square root of the estimated chances gives the size of each amplitude, but a Z count carries no sign or phase; the Bloch sphere page shows what the other bases add.
The Bloch sphere, where the basis changes what a histogram can see →
A caution about the word “collapse”. Everything above is the textbook rule: odds from the Born rule, then the updated state. Whether that update is a physical change, a change in what is known, or something that never happens at all in a larger description is not something the rule settles, and the interpretations of quantum mechanics answer it differently. Stanford’s encyclopedia sorts them: some read collapse as an update of knowledge, some as a real physical process, some replace it with a modified dynamics, and Everettian views drop the postulate. This page uses the rule and takes no side.
The shots on the page come from a seeded random generator, so the same presses give the same results. With more than one qubit, measuring one of them collapses only part of the state; that is for a later page.
Qubit order: bit strings are written with qubit 0 on the left, as in Nielsen and Chuang’s book. (Qiskit puts it on the right.)
Sources
IBM, Basics of Quantum Information Basics of Quantum Information (IBM Quantum Learning). IBM. Live course: single systems, multiple systems, circuits, entanglement in action.
- The single-systems lesson: outcomes occur with the absolute value squared of the entry (the Born rule)
- The multiple-systems lesson: partial measurement, collapse and normalisation
- The single-systems lesson: plus and minus look alike in a standard basis measurement, until a Hadamard is applied
Preskill, Ch. 3 Foundations II: Measurement and Evolution. John Preskill, Caltech lecture notes; the file at this address reads “Updated October 2018” (read 2026-11-01).
- Section 3.1.1: the measurement postulate gives the probability of an outcome
- Section 3.1.1: the normalised post-measurement state, equation (3.16)
- Section 3.1.2: successive measurements agree for every state only if the measurement is orthogonal
Stanford Encyclopedia, philosophical issues Philosophical Issues in Quantum Theory. Wayne Myrvold, Stanford Encyclopedia of Philosophy; first published 25 July 2016, last substantive revision 23 March 2022.
- The measurement problem and the readings of collapse (epistemic, physical, dynamical, Everettian)
Everything here is paraphrased from the sources, not quoted, and every figure that is not plain arithmetic is attributed. The simulator is this site’s own and is tested against the formulas on the page. Where a source is silent the page says so.
