Spacetime Spins: Statistical mechanics for error correction with stabilizer circuits
Cory T. Aitchison, Benjamin Béri
TL;DR
The paper tackles the challenge of analyzing circuit-level quantum error correction with dynamic syndrome extraction by mapping stabilizer circuits to spacetime subsystem codes and expressing error coset probabilities as partition functions of classical spin Hamiltonians. It introduces spin diagrams as a modular, circuit-based method to build these Hamiltonians and demonstrates the approach on the repetition and toric codes, deriving analytic and Monte Carlo estimates for maximum-likelihood decoding thresholds and revealing how circuit compilations and logical operations affect decodability. A key insight is that decoding success corresponds to minimizing a free-energy cost, with $\,\mathbb{P}(\overline{E})=\mathcal{Z}_E\,$ and $F_E=-\ln\mathcal{Z}_E$, while the ML success probability is a softmax over coset free energies. The framework exposes connections between dynamical quantum systems and noise-resilient phases of matter, providing a universal prescription to analyze, simulate, and compare decoding across stabilizer circuits and enabling targeted optimizations for fault-tolerant quantum computation.
Abstract
A powerful method for analyzing quantum error-correcting codes is to map them onto classical statistical mechanics models. Such mappings have thus far mostly focused on static codes, possibly subject to repeated syndrome measurements. Recent progress in quantum error correction, however, has prompted new paradigms where codes emerge from stabilizer circuits in spacetime -- a unifying perspective encompassing syndrome extraction circuits of static codes, dynamically generated codes, and logical operations. We show how to construct statistical mechanical models for stabilizer circuits subject to independent Pauli errors, by mapping logical equivalence class probabilities of errors to partition functions using the spacetime subsystem code formalism. We also introduce a modular language of spin diagrams for constructing the spin Hamiltonians, which we describe in detail focusing on independent circuit-level X-Z error channels. With the repetition and toric codes as examples, we use our approach to analytically rank logical error rates and thresholds between code implementations with standard and dynamic syndrome extraction circuits, describe the effect of transversal logical Clifford gates on logical error rates, and perform Monte Carlo simulations to estimate maximum likelihood thresholds. Our framework offers a universal prescription to analyze, simulate, and compare the decoding properties of any stabilizer circuit, while revealing the innate connections between dynamical quantum systems and noise-resilient phases of matter.
