Chrysalis-QEC: A Model-Free Single-Shot Quantum Decoder via Noise-Agnostic Meta-Reinforcement Learning
Yassin Gaffar
Abstract
Quantum Error Correction (QEC) is indispensable for protecting fragile quantum states against environmental decoherence and hardware imperfections. Traditionally, the Minimum Weight Perfect Matching (MWPM) algorithm has served as the benchmark decoder; however, its heavy geometric calculations introduce significant processing latencies and require strict, pre-calibrated prior knowledge of physical error distributions. Deep learning decoders have emerged to address these constraints but commonly suffer from catastrophic forgetting when operational environments dynamically fluctuate. To resolve these challenges, this work introduces Chrysalis-QEC, a novel model-free Meta-Reinforcement Learning (Meta-RL) decoder optimized for real-time, low-latency, single-shot quantum error correction. Implemented via a customized Gymnasium environment integrated with the Stim simulation library, the architecture employs a sequential curriculum learning framework driven by Proximal Policy Optimization (PPO). By progressively transferring policy parameters across escalating noise baselines (from 5% to 7% and 10%), the agent maps the underlying topological structures of error syndromes rather than memorizing static error probabilities. Under dynamic shock testing featuring stochastic noise variations jumping between 1% and 10%, Chrysalis-QEC achieves decoding success rates of 94.00% for distance-3 and 95.00% for distance-5 configurations. The proposed framework demonstrates superior stability, significantly lower decoding variance, and instantaneous adaptation compared to the baseline MWPM decoder, validating its efficacy as a noise-agnostic solution for real-world fault-tolerant quantum computing architectures.