A quantum computer computes with amplitudes and reads out probabilities. The Born rule is the bridge: it says how a state vector turns into the bitstrings you get from a device, and what the state looks like afterwards. Almost every practical question in a quantum workflow (how many shots, which basis, how noisy is this estimate) goes back to this page.

Measuring forces a yes-or-no answer: the particle lands in one of two spots, never in between. Image: Tatoute, CC BY-SA 4.0, via Wikimedia Commons.
Mental Model
- The probability of an outcome is the squared magnitude of its amplitude. Phases do not appear in a single measurement, only in what interferes before it.
- Measurement is destructive: the state jumps to the part consistent with the outcome, renormalized.
- Measuring “in another basis” means applying a gate that rotates that basis to the computational one, then measuring as usual.
- You never see an amplitude or an expectation value directly. You estimate them from repeated shots, with error that shrinks as .
- Measuring one qubit of an entangled register changes your description of the others, but not their statistics (see Entanglement and Bell States).
1. The Born Rule
For a state and an orthonormal basis , the outcome occurs with probability
For this gives and . In Bloch terms, (see Qubits and the Bloch Sphere).
The more general form uses projectors. A projective measurement is a set of orthogonal projectors with . Outcome has probability , and the state afterwards is
Measure again immediately in the same basis and you get the same outcome with probability 1. That repeatability is what separates a projective measurement from just sampling a probability distribution.
2. Measuring in Other Bases
Hardware measures in the basis only. To measure in the eigenbasis of another Pauli, rotate first.
| Measure | Apply before the readout | Why |
|---|---|---|
| maps to | ||
| , then | maps to , then finishes | |
| nothing | native |
For a general direction on the sphere, apply the rotation that takes to . The same trick covers the optimal CHSH angles (see Entanglement and Bell States), and the gates are catalogued on Quantum Gates.
Common mistake
Measurements in different bases do not commute. Measuring and then on the same qubit gives a random result no matter what the original state was, because the outcome left the qubit on the north or south pole. If you want both and of a state, you need two separate circuits, each prepared from scratch.
3. Expectation Values of Pauli Observables
An observable with eigenvalues and projectors has expectation value
For a Pauli, the eigenvalues are , so . For the state , which has and , the three expectations are
and computing them with Qiskit’s Statevector.expectation_value returns the same numbers. A multi-qubit Pauli string like is measured the same way: take the parity of the two bits, for 00 and 11, for 01 and 10. Hamiltonians in variational algorithms are sums of such strings, which is why Variational Algorithms spend most of their shots on many different bases.
4. Shots and the Standard Error
Each shot of a observable is a random variable with mean and variance . After shots the sample mean has standard error
For a probability estimated as a fraction of counts, the standard error is , at most when .
Worked example
Take from the state above. The single-shot variance is , so:
Shots Standard error of 100 0.087 1,000 0.027 10,000 0.0087 Sampling this circuit with a fixed seed gave estimates of 0.52, 0.494 and 0.4926 for those three sizes, each within one standard error of 0.5. To pin down to you need shots. Halving the error always costs four times the shots.
For a 50/50 outcome with 4096 shots, the standard error on is , so an observed 0.51 or 0.49 is ordinary noise and not evidence of a biased device.
The scaling is a statistical floor that applies even on perfect hardware. Real devices add readout error and gate noise on top (see Density Matrices and Noise Channels), and error mitigation methods usually pay for their bias reduction with more shots.
import numpy as np
from qiskit import QuantumCircuit
from qiskit.primitives import StatevectorSampler
q = QuantumCircuit(1)
q.ry(np.pi / 3, 0)
q.h(0) # measure X: rotate X basis to Z
q.measure_all()
counts = StatevectorSampler(seed=11).run([q], shots=4096).result()[0].data.meas.get_counts()
print(counts, 2 * counts["0"] / 4096 - 1) # estimate of <X>, true 0.866Running it returned {'0': 3838, '1': 258} and an estimate of 0.874, against a standard error of 0.0078 for .
5. Partial Measurement
Measuring one qubit of a register keeps the rest. Write the state as with unnormalized on the other qubits. Outcome on has probability and leaves the rest in .
Worked example
Let , qubit written first. Group by : .
Outcome 0 has probability and leaves in . Outcome 1 has probability and leaves in . So the statistics of depend on what read, which is the signature of correlation. The coefficient matrix has determinant , so this state is entangled (see the Schmidt test on the entanglement page).
Averaging over the unknown outcome gives the reduced state of described in Density Matrices and Noise Channels. If nobody tells ‘s owner the result of , they see , and nothing they do locally reveals whether was measured at all.
Mid-circuit measurement, with classical bits feeding later gates, is what makes teleportation work as a dynamic circuit. In the opposite direction, the principle of deferred measurement says any mid-circuit measurement used only as a classical control can be replaced by a controlled gate and a final measurement.
Related
- Qubits and the Bloch Sphere for what the amplitudes are before they are read.
- Quantum Gates for the basis-change gates used above.
- Entanglement and Bell States for correlations that survive measurement in any basis.
- Density Matrices and Noise Channels for averaging over unknown outcomes.
- Variational Algorithms for expectation values of Hamiltonians estimated by shots.
- QGSS: Qiskit Patterns and Primitives for the Sampler and Estimator primitives that wrap these ideas.