Can machine learning decode quantum errors better than human-designed algorithms?
Core argument: A recurrent, transformer-based neural network decoder outperforms other state-of-the-art decoders on real-world data from Google's Sycamore quantum processor for distance 3 and distance 5 surface codes, the leading quantum error-correction code.
Building a large-scale quantum computer requires effective strategies to correct errors that inevitably arise in physical quantum systems. Quantum error-correction codes present a way to reach this goal by encoding logical information redundantly into many physical qubits. Here we develop a recurrent, transformer-based neural network that learns to decode the surface code, the leading quantum error-correction code. Our decoder outperforms other state-of-the-art decoders on real-world data from Google’s Sycamore quantum processor for distance 3 and distance 5 surface codes. On distances up to 11, the decoder maintains its advantage on simulated data with realistic noise including cross-talk and leakage, utilizing soft readouts and leakage information. Our work illustrates the ability of machine learning to go beyond human-designed algorithms by learning from data directly, highlighting machine learning as a strong contender for decoding in quantum computers.



