# Adaptive Policy-Guided Error Mitigation (APGEM): A Unified Learning-Based Framework for Noise Resilience in Quantum Machine Learning

Quantum.world

> APGEM makes error-mitigation choice an online bandit decision from training feedback, matching drifting QML circuits and noise instead of one fixed method.

**arXiv**: 2611.13815 · Preprint · not peer-reviewed

**Published**: 2026-11-10

**Authors**: Bisma Majid, Shabir Ahmad Sofi, Mir Mohammad Yousuf

## In plain words

On today's noisy quantum hardware, error mitigation is what stands between a variational algorithm and a usable result — but in practice a practitioner picks one mitigation method by hand and keeps it for the entire experiment. That is a bad fit for quantum machine learning, where the circuit and the noise both drift as training proceeds, so the technique that is best early in training is often wrong later.

## Key results

- **Adaptive selection nearly matches an oracle.** Across the five paradigms and 80 algorithm-and-noise conditions, the controller attains 95.5% of the utility of an oracle that always chooses the optimal technique.
- **All six fixed strategies are beaten significantly.** The comparison yields Friedman χ² = 92.18 with p ≈ 1.1 × 10⁻¹⁷, and pairwise Wilcoxon tests give p < 4 × 10⁻⁶.
- **Performance holds on realistic device noise.** On noise models taken from eight real IBM device snapshots, the controller reaches 99.9% of oracle utility.
- **Cost does not grow with qubit count over the tested range.** Per-decision sampling cost stays roughly constant at about 1.3 × 10⁴ shots from three to eight qubits — the flat-cost claim the paper emphasizes.

## AI summary

## Overview

**Research area:** Quantum error mitigation (QEM) for noisy intermediate-scale quantum (NISQ) hardware, applied to quantum machine learning (QML) and variational quantum algorithms.

**Technical level:** Intermediate. The paper is written for readers who know what a variational circuit, a noise channel, and a training loop are; the machine-learning machinery it introduces (a linear contextual bandit) is presented with full definitions and can be followed without prior bandit expertise.

**Scope (one sentence):** The paper generalizes Adaptive Policy-Guided Error Mitigation into a model-agnostic controller that treats the choice of error-mitigation technique as an online decision, and evaluates it across five quantum learning paradigms under simulated noise, including noise models derived from eight real IBM devices.

## What This Paper Is About

On today's noisy quantum hardware, error mitigation is what stands between a variational algorithm and a usable result — but in practice a practitioner picks one mitigation method by hand and keeps it for the entire experiment. That is a bad fit for quantum machine learning, where the circuit and the noise both drift as training proceeds, so the technique that is best early in training is often wrong later. The authors ask whether the *choice* of mitigation technique can itself be learned online, from signals any variational algorithm already produces, and whether one such controller can serve supervised, kernel, eigensolver, generative, and reinforcement-learning settings without modification.

## Key Contributions

1. **A generalized, model-agnostic formulation of APGEM.** The original APGEM was tied to quantum reinforcement learning and its reward feedback. This paper recasts mitigation selection as an online contextual decision that reads only a shared feedback interface — normalized quality, entropy, fidelity, gradient behavior, circuit statistics, and the operating condition — and never touches the algorithm's internals.
2. **A comprehensive empirical study across five paradigms and 80 algorithm-and-noise conditions**, covering a Variational Quantum Classifier, a Quantum Kernel Method (QSVM), a Variational Quantum Eigensolver, a quantum generative model (Born machine), and a quantum reinforcement learner on a seven-node routing problem, with adaptive selection reaching 95.5% of an oracle that always picks the best technique and significantly beating all six fixed strategies (Friedman χ² = 92.18, p ≈ 1.1 × 10⁻¹⁷; pairwise Wilcoxon p < 4 × 10⁻⁶).
3. **Demonstration that the learned policy is genuinely noise-aware**, with its preferred technique shifting as depolarizing and readout error rise, rather than converging on a single default.
4. **Validation on hardware-calibrated noise from eight real IBM device snapshots**, where the controller tracks the oracle almost exactly (99.9% of oracle utility), per-decision sampling cost stays flat at roughly 1.3 × 10⁴ shots from three to eight qubits, and a regret analysis attributes most of the residual gap to the irreducible noise floor of finite sampling rather than to the policy.

## Main Findings

- **Adaptive selection nearly matches an oracle.** Across the five paradigms and 80 algorithm-and-noise conditions, the controller attains 95.5% of the utility of an oracle that always chooses the optimal technique.
- **All six fixed strategies are beaten significantly.** The comparison yields Friedman χ² = 92.18 with p ≈ 1.1 × 10⁻¹⁷, and pairwise Wilcoxon tests give p < 4 × 10⁻⁶.
- **The policy is noise-aware, not a hidden constant.** The technique the controller favors moves as depolarizing and readout error grow, which the authors present as evidence that it has learned regime structure rather than collapsing to one arm.
- **Performance holds on realistic device noise.** On noise models taken from eight real IBM device snapshots, the controller reaches 99.9% of oracle utility.
- **Cost does not grow with qubit count over the tested range.** Per-decision sampling cost stays roughly constant at about 1.3 × 10⁴ shots from three to eight qubits — the flat-cost claim the paper emphasizes.
- **Residual regret is mostly a sampling floor, not a policy defect.** The regret analysis attributes the remaining gap largely to the irreducible noise of finite sampling; the paper deliberately benchmarks against an *expected*-utility oracle so that shot noise is not wrongly charged to the controller.
- **Design rationale supported by the noise structure.** The utility is a logistic centered on a per-paradigm usability threshold (k = 12, α = 0.15, β = 0.10), which makes an expensive technique rational only where it moves the algorithm across the usable boundary — and makes cheap execution the correct fallback once quality saturates.
- **The context lift matters.** Because the optimal technique is not monotone in the noise rates, a controller linear in the raw 14-dimensional context cannot separate the regimes; a radial-basis lift to 24 dimensions (six centers on the depolarizing axis, two each on readout and coherent axes) makes each technique's region of optimality approximately linearly separable.
- *Not reported in the supplied content:* the per-paradigm, per-condition result tables of the paper's Section 6, the number of decision steps or training horizon used, and any results from execution on live quantum hardware (the study uses the Qiskit Aer state-vector simulator under explicit and device-calibrated noise models).

## Methodology in Plain English

The system is built as three separable layers with a narrow contract between them.

- **Task adapters.** Each of the five learning algorithms is wrapped so that, given a mitigation technique, it runs the algorithm under that technique and reports back a small tuple: a normalized quality score in [0, 1], shots consumed, estimator variance, distribution fidelity, and entropy. The adapter also exposes a gradient-variance probe, circuit statistics, and a usability threshold. Every paradigm's native metric is mapped onto the same 0-to-1 scale — classification accuracy for the classifier and the kernel SVM, energy error normalized by spectral width for the eigensolver, one minus total-variation distance for the generative model, and the ratio of brute-force optimum to found tour cost for the reinforcement learner. The thresholds are 0.75 (VQC), 0.75 (QSVM), 0.80 (VQE), 0.70 (QGen), and 0.60 (QRL).
- **Mitigation pool.** Six options, spanning genuinely different error classes: no mitigation, Zero-Noise Extrapolation, Probabilistic Error Cancellation, Measurement Error Mitigation, Dynamical Decoupling, and circuit optimization. Each returns a corrected distribution, a shot cost, and a variance under one shared signature, so new techniques can be added without touching the algorithms. ZNE folds the circuit at scale factors {1, 3, 5}; PEC inverts an effective global depolarizing channel and pays extra shots for the amplified variance; MEM inverts a tensored confusion matrix and is charged for its calibration shots; DD inserts an X–X echo pair into each idle window; circuit optimization compiles at optimization level three into an {R_z, √X, X, CZ} basis.
- **Controller.** Selection is a linear contextual bandit (LinUCB) over the lifted context, with a fixed rather than annealed exploration coefficient — the argument being that a drifting device will invalidate early learning, so exploration must persist. Only the chosen arm is updated, so no counterfactual information leaks in. Matrix inverses are maintained by the Sherman–Morrison identity, keeping updates at O(D²) instead of O(D³). At evaluation the exploration bonus is dropped and the controller acts greedily. Baseline comparisons use Bayesian linear Thompson sampling, a context-free ε-greedy selector, and static controllers for each fixed technique, all behind the identical interface.
- **Experimental setup.** All execution runs on the Qiskit Aer state-vector simulator. Every paradigm shares the same hardware-efficient ansatz (n_q = 4 qubits, L = 2 layers, R_y encoding plus nearest-neighbour CZ blocks, with barriers closing each block — barriers that mark the idle windows DD can refocus, without which that arm would be redundant). The constructed noise grid crosses depolarizing rates {0.01, 0.05, 0.12, 0.18} with readout error {0, 0.10} and a coherent idle rotation {0, 0.5}, giving sixteen operating conditions. For the classifier and the eigensolver, parameters are first optimized on the noiseless simulator so that mitigation is credited only with recovering a model that had genuinely converged.

## Why This Matters

**Impact on research.** The paper reframes error mitigation from a fixed preprocessing choice into an active, self-optimizing component that co-evolves with the learner. It also supplies the missing step in an evident trajectory in the literature: from analytical suppression (ZNE, PEC), through data-driven regression (near-Clifford training, CDR, vnCDR), to adaptive control. Prior adaptive work such as Adaptive KIK retunes mitigation from real-time noise estimates, but the authors position it as tied to a single circuit, whereas QML moves the circuit and the noise simultaneously. The shared-interface design also gives the field a clean separation between mitigation logic and algorithm internals.

**Real-world applications:**

- **Drug discovery and materials simulation** — protecting VQE energy estimates on near-term hardware, where the quantity of interest is directly the mitigated observable.
- **Financial and logistics optimization** — the reinforcement-learning adapter targets routing, the paper's seven-node problem being a small instance of the traveling-salesman class of problems that motivates the QRL framing.
- **Classical-quantum hybrid classification pipelines** — stabilizing the readout from which class predictions are taken in variational classifiers and quantum-kernel SVMs.
- **Generative modeling and sampling** — maintaining distributional fidelity of quantum-generated samples, where noise does not merely add error but reshapes the output distribution.

**Industry relevance.** The results are reported against noise snapshots from eight real IBM devices and against a cost budget in shots, which is the currency practitioners actually pay in on cloud quantum services. A controller that holds per-decision cost flat at roughly 1.3 × 10⁴ shots from three to eight qubits speaks directly to the economics of running variational workloads on commercial hardware. The adapter/technique separation also lowers integration cost for vendors and toolchain developers: adding a technique is one class, adding a paradigm is one adapter.

## Future Directions

- **Live-hardware validation.** The reported IBM comparison uses device-calibrated noise models, not live execution. Whether the policy transfers to real, drifting devices — and how often it must relearn — is left open.
- **Scaling past eight qubits.** The flat-cost claim is demonstrated from three to eight qubits. Whether the constant-shot property survives at the qubit counts where PEC's sampling overhead becomes prohibitive is untested in the reported content.
- **Theoretical grounding for the quantum setting.** The authors explicitly treat the standard Õ(√T) contextual-bandit regret as motivation for the design rather than as a claim about the quantum case, and rely on measured regret against an empirical oracle. A regret bound that accounts for quantum-specific structure — shot noise correlated with the arm chosen, drifting contexts — remains open.
- **Extending the pool and the paradigm set.** Because the pool is open under a single (p̂, s, V) signature, additional corrections can be added without modifying the controller; the same applies to new learning paradigms through one adapter. Testing whether the controller's advantage holds as the arm count and paradigm diversity grow is a natural next question.

## Target Audience

Researchers and graduate students in quantum computing and quantum machine learning who work on near-term algorithms and are frustrated by the manual, static choice of error mitigation; quantum software engineers and toolchain developers who need a modular, algorithm-agnostic way to wire mitigation into variational pipelines; and applied machine-learning researchers curious about how online decision-making — here, contextual bandits — can be used as a supervisory layer over a noisy physical process. Practitioners focused on cloud quantum hardware will find the shot-cost and device-noise results most immediately useful, while readers new to quantum mechanics will need background in variational circuits and noise channels to follow Section 3.

## Authors’ abstract

Error mitigation stands between variational quantum algorithms and useful results on today's noisy hardware, yet in practice a mitigation method is usually chosen once, by hand, and applied unchanged for the life of an experiment. This is a poor fit for quantum machine learning (QML), where the circuit and the noise drift as training proceeds, so the best strategy in one regime is often wrong in another. We present a generalized form of Adaptive Policy-Guided Error…

[The full abstract on arXiv](https://arxiv.org/abs/2611.13815)

[Read the original paper](https://arxiv.org/abs/2611.13815)

## Related papers

- [Noise-Aware Testing of NISQ Quantum Programs: Self-Baseline Oracle with a Controlled False-Positive Rate](https://quantum.world/paper/noise-aware-testing-of-nisq-quantum-programs-self-baseline-oracle-with-2611.20613) 2026-11-16 · quant-ph · Also by Mir Mohammad Yousuf, Shabir Ahmad Sofi
- [Machine Learning-Based Quantum Error Mitigation for Bound-State Simulations](https://quantum.world/paper/machine-learning-based-quantum-error-mitigation-for-bound-state-2611.32459) 2026-11-24 · quant-ph · Key terms of the title in common
- [Improved Low-Cost Quantum Error Mitigation with Benchmarked-Noise Zero-Noise Extrapolation (bnZNE)](https://quantum.world/paper/improved-low-cost-quantum-error-mitigation-with-benchmarked-noise-zero-2611.16971) 2026-11-12 · quant-ph · Key terms of the title in common
- [Physics-Guided Linear Mapper for Quantum Error Mitigation](https://quantum.world/paper/physics-guided-linear-mapper-for-quantum-error-mitigation-2608.23109) 2026-08-24 · quant-ph · Key terms of the title in common
- [TCBP-JOBS: GPU-Accelerated Quantum Error Correction Decoding and Noise Learning with Near-Optimal Accuracy](https://quantum.world/paper/tcbp-jobs-gpu-accelerated-quantum-error-correction-decoding-and-noise-2611.21321) 2026-11-16 · quant-ph · Key terms of the title in common

---

Canonical: https://quantum.world/paper/adaptive-policy-guided-error-mitigation-apgem-a-unified-learning-based-2611.13815
