Abstract
Fault-tolerant quantum computation remains severely constrained by decoding overhead. Conventional minimum-weight perfect matching (MWPM) applied to the rotated surface code achieves a pseudothreshold of approximately 1.04% under circuit-level depolarizing noise, but only at the cost of substantial classical processing and qubit overhead. Here we introduce the first quantum-error-correction decoder that directly incorporates priors inspired by the human adaptive immune system. By using the empirically measured length distribution of T-cell-receptor (TCRβ) CDR3 regions as a Bayesian prior over error-chain plausibility, we modify PyMatching’s edge-weight model to obtain a 22% improvement in pseudothreshold on a distance-7 rotated surface code (100,000 shots per point). We further introduce a biologically motivated clonal-expansion mechanism: a cache of high-confidence syndrome–correction pairs that can be recalled in O(1) time when near-recurrent error patterns appear. Under temporally correlated (1/f-type) noise, this mechanism yields an additional 28–43% reduction in logical error rate, corresponding to total overhead reductions of 45–65% relative to MWPM. All code is open-source (MIT license) and fully reproducible in <10 minutes on free Google Colab. These results demonstrate that biological fault-tolerance architectures encode computational principles with direct applicability to quantum hardware, opening a new direction for bio-inspired quantum error correction.
Collections
Unless otherwise noted, the license for the item is described as Attribution-NonCommercial-NoDerivates.