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

All sections

Saved
Error control and measurement

How should a refresh interval balance drifting bias against useful acquisition time?

Calibrating more often can reduce the measurements you need

Source research checked . Teaching calculations are ideal models.

Calibration consumes part of a campaign while attempting to make the remaining measurements more trustworthy. An extremely long interval spends almost all the time acquiring data, but measurements late in the interval may inherit a larger drift. An extremely short interval keeps data young while leaving little useful acquisition time. Neither extreme is automatically the best choice.

The model treats drift after a perfect calibration as a linear bias and assumes measurement ages are uniformly distributed across a repeated acquisition interval. Integrating the squared age-dependent bias gives a mean-squared drift contribution. A separate term reflects the smaller shot count caused by calibration downtime. Adding the two creates a concrete cadence problem whose optimum can be explored without claiming a real laboratory’s drift law is known.

The cases scan integer refresh intervals and compare the best tested choice with a declared reference schedule. They deliberately use a long-run duty-cycle approximation. A short campaign, imperfect calibration, interrupted schedules or random walk drift would need a different calculation. The useful article question is whether a reported improvement includes the time required to establish and maintain the operating point.

Synthetic decision model

Start with the assumptions

  • Each calibration resets bias exactly to zero.
  • Bias then grows linearly at rate r.
  • Campaign boundaries are neglected in the repeated-cycle approximation.

Useful fraction = L/(L+t_cal)

Expected shots = campaign_time × shot_rate × useful_fraction

MSE(L) = r² L²/3 + v/expected_shots

Synthetic calibrating more often can reduce the measurements you need plot: Mean squared error versus Refresh interval.
Synthetic baseline case. Horizontal axis: Refresh interval. Vertical axis: Mean squared error. Curves show Combined model. 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
Campaign time
3600
Calibration time
8
Bias drift per time
0.0001
Shots per useful time
40
Per-shot variance
0.25
Largest refresh interval
180
Reference refresh interval
120
  1. An interval L leaves fraction L/(L + calibration time) for acquisition. At L = 13, that is 0.619048.
  2. Uniform age since a reset gives mean squared drift (r L)^2 / 3 = 5.63333e-07. Shot variance adds 2.80449e-06.
  3. Scan integer intervals 1 through 180; the best is 13. The reference interval 120 gives MSE 4.98519e-05.
Baseline regime · synthetic calculated results
Calculated quantitySynthetic result
Best tested refresh interval13
Useful acquisition fraction0.619047619048
Expected acquired shots89142.8571429
Best modeled MSE0.00000336782051282
Reference-interval MSE0.0000498518518519
Reference / best MSE14.8024075695

The best tested cadence is 13 time units. It is conditional on deterministic linear drift, a perfect reset and long-campaign duty-cycle accounting. If calibration leaves an offset or the drift is stochastic, both the age term and the optimum change. This model uses fractional expected shots; an actual schedule would need integer acquisitions and explicit start/end effects.

Comparison regime
Complete inputs
Campaign time
3600
Calibration time
18
Bias drift per time
0.0006
Shots per useful time
90
Per-shot variance
0.25
Largest refresh interval
180
Reference refresh interval
120
  1. An interval L leaves fraction L/(L + calibration time) for acquisition. At L = 4, that is 0.181818.
  2. Uniform age since a reset gives mean squared drift (r L)^2 / 3 = 1.92e-06. Shot variance adds 4.24383e-06.
  3. Scan integer intervals 1 through 180; the best is 4. The reference interval 120 gives MSE 0.001729.
Comparison regime · synthetic calculated results
Calculated quantitySynthetic result
Best tested refresh interval4
Useful acquisition fraction0.181818181818
Expected acquired shots58909.0909091
Best modeled MSE0.00000616382716049
Reference-interval MSE0.00172888734568
Reference / best MSE280.489264326

The best tested cadence is 4 time units. It is conditional on deterministic linear drift, a perfect reset and long-campaign duty-cycle accounting. If calibration leaves an offset or the drift is stochastic, both the age term and the optimum change. This model uses fractional expected shots; an actual schedule would need integer acquisitions and explicit start/end effects.

Extended regime
Complete inputs
Campaign time
3600
Calibration time
30
Bias drift per time
0.0012
Shots per useful time
150
Per-shot variance
0.25
Largest refresh interval
180
Reference refresh interval
120
  1. An interval L leaves fraction L/(L + calibration time) for acquisition. At L = 2, that is 0.0625.
  2. Uniform age since a reset gives mean squared drift (r L)^2 / 3 = 1.92e-06. Shot variance adds 7.40741e-06.
  3. Scan integer intervals 1 through 180; the best is 2. The reference interval 120 gives MSE 0.006913.
Extended regime · synthetic calculated results
Calculated quantitySynthetic result
Best tested refresh interval2
Useful acquisition fraction0.0625
Expected acquired shots33750
Best modeled MSE0.00000932740740741
Reference-interval MSE0.0069125787037
Reference / best MSE741.103974746

The best tested cadence is 2 time units. It is conditional on deterministic linear drift, a perfect reset and long-campaign duty-cycle accounting. If calibration leaves an offset or the drift is stochastic, both the age term and the optimum change. This model uses fractional expected shots; an actual schedule would need integer acquisitions and explicit start/end effects.

Try the reasoning: If calibration no longer resets the bias exactly, which term would you add or replace before using the chosen refresh interval?

Back to this lab in the catalog