Asian Hardware Oriented Security and Trust Symposium (AsianHOST)
NNUF: Nearest Neighbor Union-Find Decoder for Quantum Error Correction
Yuhang Gu, Hui Li
Abstract
The realization of fault-tolerant quantum computers is critically dependent on efficient and accurate quantum error correction. For topological codes such as the surface code, the decoder often becomes a performance bottleneck. This paper presents an optimized nearest-neighbor union-find decoder, named NNUF, a novel algorithm designed to accelerate the traditional union-find (UF) decoder. NNUF leverages pre-computed nearest-neighbor information to form preliminary error clusters, which streamlines the subsequent decoding stages. We evaluated NNUF against standard benchmarks and demonstrated that it reduces the decoding time while maintaining the high error correction performance of the original UF decoder. Specifically, for large code distances where $d \geq 7$, our results reveal a speedup of up to $1.14 \times$ compared to a standard UF implementation. This establishes NNUF as a valuable tool for quantum systems requiring fast and reliable decoding, representing a practical step towards real-time error correction in large-scale quantum processors.