Error Mitigation Overview
Error mitigation uses additional experiments, calibration or postprocessing to improve estimates from a noisy quantum device. Its usual target is a particular expectation value or probability. A better estimate does not necessarily correspond to a repaired quantum state, and lower bias can come with enough extra variance to make the estimate less accurate.
This overview develops that tradeoff, explains the main method families, and shows how calibration, rejected shots and method combinations affect the answer. The aim is to choose a procedure that estimates the same desired quantity more accurately at an acceptable cost (Cai et al., 2023).
Helpful background. Quantum measurement as estimation introduces estimators and loss. Variance and covariance explains uncertainty in combined data, and SPAM errors supplies the assumptions behind readout calibration.
Estimates, bias and statistical risk
Section titled “Estimates, bias and statistical risk”Suppose the ideal circuit produces and the desired number is
An estimator is a function of the observed records, possibly including separate calibration data. For squared error,
The expectation averages over repeated acquisitions, not over different physical targets unless an ensemble of tasks is explicitly specified. A single favorable realization does not determine either bias or MSE. The target should be fixed before choosing a method: changing from an unconditional mean to a postselected mean can change the scientific question.
Signed corrections can produce estimates outside the physical range of . That is possible for a statistical estimator and is not a claim that a quantum state has an impossible expectation. Conversely, clipping estimates into a physical range changes their bias and uncertainty.
An exact bias–variance crossover
Section titled “An exact bias–variance crossover”Consider independent outcomes with noisy mean . Assume the attenuation is known exactly. Compare the raw sample mean with the inverse estimate . Their risks at equal-cost shots are
The inverse is unbiased under this exact model, but has larger variance. For , ,
| Shots | Raw MSE | Inverse MSE |
|---|---|---|
Values are rounded to six decimals. Correction becomes better only for , hence integer . The raw estimator approaches its squared-bias floor; the exact inverse keeps improving with more samples.
Exact risks for a binary observable with and known attenuation . At small shot budgets the unbiased inverse is less accurate because of its extra variance. The gray horizontal line is the raw squared-bias floor . Calibration uncertainty and its acquisition cost are excluded from this deliberately conditional comparison.
If attenuation must be learned, its calibration cost and uncertainty belong in the comparison. More science shots do not remove a fixed calibration error. This is why a method’s exact-model unbiasedness is useful but insufficient for predicting experimental accuracy.
What the main methods change
Section titled “What the main methods change”| Method | How it obtains a different estimate |
|---|---|
| Readout correction | Uses a calibrated detector response to infer terminal probabilities or observables. |
| Zero-noise extrapolation | Runs related experiments at altered noise strengths and extrapolates to a specified zero-noise limit. |
| Probabilistic cancellation | Samples implementable noisy operations with signed weights representing the desired ideal operation. |
| Symmetry verification | Detects outcomes inconsistent with a promised ideal sector and uses a conditional or projected estimate. |
Each method needs a physical or statistical assumption. Readout correction requires a response that applies to the science states and context. Extrapolation requires an appropriate family with the intended ideal limit; stretching or folding a circuit can also change coherent errors, leakage and timing. Cancellation requires the target operation to lie in the learned implementable span and the learned noise model to remain applicable. Symmetry checks miss errors within the accepted sector and can themselves be imperfect.
Temme, Bravyi and Gambetta (2017) gives foundational extrapolation and cancellation constructions. Symmetry-based filtering is developed by Bonet-Monroig et al. (2018); multiqubit detector corrections and their costs are studied by Bravyi et al. (2021). The linked specialist pages provide the detailed algorithms. Multiple-copy, learned and subspace-based estimators have further requirements; they do not inherit another method’s assumptions simply because both are called mitigation.
Dynamical decoupling and pulse recalibration change the physical experiment before inference. They can be combined with mitigation, but the improved raw experiment is then the relevant baseline. Quantum error correction protects encoded quantum information; fault tolerance also controls how faults spread through operations. Improvement of one terminal estimate alone establishes neither property. These approaches can coexist without answering the same question.
Signed weights and shot allocation
Section titled “Signed weights and shot allocation”For fixed weights and a vector of measured means,
The covariance matrix must describe the actual acquisition. Shared calibration, paired random circuits and drift can correlate estimates. If the weights themselves are fitted, treating them as fixed omits their uncertainty and possible dependence on the measured means.
For means , weights and
the estimate is and its variance is . Dropping covariance would give . Positive covariance reduces variance here because the two weights have opposite signs; it would increase variance for two positive weights.
For independent component means, let a single shot at setting have variance and cost . With shots and total cost , the continuous allocation optimum is
This assumes known variances, independent acquisitions and positive shot allocations for relevant noisy terms; finite integer budgets require rounding. Equal per-shot variances and equal costs reduce the relative variance scale to , with allocation proportional to . That familiar factor is not a universal measured overhead: unequal variances, covariance, calibration and longer circuits change the comparison.
Calibration uncertainty and method combinations
Section titled “Calibration uncertainty and method combinations”If calibrated parameters enter an estimator , a smooth local approximation adds
There are also cross terms when science and calibration data are dependent. A small denominator, clipping or boundary constraints can make this approximation unreliable. Model mismatch is a possible bias, not merely another sample variance.
For the inverse example, has leading calibration variance . Reusing the same calibration across observables creates shared uncertainty. It can lower the average acquisition cost, but averaging many science results does not average away that common error.
Combining methods defines a new estimator. Correcting a full outcome distribution and then selecting a sector generally differs from discarding outcomes first and correcting the remainder. The discarded outcomes can include valid states misclassified by the detector, while retained outcomes can include contamination from other sectors. Exercise6 gives a finite example.
Likewise, physical suppression can change the detector or noise model needed by a later correction, and extrapolation can change symmetry acceptance. Check the complete ordered procedure on tasks not used to choose its settings. Selecting a polynomial order, clipping threshold or method using the same data later presented as an independent test gives an overly favorable comparison. Device characterization and algorithmic benchmarking discuss these experimental comparisons.
Postselection changes both the target and the cost
Section titled “Postselection changes both the target and the cost”For an acceptance event and recorded observable , distinguish
Neither accepted quantity automatically equals the original ideal target. In a projective sector check with projector , a subsequent observable measurement instead has conditional expectation
This is a well-defined projected-state expectation for positive acceptance. Inferring it by jointly reading an observable and a symmetry requires a compatible measurement scheme; noncommuting checks can disturb the state. A promised ideal sector also does not ensure that filtering improves every noisy expectation—errors within the sector remain.
Among attempts, suppose accepted records contain plus and minus outcomes, while rejected records contain plus and minus. Then , , and . The full observed mean is , a fourth quantity. None of these arithmetic facts tells us the unknown ideal value.
For independent stationary attempts, the accepted count is binomial. Conditional on , the variance of the accepted sample mean is
where . Replacing the reciprocal expectation by is a large-count approximation, not an exact identity. The chance of no accepted sample is .
Alternatively, stop after obtaining a fixed accepted samples. Under the same independent stationary assumptions, the attempted count has mean and variance . Rejected attempts still consume preparation and measurement time. Temporal correlations, drift or adaptive acceptance require a different sampling analysis.
Choosing a useful procedure
Section titled “Choosing a useful procedure”Compare the same target at equal total resources, or compare the cost of attaining the same accuracy and confidence. Include calibration, rejected attempts, extra settings, circuit duration and classical processing. A comparison at equal science-shot count can be informative, but it is conditional on those other costs rather than a complete resource comparison.
Use exactly calculable small circuits, analytic limits or independently bounded references to test predictions. Agreement with values generated by the same fitted noise model checks internal consistency, not robustness to model error. Report improvements and failures across the intended range of circuits; one favorable observable is not a general guarantee.
Noise can erase information needed to distinguish ideal outputs. Recovering those distinctions uniformly can force a large sampling cost, even for elaborate postprocessing (Takagi, Tajima and Gu, 2023). Limits of error mitigation explains the hypotheses of such bounds. They do not make every finite mitigation task useless, and a successful finite example does not establish scalable protection of deep computations. When weights, acceptance or calibration stability make the requested precision impractical, improving controls, changing the experiment or using encoded protection can be the more effective choice.
Exercises
Section titled “Exercises”1. Find the shot-budget crossover
Section titled “1. Find the shot-budget crossover”Derive the two exact risks for the binary attenuation model and find when inverse correction improves the example .
Solution
Since , its variance is . The raw mean has bias and variance divided by . Division by known removes the bias and multiplies variance by . Their risk difference is , so correction is better when . For a target exactly zero, the raw estimator already has zero bias; this inverse only increases variance. The comparison is target-dependent.
2. Allocate shots with unequal costs
Section titled “2. Allocate shots with unequal costs”Minimize at fixed . Evaluate the result for , and .
Solution
A Lagrange multiplier gives . Imposing the cost constraint gives the allocation in the text. Here the weighted sum is , so , and . The second setting gets fewer shots because each costs four times as much. Integer rounding matters for small .
3. Reuse a finite calibration
Section titled “3. Reuse a finite calibration”At , a trusted reference with ideal mean one is measured times to estimate . For the target , find the leading calibration variance of inverse correction and explain its correlation across repeated science batches.
Solution
Reference outcomes are , so . The correction derivative at the mean is , giving . Two independent science batches using this same calibration share this leading covariance. Averaging the batches reduces their independent shot noise but leaves the common calibration contribution. This is a local approximation; random-denominator bias and rare small denominators require attention for small .
4. Filtering can worsen an observable
Section titled “4. Filtering can worsen an observable”In a three-level system let , and . The ideal target is , which lies in . Compare the raw and projected expectations.
Solution
The target expectation is one. The raw value is . Acceptance is and the projected expectation is , farther from the target. The accepted sector contains erroneous population in , while the rejected state’s observable value happened to agree with the target. A valid ideal-sector promise does not imply monotone improvement of each observable.
5. Count attempts and zero-acceptance runs
Section titled “5. Count attempts and zero-acceptance runs”At acceptance , find the expected attempts and their variance to obtain accepted samples. For a different low-yield experiment with and exactly attempts, find the probability of no accepted sample.
Solution
The stopping-rule mean is attempts and its variance is . Expected rejected attempts are approximately . The low-yield fixed-budget experiment has probability of no accepted sample, so a conditional mean is not even defined in more than a third of runs. Fixed attempted and fixed accepted budgets are different experiments.
6. Correcting and selecting do not commute
Section titled “6. Correcting and selecting do not commute”Use latent probabilities and column-stochastic response
The desired conditional probability is for latent outcome zero among outcomes zero and one. Compare full response correction followed by conditioning with discarding reported outcome two first and inverting only the upper-left block.
Solution
The observed vector is . Full inversion recovers , giving . Inverting the retained block on instead gives . Renormalizing yields , not . Normalizing the retained observed data first gives the same final wrong ratio. This block inverse ignores contamination from latent outcome two. If the full response and absolute retained probabilities are known, normalization can supply the third observed probability; that is a full-model reconstruction, not inversion of the truncated block.
7. Account for a complete finite comparison
Section titled “7. Account for a complete finite comparison”A method uses science attempts, calibration attempts and validation attempts; exactly of science records are accepted. What should be compared with a raw procedure given attempts?
Solution
The method uses attempts in total and retains science records. Compare estimates of the same target using those complete budgets, preserving calibration uncertainty and the effect of rejection. Equal attempt count still does not imply equal duration if transformed circuits are longer, nor equal classical processing cost. If calibration is reused, state the workload across which its cost is divided and test that it remains applicable. A numerical improvement on this comparison describes that task and budget, not an automatic improvement of every state or future computation.
References
Section titled “References”- X. Bonet-Monroig, R. Sagastizabal, M. Singh, and T. E. O’Brien, “Low-cost error mitigation by symmetry verification,” Physical Review A 98, 062339 (2018), doi:10.1103/PhysRevA.98.062339.
- S. Bravyi, S. Sheldon, A. Kandala, D. C. McKay, and J. M. Gambetta, “Mitigating measurement errors in multiqubit experiments,” Physical Review A 103, 042605 (2021), doi:10.1103/PhysRevA.103.042605.
- Z. Cai, R. Babbush, S. C. Benjamin, S. Endo, W. J. Huggins, Y. Li, J. R. McClean, and T. E. O’Brien, “Quantum error mitigation,” Reviews of Modern Physics 95, 045005 (2023), doi:10.1103/RevModPhys.95.045005.
- R. Takagi, H. Tajima, and M. Gu, “Universal sampling lower bounds for quantum error mitigation,” Physical Review Letters 131, 210602 (2023), doi:10.1103/PhysRevLett.131.210602.
- K. Temme, S. Bravyi, and J. M. Gambetta, “Error mitigation for short-depth quantum circuits,” Physical Review Letters 119, 180509 (2017), doi:10.1103/PhysRevLett.119.180509.