End-to-End Formalization of Quantum Error Correction
Mattias Ehatamm, Yi Lee, Xiaodi Wu, Runzhou Tao

TL;DR
This paper introduces Lean-QEC, a formalized framework in Lean 4 for certifying quantum error correction code distances, enabling scalable, machine-checked proofs for industrial-sized codes.
Contribution
It provides the first end-to-end formalization of stabilizer-code theory in Lean 4, including a verified reduction to SAT for distance certification at large scales.
Findings
Automatically generated Lean-checked distance proofs for codes up to 144 qubits.
Scalable encoding techniques reduce variable count and improve proof efficiency.
Verified distance certificates for industrially relevant qLDPC codes.
Abstract
Quantum error-correcting codes (QECCs) sit between noisy quantum hardware and reliable computation, so the code parameters used in practice must be trustworthy. The single number that summarizes a code's strength is its distance, yet certifying a distance lower bound is NP-hard in general, placing it beyond the reach of pen-and-paper proofs as well as direct proof-assistant scripting. As a result, distance values in the literature come either from non-scaling hand proofs, or from unverified solvers that leave a trust gap exactly where the code is supposed to provide a guarantee. We present Lean-QEC, the first Lean 4 formalization of stabilizer-code theory that delivers end-to-end, machine-checked distance certificates at industrial code sizes. Lean-QEC formalizes the linear algebra of qubit states, the Pauli group, stabilizer codes, the binary symplectic representation, classical coding…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
