quant-phOct 13, 2025

Qubit-centric Transformer for Surface Code Decoding

Authors: Seong-Joon Park, Hee-Youl Kwak, Yongjune Kim

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

Explore similar work

CardsList
  1. Latency-Constrained Hardware-Aware Quantum Error Correction Co-Design with Adaptive Confidence-Gated Neural Decoding for the Rotated Surface Code

    Jul 7, 2026Sumit ChongderQuantum Error Correction

  2. Efficient foundation decoders for fault-tolerant quantum computing

    Jun 25, 2026Ge Yan, Shanchuan Li, Shiyi Xiao +4Quantum Error CorrectionPost-Quantum Cryptography

  3. Rethink the Role of Neural Decoders in Quantum Error Correction

    May 12, 2026Ge Yan, Shanchuan Li, Yuxuan DuQuantum Error CorrectionQuantized