Interactive Calculator · Noise and Error Correction
Error Mitigation Overhead Calculator
Find out how many shots probabilistic error cancellation needs for your circuit, and where the mitigation wall hits.
Standard error you want on the expectation value, which lies between −1 and 1.
Noise strength λ
0.720
Sum of gate errors, the expected number of faults
Sampling overhead γ
4.22
e^(2λ) for Pauli noise
Shots with mitigation
178,143
17.81× the shots of a noise-free run
Wall-clock time
35.63 seconds
at 5,000 shots per second
Without mitigation
Noise damps the signal to about 48.7% of its true value, a bias you cannot average away.
Within your shot budget
With 100,000,000 shots and δ = 0.01, mitigation can handle noise strength up to λ ≈ 2.30, which is about 767.5 two-qubit gates at this error rate.Shots needed versus circuit size
Signal surviving without mitigation
Estimate the sampling overhead of probabilistic error cancellation from gate counts and error rates, the number of shots and wall-clock time for a target precision, the signal lost without mitigation, and the largest circuit your shot budget can handle.
What this calculator does
Before full error correction arrives, researchers use error mitigation to squeeze better answers from noisy devices. One family of methods, probabilistic error cancellation, works by running many randomized variants of a circuit and combining their results with positive and negative weights so that the noise cancels on average. The method can remove bias completely in principle, but it pays with variance: the combined estimator has a larger spread, and the number of shots grows with the square of a sampling overhead γ that increases exponentially with the amount of noise in the circuit.
This calculator lets you see the exponential price. Enter the gate counts and error rates, the precision you want, the speed of the machine, and the total number of shots you can afford. It computes the noise strength λ, the sampling overhead γ, the shots required, the time they take, and the fraction of the true signal that survives if you do not mitigate at all. It also reports the largest noise strength your shot budget can mitigate, expressed as a number of two-qubit gates.
How to use it
Open the Small VQE circuit preset. With 60 two-qubit gates at 0.5 percent error and 150 single-qubit gates at 0.05 percent, the noise strength is about 0.375, which gives a sampling overhead of 2.1 and about 180,000 shots for a precision of 0.005. At 5,000 shots per second that takes about 36 seconds. Mitigation is cheap here. Now open the Utility-style circuit preset, which uses 2,880 two-qubit gates at 0.2 percent error. The noise strength is about 6.8, the overhead exceeds 700,000, and the required shots reach 10 to the 15, which is out of reach. This is why large experiments, such as the 127-qubit utility experiment of 2023, used cheaper methods such as zero-noise extrapolation, which trades guaranteed unbiasedness for a feasible cost.
The first chart plots shots against circuit size on log-log axes, with a horizontal line at your budget. The curve rises faster than any power law, because the number of shots grows as the exponential of twice the noise strength squared. Where it crosses your budget line is the mitigation wall. For a budget of 10⁸ shots and a precision of 0.01, the wall sits at a noise strength of about 2.3, which is roughly 770 two-qubit gates at 0.3 percent error. The second chart shows the signal that survives without mitigation, which decays exponentially as well. Together the charts show the dilemma: without mitigation the answer is biased, and with it the cost explodes.
Try improving the hardware. Lower the two-qubit error from 0.3 percent to 0.1 percent and watch the wall move out by a factor of three. Halving the error rate does not merely halve the cost; it can reduce the shots needed by many orders of magnitude for a fixed circuit, which is why hardware improvement is worth more than any mitigation trick.
Reading the result
The overhead γ is the factor by which the one-norm of the quasi-probability decomposition exceeds one, and shots scale as γ² over the square of the target precision. For Pauli noise of total strength λ, the overhead is approximately e^(2λ), with exact values depending on the noise model. The unmitigated signal factor e^(−λ) is the approximate circuit fidelity: if the noise were a global depolarizing channel, the measured expectation value would be damped by that factor.
Theory says the exponential cost is not an artifact of one method. Takagi and coauthors in 2022 and Quek and coauthors in 2024 proved that any error mitigation strategy needs an exponentially growing number of samples in the circuit depth under realistic noise, which means mitigation extends the reach of noisy devices modestly but cannot replace error correction.
Assumptions and limits
The model uses the simple exponential approximation for the sampling overhead and assumes that every gate has Pauli noise of the stated strength, that errors are independent, and that the noise has been characterized exactly, which is itself costly. It ignores readout error mitigation, the cost of learning the noise model, drift between calibration and execution, and the benefit of exploiting circuit structure. Other mitigation methods, such as zero-noise extrapolation and symmetry verification, have different cost profiles. Use the tool to understand why the cost grows so fast, not to forecast a particular experiment.
The formulas behind it
Noise strength
λ ≈ Σ εᵢ = ε₂G₂ + ε₁G₁
Expected number of faults in the circuit.
Sampling overhead
γ ≈ e^(2λ)
For Pauli noise inverted by probabilistic error cancellation.
Shots required
N ≈ γ² / δ²
δ is the target standard error on an expectation value bounded by one.
Unmitigated signal
s ≈ e^(−λ)
Damping of the expectation value under global depolarizing noise.
Mitigation wall
λ_max = ½ ln(δ√S)
Largest noise strength mitigable with S total shots at precision δ.
Worked examples
A small variational circuit
- ε₂ = 0.5%, G₂ = 60, ε₁ = 0.05%, G₁ = 150, δ = 0.005.
- λ = 0.30 + 0.075 = 0.375, so γ = e^(0.75) = 2.12.
- N = 4.48 / (0.005)² ≈ 1.8 × 10⁵ shots.
ResultAbout 36 seconds at 5,000 shots per second.
A utility-scale circuit
- ε₂ = 0.2%, G₂ = 2,880, ε₁ = 0.02%, G₁ = 5,000, δ = 0.02.
- λ = 5.76 + 1.0 = 6.76, so γ = e^(13.5) ≈ 7.4 × 10⁵.
- N ≈ (7.4 × 10⁵)² / (0.02)² ≈ 1.4 × 10¹⁵.
ResultFar beyond any shot budget, which is why such experiments use cheaper, biased mitigation.
What a 10⁸ shot budget can handle
- δ = 0.01 and S = 10⁸ give γ_max = 0.01 × 10⁴ = 100.
- λ_max = ½ ln 100 = 2.30, and at ε₂ = 0.3% that is about 770 two-qubit gates.
ResultThe mitigation wall for that budget.
Frequently asked questions
Is error mitigation the same as error correction?
No. Mitigation reduces bias in estimated averages using extra shots, and it does not protect the quantum state or enable long computations.
Why does the cost grow exponentially?
Each gate's noise needs a correction with weights larger than one, and the overheads multiply across the circuit.
Which mitigation method should I use?
It depends on the circuit. Probabilistic error cancellation is unbiased but expensive, zero-noise extrapolation is cheaper but biased, and symmetry-based methods are cheap when applicable.
References
- Temme, K., Bravyi, S., & Gambetta, J. M. (2017). Error mitigation for short-depth quantum circuits. Physical Review Letters, 119, 180509.
- Endo, S., Benjamin, S. C., & Li, Y. (2018). Practical quantum error mitigation for near-future applications. Physical Review X, 8, 031027.
- Kandala, A., et al. (2019). Error mitigation extends the computational reach of a noisy quantum processor. Nature, 567, 491-495.
- van den Berg, E., Minev, Z. K., Kandala, A., & Temme, K. (2023). Probabilistic error cancellation with sparse Pauli-Lindblad models on noisy quantum processors. Nature Physics, 19, 1116-1121.
- Takagi, R., Endo, S., Minagawa, S., & Gu, M. (2022). Fundamental limits of quantum error mitigation. npj Quantum Information, 8, 114.
- Quek, Y., et al. (2024). Exponentially tighter bounds on limitations of quantum error mitigation. Nature Physics, 20, 1648-1658.
- Kim, Y., et al. (2023). Evidence for the utility of quantum computing before fault tolerance. Nature, 618, 500-505.
Keep exploring
- Paper: Evidence for the Utility of Quantum Computing Before Fault Tolerance
- Paper: Exponentially Tighter Bounds on Limitations of Quantum Error Mitigation
- Term: Quantum Error Mitigation
- Term: NISQ
- Forecast: Quantum Advantage by 2030: What to Expect and What Not To
These calculators use simplified, published models for education and planning. Real devices and systems differ, so treat results as estimates. They are not engineering, investment, legal, or security advice.