Skip to content
Current section
The Quantum Computing Enthusiast’s Hub
Saved
All sections

All sections

Saved
Error control and measurement

How many shots make a reduction in bias worth its extra variance?

The useful mitigation threshold is an error-budget crossover

Source research checked . Teaching calculations are ideal models.

An error-mitigated estimate can move closer to a reference on one run and farther away on another. That variation is expected when the procedure amplifies sampling noise. Judging the method by a single favorable estimate confuses chance with a repeatable improvement. A planning calculation needs a loss function that accounts for both the systematic offset and the spread.

Mean squared error supplies a simple choice: variance plus squared bias. This lab stipulates a raw bias, a smaller residual bias after mitigation and a variance multiplier. With few shots, the added variance can dominate. With enough shots, a reduction in persistent bias can become more valuable. Equating the two expressions gives a transparent crossover rather than an unconditional claim that mitigation helps or hurts.

The assumed biases are the difficult inputs. They cannot normally be read directly from an unknown quantum answer. A trusted smaller problem, a controlled noise study or an independently justified model may provide evidence about them. The example therefore belongs beside a discussion of validation. It explains what would have to be known to choose a sample budget, while keeping the synthetic crossover separate from an experimentally established accuracy gain.

Synthetic decision model

Start with the assumptions

  • The multiplier gamma applies to variance, not standard deviation.
  • Biases and shot variance are constant over the campaign.
  • Both estimates target the same observable.

MSE_raw = b² + v/N

MSE_mitigated = b_m² + gamma v/N

N_cross = (gamma-1)v/(b²-b_m²), when the denominator is positive

Synthetic the useful mitigation threshold is an error-budget crossover plot: Mean squared error versus Total shots.
Synthetic baseline case. Horizontal axis: Total shots. Vertical axis: Mean squared error. Curves show Raw MSE, Mitigated MSE. These are computed teaching examples, not measured hardware results.

Compare the input regimes

Each case uses invented inputs. The results follow from this model and do not describe measured hardware.

Baseline regime
Complete inputs
Raw bias
0.05
Residual mitigated bias
0.01
Per-shot variance
0.25
Variance multiplier
2
Total shots
100
  1. Raw MSE = bias squared + sampling variance = 0.0025 + 0.0025.
  2. Mitigated MSE = residual bias squared + inflated sampling variance = 0.0001 + 0.005.
  3. Equating the MSEs gives N = 104.166667. Integer shot counts above that value favor mitigation in this model.
Baseline regime · synthetic calculated results
Calculated quantitySynthetic result
Raw mean squared error0.005
Mitigated mean squared error0.0051
Raw root mean squared error0.0707106781187
Mitigated root mean squared error0.0714142842854
Continuous crossover shots104.166666667

At 100 shots, the raw estimate has lower modeled MSE. This is an accuracy comparison over repeated hypothetical experiments, not a judgment based on whichever single answer looks closer to an expected result. Biases must be independently characterized before using the model to plan an experiment.

Comparison regime
Complete inputs
Raw bias
0.05
Residual mitigated bias
0.02
Per-shot variance
0.25
Variance multiplier
2
Total shots
3200
  1. Raw MSE = bias squared + sampling variance = 0.0025 + 7.8125e-05.
  2. Mitigated MSE = residual bias squared + inflated sampling variance = 0.0004 + 0.000156.
  3. Equating the MSEs gives N = 119.047619. Integer shot counts above that value favor mitigation in this model.
Comparison regime · synthetic calculated results
Calculated quantitySynthetic result
Raw mean squared error0.002578125
Mitigated mean squared error0.00055625
Raw root mean squared error0.050775240029
Mitigated root mean squared error0.0235849528301
Continuous crossover shots119.047619048

At 3,200 shots, mitigation has lower modeled MSE. This is an accuracy comparison over repeated hypothetical experiments, not a judgment based on whichever single answer looks closer to an expected result. Biases must be independently characterized before using the model to plan an experiment.

Extended regime
Complete inputs
Raw bias
0.05
Residual mitigated bias
0.032
Per-shot variance
0.25
Variance multiplier
3
Total shots
204800
  1. Raw MSE = bias squared + sampling variance = 0.0025 + 1.2207e-06.
  2. Mitigated MSE = residual bias squared + inflated sampling variance = 0.001024 + 3.66211e-06.
  3. Equating the MSEs gives N = 338.753388. Integer shot counts above that value favor mitigation in this model.
Extended regime · synthetic calculated results
Calculated quantitySynthetic result
Raw mean squared error0.00250122070313
Mitigated mean squared error0.00102766210937
Raw root mean squared error0.0500122055415
Mitigated root mean squared error0.0320571693912
Continuous crossover shots338.753387534

At 204,800 shots, mitigation has lower modeled MSE. This is an accuracy comparison over repeated hypothetical experiments, not a judgment based on whichever single answer looks closer to an expected result. Biases must be independently characterized before using the model to plan an experiment.

Try the reasoning: At what shot budget does the lower modeled bias repay the extra variance? Explain why a single favorable estimate cannot establish that crossover.

Sources and model boundaries

  • Error mitigation for short-depth quantum circuits ↗

    Error-mitigation methods target expectation-value errors using techniques such as noise extrapolation and quasiprobability sampling. The MSE lab is an independently derived decision model; it does not attribute its assumed residual biases or variance multipliers to this paper.

Back to this lab in the catalog