quant-phNov 24, 2026

Theory-Informed Quantum Error Mitigation for Shor Order Finding with Fourier Neural Operators

Authors: Stefano Markidis, Qingxin Yang, Erik Åsgrim, Ivy Peng

Organizations: Department of Computational Science and Technology, KTH Royal Institute of Technology, Stockholm, Sweden.

Abstract

Quantum noise distorts the distribution of circuit measurement outcomes, often leaving enough information to infer the algorithm's correct result. To recover this latent information from the noisy distribution in Shor order finding, we introduce a theory-informed quantum error mitigation method. We model how circuit errors shift, broaden, or weaken peaks in the output distribution. These models guide both the generation of synthetic training data and the design of a Fourier neural operator with a learned gain that attenuates or amplifies higher retained Fourier modes. We score each candidate order by averaging the correlations between its ideal distribution and the distributions measured in three circuit executions. The network adjusts these scores to guide the order estimate and determine the weights of a normalized mixture of the ideal distributions. On 1,351 simulated test cases for general modular exponentiation, held out by circuit configuration, exact order recovery rises from 19% to 34%, and the median Jensen-Shannon divergence from the ideal distribution falls by 50%, from 0.64 to 0.32. On 101 Mersenne rotation circuits executed across five IBM quantum processors, a separate model trained and calibrated in simulation increases the number of correct order estimates from 35 to 53. Algorithmic structure can remain recoverable even when noise makes it barely visible.

Figures & tables

Explore similar work

May 16, 2026

O(n)\mathcal{O}(n) alternative to Quantum Fourier Transform with efficient neural net classical post-processing

The Quantum Fourier Transform (QFT) is employed by hidden subgroup problem (HSP) algorithms, including Shor's algorithm for factoring. The circuit depth of the QFT remains challenging for near-term hardware. To find shallower alternatives we identify two properties that are exploited by the QFT to enable HSP. Firstly, the shift invariance of the QFT allows for the removal of a random overall shift. Secondly, the QFT retains information about the hidden subgroup generator accessible in the measurement outcomes. We quantify that information via the discrete Fisher information. We construct a family of shallow circuits using Hadamards and controlled-Phase gates, HP-LL circuits, that we prove preserve shift invariance. Numerical analysis shows these circuits retain exponentially growing Fisher information. The O(n)\mathcal{O}(n) HP-11 is employed in place of the O(n2)\mathcal{O}(n^2) QFT in our numerical implementation of Shor's algorithm. An efficient neural network is used for the corresponding classical post-processing.
Nov 19, 2026

Beyond Error Mitigation: Using Boosting for Noisy Quantum Machine Learning

Quantum error mitigation (QEM) can recover information about ideal quantum computations from noisy circuit executions, but may require a large sampling overhead. Fundamental lower bounds show that recovering noiseless observables without problem-specific information can require superpolynomially many samples, with exponential overhead for broad classes of noisy circuits. However, problem-specific information can reduce the number of samples needed to obtain the required answer. We investigate this possibility in supervised quantum machine learning, where labeled examples provide information about the function to be learned. Binary classification provides such a setting, since correct prediction depends on the sign and margin of the classifier output rather than on accurate reconstruction of every noiseless expectation value. We develop a theoretical and empirical framework for comparing boosting of noisy parameterized quantum circuits with probabilistic error cancellation (PEC), requiring both methods to reach the same learning target. For the specified circuit architectures under Pauli noise, we establish a common hypothesis-class complexity bound: matching empirical margin loss gives the same upper bound on expected classification risk. We derive resource criteria and evaluate AdaBoostR and Real AdaBoost in finite-shot teacher-student simulations across circuit depth and physical noise strength. Under the same classification-accuracy target, boosting requires fewer circuit executions as depth and noise increase. Boosting also achieves higher test accuracy than the corresponding reference. For the supervised-learning problems studied, these results demonstrate a task-dependent resource advantage: exploiting information retained in noisy outputs can avoid the cost of ideal-output reconstruction without sacrificing observed classification performance.
Nov 20, 2026

Mitigating large circuits with a learned small-circuit mitigator

Learning-based quantum error mitigation infers noise-free results from noisy measurement data. However, exact training labels become prohibitively expensive to compute as circuits grow, and the generalization capability of a trained model to infer accurate results on circuits of depths and sizes it was not trained on poses a challenge. We show that circuit cutting allows such a model to be reused on circuits larger than those it was trained on. We benchmark this approach against zero-noise extrapolation, Clifford data regression, and probabilistic error cancellation on simulated circuits several times wider and deeper than the training circuits. On random-circuit chains, the fragment-wise mitigator removes most of the reconstructed error. For a holographic Ising-chain eigensolver under a fixed shot budget, it recovers most of the noise-induced energy error, close to 90% or more, and outperforms Clifford data regression and probabilistic error cancellation. Since the mitigator is trained once and needs no additional circuits or noise amplification at inference, its cost is paid up front rather than for every new circuit. The approach is also modular. Any improvement to the small-circuit mitigator, such as retraining on larger fragments or on device-specific noise, carries over directly to every circuit that can be cut into such fragments. Our proposal thus offers a practical route to bringing learned error mitigation to quantum computations far beyond the reach of exact training labels, provided they can be partitioned with a moderate number of cuts.