Adaptive Quantum Conformal Prediction
- Adaptive Quantum Conformal Prediction (AQCP) is a method that adjusts prediction intervals in quantum machine learning to counter non-stationary hardware noise.
- It uses an adaptive feedback mechanism to update the miscoverage parameter in real time, ensuring asymptotic coverage and robust performance across various score functions.
- Empirical tests on IBM superconducting processors show AQCP stabilizes coverage near nominal levels, outperforming static quantum conformal methods.
Adaptive Quantum Conformal Prediction (AQCP) is an uncertainty quantification algorithm designed for quantum machine learning scenarios where time-varying hardware noise precludes classical conformal guarantees. By incorporating adaptive feedback mechanisms from conformal inference, AQCP maintains asymptotic coverage validity even under arbitrary non-stationary noise, as empirically documented on IBM’s superconducting quantum processors (Spencer et al., 23 Nov 2025).
1. Quantum Prediction and Classical Conformal Guarantees
In quantum machine learning, prediction relates typically to inferring a real-valued target from classical or quantum features , given i.i.d. training pairs . A parametrised quantum circuit (PQC) models as a distribution generated by applying to measurement samples at times , yielding a multiset which is mapped to targets via a task mapping .
Conformal prediction algorithms operate by calibrating a statistical score function on a set of calibration scores . Assuming exchangeability in and permutation invariance in , the standard conformal approach produces a coverage guarantee:
where the prediction set is and is chosen as the quantile of .
2. Breakdown of Exchangeability under Quantum Hardware Noise
On practical noisy intermediate-scale quantum (NISQ) devices, hardware noise is not static. Each gate and measurement is accompanied by a time-indexed CPTP map , so the observed noisy state for input at time is:
The measurement outcomes thus depend on time , causing the augmented tuple —and consequently the conformity scores —to lose exchangeability. The implication is that the rank of among is no longer uniformly random, therefore voiding the classical marginal coverage proof for conformal prediction sets.
3. Algorithmic Structure of Adaptive Quantum Conformal Prediction
AQCP addresses this lapse of exchangeability by reacting to observed coverage errors with real-time adaptation of the miscoverage parameter . The workflow consists of calibration and online adaptation steps. The procedure—expressed as pseudocode in the source paper—operates as follows:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
Algorithm AQCP(α₁, γ, Ŝ, D_cal, D_test, M) Input: α₁ ∈ [0,1] # initial miscoverage γ > 0 # adaptation step size Ŝ # score function (x,y;𝒜) D_cal = {(x_i,y_i)}_{i=1}^n # calibration data D_test = {(x_i,y_i)}_{i=n+1}^{n+n′} # test stream M # number of shots per query Output: {C_i(x_i)}_{i=n+1}^{n+n′} S ← ∅ for (x_i, y_i) in D_cal do T_i ← take M shots on PQC at input x_i s_i ← Ŝ(x_i, y_i; 𝒜_{x_i,T_i}) S ← S ∪ {s_i} end for α ← α₁ for i = n+1 to n+n′ do λ ← quantile_{1−α}(S ∪ {+∞}) T_i ← take M shots on PQC at x_i C_i(x_i) ← { y∈𝒴 : Ŝ(x_i, y; 𝒜_{x_i,T_i}) ≤ λ } err_i ← 1{ y_i ∉ C_i(x_i) } α ← α + γ (α₁ − err_i) s_i ← Ŝ(x_i, y_i; 𝒜_{x_i,T_i}) S ← S ∪ {s_i} end for return {C_i(x_i)} |
The core update mechanism is expressed as:
where records miscoverage at step ($1$ if , $0$ else). The adaptation step-size determines the balance between responsiveness and stability.
4. Theoretical Asymptotic Coverage Guarantees
The central theoretical result of AQCP is its asymptotic average coverage property, which guarantees that, without requiring exchangeability, the frequency of coverage errors converges to the nominal level :
Thus,
Under mild mixing conditions (scores governed by a hidden Markov model with spectral gap ), the finite-sample tail bound is:
with and , where denotes the hidden Markov state. The proof rests on a decomposition into martingale difference (Hoeffding) and Markov drift (Bernstein).
5. Empirical Analysis on IBM NISQ Hardware
Empirical validation uses multimodal regression as in Park & Simeone (2023): , , with . The quantum model is a 5-qubit hardware-efficient ansatz ( layers), trained using a classical NN encoder with output mapped to PQC rotation angles. Measurement outcomes map to .
Multiple score functions are benchmarked: -NN (), Euclidean distance, kernel density estimation (Gaussian kernel, Silverman bandwidth), HDR mass. Calibration uses points on IBM’s Sherbrooke processor; test stream contains queries, shots/query, with rolling-window quantiles estimated over the last $500$ scores.
The key findings are:
- With the static quantum conformal method (QCP, ), coverage fluctuates around , sometimes dipping near or exceeding .
- Under AQCP (), moving average coverage remains tightly concentrated near the nominal level.
- Coverage stability improvement is consistent across all tested score functions (k-NN, Euclidean, KDE, HDR).
- On noiseless simulators, AQCP achieves target coverage with HDR/KDE scores yielding the smallest prediction sets, Euclid/k-NN generating larger sets, especially when is increased.
Score Function Performance Table
| Score Function | Coverage Stability | Average Set Size |
|---|---|---|
| k-NN | High (AQCP) | Larger |
| Euclidean | High (AQCP) | Larger |
| KDE | High (AQCP) | Smaller |
| HDR | High (AQCP) | Smallest |
6. Practical Considerations and Limitations
The adaptation step-size is critical: small yields slow adaptation, while large induces high-frequency oscillations. Automated or strongly-adaptive selection strategies constitute promising future work. AQCP’s requirement for online labels at each test point limits applicability to settings with frequent supervision; semi-supervised or unsupervised extensions are needed for broader utility.
Only asymptotic or HMM-based tail bounds are available for finite samples; no distribution-free finite-sample guarantee exists under arbitrary noise. Research into beyond-exchangeability frameworks—such as conformal reweighting or data-drift detection—may provide stronger bounds. Sample-based density score functions (KDE, HDR) offer optimal set sizes but at greater computational cost relative to proximity-based alternatives. Development of more efficient or hardware-aware nonconformity metrics is an ongoing concern. Potential enhancement could involve robust modeling or estimation of time-varying noise, enabling hybrid conformal-reweighting and drift-detection approaches for tighter coverage guarantees.
In summary, AQCP implements an asymptotically valid uncertainty quantification protocol for quantum machine learning on noisy hardware, restoring target coverage and coverage stability where classic quantum conformal methods fail due to non-stationary device error profiles (Spencer et al., 23 Nov 2025).