The Law of Large Numbers
Frequencies and probabilities
Consider repeating an experiment times under identical conditions — say, flipping a coin or measuring the spin of a quantum particle prepared in the same state. Let be the number of trials in which event occurs. The sample frequency (also called the relative frequency) is the ratio
For a single trial is either or . As grows, the sample frequency fluctuates less wildly and settles toward a stable value. The Law of Large Numbers (LLN) makes this precise.
Statement of the law
Let be independent, identically distributed random variables each with expectation value . Define the sample mean after trials as
The weak law of large numbers states that for any tolerance ,
In plain language: the sample mean converges in probability to the true mean as the number of trials grows without bound. The strong law strengthens this to almost-sure convergence, but for physics the weak form already captures everything we need.
Applied to an indicator variable (1 if occurs, 0 otherwise) the mean equals , so the LLN says . This is the bridge between the abstract definition of probability and what we actually observe in a laboratory.
A concrete derivation via Chebyshev
To see why the LLN holds, recall Chebyshev's inequality: for any random variable with mean and finite variance ,
Apply this to . If the individual all have the same variance , the variance of the sample mean is
because independent trials contribute independently. Chebyshev then gives
The right-hand side goes to zero as for any fixed and finite . This is the core of the weak law.
Why this matters for quantum mechanics
In quantum mechanics, probability is not a frequency by definition — it enters through the Born rule: the probability of measuring outcome on a system in state is . The LLN is what connects that theoretical probability to what an experimentalist actually records in a table of shot outcomes.
Every quantum computing experiment reports measurement statistics — the fraction of shots landing in each basis state. Those fractions are sample frequencies. The LLN guarantees they converge to the true Born-rule probabilities as the shot count grows, which is why running more shots reduces statistical uncertainty in an experiment. Understanding this convergence is the foundation for reading any quantum measurement result.
Try it
This is a numerical exercise — your code should return a number, not a circuit. A fair coin is
flipped times and tosses land heads. Compute the sample frequency of heads.
Sign in on the full site to ask questions and join the discussion.