Skip to main content
KetQat

Appearance

Topic · introductory

Probability Theory

The probability used across quantum science. Kolmogorov's axioms, total variation distance, and the tail bounds (Markov, Chebyshev, Hoeffding, Chernoff, Paley–Zygmund) that turn measurement shots, Monte Carlo simulations and random constructions into quantitative guarantees.

ExpositionMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

Overview

Quantum mechanics predicts probabilities, and every experiment or simulation estimates them from finitely many samples. Probability theory supplies two things that quantum science uses everywhere. The first is the language: outcomes, events, random variables, expectations and independence, axiomatised by Kolmogorov. The second is a small toolkit of tail bounds, inequalities that say how unlikely it is for an average of random samples to be far from its mean. These bounds decide how many shots a variational algorithm needs, how many Monte Carlo trials certify a logical error rate, why random codes and random circuits behave typically, and how fault-tolerance proofs control the probability of many simultaneous faults.

This page states the definitions and the bounds with proofs. Standard references are Durrett for measure-theoretic probability and Mitzenmacher and Upfal for the tail bounds as used in algorithms. Entropy and channels are in classical information theory.

Intuition

If you flip a fair coin 100 times you expect about 50 heads. Probability theory makes "about" precise in increasingly strong ways. Knowing only the mean, Markov's inequality says a nonnegative quantity is rarely much larger than its mean. Knowing also the variance, Chebyshev's inequality says deviations of many standard deviations are rare, and the standard deviation of an average shrinks like 1/n1/\sqrt{n}: that is the law of large numbers and the familiar shot-noise scaling. Knowing that the samples are independent and bounded gives far more: the probability of a large deviation falls exponentially in the number of samples (Hoeffding and Chernoff). That exponential is why a few thousand shots already pin down an expectation value to a percent with overwhelming confidence, and why random constructions in coding theory succeed with probability exponentially close to one.

The opposite question, whether a random quantity is not too small, is answered by the Paley–Zygmund inequality, which needs only the first two moments.

Mathematical Definitions

DefinitionProbability space, random variable and expectationEstablished definition

A probability space is a triple (Ω,F,Pr⁡)(\Omega, \mathcal{F}, \Pr) where Ω\Omega is a set (the outcomes), F\mathcal{F} is a σ\sigma-algebra of subsets of Ω\Omega (the events: it contains Ω\Omega and is closed under complements and countable unions), and Pr⁡:F→[0,1]\Pr : \mathcal{F} \to [0, 1] satisfies Pr⁡[Ω]=1\Pr[\Omega] = 1 and Pr⁡[⋃iAi]=∑iPr⁡[Ai]\Pr[\bigcup_i A_i] = \sum_i \Pr[A_i] for every sequence of pairwise disjoint events. When Ω\Omega is finite or countable one may take F\mathcal{F} to be all subsets and Pr⁡[A]=∑ω∈Ap(ω)\Pr[A] = \sum_{\omega \in A} p(\omega) for a probability vector pp.

A random variable is a function X:Ω→RX : \Omega \to \R that is measurable, meaning {X≤t}∈F\{X \le t\} \in \mathcal{F} for every t∈Rt \in \R; its distribution is the measure B↦Pr⁡[X∈B]B \mapsto \Pr[X \in B] on Borel sets. Its expectation is the integral E[X]=∫ΩX dPr⁡\mathbb{E}[X] = \int_\Omega X \, d\Pr, defined when E∣X∣<∞\mathbb{E}\abs{X} < \infty (for discrete XX, E[X]=∑xxPr⁡[X=x]\mathbb{E}[X] = \sum_x x \Pr[X = x]), and its variance is Var⁡[X]=E[(X−EX)2]\operatorname{Var}[X] = \mathbb{E}[(X - \mathbb{E}X)^2].

Events A1,…,AnA_1, \dots, A_n are independent if Pr⁡[⋂i∈SAi]=∏i∈SPr⁡[Ai]\Pr[\bigcap_{i \in S} A_i] = \prod_{i \in S} \Pr[A_i] for every S⊆{1,…,n}S \subseteq \{1, \dots, n\}; random variables X1,…,XnX_1, \dots, X_n are independent if the events {Xi∈Bi}\{X_i \in B_i\} are independent for all Borel sets BiB_i. For Pr⁡[B]>0\Pr[B] > 0 the conditional probability is Pr⁡[A∣B]=Pr⁡[A∩B]/Pr⁡[B]\Pr[A \mid B] = \Pr[A \cap B] / \Pr[B].

Two consequences of the axioms are used constantly: expectation is linear, E[aX+bY]=a EX+b EY\mathbb{E}[aX + bY] = a\,\mathbb{E}X + b\,\mathbb{E}Y, with no independence needed; and the union bound Pr⁡[⋃iAi]≤∑iPr⁡[Ai]\Pr[\bigcup_i A_i] \le \sum_i \Pr[A_i] holds for any countable family of events. For independent XX and YY with finite variances, Var⁡[X+Y]=Var⁡X+Var⁡Y\operatorname{Var}[X + Y] = \operatorname{Var}X + \operatorname{Var}Y.

The axioms are those of Kolmogorov; a modern treatment is chapter 1 of Durrett. In quantum mechanics the outcome probabilities of a measurement on a fixed state, given by the Born rule, form such a space; the difference from classical probability lies in incompatible measurements, which have no common outcome space.

DefinitionTotal variation distanceEstablished definition

For probability distributions pp and qq on a countable set X\mathcal{X}, the total variation distance is

dTV(p,q)=12∑x∈X∣p(x)−q(x)∣.d_{\mathrm{TV}}(p, q) = \frac{1}{2} \sum_{x \in \mathcal{X}} \abs{p(x) - q(x)} .

It is a metric with values in [0,1][0, 1], and it has three equivalent descriptions:

  1. Events. dTV(p,q)=max⁡A⊆X(p(A)−q(A))d_{\mathrm{TV}}(p, q) = \max_{A \subseteq \mathcal{X}} \big( p(A) - q(A) \big), attained at A∗={x:p(x)>q(x)}A^{*} = \{x : p(x) > q(x)\}. Indeed ∑x(p(x)−q(x))=0\sum_x (p(x) - q(x)) = 0, so the positive part p(A∗)−q(A∗)p(A^{*}) - q(A^{*}) equals the negative part and each is half the ℓ1\ell_1 sum, and any other AA collects less of the positive part or some of the negative part.
  2. Couplings. dTV(p,q)=min⁡Pr⁡[X≠Y]d_{\mathrm{TV}}(p, q) = \min \Pr[X \ne Y] over all pairs of random variables (X,Y)(X, Y) on a common probability space with X∼pX \sim p and Y∼qY \sim q (Proposition 4.7 of Levin and Peres).
  3. Testing. Given one sample from pp or from qq with prior probability 1/21/2 each, the largest achievable probability of guessing correctly is 12(1+dTV(p,q))\tfrac{1}{2}\big(1 + d_{\mathrm{TV}}(p, q)\big), achieved by guessing pp exactly on A∗A^{*}.

Applying any stochastic map (a channel, or a function of the sample) to both distributions cannot increase dTVd_{\mathrm{TV}}. The quantum counterpart is the trace distance, which equals the largest total variation distance between the outcome distributions of a single measurement applied to the two states (section 9.2 of Nielsen and Chuang).

Holds when
  • Distributions on a finite or countable set; the same statements hold for general measures with sums replaced by integrals against a dominating measure.

Theorems

Moment bounds

TheoremMarkov and Chebyshev inequalitiesEstablished result

Markov. If X≥0X \ge 0 and a>0a > 0, then

Pr⁡[X≥a]  ≤  E[X]a.\Pr[X \ge a] \;\le\; \frac{\mathbb{E}[X]}{a} .

Proof. a⋅1[X≥a]≤Xa \cdot \mathbf{1}[X \ge a] \le X pointwise; take expectations.

More generally, for any nondecreasing ϕ≥0\phi \ge 0 with ϕ(a)>0\phi(a) > 0, Pr⁡[X≥a]≤E[ϕ(X)]/ϕ(a)\Pr[X \ge a] \le \mathbb{E}[\phi(X)]/\phi(a). The choice ϕ(x)=esx\phi(x) = e^{sx} gives the Chernoff bound.

Chebyshev. If Var⁡[X]=σ2<∞\operatorname{Var}[X] = \sigma^2 < \infty, then for every t>0t > 0

Pr⁡[∣X−EX∣≥t]  ≤  σ2t2.\Pr\big[\abs{X - \mathbb{E}X} \ge t\big] \;\le\; \frac{\sigma^2}{t^2} .

Proof. Apply Markov to (X−EX)2≥0(X - \mathbb{E}X)^2 \ge 0 at level t2t^2.

Both bounds are tight in general: for Markov, X=aX = a with probability EX/a\mathbb{E}X/a and 00 otherwise; for Chebyshev, X=±tX = \pm t with probability σ2/(2t2)\sigma^2/(2t^2) each and 00 otherwise (when σ≤t\sigma \le t). See section 3.3 of Mitzenmacher and Upfal or chapter 1 of Durrett.

Holds when
  • Markov needs X nonnegative with finite mean; Chebyshev needs a finite variance.
TheoremWeak law of large numbersEstablished result

Let X1,X2,…X_1, X_2, \dots be pairwise uncorrelated random variables with EXi=μ\mathbb{E}X_i = \mu and Var⁡Xi=σ2<∞\operatorname{Var}X_i = \sigma^2 < \infty, and let Xˉn=1n∑i=1nXi\bar X_n = \frac{1}{n}\sum_{i=1}^{n} X_i. Then for every ϵ>0\epsilon > 0

Pr⁡[∣Xˉn−μ∣≥ϵ]  ≤  σ2nϵ2  →n→∞  0.\Pr\big[\abs{\bar X_n - \mu} \ge \epsilon\big] \;\le\; \frac{\sigma^2}{n \epsilon^2} \;\xrightarrow[n \to \infty]{}\; 0 .

Proof. Uncorrelatedness gives Var⁡Xˉn=σ2/n\operatorname{Var}\bar X_n = \sigma^2/n; apply Chebyshev's inequality.

The rate σ2/(nϵ2)\sigma^2/(n\epsilon^2) is what the argument gives; for bounded variables the Hoeffding inequality improves the dependence on the failure probability from polynomial to exponential. For i.i.d. variables with only E∣X1∣<∞\mathbb{E}\abs{X_1} < \infty convergence in probability still holds, and the strong law gives almost-sure convergence; both are in chapter 2 of Durrett. The law is the reason that repeating a quantum measurement and averaging estimates an expectation value: each shot is an independent sample of the outcome distribution.

Holds when
  • The variables are pairwise uncorrelated with a common mean and a common finite variance; independence and identical distribution are sufficient.
  • The finite-variance hypothesis can be dropped for i.i.d. variables with a finite mean, but then no rate follows from this argument.

Exponential concentration

TheoremHoeffding's inequalityEstablished result

Let X1,…,XnX_1, \dots, X_n be independent random variables with ai≤Xi≤bia_i \le X_i \le b_i almost surely, and let S=∑i=1nXiS = \sum_{i=1}^{n} X_i. Then for every t>0t > 0

Pr⁡[S−ES≥t]  ≤  exp⁡ ⁣(−2t2∑i=1n(bi−ai)2),\Pr\big[S - \mathbb{E}S \ge t\big] \;\le\; \exp\!\Big( -\frac{2t^2}{\sum_{i=1}^{n} (b_i - a_i)^2} \Big),

the same bound holds for Pr⁡[S−ES≤−t]\Pr[S - \mathbb{E}S \le -t], and so Pr⁡[∣S−ES∣≥t]\Pr[\abs{S - \mathbb{E}S} \ge t] is at most twice the right-hand side.

For the empirical mean of nn i.i.d. samples in [a,b][a, b] this reads Pr⁡[∣Xˉ−μ∣≥ϵ]≤2exp⁡ ⁣(−2nϵ2/(b−a)2)\Pr[\abs{\bar X - \mu} \ge \epsilon] \le 2\exp\!\big(-2n\epsilon^2/(b - a)^2\big), so

n  ≥  (b−a)2ln⁡(2/η)2ϵ2n \;\ge\; \frac{(b - a)^2 \ln(2/\eta)}{2\epsilon^2}

samples give accuracy ϵ\epsilon with probability at least 1−η1 - \eta. This is Theorem 2 of Hoeffding. The bound charges the worst-case variance (b−a)2/4(b - a)^2/4; when the actual variance is much smaller, as for rare events, the relative-entropy Chernoff bound is much sharper.

Holds when
  • The variables are independent; correlations can invalidate the bound.
  • Each variable takes values in a known bounded interval [a_i, b_i] almost surely.
Proof · Proof of Hoeffding's inequality

Hoeffding's lemma. If EY=0\mathbb{E}Y = 0 and a≤Y≤ba \le Y \le b, then E esY≤es2(b−a)2/8\mathbb{E}\, e^{sY} \le e^{s^2 (b - a)^2 / 8} for all s∈Rs \in \R.

If a=ba = b then Y=0Y = 0 and there is nothing to prove, so let a<ba < b; then a≤0≤ba \le 0 \le b because EY=0\mathbb{E}Y = 0. By convexity of y↦esyy \mapsto e^{sy}, for y∈[a,b]y \in [a, b],

esy≤b−yb−a esa+y−ab−a esb.e^{sy} \le \frac{b - y}{b - a}\, e^{sa} + \frac{y - a}{b - a}\, e^{sb} .

Taking expectations and using EY=0\mathbb{E}Y = 0, E esY≤bb−aesa−ab−aesb\mathbb{E}\, e^{sY} \le \frac{b}{b - a} e^{sa} - \frac{a}{b - a} e^{sb}. Put θ=−a/(b−a)∈[0,1]\theta = -a/(b - a) \in [0, 1] and h=s(b−a)h = s(b - a); then sa=−θhsa = -\theta h and the right side equals eL(h)e^{L(h)} with

L(h)=−θh+ln⁡(1−θ+θeh).L(h) = -\theta h + \ln\big(1 - \theta + \theta e^{h}\big) .

Now L(0)=0L(0) = 0, L′(h)=−θ+θeh1−θ+θehL'(h) = -\theta + \frac{\theta e^h}{1 - \theta + \theta e^h} so L′(0)=0L'(0) = 0, and L′′(h)=u(1−u)L''(h) = u(1 - u) with u=θeh1−θ+θeh∈[0,1]u = \frac{\theta e^h}{1 - \theta + \theta e^h} \in [0, 1], so L′′(h)≤1/4L''(h) \le 1/4. By Taylor's theorem with remainder, L(h)≤h2/8=s2(b−a)2/8L(h) \le h^2/8 = s^2 (b - a)^2 / 8.

The inequality. Let Yi=Xi−EXiY_i = X_i - \mathbb{E}X_i, which is centred and takes values in an interval of length bi−aib_i - a_i. For s>0s > 0, by Markov's inequality applied to es(S−ES)e^{s(S - \mathbb{E}S)} and independence,

Pr⁡[S−ES≥t]≤e−st E es∑iYi=e−st∏iE esYi≤exp⁡ ⁣(−st+s28∑i(bi−ai)2).\Pr[S - \mathbb{E}S \ge t] \le e^{-st}\, \mathbb{E}\, e^{s \sum_i Y_i} = e^{-st} \prod_{i} \mathbb{E}\, e^{s Y_i} \le \exp\!\Big( -st + \frac{s^2}{8} \sum_i (b_i - a_i)^2 \Big).

The exponent is minimised at s=4t/∑i(bi−ai)2s = 4t / \sum_i (b_i - a_i)^2, where it equals −2t2/∑i(bi−ai)2-2t^2 / \sum_i (b_i - a_i)^2. The lower tail follows by applying this to −Xi-X_i, and the two-sided bound by the union bound. This is the argument of Hoeffding.

TheoremChernoff boundEstablished result

1. General form. Let X1,…,XnX_1, \dots, X_n be i.i.d. copies of XX with empirical mean Xˉ\bar X, and let a≥EXa \ge \mathbb{E}X. Then

Pr⁡[Xˉ≥a]  ≤  e−nΛ∗(a),Λ∗(a)=sup⁡s≥0(sa−ln⁡E esX).\Pr[\bar X \ge a] \;\le\; e^{-n \Lambda^{*}(a)}, \qquad \Lambda^{*}(a) = \sup_{s \ge 0} \big( s a - \ln \mathbb{E}\, e^{sX} \big) .

2. Relative-entropy form for 0/1 variables. Let X1,…,Xn∈{0,1}X_1, \dots, X_n \in \{0, 1\} and 0<p≤q≤10 < p \le q \le 1, and suppose

Pr⁡[Xi=1 for all i∈T]  ≤  p∣T∣for every T⊆{1,…,n},\Pr\big[X_i = 1 \text{ for all } i \in T\big] \;\le\; p^{\abs{T}} \qquad \text{for every } T \subseteq \{1, \dots, n\},

which holds in particular if the XiX_i are independent with Pr⁡[Xi=1]≤p\Pr[X_i = 1] \le p. Then

Pr⁡[∑i=1nXi≥qn]  ≤  e−nDe(q∥p)=2−nD(q∥p),De(q∥p)=qln⁡qp+(1−q)ln⁡1−q1−p,\Pr\Big[\sum_{i=1}^{n} X_i \ge q n\Big] \;\le\; e^{-n D_e(q \Vert p)} = 2^{-n D(q \Vert p)}, \qquad D_e(q \Vert p) = q \ln\frac{q}{p} + (1 - q) \ln\frac{1 - q}{1 - p},

the relative entropy between Bernoulli distributions with parameters qq and pp in nats (DD is the same quantity in bits). Applied to 1−Xi1 - X_i the same bound controls the lower tail of independent variables, since De(1−q∥1−p)=De(q∥p)D_e(1 - q \Vert 1 - p) = D_e(q \Vert p).

Part 1 is the exponential-moment method of Chernoff; for i.i.d. variables the exponent Λ∗(a)\Lambda^{*}(a) is the best possible rate (Cramér's theorem). Part 2 for independent variables is in Hoeffding; the extension to the correlated hypothesis is due to Panconesi and Srinivasan and is stated in this form by Impagliazzo and Kabanets. The correlated version is the form needed for local stochastic noise in fault tolerance, where the probability that a given set of locations is faulty decays geometrically in its size but faults need not be independent. Its quantum counterpart for distinguishing two states is the quantum Chernoff bound.

Holds when
  • Part 1 needs i.i.d. samples whose moment generating function is finite for the s used.
  • Part 2 needs 0/1-valued variables with the stated bound on joint occurrences, which independence with means at most p implies; 0 < p <= q <= 1.
  • Natural logarithms in the exponent; the relative entropy in bits is the nats value divided by ln 2.
Proof · Proof of the Chernoff bound

Part 1. For s≥0s \ge 0, by Markov's inequality applied to the nonnegative variable esnXˉe^{s n \bar X} and independence,

Pr⁡[Xˉ≥a]=Pr⁡[esnXˉ≥esna]≤e−sna (E esX)n=e−n(sa−ln⁡EesX).\Pr[\bar X \ge a] = \Pr\big[e^{s n \bar X} \ge e^{s n a}\big] \le e^{-sna}\, \big(\mathbb{E}\, e^{sX}\big)^n = e^{-n (s a - \ln \mathbb{E} e^{sX})} .

This holds for every s≥0s \ge 0; take the infimum of the right-hand side.

Part 2. Fix s≥0s \ge 0. Because Xi∈{0,1}X_i \in \{0, 1\}, esXi=1+(es−1)Xie^{s X_i} = 1 + (e^s - 1) X_i. Expanding the product over ii and using ∏i∈TXi=1[Xi=1 ∀i∈T]\prod_{i \in T} X_i = \mathbf{1}[X_i = 1\ \forall i \in T],

E es∑iXi=∑T⊆{1..n}(es−1)∣T∣Pr⁡[Xi=1 ∀i∈T]≤∑T((es−1)p)∣T∣=(1−p+pes)n,\mathbb{E}\, e^{s \sum_i X_i} = \sum_{T \subseteq \{1..n\}} (e^s - 1)^{\abs{T}} \Pr\big[X_i = 1\ \forall i \in T\big] \le \sum_{T} \big( (e^s - 1) p \big)^{\abs{T}} = (1 - p + p e^s)^n ,

where the inequality uses the hypothesis and es−1≥0e^s - 1 \ge 0. Markov's inequality gives

Pr⁡[∑iXi≥qn]≤exp⁡ ⁣(−n[sq−ln⁡(1−p+pes)]).\Pr\Big[\sum_i X_i \ge q n\Big] \le \exp\!\Big( -n \big[ s q - \ln(1 - p + p e^s) \big] \Big) .

If q<1q < 1, choose es=q(1−p)p(1−q)e^s = \frac{q (1 - p)}{p (1 - q)}, which is ≥1\ge 1 because q≥pq \ge p. Then 1−p+pes=1−p1−q1 - p + p e^s = \frac{1 - p}{1 - q} and

sq−ln⁡(1−p+pes)=qln⁡q(1−p)p(1−q)−ln⁡1−p1−q=qln⁡qp+(1−q)ln⁡1−q1−p=De(q∥p).s q - \ln(1 - p + p e^s) = q \ln\frac{q (1 - p)}{p (1 - q)} - \ln\frac{1 - p}{1 - q} = q \ln\frac{q}{p} + (1 - q) \ln\frac{1 - q}{1 - p} = D_e(q \Vert p) .

If q=1q = 1 the event is {Xi=1 ∀i}\{X_i = 1\ \forall i\}, whose probability is at most pnp^n by the hypothesis with T={1,…,n}T = \{1, \dots, n\}, and pn=e−nDe(1∥p)p^n = e^{-n D_e(1 \Vert p)}. For independent XiX_i with Pr⁡[Xi=1]≤p\Pr[X_i = 1] \le p the hypothesis holds because the joint probability factors. The lower-tail identity De(1−q∥1−p)=De(q∥p)D_e(1 - q \Vert 1 - p) = D_e(q \Vert p) is immediate from the formula. This is the standard exponential-moment argument, written out in full; Impagliazzo and Kabanets give an alternative, combinatorial proof of part 2.

EquationMultiplicative Chernoff bound and shots for a small probabilityEstablished result
Pr⁡[∣X−μ∣≥δμ]  ≤  2 e−μδ2/3,0<δ≤1\Pr\big[\abs{X - \mu} \ge \delta \mu\big] \;\le\; 2\, e^{-\mu \delta^2 / 3}, \qquad 0 < \delta \le 1

The two tails are Pr⁡[X≥(1+δ)μ]≤e−μδ2/3\Pr[X \ge (1 + \delta)\mu] \le e^{-\mu\delta^2/3} and Pr⁡[X≤(1−δ)μ]≤e−μδ2/2\Pr[X \le (1 - \delta)\mu] \le e^{-\mu\delta^2/2} for 0<δ≤10 < \delta \le 1; adding them gives the formula (Theorems 4.4 and 4.5 and Corollary 4.6 of Mitzenmacher and Upfal). They follow from the Chernoff bound by bounding the exponent from below.

For nn i.i.d. Bernoulli(pp) samples with empirical frequency p^\hat p, μ=np\mu = np and the formula becomes Pr⁡[∣p^−p∣≥δp]≤2e−npδ2/3\Pr[\abs{\hat p - p} \ge \delta p] \le 2e^{-np\delta^2/3}. So

n  ≥  3ln⁡(2/η)δ2 pn \;\ge\; \frac{3 \ln(2/\eta)}{\delta^2\, p}

samples estimate pp within relative error δ\delta with probability at least 1−η1 - \eta. The cost scales as 1/p1/p: the expected number of observed events npnp must be about 3ln⁡(2/η)/δ23\ln(2/\eta)/\delta^2, whatever pp is. The additive Hoeffding bound with tolerance ϵ=δp\epsilon = \delta p would instead ask for ln⁡(2/η)/(2δ2p2)\ln(2/\eta)/(2\delta^2 p^2) samples, a factor of order 1/p1/p more, because it charges the worst-case variance 1/41/4 instead of p(1−p)p(1 - p). This is the bound to use when budgeting simulations of small logical error rates.

Holds when
  • X is a sum of independent 0/1 random variables and mu is its expectation (for n i.i.d. Bernoulli(p) samples, mu = np).
  • The relative tolerance satisfies 0 < delta <= 1.

Anticoncentration

EquationPaley–Zygmund inequalityEstablished result
Pr⁡[Z>α EZ]  ≥  (1−α)2 (EZ)2E[Z2],0≤α≤1\Pr\big[Z > \alpha\, \mathbb{E}Z\big] \;\ge\; (1 - \alpha)^2\, \frac{(\mathbb{E}Z)^2}{\mathbb{E}[Z^2]}, \qquad 0 \le \alpha \le 1

Proof. Let A={Z>α EZ}A = \{Z > \alpha\,\mathbb{E}Z\}. Split the mean on AA and its complement and apply the Cauchy–Schwarz inequality on AA:

EZ=E[Z1Ac]+E[Z1A]≤α EZ+E[Z2] Pr⁡[A].\mathbb{E}Z = \mathbb{E}[Z \mathbf{1}_{A^c}] + \mathbb{E}[Z \mathbf{1}_A] \le \alpha\, \mathbb{E}Z + \sqrt{\mathbb{E}[Z^2]\, \Pr[A]} .

Rearranging, (1−α)EZ≤E[Z2]Pr⁡[A](1 - \alpha)\mathbb{E}Z \le \sqrt{\mathbb{E}[Z^2] \Pr[A]}; square both sides.

Where Markov and Chebyshev bound the probability that a variable is large, this bounds the probability that it is not small, using only the ratio of the first two moments. The inequality is due to Paley and Zygmund. It gives the anticoncentration of 2-designs, the input to hardness arguments for random circuit sampling.

Holds when
  • Z is a nonnegative random variable with 0 < E[Z^2] < infinity.

Worked Examples

Shots to estimate a Pauli expectation value

Measuring a Pauli observable PP on copies of a state gives outcomes ±1\pm 1 whose mean is Tr⁡(Pρ)\tr(P\rho). Each shot lies in [−1,1][-1, 1], so (b−a)2=4(b - a)^2 = 4 and the Hoeffding bound gives Pr⁡[∣Xˉ−Tr⁡(Pρ)∣≥ϵ]≤2e−nϵ2/2\Pr[\abs{\bar X - \tr(P\rho)} \ge \epsilon] \le 2e^{-n\epsilon^2/2}. For accuracy ϵ=0.01\epsilon = 0.01 and failure probability η=0.01\eta = 0.01,

n≥2ln⁡(2/η)ϵ2=2ln⁡20010−4=2×5.29810−4≈1.06×105n \ge \frac{2 \ln(2/\eta)}{\epsilon^2} = \frac{2 \ln 200}{10^{-4}} = \frac{2 \times 5.298}{10^{-4}} \approx 1.06 \times 10^{5}

shots suffice, that is 105,967105{,}967 after rounding up. Chebyshev with the worst-case variance 11 would ask for n≥1/(ηϵ2)=106n \ge 1/(\eta\epsilon^2) = 10^6: the exponential bound saves a factor of almost ten here, and the saving grows as η\eta shrinks, since Hoeffding depends on ln⁡(1/η)\ln(1/\eta) rather than 1/η1/\eta. If MM observables must all be accurate at once, the union bound replaces η\eta by η/M\eta/M, which costs only an additive 2ln⁡M/ϵ22\ln M/\epsilon^2.

Shots to estimate a small logical error rate

Suppose a decoder simulation has logical error probability pL=10−6p_L = 10^{-6} per shot and we want relative error δ=0.1\delta = 0.1 with confidence 95%95\% (η=0.05\eta = 0.05). The multiplicative Chernoff bound requires

n≥3ln⁡(2/η)δ2pL=3ln⁡4010−2⋅10−6=3×3.68910−8≈1.1×109n \ge \frac{3 \ln(2/\eta)}{\delta^2 p_L} = \frac{3 \ln 40}{10^{-2} \cdot 10^{-6}} = \frac{3 \times 3.689}{10^{-8}} \approx 1.1 \times 10^{9}

shots, which corresponds to about 11001100 observed failures. The additive Hoeffding bound with tolerance δpL=10−7\delta p_L = 10^{-7} would ask for ln⁡40/(2⋅10−14)≈1.8×1014\ln 40 / (2 \cdot 10^{-14}) \approx 1.8 \times 10^{14} shots, five orders of magnitude more. Relative-error questions about rare events must be budgeted with the Chernoff form.

Total variation of two coins

For p=(0.5,0.5)p = (0.5, 0.5) and q=(0.6,0.4)q = (0.6, 0.4), dTV=12(0.1+0.1)=0.1d_{\mathrm{TV}} = \tfrac12(0.1 + 0.1) = 0.1, so the best single-sample guess between the two coins is correct with probability 0.550.55. With nn independent tosses the error probability of the optimal test decays exponentially in nn, with exponent given by the Chernoff information; its quantum version is the quantum Chernoff bound.

Applications

Limitations and Common Pitfalls

  • Independence is an assumption, not a default. Hoeffding and the independent form of Chernoff fail for correlated samples, such as consecutive rounds of a drifting experiment or shots that share a calibration. Use the correlated hypothesis of the Chernoff bound, martingale versions, or blocking.
  • Bounds are not confidence intervals for adaptively chosen quantities. Selecting the best of many estimates and then quoting its Hoeffding interval ignores the selection; apply a union bound over everything examined.
  • Additive versus relative error. An additive bound ϵ\epsilon is meaningless for probabilities much smaller than ϵ\epsilon; small rates need the multiplicative form.
  • Range, not variance. Hoeffding uses only the range of each variable; when the variance is much smaller than the squared range, Bernstein-type or Chernoff bounds are sharper. Conversely, unbounded or heavy-tailed estimators (for instance, single snapshots of randomized-measurement protocols) do not satisfy Hoeffding's hypotheses at all; median-of-means estimators are the usual remedy.
  • Logarithms. The Chernoff exponent is in nats; quoting it as a relative entropy in bits changes the base of the exponential to 22.
  • Quantum outcomes need a fixed measurement. Incompatible quantum measurements have no joint distribution in one probability space; classical probability applies to the outcomes of one chosen measurement at a time, which is the content of Bell nonlocality.

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. A. Kolmogoroff (1933). Grundbegriffe der Wahrscheinlichkeitsrechnung. Springer, Berlin. doi:10.1007/978-3-642-49888-6
  2. Rick Durrett (2019). Probability: Theory and Examples (5th edition). Cambridge University Press. doi:10.1017/9781108591034
  3. Michael Mitzenmacher, Eli Upfal (2005). Probability and Computing: Randomized Algorithms and Probabilistic Analysis. Cambridge University Press. doi:10.1017/CBO9780511813603
  4. David A. Levin, Yuval Peres (2017). Markov Chains and Mixing Times (2nd edition). American Mathematical Society. doi:10.1090/mbk/107
  5. Wassily Hoeffding (1963). Probability Inequalities for Sums of Bounded Random Variables. Journal of the American Statistical Association 58, 13-30. doi:10.1080/01621459.1963.10500830
  6. Herman Chernoff (1952). A Measure of Asymptotic Efficiency for Tests of a Hypothesis Based on the sum of Observations. The Annals of Mathematical Statistics 23, 493-507. doi:10.1214/aoms/1177729330
  7. Michael A. Nielsen, Isaac L. Chuang (2010). Quantum Computation and Quantum Information (10th Anniversary Edition). Cambridge University Press. doi:10.1017/CBO9780511976667
  8. Alessandro Panconesi, Aravind Srinivasan (1997). Randomized Distributed Edge Coloring via an Extension of the Chernoff–Hoeffding Bounds. SIAM Journal on Computing 26, 350-368. doi:10.1137/S0097539793250767
  9. Russell Impagliazzo, Valentine Kabanets (2010). Constructive Proofs of Concentration Bounds. APPROX/RANDOM 2010, Lecture Notes in Computer Science 6302, 617-631, Springer. doi:10.1007/978-3-642-15369-3_46
  10. R. E. A. C. Paley, A. Zygmund (1932). A note on analytic functions in the unit circle. Mathematical Proceedings of the Cambridge Philosophical Society 28, 266-272. doi:10.1017/S0305004100010112

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Topic's own text checked: overview and intuition statements, the Pauli-shots example (2 ln 200 / 1e-4 = 105966.3, rounded up to 105967; Chebyshev 1e6; union-bound cost 2 ln M / eps^2), the logical-error-rate example (3 ln 40 / 1e-8 = 1.107e9 shots, about 1100 failures; Hoeffding ln 40 / 2e-14 = 1.84e14), the two-coin total variation example (0.1, success 0.55) recomputed; pitfalls re-derived. Consistent with Durrett 5th ed. and Levin-Peres 2nd ed. (open PDFs). Embedded records carry their own review states.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e

Current revision 1003142b11e2a7b8. Source file knowledge/records/topic/probability-theory.md in the content repository (readable there once it is public).