Stavan Jain; Nithin Raveendran; Aws Albarghouthi · 2026
Paper
Building quantum computers is challenging due to the noise that affects qubits. Quantum error correction tackles noise by encoding information in quantum error-correcting (QEC) codes. These codes are often complex, increasingly found by computational search, presented in diverse formalisms with informal arguments, and hard to reason about algorithmically. Given that the rest of the quantum computing stack relies on a QEC code's properties for correct computation, we propose a formally verified foundation for QEC codes. We present QECLean, a Lean-based framework for formally specifying and verifying QEC codes. QECLean backs every claimed QEC-code property with a machine-checked proof, unifies the diverse presentations of codes in the literature through common abstractions, and makes new codes easy to specify. We present a new compositional technique, code combinators, for proving code distance analytically. Code combinators allow us to prove the distance of large codes that are out of reach for algorithmic techniques; for example, we show that IBM's $[[360, 12, \leq 24]]$ code has distance 24, which was previously only known as an upper bound. Furthermore, we show how our approach allows us to formalize and prove entire code families, such as the surface code. Our work lays the foundation required for reasoning about circuit-level implementations of codes on given architectures and for building end-to-end verified compilers for quantum computers. QECLean is available at https://github.com/Stavan-Jain/QECLean
Analysis
Preparing paper insights from the available abstract and paper details.
Discovery
Aleksandra Świerkowska; Ilgaz Er; Emmanouil Giortamis; Pramod Bhatotia
Sechan Park; Kyeongwon Lee; Mundo Jung; Chaebin Jung; Woojoo Lee
Chaebin Jung; Sangmin Jeon; Kyeongwon Lee; Sechan Park; Woojoo Lee
Arianna Meinking; Evangelia Takou; Kenneth R. Brown
Alex Kwiatkowski; Aaron J. Friedman
Burhan Gülbahar
Source record