Universal graph representation of stabilizer codes
Andrey Boris Khesin, Jonathan Z. Lu, Peter W. Shor
TL;DR
This work introduces a universal graph representation for all stabilizer codes by mapping stabilizer tableaus to encoder-respecting graphs through ZX-calculus and ZX canonical forms, establishing a bijection up to encoder equivalence. The authors prove a four-rule ZXCF framework that canonically encodes encoders into simple graphs, enabling efficient graph-based compilation in O("n^3") and inverse mapping in O("n^2"). They show that code properties such as distance and stabilizer weight are controlled by graph degree, and encode/decode operations can be understood as quantum-lights-out games, yielding a greedy decoder with provable guarantees for broad classes of graphs (e.g., girth > 12). The framework yields concrete code families with favorable distance-rate characteristics, a dodecahedral and icosahedral-based construction, and a random-graph GV-type bound with reduced stabilizer weights, illustrating practical graph-guided code design. Overall, the graph formalism offers a versatile, constructive toolkit for universal stabilizer-code design, analysis, and decoding that complements CSS/qLDPC approaches and holds promise for device-tailored quantum error correction.
Abstract
While stabilizer tableaus have proven useful as a descriptive tool for additive quantum codes, they otherwise offer little guidance for concrete constructions or algorithm analysis. We introduce a representation of stabilizer codes as graphs with certain structures, and prove via the ZX Calculus that this representation is related to stabilizer tableaus by an efficiently computable bijection. This gives a new universal recipe for code construction by way of finding graphs with nice properties. The graph representation gives insight into both code construction and algorithms. We construct as examples families of $[[ n, \;Θ(\frac{n}{\log n}), \;Θ(\log n)]]$ and $[[ n, \;Ω(n^{4/5}), \;Θ(n^{1/5}) ]]$ codes. We use graphs in a probabilistic analysis to extend the quantum Gilbert-Varshamov bound into a three-way distance-rate-weight trade-off. Moreover, code properties such as distance and encoding circuit depth are bounded by simple functions of the graph degree. We prove that key coding algorithms -- distance approximation, minimum weight generator selection, and decoding -- are unified as instances of one optimization game on a graph. By studying this game, we construct an efficient greedy decoder and prove that it corrects all recoverable errors for all graphs with cycle lengths no shorter than 13 (reducible to 5 with mild extra constraints); these include the above two families. Our results suggest that graphs are generically useful for the study of stabilizer codes.
