Zero-Noise Extrapolation
Zero-noise extrapolation estimates an ideal expectation by repeating a computation with deliberately increased noise and extrapolating back toward zero noise. Its central tradeoff is simple: cancellation can reduce systematic error, but the signed combination of measurements amplifies statistical fluctuations. A good extrapolation needs both a physically meaningful noise-scaling experiment and a defensible statistical model.
The zero of the scaled noise coordinate need not remove every error. Preparation, readout, unscaled gates and approximation errors can remain. Throughout this page, the intended endpoint is stated separately from the fully ideal answer.
Required background. Error mitigation explains bias, variance and total sampling cost. Markovian and non-Markovian noise explains why repeating an operation need not multiply a fixed noise generator.
Helpful background. Variance and covariance supplies uncertainty propagation. Circuit model fixes ideal composition and inverse operations.
The noise coordinate and its zero limit
Section titled “The noise coordinate and its zero limit”For input , ideal circuit channel and observable , define
Write the actual experimental family as , where is a baseline noise strength, is its gain, and denotes unscaled background effects. Its mean is
The device supplies data at . Extrapolation estimates the unexecuted endpoint . It equals only if the remaining effects are absent or otherwise accounted for. For example, if readout reports , extrapolating gate noise leaves , including the detector’s offset and contrast.
Temme, Bravyi and Gambetta (2017), and Li and Benjamin (2017), developed noise extrapolation for quantum computations. Its perturbative starting point is
The same coefficients must describe all chosen gains, and the remainder must be controlled throughout that range. Smooth-looking data alone do not establish either assumption. Time-correlated noise is not automatically fatal, but stretching or folding can change its spectrum rather than multiply its strength (Schultz et al., 2022).
Cancel low-order terms with Richardson extrapolation
Section titled “Cancel low-order terms with Richardson extrapolation”Choose distinct gains and combine their sample means:
Substituting the expansion shows exactly what the weights must do:
The first condition preserves the constant term. The others cancel the first powers of noise. Evaluating the Lagrange interpolation polynomial at zero gives
For gains , : the zeroth, first, second and third weighted moments are . Thus a controlled cubic contribution survives as . More generally,
This identity specifies a leading term, not a bound on an unknown remainder. For the illustrative curve
the three means are approximately , and . Their combination is : the exact bias for this cubic is .
Why the result can be much noisier
Section titled “Why the result can be much noisier”At two gains , with ,
Nearby gains make the denominator small, magnifying fluctuations and gain errors. Widely separated gains reduce this coefficient norm but probe farther from the weak-noise limit. Larger gain is therefore not always better. Krebsbach, Trauzettel and Calzona (2022) analyze this competition in Richardson designs.
An extrapolate can lie outside the spectral range of because its weights are signed. It is an estimator, not the expectation of a reconstructed physical state. Clipping it changes the estimator and generally introduces bias; a bounded statistical model needs its own uncertainty analysis.
An exact mean and its quadratic interpolant agree at , but the extrapolated intercept is about rather than . These are exact node means: the discrepancy is model truncation, even before sampling uncertainty. The gray region contains the three measured gains.
How physical noise can be amplified
Section titled “How physical noise can be amplified”Folding a unitary circuit
Section titled “Folding a unitary circuit”Global unitary folding replaces
The ideal product remains and its nominal depth factor is . Local folding inserts inverse pairs around selected gates or layers; partial folding averages over subsets to obtain intermediate nominal factors (Giurgica-Tiron et al., 2020). Inspect the final native circuit, since a compiler may remove the inserted pairs or change routing.
Depth is not automatically noise gain. If the erroneous forward gate is and the erroneous inverse is exactly , then the physical fold gives : its coherent error has not increased at all. Other inverse implementations can amplify or rotate different errors. Gate count, leakage, crosstalk and idle time need not scale together.
Repeated shots on one randomly selected fold pattern also do not estimate variation between patterns. Use multiple instances when the protocol averages over them.
Stretching a pulse
Section titled “Stretching a pulse”If the full noiseless Hamiltonian acts for duration , then
produces the same time-ordered ideal unitary. The substitution shows why. Under a fixed, control-independent dissipative generator , the master equation in becomes
This gives an exact noise-strength rescaling within that model, even when the Hamiltonian and dissipator do not commute. Stretching only the driven part while leaving a drift Hamiltonian unscaled need not preserve the target. Drive-dependent noise, bandwidth distortion and colored noise can also invalidate this simple equation.
Adding a randomized Pauli channel
Section titled “Adding a randomized Pauli channel”For a characterized Pauli–Lindblad noise layer,
where and , add the physical channel at the appropriate layer boundary. The combined modeled noise is , . Each added Pauli has probability
Pauli conjugation superoperators commute, even for anticommuting Pauli operators, so the elementary channels can be composed in any order. Individual randomized circuits need not implement the noiseless circuit; it is their specified ensemble that realizes the amplified channel. Negative fitted rates do not define these physical probabilities. The model, inserted controls and layer placement must apply to the actual experiment (Mari, Shammah and Zeng, 2021).
Requested gain versus effective gain
Section titled “Requested gain versus effective gain”Suppose nominal gains are actually . The nominal weights give the first moment , so the supposedly canceled linear term returns as .
For the earlier cubic and actual gains , recalibration changes the comparison:
| Quantity | Nominal weights | Calibrated weights |
|---|---|---|
| Weights | ||
| Estimate | ||
| Absolute-weight sum |
The calibrated estimate is less biased here but more sensitive to sampling. A scalar gain may still be inadequate if different error mechanisms respond differently. Interleave gains in time and repeat baseline circuits to distinguish gain dependence from drift; use diagnostics matched to the gates and observables of interest.
Sampling, covariance and fitting
Section titled “Sampling, covariance and fitting”For independent node means with per-shot variances and shots,
Minimizing this variance with a fixed total gives
For equal per-shot variances this produces a relative factor compared with one raw mean at the same shot budget. It is not a universal cost formula. If each attempt takes time , fixed-time allocation instead satisfies . Include calibration, longer circuits, random instances and rejected attempts in resource comparisons.
With , and , the optimal allocation is and the variance is . Equal allocation gives about .
If node estimates share calibration or drift, use their full covariance :
For the preceding allocation, adding the same random offset of variance to every node makes the result . Dropping its cross-covariances instead gives . An identical additive offset survives because ; other shared patterns can increase or decrease uncertainty.
Calibrated gains are uncertain too. With , combine the data and gain gradients into . The leading propagated variance is , including cross terms. Near-coincident gains can make those derivatives large. Resampling must reproduce the acquisition’s calibration, instance and time dependence.
Fit more points than coefficients when possible
Section titled “Fit more points than coefficients when possible”With design and positive-definite covariance , generalized least squares gives
This requires full column rank; is the intercept. Exact interpolation through points has no residual degrees of freedom. Additional gains can test the model’s predictions, but do not themselves observe the interval from zero to baseline noise.
An exponential needs a physical reason. With known , two distinct nondegenerate means can identify in the exact model; with unknown , at least three suitable gains are needed. Flat data, , coincident rates in multiexponential models and saturation can make inference unidentifiable or very unstable. Taking logarithms requires compatible signs and changes the statistical error model.
Choose model order, gain range and any constraints independently of the final performance comparison. Test intermediate gains, known-answer circuits and sensitivity to the range. A small fitting residual cannot prove the zero-noise endpoint: many smooth curves agree at finitely many nonzero nodes and disagree at zero.
Combining extrapolation with other corrections
Section titled “Combining extrapolation with other corrections”A fixed affine readout correction commutes with fixed Richardson weights because their sum is one. This remains an algebraic identity even for uncertain shared calibration, but its covariance must still be propagated. Gain-dependent calibration, clipping and constrained fitting generally break the equivalence. See measurement-error mitigation.
Conditioning on a symmetry gives a ratio of a projected numerator and an acceptance probability. Extrapolating the two separately and then dividing is generally different from extrapolating their ratio. Rejected attempts and gain-dependent acceptance remain part of the cost and uncertainty. Symmetry verification develops that distinction.
For several independently varied noise coordinates, total-degree- polynomials in variables have coefficients. That many nodes are necessary to determine the whole polynomial, and full rank is still required. Fewer nodes can sometimes determine the intercept along a constrained path; they cannot generally identify every coefficient. Scaling only selected coordinates leaves the others at the extrapolated endpoint.
Exercises
Section titled “Exercises”1. Change the Richardson nodes
Section titled “1. Change the Richardson nodes”Find quadratic-cancellation weights for and the first uncanceled moment.
Solution
The weights are . Their moments through degree three are and their absolute sum is . The leading cubic contribution is , provided the expansion applies over the chosen range.
2. Optimize the sampling allocation
Section titled “2. Optimize the sampling allocation”For weights , per-shot standard deviations and shots, find the minimum variance. How does doubling the second node’s duration change the allocation at fixed total time?
Solution
At fixed shots, both absolute-weighted standard deviations equal one, so and the variance is . At fixed time with durations , ; equal shots are no longer optimal.
3. Follow a shared random offset
Section titled “3. Follow a shared random offset”For weights , compute the contribution of an identical random offset with variance . Compare it with the diagonal-only result.
Solution
Its covariance is , so the full contribution is . Keeping only diagonal entries gives . The offset has not been removed; only the artificial amplification caused by omitting correlated cross terms disappears.
4. Diagnose a wrong gain scale
Section titled “4. Diagnose a wrong gain scale”Nominal gains are actually . What happens to a linear noise term? Can more science shots repair it?
Solution
The actual weighted first moment is . The residual bias is for a linear curve. More shots reduce fluctuations around this wrong mean, so the gain model itself must be corrected or the intended conclusion narrowed.
5. Fold a coherently miscalibrated rotation
Section titled “5. Fold a coherently miscalibrated rotation”The intended gate is , but the forward and inverse pulses implement and . Does one inverse pair triple the rotation error?
Solution
Rotations about the same axis add their angles. The three pulses therefore still implement . Their noiseless target is correct, but the systematic angle error is unchanged. Additional time-dependent decoherence could grow, so different mechanisms would have different gains.
6. Compute the figure’s exact truncation bias
Section titled “6. Compute the figure’s exact truncation bias”For , apply weights at gains . What happens as becomes large?
Solution
Writing gives
The bias is . For , the intercept is approximately . At large all measured means and their polynomial extrapolate approach zero. A known exact exponential model could still recover from sufficiently precise data, but its sensitivity becomes severe: .
7. Separate polynomial recovery from intercept recovery
Section titled “7. Separate polynomial recovery from intercept recovery”A quadratic polynomial in three noise coordinates has ten coefficients. Explain why ten nodes on the diagonal cannot recover them all, yet three distinct diagonal nodes can determine its intercept.
Solution
Restricting the polynomial to the diagonal gives . The design rank is at most three regardless of how many diagonal nodes are used. Individual linear and mixed quadratic coefficients cannot be separated, but is the original intercept, so three distinct diagonal nodes determine it exactly within the quadratic model. Full multivariate coefficient recovery requires a richer full-rank design.
8. Compare two orders of conditioning
Section titled “8. Compare two orders of conditioning”Let a projected numerator be and acceptance be . Use gains and weights . Compare extrapolating before division with extrapolating .
Solution
Separate linear extrapolation gives . Extrapolating the conditional means gives . Although numerator and denominator are linear, their ratio is not. Finite-sample ratio bias and joint covariance must be analyzed in addition to this deterministic difference.
References
Section titled “References”- T. Giurgica-Tiron, Y. Hindy, R. LaRose, A. Mari, and W. J. Zeng, “Digital Zero Noise Extrapolation for Quantum Error Mitigation,” in 2020 IEEE International Conference on Quantum Computing and Engineering, 306–316 (IEEE, 2020), doi:10.1109/QCE49297.2020.00045.
- M. Krebsbach, B. Trauzettel, and A. Calzona, “Optimization of Richardson Extrapolation for Quantum Error Mitigation,” Physical Review A 106, 062436 (2022), doi:10.1103/PhysRevA.106.062436.
- Y. Li and S. C. Benjamin, “Efficient Variational Quantum Simulator Incorporating Active Error Minimization,” Physical Review X 7, 021050 (2017), doi:10.1103/PhysRevX.7.021050.
- A. Mari, N. Shammah, and W. J. Zeng, “Extending Quantum Probabilistic Error Cancellation by Noise Scaling,” Physical Review A 104, 052607 (2021), doi:10.1103/PhysRevA.104.052607.
- K. Schultz, R. LaRose, A. Mari, G. Quiroz, N. Shammah, B. D. Clader, and W. J. Zeng, “Impact of Time-Correlated Noise on Zero-Noise Extrapolation,” Physical Review A 106, 052406 (2022), doi:10.1103/PhysRevA.106.052406.
- 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.