Quantum Error Mitigation

A noisy quantum processor gives you the wrong answer, but not randomly wrong: the error is a systematic bias whose structure you can learn. Quantum error mitigation is the discipline of measuring that bias and subtracting it from a classical number — almost always an expectation value ⟨O⟩=Tr(Oρideal)\langle O\rangle=\mathrm{Tr}(O\rho_{\mathrm{ideal}}) — after the circuit has run. The hardware never realizes the ideal state ρideal\rho_{\mathrm{ideal}}; it realizes N(ρideal)\mathcal{N}(\rho_{\mathrm{ideal}}) for some completely positive trace-preserving noise map N\mathcal{N}, and the measured average Tr(O N(ρideal))\mathrm{Tr}(O\,\mathcal{N}(\rho_{\mathrm{ideal}})) is offset from the target. Mitigation uses a model of N\mathcal{N} to build an estimator that is unbiased even though every circuit you actually ran was noisy. The sharp line to draw at the outset is against quantum error correction. Error correction stores logical information redundantly across many physical qubits and actively restores the quantum state fault-tolerantly, with provably scalable thresholds — at the price of enormous qubit and gate overhead the near-term machines do not have. Mitigation restores no state and protects no coherence; it de-biases a single classical estimate. And it pays for that de-biasing in one hard currency: statistical variance. Every genuine cancellation of noise inflates the spread of the estimator, so the number of circuit repetitions must grow — exponentially in circuit volume once the product of error rate and depth stops being small. Two techniques anchor the field. Zero-noise extrapolation deliberately amplifies the noise by known factors and extrapolates the trend back to zero. Probabilistic error cancellation implements the unphysical inverse channel N−1\mathcal{N}^{-1} as a signed average over physically realizable circuits. Both, and every cousin — virtual distillation, symmetry verification, measurement-error mitigation — are the same trade written differently: bias bought with variance.

Key takeaways
  • Quantum error mitigation removes the bias in a noisy expectation value ⟨O⟩\langle O\rangle by classical post-processing plus deliberate circuit modification, with none of the qubit overhead of fault-tolerant error correction.
  • It does not protect the quantum state, unlike error correction; it de-biases only the final classical estimate, trading systematic bias for sampling variance.
  • Zero-noise extrapolation (ZNE) scales the noise by factors λ≥1\lambda\ge 1 (e.g. by gate folding) and extrapolates the measured ⟨O⟩(λ)\langle O\rangle(\lambda) back to λ→0\lambda\to 0; two-point Richardson gives a0=32⟨O⟩(1)−12⟨O⟩(3)a_0=\tfrac32\langle O\rangle(1)-\tfrac12\langle O\rangle(3).
  • Probabilistic error cancellation (PEC) inverts a characterized channel via a quasiprobability decomposition E−1=∑iηiBi\mathcal{E}^{-1}=\sum_i\eta_i\mathcal{B}_i with ∑iηi=1\sum_i\eta_i=1; the cost is set by the 1-norm γ=∑i∣ηi∣≥1\gamma=\sum_i|\eta_i|\ge 1.
  • The unavoidable price is variance: PEC scales the shot count as γ2\gamma^2, and depolarizing rescaling by fidelity pp scales it as 1/p21/p^2, so QEM is a near-term, not a scalable, strategy.
  • Worked number: a per-gate γ=1.0625\gamma=1.0625 at 3 percent depolarizing error compounds to γ≈430\gamma\approx430 over 100 gates, a shot overhead γ2≈1.8×105\gamma^2\approx1.8\times10^5.
  • Key idea: mitigation does not fix the state; it fixes the number. Using a known noise model, one builds an unbiased estimator of Tr(Oρideal)\mathrm{Tr}(O\rho_{\mathrm{ideal}}) as a signed combination of measurements on realizable noisy circuits — paying entirely in sampling variance, which scales as γ2\gamma^2 in the channel's quasiprobability 1-norm.
The core insight

Mitigation does not fix the state; it fixes the number. By exploiting a known model of the noise channel, one builds an unbiased (or less biased) estimator of Tr(Oρideal)\mathrm{Tr}(O\rho_{\mathrm{ideal}}) as a signed/weighted combination of measurements on physically realizable noisy circuits — paying entirely in sampling variance, which scales as γ2\gamma^2 in the channel's quasiprobability 1-norm.

Where this lives today

Mitigation moved from proposal to headline in 2023, when an IBM team led by Youngseok Kim ran a 127-qubit kicked-Ising dynamics circuit — beyond what brute-force classical simulation could then verify — and used zero-noise extrapolation with a learned Pauli-noise model (probabilistic error amplification) to extract magnetization observables that matched later tensor-network checks. Billed as "evidence for the utility of quantum computing before fault tolerance," it was the clearest demonstration that characterized noise plus disciplined extrapolation can pull a trustworthy number out of a circuit whose raw output is badly biased. The same toolbox is now standard in variational quantum eigensolvers, where each Pauli term of a Hamiltonian is mitigated before the energy is assembled, and in Trotterized dynamics, where observables are extrapolated to the noiseless trajectory while ϵd≲1\epsilon d\lesssim 1. Measurement-error mitigation — inverting a readout response matrix — ships in every major SDK as the cheapest member of the family. The live research questions are the boundaries this article draws: how to learn the noise model accurately enough that the reported error bar reflects the true bias, and how far the exponential sampling wall can be pushed back before fault-tolerant qubits make the enterprise unnecessary.

The physical picture

Read the noisy expectation value as a true signal sitting under a systematic, model-dependent offset. Zero-noise extrapolation attacks the offset by making it bigger in a controlled way. If you can dial the effective noise strength up to λ=3\lambda=3 — by stretching gate durations, or by replacing each gate GG with G G†GG\,G^\dagger G so three noisy gates do the work of one — you get a curve ⟨O⟩(λ)\langle O\rangle(\lambda) and read off where it points as λ→0\lambda\to0. It is the same move a physicist makes extrapolating a measured quantity to zero temperature: you never reach the ideal point, but the trend through the points you can reach tells you where it lies. The one assumption is that the dependence on λ\lambda is smooth and low-order — true for Markovian noise, and the place where the method quietly fails when it is not. Probabilistic error cancellation takes the opposite stance: what linear combination of realizable noisy circuits reproduces, on average, the output of the ideal one? Since the ideal channel is the noisy channel composed with its own inverse, and that inverse is not a physical (completely positive) map, the combination is forced to carry negative weights. You cannot run a circuit "a negative fraction of the time," but you can sample a circuit and flip the sign of its measured outcome before averaging. That single trick — sampling from ∣ηi∣/γ|\eta_i|/\gamma and multiplying by sgn(ηi)\mathrm{sgn}(\eta_i) — makes PEC exactly unbiased and exactly expensive: the sign flips partially cancel, so the average converges slowly, at a rate measured by γ=∑i∣ηi∣\gamma=\sum_i|\eta_i|. The unifying picture is one line. Every mitigation method writes ⟨O⟩ideal=∑kck ⟨O⟩noisy(k)\langle O\rangle_{\mathrm{ideal}}=\sum_k c_k\,\langle O\rangle^{(k)}_{\mathrm{noisy}}, a signed combination of measurable quantities. The bias vanishes when the ckc_k come from a correct noise model; the variance grows with ∑k∣ck∣\sum_k|c_k| or its square. Mitigation is a controlled exchange of accuracy for shots. The first figure shows the ZNE half of that trade with real numbers; the second shows what the variance side costs as the circuit grows.

Figure
Zero-noise extrapolation of a decaying observable: gate folding measures ⟨O⟩ = 0.655 at noise scale λ = 1 and 0.439 at λ = 3, a linear Richardson fit extrapolates to 0.763 while the true noiseless value is 0.800, so an exponential fit recovers 0.800 exactly — the model choice sets the residual bias
Extrapolate the noise to zero: linear reaches 0.763, exponential recovers the true 0.800 0.30 0.50 0.70 0.80 0 1 2 3 noise scale factor λ mitigated ⟨O⟩ exponential fit linear Richardson fit 0.655 0.439 true a₀ = 0.800 linear a₀ = 0.763 unmitigated bias −0.145 → linear −0.037

The second figure is the reason no one runs mitigation on a thousand-gate circuit. The variance overhead multiplies gate by gate: a per-gate 1-norm γ\gamma only slightly above one, compounded over hundreds of gates, becomes an astronomical factor. This is the exponential wall, drawn on a logarithmic axis where the exponential-in-depth cost appears as a straight line — and it is exactly why quantum error mitigation buys the near term but cannot replace fault tolerance.

Figure
The sampling wall of probabilistic error cancellation: with per-gate 1-norm γ = 1.0625 at 3 percent depolarizing error, the shot overhead γ² grows exponentially with circuit size — about 10⁵ extra shots at 100 gates and 3 × 10¹⁰ at 200 gates, which is why mitigation is a near-term and not a scalable strategy
The exponential wall: PEC shot overhead γ² versus number of noisy gates 1 10² 10⁴ 10⁶ 10⁸ 10¹⁰ 0 50 100 150 200 number of noisy gates in the circuit shot overhead γ² 50 gates ≈ 430× 100 gates ≈ 1.8 × 10⁵ × 200 gates ≈ 3 × 10¹⁰ × γ = 1.0625 per gate (ε = 0.03)

The core equations

The starting point is the gap the whole field exists to close: the number you want and the number the machine gives you. The target is a trace against the ideal state; the measurement is the same trace against the noisy state N(ρideal)\mathcal{N}(\rho_{\mathrm{ideal}}), and their difference is the bias mitigation must remove.

⟨O⟩ideal=Tr ⁣(O ρideal),⟨O⟩noisy=Tr ⁣(O N(ρideal))(1)\langle O\rangle_{\mathrm{ideal}} = \mathrm{Tr}\!\big(O\,\rho_{\mathrm{ideal}}\big),\qquad \langle O\rangle_{\mathrm{noisy}} = \mathrm{Tr}\!\big(O\,\mathcal{N}(\rho_{\mathrm{ideal}})\big) \qquad (1)

where: OO — Hermitian observable whose expectation value is the quantity of interest; ρideal\rho_{\mathrm{ideal}} — density operator produced by the noiseless circuit; N\mathcal{N} — CPTP map describing the aggregate noise of the circuit; Tr\mathrm{Tr} — matrix trace. Reading: mitigation never touches ρ\rho; it manipulates the numbers on the right to reconstruct the number on the left. Zero-noise extrapolation models the measured value as a smooth function of a dialable noise strength λ\lambda (with λ=1\lambda=1 the bare hardware) and reads off the intercept. Keeping only the linear term and measuring at two scales gives the two-point Richardson estimator, the workhorse of practical ZNE.

⟨O⟩(λ)=a0+a1λ+a2λ2+⋯ ,⟨O⟩^lin=λ2 ⟨O⟩(λ1)−λ1 ⟨O⟩(λ2)λ2−λ1(2)\langle O\rangle(\lambda) = a_0 + a_1\lambda + a_2\lambda^2 + \cdots,\qquad \hat{\langle O\rangle}_{\mathrm{lin}} = \frac{\lambda_2\,\langle O\rangle(\lambda_1) - \lambda_1\,\langle O\rangle(\lambda_2)}{\lambda_2 - \lambda_1} \qquad (2)

where: λ\lambda — noise scale factor; a0=⟨O⟩ideala_0=\langle O\rangle_{\mathrm{ideal}} — the extrapolation target; aka_k — higher fit coefficients; λ1,λ2\lambda_1,\lambda_2 — two scales, typically 11 and 33 from gate folding. Reading: for λ1=1,λ2=3\lambda_1=1,\lambda_2=3 this is a0=32⟨O⟩(1)−12⟨O⟩(3)a_0=\tfrac32\langle O\rangle(1)-\tfrac12\langle O\rangle(3), and the squared coefficients (32)2+(12)2=2.5(\tfrac32)^2+(\tfrac12)^2=2.5 are the price in variance. Probabilistic error cancellation expands the formal inverse of the noisy gate in a basis of implementable operations. The coefficients are real but not all positive, they sum to one (trace preservation), and their absolute sum γ\gamma is the per-gate sampling overhead. Sampling from the normalized magnitudes and attaching the signs yields an exactly unbiased estimator.

E−1=∑iηi Bi,  ∑iηi=1,  γ=∑i∣ηi∣≥1;⟨O⟩ideal=γ Ei∼pi ⁣[sgn(ηi) Oi],  pi=∣ηi∣γ(3)\mathcal{E}^{-1}=\sum_i \eta_i\,\mathcal{B}_i,\ \ \sum_i \eta_i=1,\ \ \gamma=\sum_i|\eta_i|\ge 1;\qquad \langle O\rangle_{\mathrm{ideal}} = \gamma\,\mathbb{E}_{i\sim p_i}\!\big[\mathrm{sgn}(\eta_i)\,O_i\big],\ \ p_i=\frac{|\eta_i|}{\gamma} \qquad (3)

where: E−1\mathcal{E}^{-1} — formal inverse of the noisy gate implementation; Bi\mathcal{B}_i — realizable basis operations (Paulis, easy CPTP maps); ηi\eta_i — real quasiprobability weights; γ\gamma — 1-norm and overhead factor; pip_i — sampling distribution; OiO_i — single-shot outcome with Bi\mathcal{B}_i inserted. Reading: negativity of some ηi\eta_i forces γ>1\gamma>1, and γ=1\gamma=1 only if the gate is already noiseless. The cost is universal and quantitative. Because each sampled contribution has magnitude at most γ∥O∥∞\gamma\lVert O\rVert_\infty, the estimator's variance carries a factor γ2\gamma^2, so the shots needed for a target precision δ\delta scale as γ2/δ2\gamma^2/\delta^2. For the special case of a global depolarizing channel of fidelity pp, the same logic reduces to dividing out pp, with variance blown up by 1/p21/p^2.

Var[⟨O⟩^]≤γ2∥O∥∞2N,N∼γ2δ2;⟨O⟩ideal=⟨O⟩noisy−(1−p) Tr(O)/2np(4)\mathrm{Var}\big[\hat{\langle O\rangle}\big]\le \frac{\gamma^2\lVert O\rVert_\infty^2}{N},\quad N\sim\frac{\gamma^2}{\delta^2};\qquad \langle O\rangle_{\mathrm{ideal}}=\frac{\langle O\rangle_{\mathrm{noisy}}-(1-p)\,\mathrm{Tr}(O)/2^{n}}{p} \qquad (4)

where: NN — number of shots; δ\delta — target additive precision; ∥O∥∞\lVert O\rVert_\infty — spectral norm of OO; pp — depolarizing fidelity, nn qubits so 2n2^n is the dimension. Reading: over a depth-dd circuit γ∼e2ϵd\gamma\sim e^{2\epsilon d} and p∼e−ϵdp\sim e^{-\epsilon d}, so both routes give a shot count exponential in circuit volume — the wall of the second figure.

Derivation AExistence and 1-norm cost of probabilistic error cancellation

The goal is to prove that any invertible noisy gate can be corrected exactly by a purely classical post-processing recipe run on physically legal circuits, and to pin down what that exactness costs. We want a sampling procedure whose average reproduces the ideal channel, built only from operations the hardware can perform, that is unbiased for any target precision given an exact noise model and needs a number of shots scaling as γ2/δ2\gamma^2/\delta^2 in the quasiprobability 1-norm γ\gamma. The argument is four moves: insert the inverse, expand it in a realizable basis, repackage the signed weights as a probability distribution with signs, and bound the variance.

Step 1. Write the ideal gate as the noisy gate cleaned up by its own inverse, Uideal=E−1∘E\mathcal{U}_{\mathrm{ideal}}=\mathcal{E}^{-1}\circ\mathcal{E}, where E\mathcal{E} is the noisy implementation the hardware runs. Why: this is the only sense in which "undoing the noise" is exact — we are not modifying E\mathcal{E}, we are prepending a correction E−1\mathcal{E}^{-1} that lives entirely in post-processing.

Step 2. Expand the inverse in a fixed basis of implementable maps, E−1=∑iηi Bi\mathcal{E}^{-1}=\sum_i\eta_i\,\mathcal{B}_i with ηi∈R\eta_i\in\mathbb{R}. For Pauli noise the Bi\mathcal{B}_i are Pauli conjugations and the ηi\eta_i are read off by inverting the (diagonal) Pauli transfer matrix; trace preservation of E−1\mathcal{E}^{-1} forces ∑iηi=1\sum_i\eta_i=1. Why: E−1\mathcal{E}^{-1} is a legitimate linear map but not a legitimate channel — it is not completely positive — so it cannot be run directly, yet it can always be written as a real combination of things that can.

Step 3. Split each weight into a magnitude and a sign: define γ=∑i∣ηi∣\gamma=\sum_i|\eta_i|, pi=∣ηi∣/γp_i=|\eta_i|/\gamma, and σi=sgn(ηi)\sigma_i=\mathrm{sgn}(\eta_i). The pip_i form a genuine probability distribution, and because some ηi<0\eta_i<0 whenever the noise is nontrivial, γ>1\gamma>1. Why: this is the sleight of hand that makes a signed sum runnable — you sample the circuit Bi\mathcal{B}_i with probability pip_i and remember to flip the outcome's sign when σi=−1\sigma_i=-1.

Step 4. Rewrite the target expectation, ⟨O⟩ideal=∑iηi Tr(O BiEρ)=γ∑ipi σi ⟨O⟩i\langle O\rangle_{\mathrm{ideal}}=\sum_i\eta_i\,\mathrm{Tr}(O\,\mathcal{B}_i\mathcal{E}\rho)=\gamma\sum_i p_i\,\sigma_i\,\langle O\rangle_i, and check the mean of the single-shot estimator γσiOi\gamma\sigma_i O_i: it is γ∑ipiσi⟨O⟩i=⟨O⟩ideal\gamma\sum_i p_i\sigma_i\langle O\rangle_i=\langle O\rangle_{\mathrm{ideal}}. Why: the estimator is exactly unbiased — there is no truncation, no model order to converge — provided the noise model behind the ηi\eta_i is correct.

Step 5. Bound the spread. Since ∣γσiOi∣≤γ∥O∥∞|\gamma\sigma_i O_i|\le\gamma\lVert O\rVert_\infty, Hoeffding gives Var≤γ2∥O∥∞2\mathrm{Var}\le\gamma^2\lVert O\rVert_\infty^2 and a shot count N=O(γ2/δ2)N=O(\gamma^2/\delta^2); over a depth-dd circuit the per-gate factors multiply, γ=∏gγg∼e2ϵd\gamma=\prod_g\gamma_g\sim e^{2\epsilon d}. Why: exactness is not free — the sign flips make contributions partially cancel, so the variance carries the full γ2\gamma^2, and that factor is exponential in circuit volume. *Note: γ≥1\gamma\ge1 with equality if and only if E\mathcal{E} is already the target operation, and ∑iηi=1\sum_i\eta_i=1 enforces trace preservation.*

Go deeper · Derivation B · 1 minWhy mitigation must amplify variance — the bias–variance trade
Derivation BWhy mitigation must amplify variance — the bias–variance trade

The goal is to show that variance amplification is not an artifact of PEC but a theorem about any linear de-biasing scheme, and to compute the amplification exactly for the cleanest noise model. Take the dominant noise to be a depolarizing contraction that shrinks a traceless observable's expectation by a fidelity factor p<1p<1, so the noisy estimate is a faithful but attenuated copy of the ideal one. Recovering the ideal value means dividing the empirical mean by pp; propagating the fluctuations through that division gives a hard floor — the variance is multiplied by 1/p21/p^2, and since pp decays exponentially with circuit volume, so does the shot budget.

Step 1. Bound the raw single-shot spread: for a bounded observable Var[Onoisy]≤∥O∥∞2\mathrm{Var}[O_{\mathrm{noisy}}]\le\lVert O\rVert_\infty^2, and for a projective measurement it is at most 11. Why: this is the variance you would already pay with no mitigation at all — the baseline the de-biasing multiplies.

Step 2. Apply the depolarizing rescaling. For a traceless OO the noisy mean is ⟨O⟩noisy=p ⟨O⟩ideal\langle O\rangle_{\mathrm{noisy}}=p\,\langle O\rangle_{\mathrm{ideal}}, so the unbiased estimator is ⟨O⟩^mit=Onoisy‾/p\hat{\langle O\rangle}_{\mathrm{mit}}=\overline{O_{\mathrm{noisy}}}/p. Why: recovering the ideal number literally requires multiplying the data by 1/p>11/p>1, and whatever you do to a random variable, you do to its fluctuations.

Step 3. Propagate the variance through the scaling: Var[⟨O⟩^mit]=1p2 Var[Onoisy‾]=1p2 Var[Onoisy]/N\mathrm{Var}[\hat{\langle O\rangle}_{\mathrm{mit}}]=\tfrac{1}{p^2}\,\mathrm{Var}[\overline{O_{\mathrm{noisy}}}]=\tfrac{1}{p^2}\,\mathrm{Var}[O_{\mathrm{noisy}}]/N. Why: scaling a variable by 1/p1/p scales its variance by 1/p21/p^2 — this is the unavoidable, model-independent cost of de-biasing by a contraction factor.

Step 4. Read off the shot overhead: to hold the mitigated variance at the level of an ideal machine you need Nmit=Nideal/p2N_{\mathrm{mit}}=N_{\mathrm{ideal}}/p^2, and with p∼e−ϵdp\sim e^{-\epsilon d} over a depth-dd circuit this is Nmit∼e2ϵdNidealN_{\mathrm{mit}}\sim e^{2\epsilon d}N_{\mathrm{ideal}}. Why: the fidelity of a whole circuit decays exponentially in its volume, so the 1/p21/p^2 overhead is exponential too — the wall that prevents QEM from scaling. *Note: the 1/p21/p^2 factor derived here is the depolarizing special case of the general γ2\gamma^2 overhead.*

Go deeper · Derivation C · 1 minWhy a smooth expansion in noise strength exists
Derivation CWhy a smooth expansion in noise strength exists

The goal is to justify the central premise of zero-noise extrapolation — that ⟨O⟩\langle O\rangle is an analytic, low-order function of the noise scale λ\lambda — rather than assuming it. If the noise is Markovian it is generated by a Lindblad superoperator L\mathcal{L} acting for an effective time, and scaling the noise means scaling that time; the expectation value then inherits a genuine power series in λ\lambda whose zeroth-order coefficient is exactly the noiseless target. This licenses fitting a polynomial and taking the intercept — and shows where the licence expires, since the series is only useful while the higher terms are small, i.e. while ϵd≲1\epsilon d\lesssim 1.

Step 1. Model the scaled-noise state as dissipative evolution for a stretched time, ρ(λ)=eλLt ρideal\rho(\lambda)=e^{\lambda\mathcal{L}t}\,\rho_{\mathrm{ideal}}, where L\mathcal{L} is the GKSL generator and λ\lambda multiplies the noise. Why: gate folding and pulse stretching physically lengthen the exposure to dissipation, which is exactly multiplying the generator's action by λ\lambda.

Step 2. Expand the exponential, ρ(λ)=ρideal+λt Lρideal+12λ2t2 L2ρideal+⋯\rho(\lambda)=\rho_{\mathrm{ideal}}+\lambda t\,\mathcal{L}\rho_{\mathrm{ideal}}+\tfrac12\lambda^2 t^2\,\mathcal{L}^2\rho_{\mathrm{ideal}}+\cdots. Why: the exponential is analytic in λ\lambda, so the series converges and its truncation order is the only source of residual model bias.

Step 3. Take the trace with OO: ⟨O⟩(λ)=a0+a1λ+a2λ2+⋯\langle O\rangle(\lambda)=a_0+a_1\lambda+a_2\lambda^2+\cdots with ak=tkk!Tr(O Lkρideal)a_k=\tfrac{t^k}{k!}\mathrm{Tr}(O\,\mathcal{L}^k\rho_{\mathrm{ideal}}), and in particular a0=Tr(Oρideal)a_0=\mathrm{Tr}(O\rho_{\mathrm{ideal}}). Why: linearity of the trace carries the state's series straight onto the observable, and the intercept a0a_0 is provably the noiseless value — the thing ZNE aims to recover. *Note: a0=⟨O⟩ideala_0=\langle O\rangle_{\mathrm{ideal}} by construction; the polynomial premise holds for Markovian noise and degrades for non-Markovian or strongly coherent noise, where L\mathcal{L} is not a fixed generator.*

Limiting cases

Mitigation behaves so differently across regimes that quoting a single "overhead" is meaningless; the controlling parameter is the product of per-gate error rate ϵ\epsilon and circuit depth dd.

CaseResultMeaning
Weak noise, low depth (ϵd≪1\epsilon d\ll 1)γ≈1+O(ϵd)\gamma\approx 1+O(\epsilon d)Quasiprobability 1-norm and extrapolation factors are near unity; mitigation is cheap and nearly unbiased. The regime where QEM is genuinely useful.
Global depolarizing noise⟨O⟩noisy=p ⟨O⟩ideal+(1−p)Tr(O)/2n\langle O\rangle_{\mathrm{noisy}}=p\,\langle O\rangle_{\mathrm{ideal}}+(1-p)\mathrm{Tr}(O)/2^{n}A single fidelity pp suffices; mitigation reduces to dividing out pp, with overhead 1/p21/p^2. Tractable and the basis of many benchmarks.
Large circuit volume (ϵd≳1\epsilon d\gtrsim 1)γ∼e2ϵd, N∼γ2∼e4ϵd\gamma\sim e^{2\epsilon d},\ N\sim\gamma^2\sim e^{4\epsilon d}Overhead is exponential, and the signal itself decays to the trace term, so the estimator divides a tiny number by a tiny number. QEM provably fails to scale here.
Coherent / non-Markovian noiseNt≠Nt1∘Nt2\mathcal{N}_t\ne\mathcal{N}_{t_1}\circ\mathcal{N}_{t_2} (no semigroup)Noise does not compose simply, so a single-cycle model amplified or inverted is biased; extrapolation forms and PEC inverses must be recharacterized and residual model bias dominates.

Worked examples

1 · Zero-noise extrapolation of a decaying observable (fully worked)

A circuit's target is ⟨O⟩ideal=0.800\langle O\rangle_{\mathrm{ideal}}=0.800. Under global depolarizing noise the true dependence on the noise scale is ⟨O⟩(λ)=0.800 e−0.2λ\langle O\rangle(\lambda)=0.800\,e^{-0.2\lambda}, but the experimenter does not know this and measures only two points by gate folding: λ=1\lambda=1 and λ=3\lambda=3. Compare a linear (Richardson) extrapolation with an exponential one, and quote the residual bias and variance cost of each.

Step 1. Take the two measurements. ⟨O⟩(1)=0.800 e−0.2=0.800×0.8187=0.655\langle O\rangle(1)=0.800\,e^{-0.2}=0.800\times0.8187=\mathbf{0.655} and ⟨O⟩(3)=0.800 e−0.6=0.800×0.5488=0.439\langle O\rangle(3)=0.800\,e^{-0.6}=0.800\times0.5488=\mathbf{0.439}. The bare hardware value 0.6550.655 is biased low by 0.1450.145, an 18 percent error — that is what mitigation must fix.

Step 2. Linear Richardson with λ1=1,λ2=3\lambda_1=1,\lambda_2=3: ⟨O⟩^lin=32⟨O⟩(1)−12⟨O⟩(3)=1.5(0.655)−0.5(0.439)=0.9825−0.2195=0.763\hat{\langle O\rangle}_{\mathrm{lin}}=\tfrac32\langle O\rangle(1)-\tfrac12\langle O\rangle(3)=1.5(0.655)-0.5(0.439)=0.9825-0.2195=\mathbf{0.763}. The bias has fallen from 0.1450.145 to 0.0370.037 — a factor of four improvement — but it has not vanished, because a straight line cannot capture the true exponential curvature. The variance is amplified by (32)2+(12)2=2.5(\tfrac32)^2+(\tfrac12)^2=\mathbf{2.5} relative to a single measurement.

Step 3. Exponential fit ⟨O⟩(λ)=A e−Bλ\langle O\rangle(\lambda)=A\,e^{-B\lambda} through the same two points. The ratio 0.439/0.655=0.670=e−2B0.439/0.655=0.670=e^{-2B} gives B=−12ln⁡0.670=0.200B=-\tfrac12\ln 0.670=\mathbf{0.200}, and then A=0.655 e0.200=0.655×1.2214=0.800A=0.655\,e^{0.200}=0.655\times1.2214=\mathbf{0.800}. The exponential extrapolation recovers the true value exactly — because here it happens to be the correct functional form.

Step 4. Read the lesson. With identical data, linear ZNE leaves a 4.64.6 percent residual bias while exponential ZNE leaves none; the difference is entirely the model, not the statistics. In practice one does not know the true form, so a real pipeline measures three or more scales and tests candidate fits — trading still more variance for confidence that the residual model bias is small. Linear → 0.763 (bias 0.037), exponential → 0.800 (bias 0), and the model choice, not the data, sets the accuracy.

2 · The quasiprobability overhead of a single depolarizing gate (fully worked)

A one-qubit gate suffers depolarizing noise Λ(ρ)=(1−p)ρ+p3(XρX+YρY+ZρZ)\Lambda(\rho)=(1-p)\rho+\tfrac{p}{3}(X\rho X+Y\rho Y+Z\rho Z) with p=0.03p=0.03. Build the PEC quasiprobability decomposition of Λ−1\Lambda^{-1}, compute the per-gate γ\gamma, and find the shot overhead for a 100-gate circuit.

Step 1. Find how Λ\Lambda acts in the Pauli picture. Each non-identity Pauli component of the Bloch vector is scaled by λPTM=1−4p3=1−0.04=0.96\lambda_{\mathrm{PTM}}=1-\tfrac{4p}{3}=1-0.04=\mathbf{0.96} (the identity component is untouched). So Λ\Lambda shrinks the Bloch vector by 0.960.96.

Step 2. Invert it. Λ−1\Lambda^{-1} must stretch the Bloch vector by 1/0.96=1.04171/0.96=1.0417, which is a depolarizing-form map with a negative parameter qq: solving 1−4q3=1/0.961-\tfrac{4q}{3}=1/0.96 gives q=−p/(1−4p3)=−0.03/0.96=−0.03125q=-p/(1-\tfrac{4p}{3})=-0.03/0.96=\mathbf{-0.03125}. The quasiprobability weights are ηI=1−q=1.03125\eta_I=1-q=\mathbf{1.03125} and ηX=ηY=ηZ=q/3=−0.01042\eta_X=\eta_Y=\eta_Z=q/3=\mathbf{-0.01042}.

Step 3. Check trace preservation and compute the 1-norm. The weights sum to 1.03125+3(−0.01042)=1.0001.03125+3(-0.01042)=1.000 ✓, and γ=∣1.03125∣+3∣0.01042∣=1.03125+0.03125=1.0625\gamma=|1.03125|+3|0.01042|=1.03125+0.03125=\mathbf{1.0625}. The negativity of the three Pauli weights — implemented by sign-flipping those shots — is exactly what pushes γ\gamma above one.

Step 4. Compound over the circuit. A depth-100 circuit has γtot=1.0625100≈430\gamma_{\mathrm{tot}}=1.0625^{100}\approx\mathbf{430}, so the shot overhead is γtot2≈1.8×105\gamma_{\mathrm{tot}}^2\approx\mathbf{1.8\times10^{5}} — reaching the precision of the unmitigated machine now costs about 180,000180{,}000 times as many shots. (Cross-check: γgate≈1+2p=e2p\gamma_{\mathrm{gate}}\approx1+2p=e^{2p} per gate gives e2×0.03×100=e6≈403e^{2\times0.03\times100}=e^{6}\approx403, matching the exact 430430.) Per-gate γ = 1.0625, circuit γ ≈ 430, shot overhead ≈ 1.8 × 10⁵ — the exponential wall in a single number.

3 · Global depolarizing rescaling (quick)

An nn-qubit circuit is dominated by global depolarizing noise of fidelity p=0.60p=0.60. A traceless observable reads ⟨O⟩noisy=0.48\langle O\rangle_{\mathrm{noisy}}=0.48. Mitigate it and quote the shot cost.

Step 1. For traceless OO the background term (1−p)Tr(O)/2n(1-p)\mathrm{Tr}(O)/2^n vanishes, so equation (4) collapses to ⟨O⟩ideal=⟨O⟩noisy/p=0.48/0.60=0.80\langle O\rangle_{\mathrm{ideal}}=\langle O\rangle_{\mathrm{noisy}}/p=0.48/0.60=\mathbf{0.80}.

Step 2. The variance is amplified by 1/p2=1/0.36=2.781/p^2=1/0.36=\mathbf{2.78}, so recovering the ideal precision needs about 2.78×2.78\times the shots. Mitigated value 0.80, at 2.78× the shot budget — cheap here because pp is close to one, ruinous once p→0p\to0.

Physics of the portrait

Quantum error mitigation is unusual among the topics in this chapter in having no eighteenth- or nineteenth-century ancestor: it is a child of the noisy-intermediate-scale era, invented when it became clear that useful quantum hardware would arrive years before fault tolerance did.

Origins · 1 minquantum error mitigation and how this was discovered
QE
quantum error mitigation
de-biasing ⟨O⟩ = Tr(Oρ) without full error correction, born 2017 · near-term NISQ quantum computing

The idea crystallized in 2017 in two independent papers. Kristan Temme, Sergey Bravyi, and Jay Gambetta, at IBM, published Error Mitigation for Short-Depth Quantum Circuits, introducing both pillars at once: Richardson zero-noise extrapolation and the quasiprobability method that became probabilistic error cancellation, with the 1-norm γ\gamma as its exact sampling cost. The same year Ying Li and Simon Benjamin, at Oxford, proposed "error extrapolation" for variational simulators, reaching zero-noise extrapolation from the angle of variational eigensolvers. The two founding pictures — extrapolate the noise away, or invert it by signed sampling — have organized the field ever since. In 2018 Suguru Endo, Benjamin, and Li made PEC practical by tying the quasiprobability weights to gate-set tomography, so the ηi\eta_i could be measured rather than assumed; in 2019 Abhinav Kandala and collaborators used ZNE to extend the reach of an IBM processor on a chemistry problem, the first clear hardware win. A different lineage opened in 2021 when Bálint Koczor, and independently William Huggins and coworkers, introduced virtual distillation, measuring with respect to ρM/Tr(ρM)\rho^M/\mathrm{Tr}(\rho^M) to suppress incoherent error exponentially in MM. What unites the program is the founders' insight, now a theorem: you cannot fix the state for free, but you can fix the number, and the bill always arrives as variance.

History
2017
— Temme, Bravyi and Gambetta introduce zero-noise extrapolation and probabilistic error cancellation
2017
— Li and Benjamin propose error extrapolation for variational quantum simulation
2018
— Endo, Benjamin and Li make PEC practical by tying quasiprobabilities to gate-set tomography
2019
— Kandala and coworkers demonstrate zero-noise extrapolation on IBM hardware for a chemistry problem
2021
— Koczor and Huggins and coworkers introduce virtual distillation for exponential error suppression

Going further

Texts. Nielsen and Chuang, Quantum Computation and Quantum Information, Ch. 8 (Quantum Operations) and Ch. 10 (Quantum Error Correction) · Preskill, Quantum Computation Lecture Notes, Ch. 3 (Foundations II: Measurement and Evolution) · Wilde, Quantum Information Theory, 2nd ed. (channels, diamond norm) · Watrous, The Theory of Quantum Information (completely positive maps and norms) · Kitaev, Shen and Vyalyi, Classical and Quantum Computation (quantum operations) · Mermin, Quantum Computer Science. The channel and trace identities (equations 1 and 4) follow from CPTP-map linearity; the depolarizing rescaling and 1/p21/p^2 variance factor are direct consequences. The PEC derivation rests on unbiasedness via ∑iηi=1\sum_i\eta_i=1 and a Hoeffding bound with range γ∥O∥∞\gamma\lVert O\rVert_\infty, giving γ≥1\gamma\ge1 with equality iff the gate is noiseless. The single-gate depolarizing example yields λPTM=1−4p3=0.96\lambda_{\mathrm{PTM}}=1-\tfrac{4p}{3}=0.96, q=−0.03125q=-0.03125, weights (1.03125,−0.01042,−0.01042,−0.01042)(1.03125,-0.01042,-0.01042,-0.01042) summing to 11, γ=1.0625\gamma=1.0625, and 1.0625100≈4301.0625^{100}\approx430 with overhead ≈1.8×105\approx1.8\times10^5. The ZNE example gives 0.8e−0.2=0.6550.8e^{-0.2}=0.655, 0.8e−0.6=0.4390.8e^{-0.6}=0.439, linear Richardson 1.5(0.655)−0.5(0.439)=0.7631.5(0.655)-0.5(0.439)=0.763, exponential fit B=0.200B=0.200, A=0.800A=0.800. No device-specific constants are quoted; all overhead scalings (γ2\gamma^2, e2ϵde^{2\epsilon d}) are model-level consequences.

Prerequisites. Completely Positive Trace-Preserving Maps and Quantum Operations · Kraus Representation of Quantum Channels · Depolarizing Channel · Pauli and Bit/Phase-Flip Channels · Lindblad / GKSL Master Equation. Leads to. Markovian vs Non-Markovian Dynamics · Decoherence · Relaxation and Dephasing: T1 and T2 Times.

Ask the tutor: Ask me to walk through the PEC quasiprobability weights for a specific noise channel, or to show exactly where the exponential sampling wall would stop your circuit.

Is quantum error mitigation just a cheaper quantum error correction?

No — they solve different problems and one cannot substitute for the other. Error correction protects the quantum state: it encodes logical information across many physical qubits and actively restores it during the computation, with a threshold theorem guaranteeing scalability once the physical error rate is below a critical value. Mitigation touches no state and has no threshold; it takes the biased classical output of a fully noisy circuit and de-biases that single number in post-processing, paying in extra shots. Mitigation is what you do before you have enough qubits for correction, and its cost grows exponentially with circuit volume, so it buys the near term rather than replacing fault tolerance.

How is the noise "amplified" in zero-noise extrapolation?

Two common knobs. Pulse stretching lengthens each gate's control pulse so the qubit spends longer exposed to its environment, multiplying the dissipative action by a chosen factor λ\lambda. Gate folding does it digitally: replace a gate GG by G G†GG\,G^\dagger G, which equals GG ideally but subjects the qubit to three noisy operations instead of one, tripling the error to λ=3\lambda=3; folding subsets of gates gives intermediate factors. Both rest on the premise that scaling the noise this way faithfully scales the underlying generator — which holds for Markovian noise and degrades when the noise is coherent or non-Markovian, since folding no longer reproduces a cleanly stretched Lindblad evolution.

Where does the number γ come from, and why is it always at least one?

γ\gamma is the 1-norm of the quasiprobability decomposition, γ=∑i∣ηi∣\gamma=\sum_i|\eta_i|, where the ηi\eta_i are the real weights expressing the unphysical inverse channel E−1\mathcal{E}^{-1} as a combination of physically implementable operations Bi\mathcal{B}_i. Trace preservation forces ∑iηi=1\sum_i\eta_i=1, so if every weight were non-negative you would have a genuine probability distribution and γ=1\gamma=1. But the inverse of a noisy channel is not completely positive, which forces at least one ηi\eta_i negative whenever the noise is nontrivial; the negative parts add in absolute value, pushing γ\gamma above one. That excess is precisely the sampling overhead: the estimator's variance carries a factor γ2\gamma^2, and γ=1\gamma=1 only for a noiseless gate.

Can mitigation give the wrong answer even with infinite shots?

Yes, and this is its subtlest danger. Infinite shots drive the statistical error to zero, but they do nothing about model error. Extrapolation assumes a functional form for ⟨O⟩(λ)\langle O\rangle(\lambda); if the true dependence is exponential and you fit a line, you converge — with a beautifully tight error bar — to a biased value, exactly the 0.763-versus-0.800 gap in the worked example. Probabilistic error cancellation assumes the characterized channel equals the real one; if the tomography is off, the ηi\eta_i are wrong and the "unbiased" estimator is biased. Because the reported variance knows nothing about these mismatches, a mitigated result can be confidently and invisibly wrong. This is why noise characterization, not the mitigation formula, is where the real work lies.

Why do so many analyses use the global depolarizing model?

Because it collapses the whole problem to one number and is often a good effective description of a deep, scrambling circuit. A global depolarizing channel replaces the state with the maximally mixed state with probability 1−p1-p, so any observable's expectation simply attenuates: ⟨O⟩noisy=p ⟨O⟩ideal+(1−p)Tr(O)/2n\langle O\rangle_{\mathrm{noisy}}=p\,\langle O\rangle_{\mathrm{ideal}}+(1-p)\mathrm{Tr}(O)/2^n, and for a traceless observable it is just p ⟨O⟩idealp\,\langle O\rangle_{\mathrm{ideal}}. Mitigation then reduces to dividing out pp, with overhead 1/p21/p^2. Randomized compiling (Pauli twirling) deliberately tailors hardware noise toward this Pauli/depolarizing form precisely so that this clean rescaling applies, which is why the model is both a pedagogical staple and a practical target rather than a mere caricature.

What is virtual distillation doing differently from ZNE and PEC?

It exploits the structure of the noisy state rather than a model of the noise channel. Many error processes push ρ\rho toward the maximally mixed state, but its dominant eigenvector often stays close to the ideal pure state. Preparing MM identical copies and measuring Tr(OρM)/Tr(ρM)\mathrm{Tr}(O\rho^M)/\mathrm{Tr}(\rho^M) — via a controlled-derangement circuit that cyclically permutes the copies — projects onto that dominant component, suppressing incoherent error exponentially in MM. Unlike ZNE and PEC it needs no extrapolation form and no channel tomography, but it needs MM times the qubits and cannot remove coherent error that has rotated the dominant eigenvector itself. It is complementary: pair it with ZNE or PEC, which handle the coherent and systematic bias it leaves behind.

Before this

Where this leads