Toward Uncertainty-Aware and Generalizable Neural Decoding for Quantum LDPC Codes
Xiangjun Mi, Frank Mueller
TL;DR
This work introduces QuBA, a Bayesian graph neural decoder with edge-aware attention for uncertainty-aware decoding of quantum LDPC codes, and SAGU, a sequential training framework to improve cross-domain generalization across code families. By leveraging Monte Carlo predictions and a variational Bayesian formulation, QuBA provides calibrated uncertainty estimates while achieving strong logical error rate reductions on bivariate bicycle codes and their coprime variants. SAGU extends this with a three-phase training protocol that combines diversified domains and parameter averaging to enhance transfer to unseen codes, yielding competitive or superior performance across in-domain and out-of-domain benchmarks. The results show substantial improvements over classical belief propagation and state-of-the-art neural decoders, with up to two orders of magnitude gains in LER under certain conditions, highlighting the practical impact of uncertainty-aware, generalizable decoding for scalable quantum fault tolerance. The work also discusses runtime overhead and broader circuit-level noise as areas for future refinement.
Abstract
Quantum error correction (QEC) is essential for scalable quantum computing, yet decoding errors via conventional algorithms result in limited accuracy (i.e., suppression of logical errors) and high overheads, both of which can be alleviated by inference-based decoders. To date, such machine-learning (ML) decoders lack two key properties crucial for practical fault tolerance: reliable uncertainty quantification and robust generalization to previously unseen codes. To address this gap, we propose \textbf{QuBA}, a Bayesian graph neural decoder that integrates attention to both dot-product and multi-head, enabling expressive error-pattern recognition alongside calibrated uncertainty estimates. Building on QuBA, we further develop \textbf{SAGU }\textbf{(Sequential Aggregate Generalization under Uncertainty)}, a multi-code training framework with enhanced cross-domain robustness enabling decoding beyond the training set. Experiments on bivariate bicycle (BB) codes and their coprime variants demonstrate that (i) both QuBA and SAGU consistently outperform the classical baseline belief propagation (BP), achieving a reduction of on average \emph{one order of magnitude} in logical error rate (LER), and up to \emph{two orders of magnitude} under confident-decision bounds on the coprime BB code $[[154, 6, 16]]$; (ii) QuBA also surpasses state-of-the-art neural decoders, providing an advantage of roughly \emph{one order of magnitude} (e.g., for the larger BB code $[[756, 16, \leq34]]$) even when considering conservative (safe) decision bounds; (iii) SAGU achieves decoding performance comparable to or even outperforming QuBA's domain-specific training approach.
