Computing Library › Quantum Error Correction
Quantum Error Correction

Expander Codes and Quantum LDPC

Expander graphs, which stay well connected while remaining sparse, are the mathematical engine that guarantees large distance in good quantum LDPC codes.

What an expander is

An expander graph is sparse, every vertex has bounded degree, yet strongly connected: any not-too-large set of vertices has many edges leaving it. This expansion property means information and errors spread predictably, which is exactly what a code designer needs to prove that no low-weight logical operator can hide.

Expansion and distance

Kronos motion — error correction

In classical coding, expander codes achieve linear distance and can be decoded by a simple local flip rule. The quantum analog is subtler because CSS codes have two check types that must commute, but the same intuition holds: strong expansion in the underlying graph or chain complex forces every logical operator to have large support, giving linear distance.

The proofs of good quantum LDPC codes rest on generalized expansion of chain complexes, sometimes called cosystolic or coboundary expansion. These are the higher-dimensional cousins of ordinary graph expansion, and establishing them was the key mathematical advance.

Expansion is not only a proof tool. It suggests linear-time decoders analogous to the classical flip decoder, and small-set-flip decoders for quantum expander codes come with provable correction guarantees up to a constant fraction of the distance. This connects the abstract guarantee of large distance to a concrete, fast recovery procedure, which is essential for real-time decoding.