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

All sections

Saved
Skip Learn navigation
Encyclopedia
Topic

Readout-error mitigation

Readout-error mitigation corrects estimated outcome statistics using a calibrated model of measurement assignment errors.

Edition released Coverage: Overview · Technical · Research
On this page

Explanation and significance

The method acts on data after measurement and can reduce bias in observables. It cannot restore coherence destroyed by measurement or undo earlier gate errors. Calibration uncertainty and changing detector behavior must be propagated into the final estimate.

Mechanism and mathematical structure

For a symmetric binary assignment error e, observed expectation of Z is z_obs=(1-2e)z_true, so the corrected estimator is z_hat=z_obs/(1-2e). Its variance is amplified by 1/(1-2e)² if e is treated as known. More general correlated readout uses a stochastic assignment matrix and constrained or regularized inversion.

Fully worked reference example

With e=0.1 and z_obs=0.4, the corrected estimate is 0.4/0.8=0.5. If the uncorrected standard error is 0.02, the corrected standard error is 0.025 before calibration uncertainty. If the actual e were 0.12, the same observed value would correspond to 0.4/0.76≈0.526316, illustrating sensitivity to model drift. Near e=1/2, inversion becomes ill-conditioned because the detector carries almost no state information.

Limits and misconceptions

Naive inversion can yield negative probabilities or expectations outside[-1,1] from finite samples. Clipping changes bias and should not be hidden. Tensor-product calibration is insufficient when readout errors are correlated.

Scientific relationships

Is an error-mitigation technique using assignment models. Depends on readout calibration. Is distinct from improving the physical detector or performing QEC.

Asymmetric assignment and an observable-level inverse

Let a be the probability of reporting one for a prepared zero and b the probability of reporting zero for a prepared one. With true excited-state probability p, the observed one probability is q=a+(1−a−b)p. The inverse is p=(q−a)/(1−a−b), provided the denominator is nonzero. This model assumes a classical assignment channel independent of the preceding circuit and of coherences in the measured basis. A detector with additional state-dependent backaction or unresolved leakage may require a larger model.

For a=0.02, b=0.13, and q=0.64, the reconstructed population is 0.62/0.85=0.729412. A symmetric correction using the average of a and b would miss the offset even though it has the same contraction coefficient. The equivalent Z estimator assigns weight 1+2a/0.85=1.047059 to a reported zero and 1−2(1−a)/0.85=−1.305882 to a reported one. Averaging these weights produces the corrected expectation directly without reconstructing a full distribution.

Calibration and sampling uncertainty together

For ten thousand measurement shots, the standard error of q is sqrt[0.64×0.36/10000]=0.0048. Treating calibration as exact gives a standard error of p equal to 0.0048/0.85=0.005647. Calibration contributes separately. The derivatives are ∂p/∂a=(p−1)/(1−a−b) and ∂p/∂b=p/(1−a−b). They have opposite signs because changing the two misclassification directions changes the inferred population differently.

If a and b each come from ten thousand independent calibration shots, their variances are a(1−a)/10000 and b(1−b)/10000. Adding the three derivative-weighted terms gives the full leading variance under this model. Covariances from shared drift or joint fitting must be added when present. Repeating the final measurement indefinitely does not remove a fixed calibration uncertainty; it only shrinks the q contribution. Likewise, calibration acquired before a frequency jump may provide a precise estimate of the wrong assignment matrix.

Inverting only what is identifiable

For a many-outcome detector, write q=Ap with A column-stochastic. To estimate a linear observable oᵀp, solve Aᵀw=o and average the outcome weights w. Full reconstruction of p is unnecessary when only one observable is required. If no solution exists, the observable is not identifiable from that measurement model alone. If the solution has large entries, sampling variance can be severe even when the matrix is formally invertible.

With independent identical symmetric assignment errors e on n qubits, a weight-n Z parity is attenuated by (1−2e)ⁿ. Its corrected outcome magnitude is (1−2e)⁻ⁿ, giving a second-moment scale (1−2e)⁻²ⁿ. At e=0.05 and n=20 this scale is 0.9⁻⁴⁰≈67.655. The number concerns one parity observable; it is not a universal overhead for every observable on the register. Low-weight observables can remain substantially easier to mitigate.

Correlated readout, preparation, and regularization

Joint assignment errors can depend on neighboring states because resonators, amplifiers, thresholds, or classification features interact. A tensor product of single-qubit matrices then omits relevant columns of the true joint map. Calibrating all 2ⁿ basis states becomes expensive, motivating locality or sparsity assumptions. Such assumptions are approximations to validate in the operating context, not consequences of calling the detector classical.

Calibration also mixes preparation error with readout error unless preparations are trusted or jointly characterized. If a nominal |1⟩ state relaxes before the measurement, the measured column includes that decay. Using it as a pure detector correction can then overcorrect a different circuit with a different delay. A precise timing definition identifies which physical interval belongs to the calibrated map.

Constrained inversion can enforce nonnegative reconstructed populations, and regularization can reduce sensitivity to small singular values. Both change finite-sample bias. Projecting an estimate onto the probability simplex is useful in some analyses, but it should not be presented as preserving the unbiasedness of an unconstrained linear estimator. Reporting the raw observable, corrected estimate, calibration dataset, model class, and uncertainty makes that tradeoff assessable.

Completing the asymmetric uncertainty example

Using the three independent ten-thousand-shot datasets specified above, the combined leading standard deviation of the reconstructed population is approximately 0.00635739. This exceeds the 0.00564706 value obtained when calibration is treated as exact. Both numbers are conditional on the classical assignment model and stationary probabilities; neither includes a systematic preparation bias or time drift. The calculation gives a concrete scale for the contribution that a final-shot-only error bar would omit.

An assignment matrix with a+b>1 is not intrinsically uninformative. It reports labels more often inverted than correct, and relabeling can recover a useful detector description. The singular case is a+b=1, where q=a is independent of the true population. The determinant's magnitude controls inversion sensitivity, while its sign merely records the labeling orientation. This prevents confusing an anticorrelated detector with a detector that carries no state information.

Sources

  • Zhenyu Cai et al. · · Review article · Peer-reviewed publication recorded · DOI link
    Verification scope

    Citation identity checked ·

    Methods and costs; mitigation is not equivalent to fault-tolerant correction.

  • Philip Krantz et al. · · Review article · Preprint recorded · arXiv
    Verification scope

    Citation identity checked ·

    Results are specific to the source model or experiment; no present-day ranking is inferred.

  • Sergey Bravyi, Sarah Sheldon, Abhinav Kandala, David C. McKay, Jay M. Gambetta · · Research paper · Publication status unspecified · arXiv · DOI 10.1103/PhysRevA.103.042605
    Verification scope

    Selected text checked ·

    Assignment-map orientation, tensor-product versus correlated model assumptions, and restriction to statistical expectation correction checked in full-text introduction.

    No present hardware error rate is inferred. Original asymmetric inverse and covariance propagation are independently computed.