Self-attention U-Net decoder for toric codes
Wei-Wei Zhang, Zhuo Xia, Wei Zhao, Wei Pan, Haobin Shi
TL;DR
The paper tackles decoding toric codes in the NISQ era by introducing SU-NetQD, a multilevel self-attention U-Net decoder that combines a low-level data-qubit error corrector with a high-level logical-error detector. It represents syndromes and recovery operations as 3D tensors on the torus, uses circular padding and data augmentation to respect toroidal topology, and applies transfer learning to scale across code distances. Empirically, SU-NetQD outperforms the MWPM decoder across depolarizing, biased depolarizing, and circuit-level noise, achieving higher thresholds (up to $p_c\approx0.231$ under extreme bias) and lower logical error rates, with the high-level decoder enhancing MWPM performance. These results indicate a practical, scalable approach to quantum error correction that could improve the reliability of near-term quantum devices.
Abstract
In the NISQ era, one of the most important bottlenecks for the realization of universal quantum computation is error correction. Stabiliser code is the most recognizable type of quantum error correction code. A scalable efficient decoder is most desired for the application of the quantum error correction codes. In this work, we propose a self-attention U-Net quantum decoder (SU-NetQD) for toric code, which outperforms the minimum weight perfect matching decoder, especially in the circuit level noise environments. Specifically, with our SU-NetQD, we achieve lower logical error rates compared with MWPM and discover an increased trend of code threshold as the increase of noise bias. We obtain a high threshold of 0.231 for the extremely biased noise environment. The combination of low-level decoder and high-level decoder is the key innovation for the high accuracy of our decoder. With transfer learning mechanics, our decoder is scalable for cases with different code distances. Our decoder provides a practical tool for quantum noise analysis and promotes the practicality of quantum error correction codes and quantum computing.
