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

All sections

Saved
Skip Learn navigation
Encyclopedia
Topic

Soft information in quantum decoding

Soft-information decoding uses graded measurement or fault probabilities rather than reducing every signal immediately to a hard binary decision.

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

Explanation and significance

A readout voltage near a decision threshold is less reliable than one far from it. Retaining that distinction can help a decoder weigh competing fault histories. The gain depends on calibration quality and the validity of the likelihood model; badly calibrated confidence can make decisions worse.

Mechanism and mathematical structure

For signal y and binary state b, Bayes’ rule combines likelihood P(y|b) with prior P(b). A log-likelihood ratio L(y)=log[P(y|0)/P(y|1)] can be passed to an inference procedure. For equal-variance Gaussian signals with means ±mu and variance sigma², the ratio is proportional to y, with sign determined by the chosen state labels.

Fully worked reference example

Let P(y|0) be Gaussian with mean +1 and P(y|1) mean -1, both variance 1. Then L(y)=2y. At y=0.1, odds favor0 by exp(0.2)≈1.2214, giving posterior0 probability≈0.549834 with equal priors. At y=2, odds are exp(4)≈54.598, giving posterior≈0.982014. A hard threshold labels both outcomes0 but discards their very different reliability.

Limits and misconceptions

Gaussian assumptions can fail under leakage or measurement transitions. Training and evaluation data must be separated when fitting confidence models. Soft information does not remove the need to account for correlations between checks.

Scientific relationships

Is used in syndrome decoding and erasure identification. Depends on calibrated readout likelihoods. Is distinct from changing the quantum measurement itself.

A likelihood ratio is not yet a posterior

For binary hypotheses b=0 and b=1, a measured signal y contributes L_data(y)=ln[p(y|0)/p(y|1)]. Posterior log odds add the prior term: L_post=L_data+ln[P(0)/P(1)]. With Gaussian signals centered at +1 and −1, both of variance one, L_data=2y. Equal priors give the familiar threshold y=0, but unequal priors shift it.

If P(1)=0.01, the prior log odds are ln(99)≈4.595120 and the decision threshold is y=−ln(99)/2≈−2.297560. At y=−0.5, the raw signal leans toward state one, but L_post≈3.595120 still favors zero, with posterior zero probability about 0.973276. This is a synthetic inference example, not a recommendation to assume rare excited states when decoding an unknown qubit. The prior must match the actual hypothesis being inferred.

Unequal widths alter the decision geometry

For means μ0,μ1 and standard deviations σ0,σ1, the Gaussian likelihood ratio is ln(σ1/σ0)+(y−μ1)²/(2σ1²)−(y−μ0)²/(2σ0²). It is quadratic when the widths differ. A single threshold can then fail to represent the optimal classifier, because an extreme outcome may be more likely under the broader distribution even if it lies beyond the narrower distribution's mean.

Take μ0=1, σ0=1, μ1=−1, σ1=2 and equal priors. At y=4, the ratio is ln(2)−1.375≈−0.681853, favoring hypothesis one despite the positive signal. The example shows why confidence should come from a calibrated likelihood, rather than simply from distance to one arbitrary threshold.

Correlated signals must not be counted twice

Suppose two readout channels have mean vectors +(1,1) and −(1,1), with common covariance matrix [[1,ρ],[ρ,1]]. Their joint log-likelihood ratio is 2(y1+y2)/(1+ρ). Treating them as independent would instead use 2(y1+y2), overcounting shared evidence when ρ is positive.

At ρ=0.8 and y1=y2=0.5, the correct log odds with equal priors are 1.111111, giving posterior probability approximately 0.752336. The independent model gives log odds two and posterior 0.880797. Both select the same label, but the latter assigns excessive confidence that can distort a downstream decoder's competition between fault histories.

Time-resolved readout contains more structure

A qubit can relax while a measurement pulse is being integrated. The resulting signal is a mixture over possible transition times, not simply one Gaussian cloud for each initial state. A matched filter designed for a fixed waveform may discard timing information that distinguishes an initially excited qubit from noise near the threshold. Leakage can add a third population with a different response and subsequent dynamics.

A suitable inference model may include hidden state transitions and multiple levels. Its benefit should be tested on held-out records with independently assessed labels or an explicit preparation model. If preparation errors contaminate the labels, fitting narrower confidence distributions can make posterior estimates overconfident without improving physical discrimination.

Calibration and decoder use

Reliability calibration asks whether events assigned probability q occur with frequency consistent with q under the evaluation conditions. Good classification accuracy does not guarantee calibrated probabilities. A monotonic score can rank events correctly while overstating confidence, which matters when the decoder adds log-likelihood costs across many measurements.

Clipping extreme log odds can prevent a single miscalibrated reading from dominating the recovery. This is a robustness choice with a tradeoff: it also discards valid strong evidence. Updating likelihoods during operation must avoid treating the same syndrome information as both training truth and independent validation. Time drift and shared amplifier conditions should be represented in the acquisition design when they materially change distributions.

Information retained and information unavailable

Soft decoding uses classical information already present in the measured signal. It does not reconstruct a quantum amplitude that the measurement never revealed, nor undo measurement backaction on the data. An analog confidence value for one check also does not specify correlations with neighboring checks unless those correlations are modeled or measured.

Unequal likelihood widths or changed prior odds can shift the decision rule. Correlated channels require joint rather than independent likelihoods. Soft information improves inference when it accurately represents the hypotheses. More digits cannot repair a miscalibrated likelihood. The distributions and posteriors above are synthetic.

Flag decisions depend on consequences

Suppose a readout model supplies posterior leakage probability q. Flagging a healthy block has cost C_fp, while leaving a leaked block unflagged has cost C_fn. The expected costs of flagging and not flagging are C_fp(1−q) and C_fnq. The Bayes-optimal flag rule is q>C_fp/(C_fp+C_fn). If a missed leakage event is assigned cost one hundred and a false flag cost one, the threshold is 1/101≈0.009901, far below one-half.

This is an explicit decision model, not a universal detector threshold. The costs must reflect the outer code and operational protocol; changing them changes the desired action while leaving the posterior unchanged. A classifier's probability calibration and the policy that consumes it are therefore different scientific objects. Missing readout data should similarly be marginalized or represented as unavailable evidence, rather than converted into an artificially confident default value. A numerical score with many decimal places does not supply information that was never measured.

Sources

  • 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.

  • Joschka Roffe; David R. White; Simon Burton; Earl Campbell · · Research paper · Peer-reviewed publication recorded · journals.aps.org
    Verification scope

    Recorded source check ·

    Rank-selected OSD basis, free-variable candidate construction, and bounded search variants checked.

    Selected text only; no full threshold proof, experimental replication, or current performance ranking.