|q⟩ Bad Qubits

beginner · Physics · Math Foundations: Calculus, Probability & Statistics

Distributions of Measurement Outcomes

Every time you measure a qubit you get a definite result — either 00 or 11 — but which one you get is fundamentally random. Quantum mechanics does not hide a secret predetermined answer; the randomness is intrinsic. What the theory provides instead is a complete probability distribution over the possible outcomes, derived from the state of the system.

The qubit as a two-outcome distribution

A qubit in a pure state is written

ψ=α0+β1,|\psi\rangle = \alpha|0\rangle + \beta|1\rangle,

where α\alpha and β\beta are complex numbers called amplitudes. When you measure in the computational basis {0,1}\{|0\rangle, |1\rangle\}, there are exactly two possible outcomes. The Born rule assigns probabilities to them:

P(0)=α2,P(1)=β2.P(0) = |\alpha|^2, \qquad P(1) = |\beta|^2.

Because one outcome must occur, these probabilities must sum to one:

α2+β2=1.|\alpha|^2 + |\beta|^2 = 1.

This is the normalisation condition — it is not an extra assumption but a requirement baked into how quantum states are defined. A properly normalised state automatically gives a valid probability distribution.

Writing it as a distribution table

The measurement outcome is a random variable MM that takes the values 00 and 11. We can write its distribution as a table:

| Outcome mm | Probability P(M=m)P(M = m) | |:-----------:|:---------------------:| | 00 | α2|\alpha|^2 | | 11 | β2|\beta|^2 |

This two-row table is the complete probability distribution of a single qubit measurement. Every statistical quantity — expectation value, variance, entropy — can be computed from it using the same rules that apply to any discrete distribution.

For example, the expectation value of the measurement outcome (treating 00 and 11 as numbers) is

M=0α2+1β2=β2.\langle M \rangle = 0 \cdot |\alpha|^2 + 1 \cdot |\beta|^2 = |\beta|^2.

The mean is just the probability of the outcome 11, a fact worth remembering.

A worked example

Suppose α=12\alpha = \tfrac{1}{\sqrt{2}} and β=i2\beta = \tfrac{i}{\sqrt{2}}. Check normalisation:

α2+β2=122+i22=12+12=1.|\alpha|^2 + |\beta|^2 = \left|\tfrac{1}{\sqrt{2}}\right|^2 + \left|\tfrac{i}{\sqrt{2}}\right|^2 = \tfrac{1}{2} + \tfrac{1}{2} = 1. \checkmark

The distribution is P(0)=12P(0) = \tfrac{1}{2}, P(1)=12P(1) = \tfrac{1}{2} — a perfect 50/50 split, the same as a fair coin toss. The complex phase in β\beta does not affect probabilities, only interference in later operations.

Now consider α=32\alpha = \tfrac{\sqrt{3}}{2}, β=12\beta = \tfrac{1}{2} (both real, and 34+14=1\tfrac{3}{4} + \tfrac{1}{4} = 1, so normalised). Here P(0)=34P(0) = \tfrac{3}{4} and P(1)=14P(1) = \tfrac{1}{4}. Outcome 00 is three times more likely than outcome 11.

From one qubit to many

When several qubits are measured, the joint outcomes form a distribution over all 2n2^n bit strings {000,001,,111}\{00\ldots0,\, 00\ldots1,\, \ldots,\, 11\ldots1\}. The total probability still sums to one across all 2n2^n outcomes — the same Born-rule logic applies to the multi-qubit amplitudes. This distribution over bit strings is what a quantum algorithm ultimately computes: the algorithm shapes the amplitudes so that the correct answer has high probability, and a final measurement samples from that distribution.

Try it

This is a numerical exercise — return a number. A qubit is in the state ψ=320+121|\psi\rangle = \tfrac{\sqrt{3}}{2}|0\rangle + \tfrac{1}{2}|1\rangle. What is the probability of measuring the outcome 00?

Deriving it: P(0)=α2=(32)2=34=0.75P(0) = |\alpha|^2 = \left(\tfrac{\sqrt{3}}{2}\right)^2 = \tfrac{3}{4} = 0.75.

Run your code to see the quantum state.

Sign in on the full site to ask questions and join the discussion.