We explore how the integrated use of quantum spatial distribution (QSD), or more specifically, a superposition of both spin and position states of particles, and gauge symmetry (GS) within Poulin's stabilizer formalism enhances quantum error correction. The study employs
3+2 particles on nested squares proposed in the companion paper (arXiv:2504.07941), where three of them encode Shor's nine-qubit code and the remaining two detect errors in this code through their spin state measurements. The first result is that the GS offers resilience against three types of noise acting on a particle: arbitrary decoherence of its spin or position state, and dephasing of both states, which completely or partly destroys its QSD. To show that, we formulate a noise model unifying the above noise sources and prove the correctability of this unified model under our error-correcting scheme. The second result is that the QSD provides architectural flexibility, allowing us to stack the error-correcting systems both vertically and horizontally. Indeed, we present implementations of the error detection (stabilizer measurement), logical Hadamard and Toffoli gates, and a quantum adder with the required interactions only between nearest-neighbor and next-nearest-neighbor particles. Here, our treatment of the dynamics of particles, each having spin and position degrees of freedom, under nontrivial noise and gate operations indicates that the stabilizer formalism is a powerful tool for describing quantum many-body dynamics.
The statistics of particles and extended excitations, such as loops and membranes, are fundamental to modern condensed matter physics, high-energy physics, and quantum information science, yet a comprehensive lattice-level framework for computing them remains elusive. In this work, we develop a universal microscopic method to determine the generalized statistics of Abelian excitations on lattices of arbitrary dimension and demonstrate it by deriving the statistics of particles, loops, and membranes in up to three spatial dimensions. Our approach constructs a sequence of local unitary operators whose many-body Berry phase encodes the desired statistical invariant. The required sequence is generated automatically from the Smith normal form of locality constraints and therefore needs no extra physical input. We prove that the resulting invariants are quantized, provide an algorithm that computes them efficiently, and show how they unify familiar braiding and fusion data of particles while also uncovering new self- and mutual statistics of loop and membrane excitations. We further demonstrate that each statistical invariant corresponds to an ’t Hooft anomaly of a generalized symmetry; we show that a nontrivial invariant both (i) obstructs gauging that symmetry and (ii) forbids any short-range-entangled (symmetry-preserving) ground state. This establishes a precise connection between microscopic lattice anomalies and many-body dynamics, providing a generalization of the Lieb-Schultz-Mattis theorem that constrains a wide class of quantum lattice systems.