Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

Drift: a calibration-free neural decoder that adapts to synthetic drifting noise from its own syndromes

Chahat Patel

Published Nov 18, 2026• 0 citations
Publisher

Abstract

Quantum computers don't hold still. Their error rates drift: defects switch on and off, and cosmic rays briefly scramble groups of qubits. Most decoders are tuned to one fixed noise model, so when the noise moves they keep correcting for a chip that no longer exists. Drift is a neural decoder that watches its own data instead. Alongside every shot it gets a "fingerprint": how often each detector has fired over the last 2,000 shots it decoded. It never sees calibration data or the true noise, only what its own syndromes tell it. In circuit-level simulation at code distance 5, on large error bursts it was never trained on, a three-model ensemble reaches a logical error rate of 0.0457. Standard matching gets 0.0980, the best sliding-window reweighted matching 0.0896, and matching that knows the true noise 0.0426. A control experiment separates the two sources of this gain. With the fingerprint frozen, the same network scores 0.0576 (paired McNemar p = 3×10⁻²⁴⁷), close to a network trained without one. So the decoder genuinely adapts to synthetic drift, but most of its lead over matching comes from being a better decoder in the first place. The same network can also point to which qubits went bad. It does this better than a simple baseline on bursts like those it trained on, but not clearly on larger, unfamiliar ones. Four architectural extensions were judged by decision rules set before each run; all four failed, and the paper reports them. Every result uses three training seeds and five independent test streams. Every version-1 number can be recomputed from the released per-shot data, and a claim-by-claim audit was run before release. All results are from simulation at distance 5 or less. v2: adds a pre-registered physics-based drift evaluation (SI1000 device noise with TLS, cosmic-ray, slow and coupler drift). Without retraining, all four ensembles beat MWPM calibrated to the device (logical error rate 0.0016–0.0017 against 0.0022); the live fingerprint gives no gain on this drift. Round-10 streams regenerate from the manifest in the repository.

DOI
10.5281/zenodo.24342172

Related papers

DEVS Quantum Predictability Lab: hard exclusion and adaptive soft decoding under drift, misspecification, leakage and crosstalk (QP-02-H7-H16)

Mariusz Kulma

Version 1.3 (deposit build v6): Adds two preregistered studies of soft decoders that learn the crosstalk from the syndrome stream (H15, H16), their reproducibility package and a joint technical note. Earlier labels (H7 to H14) are unchanged. Synthetic scope only. Technical notes and a reproducibility package containing code, synthetic data, preregistrations, decision records and archived review reports for nine preregistered synthetic studies of drift-aware decoding of a distance-5 repetition code. The baseline model has one drifting data qubit; H9 adds a second co-drifting qubit in its misspecification arm. Known omissions from the archived history are documented in DEPOSIT_README.md. QP-02-H7, a kill test at equal information (1850 fresh trajectories): a hard keep/exclude switch beat neither equal-information baseline; verdict NO_SEPARATION. The soft reweighting policy P9 had an 8.6% [95% CI 7.1%, 10.0%] lower logical error rate than the switch, and a change-aware in-epoch estimator P10 3.1% [1.4%, 4.9%]. The hard action is not the source of the advantage measured in earlier runs. QP-02-H8, a preregistered 2x2 decomposition of the P9 versus P10 difference (1225 fresh trajectories): both main-effect labels POSITIVE; under the frozen attribution rule the estimator procedure is attributed to P9's advantage and the protocol regime offsets part of it. QP-02-H9 addendum: with a second qubit co-drifting with the first, the procedure contrast favours the structure-free estimator (run 002, labels NEGATIVE; an outcome-aware validation after run 001, which was INVALID_RUN and is reported beside it, never pooled). QP-02-H10, leakage on the drifting qubit (2025 fresh trajectories): both paired shifts favour the switch (D9 and D10 POSITIVE), but survival of the switch against both frozen soft baselines is not established (SURVIVAL_NOT_ESTABLISHED, a failed superiority test, not evidence against the switch). Leakage intensities are declared stress-test values of a synthetic model, not hardware estimates. QP-02-H12, crosstalk from the drifting qubit to one neighbour (1875 fresh trajectories): in the high-noise stratum, switching the drifting qubit off beat both frozen soft decoders by more than the preset 10% margin when switching it off also removed the crosstalk; when the neighbour kept erring afterwards, exceeding the margin was not established. These results do not establish that removing the crosstalk source is necessary to exceed the margin. QP-02-H13 and QP-02-H14, a two-suspect switch that also detects and reweights the affected neighbour (a hybrid): in the prespecified high-noise stratum, against the frozen soft decoders, which know nothing about the crosstalk, its advantage exceeded the margin (H13). Against a soft decoder given exactly the same information (H14) the hybrid kept a small, statistically established advantage of about 2%, but exceeding the margin was not established. Outside that stratum the informed decoder was ahead. In this model and primary stratum, adding the same neighbour information to the soft decoder recovered most of the hybrid's observed gap to the uninformed decoder; the remaining contrast compares complete policies, not exclusion alone. Crosstalk strength is a declared stress-test value of a synthetic model, not a hardware estimate. QP-02-H15 and QP-02-H16, soft decoders that try to learn the crosstalk pair edges from the detection events alone, without being told where the crosstalk is (all comparisons in the prespecified high-noise stratum): the first learner (P10's pooled estimator with a screening rule) kept spurious pair edges and was worse than the plain adaptive decoder with and without crosstalk (H15). A second learner with a per-layer estimator and a bootstrap-calibrated keep rule no longer did harm: it improved slightly on the plain decoder with crosstalk, and its error-rate increase without crosstalk was established to be below 5%; but enabling the learned pair edges still made it worse than the same learner without them (H16). In both studies the H13 hybrid switch cleared the preset 10% margin against the learner. A first frozen version of H16 failed its own calibration gate and was stopped before any pilot or endpoint analysis; its records are included, and the revised keep rule is declared outcome-aware with respect to that gate. QP-02-H11 (a leakage-aware switch) was closed before its preregistration was frozen; its draft, feasibility run and reviews are included as records, without labels. All data are simulated; no quantum hardware and no personal data are involved. Code (*.py, *.ps1, *.sh, *.lua) is MIT licensed, all other content CC BY 4.0, except attributed quotations of third-party works, which keep their original rights. Start with DEPOSIT_README.md inside the archive.

•Sep 26, 2026•0 citations

Learning to Correct Quantum Errors

Mayank Goswami, Shreeyam Bangera

Fault-tolerant quantum computers must continually decode noisy parity-check data, known as the syndrome, to determine whether an encoded logical qubit has been corrupted. The standard decoder, minimum-weight perfect matching (MWPM), assumes independent, graph-like errors and is sub-optimal under realistic circuit-level noise. We present a compact residual 3D convolutional neural network (0.5–0.6 million parameters) that reads the space-time syndrome of a rotated surface code as a volumetric image. Trained on Stim simulations at code distances d = 3 and d = 5 and evaluated on 3.6 million held-out shots, a three-seed ensemble outperforms correlated MWPM, the strongest baseline we test, at all 18 noise settings, with 6–46% fewer logical errors (paired McNemar p-value below 0.03 in every setting). On real Google Sycamore data (d = 3, five rounds), the network is pre-trained on the device's fitted error model and fine-tuned on half of the shots. It achieves a logical error rate of 13.03%, compared with 13.57% for correlated MWPM on the same held-out shots, and outperforms it on all eight cross-validation folds, although it does not match belief-matching or tensor-network decoders. Its outputs are well calibrated (ROC AUC = 0.998): discarding the 10% least-confident shots reduces errors tenfold. An ablation study identifies space-time locality as the essential inductive bias. All models train in 49 minutes on two freely available GPUs, and the data and code are publicly available.

•Nov 9, 2026•0 citations

Adaptive Estimation of Drifting Noise in Quantum Error Correction

Devansh Bhardwaj, Evangelia Takou, Yingjia Lin +1 more

Advancing quantum information processors and building fault-tolerant architectures rely on the ability to accurately characterize the noise sources and suppress their impact on quantum devices. In practice, noise often drifts over time, whereas conventional noise characterization and decoding methods typically assume stationarity or provide only a time-average behavior of the noise. This treatment can result in suboptimal decoding performance. In this work, we present a rigorous analytical framework to capture time-dependent Pauli noise, by exploiting the syndrome statistics of quantum error correction experiments. We propose a sliding-window estimation method which allows us to recover the frequency components of the noise, by using optimal window sizes that we derive analytically. We prove the noise-filtering behavior of sliding windows, linking window size to spectral cutoff frequencies, and provide an iterative algorithm that captures multiple drift frequencies. We further introduce an overlapping window algorithm that enables us to capture rapid multi-frequency noise drifts in a single-pass fashion. Simulations for both phenomenological and circuit-level noise models validate our framework, demonstrating robust tracking of multi-frequency drift. The logical error rate obtained from our estimated models consistently align with the ground-truth logical error rate, and we find suppression of logical errors compared to static error models. Our window-based estimation methods and adaptive decoding offer new insights into noise spectroscopy and decoder optimization under drift using only syndrome data.

quant-pharXiv:2511.09491•PRX Quantum•Nov 13, 2025•17 citations

Training quantum neural networks for Tl-limited hardware: what the qg symmetry filter does and does not do

Vicente Humberto Monteverde

A quantum neural network (QNN) built from gates that conserve the Hamming weight keeps its data in one weight sector, so the shots that left the sector can be discarded at readout. This is the qg filter of the qang library [1, 2]. We show that, with equal amplitude damping (T1) on every qubit, the filtered readout of such a network is exactly the noiseless one in any weight sector. The kept fraction of shots is (1 − γ)k d for weight k and depth d, and training under T1 with the filter gives exactly the parameters of noiseless training. We then measure what this is worth on four small classification datasets. Every result is reported with the filter and without it, and every prediction was committed before its run, failures included. Over 60 runs per model, a network trained on a simulator and run under T1 gains +2.5 points from the filter at weight 1 (95% CI [0.8, 4.1]) and +16.5 points at weight 2 ([11.8, 21.2]), recovering its noiseless accuracy exactly. A network trained under the calibrated noise without the filter catches up (diflerences of 0.1 points), and the filter alone corrects neither dephasing nor unequal T1 across qubits, although it loses less than one point up to a ±80% spread of 1/T1. Unequal T1 is corrected by training UÏtl the filter under the calibrated decay rates: the kept state depends only on their ratios, so the model lands within 0.5 points of noiseless at a ±100% spread, ignores a 10% calibration error and, at weight 2, loses 0.7 points under a 1.5-fold drift of all T1 that costs the raw noise-aware model 10. With noise-aware training and a richer readout, the model without the filter was 1.2 points better in one study, but over 60 new runs that gap shrank to +0.5 points and was not significant. The weight-2 deficit comes from the pair-product encoding, not from the readout; with an encoding that fills the whole sector and a full-rank readout, weight 2 reaches the weight-1 accuracy. On noise models of IBM and IonQ devices the filter cuts the error of the measured qgZ by 2.7-3.6×; on the IonQ Forte-1 noise model over 189 inputs of four datasets the filtered model is 1.1 points more accurate than the raw one, and calibrating the errors the filter keeps with five echo circuits per model halves the remaining error of the decision value: decisions that difler from the noiseless model fall from 15 (raw) and 7 (filter) to 3 over 945 readings on five device noise models. With a faithful weight-2 encoding the advantage of the unfiltered model under noise-aware training disappears, and a classifier given both the filtered and the raw features gains nothing over the filter alone. Over 513 readout configurations, including kept fractions down to 2.6 ×10−7, unequal T1 and dephasing, the filter has the lower readout error whenever about 20 shots are kept, and a closed-form rule predicts the winner. The same holds beyond the first model: at 8 qubits a weight-2 network keeps its noiseless 0.965 with the filter and drops to 0.705 without it; a five-class classifier (one class per qubit) keeps its noiseless accuracy under T1 with the filter and loses 15-18 points without it on five-class digits; training from 100 or 1000 shots per step with the filter is 1.0-1.5 points ahead of training without it; and the filtered gradient equals the noiseless one, while the raw one is K times smaller at weight 1. On five device noise models the echo calibration turns class confusions back: flipped decisions of the five-class model fall from 51 (raw) and 24 (filter) to 15 over 500 readings. The echo helped only where the filtered error was well above shot noise, and it still removed a third of the filtered error with a 28 × 28 matrix at 8 qubits. These models are classically simulable and no quantum advantage is claimed. The filter is

•Oct 11, 2026•0 citations

CoDecoder: Make Quantum Decoders Up to 100x Faster and Even More Accurate

Yicheng Guang, Yuliang Xiong, Xun Gao +1 more

Fault-tolerant quantum computers need fast and accurate error decoding. We present CoDecoder, a small neural frontend that composes with an existing decoder to improve accuracy and reduce mean decoding time. It predicts each shot's logical outcome, retains confident predictions and routes the remaining shots to the unchanged fallback. A logical-operator-aware output head scores shifted logical operators, combining equivalent logical lines on surface codes and deciding logical qubits jointly on bivariate-bicycle (BB) codes. Fused GPU inference and efficient routing reduce the overhead paid on every shot. In registered tests under circuit-level noise, composition reduces failures by 6.4-31.4% relative to correlated matching on surface codes of distance 7-17 and by 22-50% relative to full-DEM Relay-BP on two BB codes, with 2.3-124-fold speed-ups across these comparisons. With our re-implementations of the neural decoder Cascade, composition reduces decoding time in all four settings. A joint decision of both decoders on the routed shots keeps this speed and makes the composition more accurate than Cascade in all four, with 14-18% fewer failures on the [[72,12,6]] code. On the [[72,12,6]] BB code, a conventional head with independent logical outputs fails 3.8-5.0 times as often as our joint class score under matched training conditions. Per-shot analysis shows how composition gains accuracy. On retained shots, the frontend corrects more fallback errors than it introduces, even when it is less accurate overall.

quant-pharXiv:2610.28748•Oct 22, 2026•1 citation

Developing a Practical Neural-Network Surface Code Decoder under Circuit-Level Noise

Aarush Pancholi

Abstract. Suppressing qubit errors is one of the main challenges in building fault-tolerant quantum computers, requiring quantum error correction to protect fragile quantum information during computation cycles. The surface code is a leading approach because of its high error tolerance and compatibility with realistic hardware, but it requires a decoder that can accurately and quickly use the syndrome measurements to discern whether a logical error has occurred. This study investigates whether a feedforward neural-network can serve as a practical decoder for the surface code under circuit-level noise. Using the Stim software package, this study generates surface code circuits at multiple code distances and physical error rates and compiles them into detector samplers, then trains a PyTorch neural-network to predict whether a logical observable flip occurred from the syndrome data. The neural-network decoder is compared against Minimum-Weight Perfect Matching (MWPM), focusing on metrics including logical error rate and inference speed. The results show that the neural-network decoder performs competitively with MWPM for code distances 3 and 5 and provides inference time advantages at higher physical error rates as its inference time remains relatively constant over increasing physical error rates. However, MWPM outperforms the neural-network at distance 7, suggesting that scalability remains a major limitation for neural-network decoders. These results show that neural-networks are a promising approach for tackling quantum error correction, although future work is still needed to improve these models for real systems at larger code distances.

•Aug 2, 2026•0 citations
Quantum computers don't hold still. Their error rates drift: defects switch on and off, and cosmic rays briefly scramble groups of qubits. Most decoders are tuned to one fixed noise model, so when the noise moves they keep correcting for a chip that no longer exists. Drift is a neural decoder that watches its own data instead. Alongside every shot it gets a "fingerprint": how often each detector has fired over the last 2,000 shots it decoded. It never sees calibration data or the true noise, only what its own syndromes tell it. In circuit-level simulation at code distance 5, on large error bursts it was never trained on, a three-model ensemble reaches a logical error rate of 0.0457. Standard matching gets 0.0980, the best sliding-window reweighted matching 0.0896, and matching that knows the true noise 0.0426. A control experiment separates the two sources of this gain. With the fingerprint frozen, the same network scores 0.0576 (paired McNemar p = 3×10⁻²⁴⁷), close to a network trained without one. So the decoder genuinely adapts to synthetic drift, but most of its lead over matching comes from being a better decoder in the first place. The same network can also point to which qubits went bad. It does this better than a simple baseline on bursts like those it trained on, but not clearly on larger, unfamiliar ones. Four architectural extensions were judged by decision rules set before each run; all four failed, and the paper reports them. Every result uses three training seeds and five independent test streams. Every version-1 number can be recomputed from the released per-shot data, and a claim-by-claim audit was run before release. All results are from simulation at distance 5 or less. v2: adds a pre-registered physics-based drift evaluation (SI1000 device noise with TLS, cosmic-ray, slow and coupler drift). Without retraining, all four ensembles beat MWPM calibrated to the device (logical error rate 0.0016–0.0017 against 0.0022); the live fingerprint gives no gain on this drift. Round-10 streams regenerate from the manifest in the repository.
Version 1.3 (deposit build v6): Adds two preregistered studies of soft decoders that learn the crosstalk from the syndrome stream (H15, H16), their reproducibility package and a joint technical note. Earlier labels (H7 to H14) are unchanged. Synthetic scope only. Technical notes and a reproducibility package containing code, synthetic data, preregistrations, decision records and archived review reports for nine preregistered synthetic studies of drift-aware decoding of a distance-5 repetition code. The baseline model has one drifting data qubit; H9 adds a second co-drifting qubit in its misspecification arm. Known omissions from the archived history are documented in DEPOSIT_README.md. QP-02-H7, a kill test at equal information (1850 fresh trajectories): a hard keep/exclude switch beat neither equal-information baseline; verdict NO_SEPARATION. The soft reweighting policy P9 had an 8.6% [95% CI 7.1%, 10.0%] lower logical error rate than the switch, and a change-aware in-epoch estimator P10 3.1% [1.4%, 4.9%]. The hard action is not the source of the advantage measured in earlier runs. QP-02-H8, a preregistered 2x2 decomposition of the P9 versus P10 difference (1225 fresh trajectories): both main-effect labels POSITIVE; under the frozen attribution rule the estimator procedure is attributed to P9's advantage and the protocol regime offsets part of it. QP-02-H9 addendum: with a second qubit co-drifting with the first, the procedure contrast favours the structure-free estimator (run 002, labels NEGATIVE; an outcome-aware validation after run 001, which was INVALID_RUN and is reported beside it, never pooled). QP-02-H10, leakage on the drifting qubit (2025 fresh trajectories): both paired shifts favour the switch (D9 and D10 POSITIVE), but survival of the switch against both frozen soft baselines is not established (SURVIVAL_NOT_ESTABLISHED, a failed superiority test, not evidence against the switch). Leakage intensities are declared stress-test values of a synthetic model, not hardware estimates. QP-02-H12, crosstalk from the drifting qubit to one neighbour (1875 fresh trajectories): in the high-noise stratum, switching the drifting qubit off beat both frozen soft decoders by more than the preset 10% margin when switching it off also removed the crosstalk; when the neighbour kept erring afterwards, exceeding the margin was not established. These results do not establish that removing the crosstalk source is necessary to exceed the margin. QP-02-H13 and QP-02-H14, a two-suspect switch that also detects and reweights the affected neighbour (a hybrid): in the prespecified high-noise stratum, against the frozen soft decoders, which know nothing about the crosstalk, its advantage exceeded the margin (H13). Against a soft decoder given exactly the same information (H14) the hybrid kept a small, statistically established advantage of about 2%, but exceeding the margin was not established. Outside that stratum the informed decoder was ahead. In this model and primary stratum, adding the same neighbour information to the soft decoder recovered most of the hybrid's observed gap to the uninformed decoder; the remaining contrast compares complete policies, not exclusion alone. Crosstalk strength is a declared stress-test value of a synthetic model, not a hardware estimate. QP-02-H15 and QP-02-H16, soft decoders that try to learn the crosstalk pair edges from the detection events alone, without being told where the crosstalk is (all comparisons in the prespecified high-noise stratum): the first learner (P10's pooled estimator with a screening rule) kept spurious pair edges and was worse than the plain adaptive decoder with and without crosstalk (H15). A second learner with a per-layer estimator and a bootstrap-calibrated keep rule no longer did harm: it improved slightly on the plain decoder with crosstalk, and its error-rate increase without crosstalk was established to be below 5%; but enabling the learned pair edges still made it worse than the same learner without them (H16). In both studies the H13 hybrid switch cleared the preset 10% margin against the learner. A first frozen version of H16 failed its own calibration gate and was stopped before any pilot or endpoint analysis; its records are included, and the revised keep rule is declared outcome-aware with respect to that gate. QP-02-H11 (a leakage-aware switch) was closed before its preregistration was frozen; its draft, feasibility run and reviews are included as records, without labels. All data are simulated; no quantum hardware and no personal data are involved. Code (*.py, *.ps1, *.sh, *.lua) is MIT licensed, all other content CC BY 4.0, except attributed quotations of third-party works, which keep their original rights. Start with DEPOSIT_README.md inside the archive.
Fault-tolerant quantum computers must continually decode noisy parity-check data, known as the syndrome, to determine whether an encoded logical qubit has been corrupted. The standard decoder, minimum-weight perfect matching (MWPM), assumes independent, graph-like errors and is sub-optimal under realistic circuit-level noise. We present a compact residual 3D convolutional neural network (0.5–0.6 million parameters) that reads the space-time syndrome of a rotated surface code as a volumetric image. Trained on Stim simulations at code distances d = 3 and d = 5 and evaluated on 3.6 million held-out shots, a three-seed ensemble outperforms correlated MWPM, the strongest baseline we test, at all 18 noise settings, with 6–46% fewer logical errors (paired McNemar p-value below 0.03 in every setting). On real Google Sycamore data (d = 3, five rounds), the network is pre-trained on the device's fitted error model and fine-tuned on half of the shots. It achieves a logical error rate of 13.03%, compared with 13.57% for correlated MWPM on the same held-out shots, and outperforms it on all eight cross-validation folds, although it does not match belief-matching or tensor-network decoders. Its outputs are well calibrated (ROC AUC = 0.998): discarding the 10% least-confident shots reduces errors tenfold. An ablation study identifies space-time locality as the essential inductive bias. All models train in 49 minutes on two freely available GPUs, and the data and code are publicly available.
Advancing quantum information processors and building fault-tolerant architectures rely on the ability to accurately characterize the noise sources and suppress their impact on quantum devices. In practice, noise often drifts over time, whereas conventional noise characterization and decoding methods typically assume stationarity or provide only a time-average behavior of the noise. This treatment can result in suboptimal decoding performance. In this work, we present a rigorous analytical framework to capture time-dependent Pauli noise, by exploiting the syndrome statistics of quantum error correction experiments. We propose a sliding-window estimation method which allows us to recover the frequency components of the noise, by using optimal window sizes that we derive analytically. We prove the noise-filtering behavior of sliding windows, linking window size to spectral cutoff frequencies, and provide an iterative algorithm that captures multiple drift frequencies. We further introduce an overlapping window algorithm that enables us to capture rapid multi-frequency noise drifts in a single-pass fashion. Simulations for both phenomenological and circuit-level noise models validate our framework, demonstrating robust tracking of multi-frequency drift. The logical error rate obtained from our estimated models consistently align with the ground-truth logical error rate, and we find suppression of logical errors compared to static error models. Our window-based estimation methods and adaptive decoding offer new insights into noise spectroscopy and decoder optimization under drift using only syndrome data.
A quantum neural network (QNN) built from gates that conserve the Hamming weight keeps its data in one weight sector, so the shots that left the sector can be discarded at readout. This is the qg filter of the qang library [1, 2]. We show that, with equal amplitude damping (T1) on every qubit, the filtered readout of such a network is exactly the noiseless one in any weight sector. The kept fraction of shots is (1 − γ)k d for weight k and depth d, and training under T1 with the filter gives exactly the parameters of noiseless training. We then measure what this is worth on four small classification datasets. Every result is reported with the filter and without it, and every prediction was committed before its run, failures included. Over 60 runs per model, a network trained on a simulator and run under T1 gains +2.5 points from the filter at weight 1 (95% CI [0.8, 4.1]) and +16.5 points at weight 2 ([11.8, 21.2]), recovering its noiseless accuracy exactly. A network trained under the calibrated noise without the filter catches up (diflerences of 0.1 points), and the filter alone corrects neither dephasing nor unequal T1 across qubits, although it loses less than one point up to a ±80% spread of 1/T1. Unequal T1 is corrected by training UÏtl the filter under the calibrated decay rates: the kept state depends only on their ratios, so the model lands within 0.5 points of noiseless at a ±100% spread, ignores a 10% calibration error and, at weight 2, loses 0.7 points under a 1.5-fold drift of all T1 that costs the raw noise-aware model 10. With noise-aware training and a richer readout, the model without the filter was 1.2 points better in one study, but over 60 new runs that gap shrank to +0.5 points and was not significant. The weight-2 deficit comes from the pair-product encoding, not from the readout; with an encoding that fills the whole sector and a full-rank readout, weight 2 reaches the weight-1 accuracy. On noise models of IBM and IonQ devices the filter cuts the error of the measured qgZ by 2.7-3.6×; on the IonQ Forte-1 noise model over 189 inputs of four datasets the filtered model is 1.1 points more accurate than the raw one, and calibrating the errors the filter keeps with five echo circuits per model halves the remaining error of the decision value: decisions that difler from the noiseless model fall from 15 (raw) and 7 (filter) to 3 over 945 readings on five device noise models. With a faithful weight-2 encoding the advantage of the unfiltered model under noise-aware training disappears, and a classifier given both the filtered and the raw features gains nothing over the filter alone. Over 513 readout configurations, including kept fractions down to 2.6 ×10−7, unequal T1 and dephasing, the filter has the lower readout error whenever about 20 shots are kept, and a closed-form rule predicts the winner. The same holds beyond the first model: at 8 qubits a weight-2 network keeps its noiseless 0.965 with the filter and drops to 0.705 without it; a five-class classifier (one class per qubit) keeps its noiseless accuracy under T1 with the filter and loses 15-18 points without it on five-class digits; training from 100 or 1000 shots per step with the filter is 1.0-1.5 points ahead of training without it; and the filtered gradient equals the noiseless one, while the raw one is K times smaller at weight 1. On five device noise models the echo calibration turns class confusions back: flipped decisions of the five-class model fall from 51 (raw) and 24 (filter) to 15 over 500 readings. The echo helped only where the filtered error was well above shot noise, and it still removed a third of the filtered error with a 28 × 28 matrix at 8 qubits. These models are classically simulable and no quantum advantage is claimed. The filter is
Fault-tolerant quantum computers need fast and accurate error decoding. We present CoDecoder, a small neural frontend that composes with an existing decoder to improve accuracy and reduce mean decoding time. It predicts each shot's logical outcome, retains confident predictions and routes the remaining shots to the unchanged fallback. A logical-operator-aware output head scores shifted logical operators, combining equivalent logical lines on surface codes and deciding logical qubits jointly on bivariate-bicycle (BB) codes. Fused GPU inference and efficient routing reduce the overhead paid on every shot. In registered tests under circuit-level noise, composition reduces failures by 6.4-31.4% relative to correlated matching on surface codes of distance 7-17 and by 22-50% relative to full-DEM Relay-BP on two BB codes, with 2.3-124-fold speed-ups across these comparisons. With our re-implementations of the neural decoder Cascade, composition reduces decoding time in all four settings. A joint decision of both decoders on the routed shots keeps this speed and makes the composition more accurate than Cascade in all four, with 14-18% fewer failures on the [[72,12,6]] code. On the [[72,12,6]] BB code, a conventional head with independent logical outputs fails 3.8-5.0 times as often as our joint class score under matched training conditions. Per-shot analysis shows how composition gains accuracy. On retained shots, the frontend corrects more fallback errors than it introduces, even when it is less accurate overall.
Abstract. Suppressing qubit errors is one of the main challenges in building fault-tolerant quantum computers, requiring quantum error correction to protect fragile quantum information during computation cycles. The surface code is a leading approach because of its high error tolerance and compatibility with realistic hardware, but it requires a decoder that can accurately and quickly use the syndrome measurements to discern whether a logical error has occurred. This study investigates whether a feedforward neural-network can serve as a practical decoder for the surface code under circuit-level noise. Using the Stim software package, this study generates surface code circuits at multiple code distances and physical error rates and compiles them into detector samplers, then trains a PyTorch neural-network to predict whether a logical observable flip occurred from the syndrome data. The neural-network decoder is compared against Minimum-Weight Perfect Matching (MWPM), focusing on metrics including logical error rate and inference speed. The results show that the neural-network decoder performs competitively with MWPM for code distances 3 and 5 and provides inference time advantages at higher physical error rates as its inference time remains relatively constant over increasing physical error rates. However, MWPM outperforms the neural-network at distance 7, suggesting that scalability remains a major limitation for neural-network decoders. These results show that neural-networks are a promising approach for tackling quantum error correction, although future work is still needed to improve these models for real systems at larger code distances.