Qubit-centric Transformer for Surface Code Decoding
Organizations: Samsung Electronics Company, Ltd., Suwon 16677, South Korea · Institute of Artificial Intelligence, Pohang University of Science and Technology (POSTECH), Pohang 37673, South Korea · Department of Electrical, Electronic and Computer Engineering, University of Ulsan, Ulsan 44610, South Korea · Department of Electrical Engineering, Pohang University of Science and Technology (POSTECH), Pohang 37673, South Korea
Abstract
For reliable large-scale quantum computation, quantum error correction (QEC) is essential to protect logical information distributed across multiple physical qubits. Taking advantage of recent advances in deep learning, neural network-based decoders have emerged as a promising approach to improve the reliability of QEC. We propose the qubit-centric transformer (QCT), a novel and universal QEC decoder based on a transformer architecture with a qubit-centric attention mechanism. Our decoder transforms input syndromes from the stabilizer domain into qubit-centric tokens via a specialized embedding strategy. These qubit-centric tokens are processed through attention layers to effectively identify the underlying logical error. Furthermore, we introduce a graph-based masking method that incorporates the topological structure of quantum codes, enforcing attention toward relevant qubit interactions. Across various code distances for surface codes, QCT achieves state-of-the-art decoding performance, significantly outperforming existing neural decoders and the belief propagation (BP) with ordered statistics decoding (OSD) baseline. Notably, QCT achieves a high threshold of 18.1% under depolarizing noise, which closely approaches the theoretical bound of 18.9% and surpasses both the BP+OSD and the minimum-weight perfect matching (MWPM) thresholds. This qubit-centric approach provides a scalable and robust framework for surface code decoding, advancing the path toward fault-tolerant quantum computing.
Figures & tables
| Code-capacity | – | 1.61 M | 1.61 M | 1.62 M | 1.63 M | 1.64 M |
| Circuit-level | 2.00 M | 2.02 M | 2.05 M | – | – | – |
| MWPM [ 10 ] | 8.28% | 10.36% | 11.94% |
| FFNN [ 41 ] | 9.77% | 11.35% | 12.49% |
| CNN [ 23 ] | 9.80% | 12.15% | 13.26% |
| QCT (Proposed) | 9.80% | 13.27% | 14.31% |