Quantum computing · Theory

The four-dimensional toric code stays self-correcting under weak local perturbations

Jiaxin Liu, Danyue Ma, Jiancheng Fang

arXiv:2611.36879v1 ↗PDF ↗Submitted 27 November 2026

Question
A self-correcting quantum memory would hold a qubit in thermal equilibrium the way a magnet holds a bit, with no measurement or feedback. The four-dimensional toric code does this, but every proof so far applies only to its exactly solvable Hamiltonian, a sum of commuting checks. Real materials always carry small extra terms that do not commute with the checks. Does self-correction survive them, or is it a property of one fine-tuned model?
Result
The paper proves that it survives. For the four-dimensional toric code with any finite-range perturbation \(V\) of local strength \(\epsilon\le\epsilon_0\), and at any temperature \(T\le T_0\), measuring the ideal checks in the Gibbs state finds an excitation loop of length at least \(\ell\) with probability at most \(CL^{20}e^{-4\ell}\). The constants \(\epsilon_0\) and \(T_0\) do not depend on the system size \(L\), and the bound holds down to zero temperature. Under any quasi-local dynamics that preserves the Gibbs state, the ideal decoder then recovers the six logical qubits after time \(t\) with diamond-norm error at most \(CL^{14}te^{-aL}\). The proof uses two properties of the unperturbed checks, local erasure of excitations and local indistinguishability of logical states, and extends to every stabilizer code with both.

The paper in detail

A ferromagnet keeps its bit because reversing a region costs energy proportional to the region's boundary, so large reversed regions are exponentially rare. The four-dimensional toric code works the same way. Qubits sit on the plaquettes of a periodic four-dimensional lattice, the checks are products of \(X\) around edges and of \(Z\) around cubes, and every excitation is a closed loop whose energy grows with its length. A logical error needs a membrane spanning the lattice, so its boundary loop must at some moment be of system size. The Peierls argument then gives a lifetime exponential in \(L\), but it requires each excitation pattern to have a definite energy.

A perturbation \(V\) breaks that requirement. It creates and destroys small loops even at zero temperature: a term that flips one plaquette costs \(\Delta=8J\), and second-order perturbation theory gives such virtual loops a density of order \((\epsilon/\Delta)^2\), while thermal loops have density \(e^{-\Delta/T}\). Below the crossover temperature \(T_\times=\Delta/[2\ln(\Delta/\epsilon)]\), which is about \(0.6J\) for \(\epsilon=0.01J\), quantum fluctuations outnumber the thermal excitations the memory was built to resist. Earlier expansions controlled either the thermal or the quantum side, and their windows close exactly in the low-temperature corner where the memory should work best.

The paper's move is to treat both kinds of fluctuation as geometry in imaginary time. Cut the thermal circle of length \(\beta\) into slices of duration of order \(1/\Delta\). A virtual loop is a bubble confined to one slice with weight of order \((\epsilon/\Delta)^2\), independent of \(\beta\), and a thermal loop is a sheet that winds once around the circle with weight \(e^{-2\beta J\ell}\). A Peierls argument in \(4+1\) dimensions then needs one estimate: the free-energy cost of a large loop \(\Gamma\) stays positive per unit length after the perturbation is switched on. The paper proves \[\frac1\beta\left|\ln\frac{Z(K^F_\Gamma)}{Z(K_\Gamma)}\right|\le a\,|\Gamma|,\qquad a<J,\] where \(K_\Gamma\) and \(K^F_\Gamma\) are the perturbed Hamiltonian with and without \(\Gamma\).

The quantum part brings a sign problem. A loop of violated edge checks that threads the membrane of a loop of violated cube checks picks up a sign \(-1\), an Aharonov–Bohm phase. If distant components could exchange such signs, the cluster expansion would fail. An empty-box lemma shows that a component of size \(m\) is linked only with components inside a box of size of order \(m\). This needs both properties: each small component can be erased inside its box, and it carries no logical information that anything outside could detect. At temperatures below about \(J/L^4\), where the expansion parameter would degrade, an entropy bound between the ground energy and the free energy closes the gap, so the threshold \(\epsilon_0\) is the same at every temperature.

The memory statement follows by stationarity. Patterns with only small clusters decode correctly, and in them every local operation commutes with the logical algebra. Dynamics that preserve the Gibbs state can carry the encoded state into patterns with a large cluster only through local moves, at a rate bounded by the total strength of the moves times \(\sqrt p\), where \(p\) is the Gibbs weight of such patterns. The same decomposition gives erasure recovery from regions up to a fraction of the lattice and a slow-mixing bound for samplers. Section S8 states the two properties as conditions on a family of codes. These conditions hold for the generalized toric codes with qubits on \(p\)-cells of a \(D\)-dimensional torus, for \(D\ge4\) and \(2\le p\le D-2\).

Transferable methods

  1. A Peierls argument for bubbles and sheets in imaginary time

    The classical Peierls bound compares each configuration containing a given loop with the configuration in which that loop is erased. Quantum terms destroy this comparison, because the measured pattern is no longer a classical variable with a Boltzmann weight. Expanding \(e^{-\beta H}\) in fixed slices of imaginary time restores the comparison. Every history becomes a gas of space-time components with explicit weights, and erasing a large loop becomes a ratio of two partition functions.

    For the ideal code with uniform coupling \(J\), a loop of length \(\ell\) through a given point can be drawn in at most \(K^\ell\) ways, so \[\Pr[\text{a loop of length }\ell\text{ through a point}]\le\bigl(Ke^{-2\beta J}\bigr)^\ell.\] The bound is useful when \(T<2J/\ln K\). With the perturbation, the paper replaces the bare cost \(2J\ell\) by at least \(2(J-a)\ell\) through the tension estimate above, and sums both excitation types and at most five clusters per union: \[\Pr_\rho[\text{a cluster with}\ge u\text{ checks}]\le\frac{4q^u}{1-q}\sum_{r=1}^{5}M_{\rm ch}^r\Bigl(\frac{q}{1-q}\Bigr)^{r-1}\le CL^{20}e^{-4u},\] with \(q=e^{-4}\) and \(M_{\rm ch}=4L^4\) checks of each type.

    The constants are set in Eq. (S30): \[\beta_0=\max\Bigl\{t_0,\ \frac{2(\ln392+4)}{J_{\min}}\Bigr\}.\] Editorial evaluation: this forces \(T_0=1/\beta_0\le0.050\,J_{\min}\), about eight times below the ideal-code Peierls temperature \(2J/\ln K\approx0.38J\) obtained with the paper's counting constant \(K=196\). The threshold \(\epsilon_0\) is a minimum of four expressions involving constants from the expansion that are not evaluated numerically.

    How to reuse it

    Turning quantum fluctuations into short-lived imaginary-time bubbles, so that a classical contour argument applies again, is a template for proving finite-temperature stability of other mixed-state phases, for example fracton or higher-form-symmetric codes whose solvable points are already understood.

  2. Two local properties as the whole hypothesis

    A theorem proved for one lattice would not show that self-correction belongs to a phase. The authors therefore isolate what the proof uses: local erasure, meaning every small cluster is the syndrome of a nearby Pauli operator that creates nothing else, and local generation, meaning every local Pauli operator commuting with all checks is a product of nearby checks. Table 1 shows why both are needed. The two-dimensional Ising model erases locally but a field biases its readout, and the two- and three-dimensional toric codes fail erasure because their point-like excitations can only be moved.

    For the four-dimensional code, a \(Z\) error on one plaquette violates its four edge checks, the smallest loop, and a membrane of \(Z\) errors is bounded by a loop of violated edge checks. Editorial check: building the parity-check matrices over GF(2) for \(L=2\) (96 qubits, 64 checks of each type) and \(L=3\) (486 qubits, 324 of each) confirms that the checks commute and that \[k=n-\operatorname{rank}H_X-\operatorname{rank}H_Z=6=\binom42,\] the number of logical qubits the paper protects, with logical dimension \(d=64\).

    How to reuse it

    Stating a stability theorem in terms of checkable local properties of the ideal model gives a practical screen. Any candidate three-dimensional self-correcting code, such as a fractal or layered construction, can be tested for local erasure and local generation before anyone attempts a perturbative proof.

Source: Main text Eqs. (2)–(6); Appendix A; Supplemental Secs. S1, S2 and S6. Based on the linked paper version. Derivations marked as editorial, and suggested uses in other problems, are editorial guidance rather than results of the paper.

Context & limitations

Why it matters. If correct, this settles a question open for about two decades: self-correction is a stable property of a region of Hamiltonians, not of a single solvable point. It also implies that topological order at nonzero temperature, in its error-correction sense, survives generic perturbations, and that quantum Gibbs samplers for these noncommuting Hamiltonians need exponential time from a worst-case start. It reduces the open problem to three dimensions: any candidate code can now be tested against the two properties at its solvable point.

Limitations. This is a single unrefereed preprint of a long, intricate proof, and it should be read as a claim until experts have checked it. The constants are not tuned. The temperature bound satisfies \(T_0\le J_{\min}/20\), the threshold \(\epsilon_0\) is not given as a number, and the memory bound only treats clusters smaller than \(L/1000\), so it bites only for very large lattices. Four spatial dimensions are needed, so the result does not describe a laboratory material, and the dynamics must preserve the perturbed Gibbs state, or approximately so at an explicit cost. The paper has no AI-use statement.

Description based on the full arXiv HTML of v1, read 2026-12-01: the main text and Appendices A–C, and Supplemental Sections S1, S2 (the fixed-window reduction and the constants of Eq. (S30)), S5–S8 in outline, and S11 (Table I). The history expansion of Sections S3–S4 was read for its structure, not line by line. Editorial checks: over GF(2) the checks commute and give k = 6 logical qubits for L = 2 (96 qubits) and L = 3 (486 qubits); a single-plaquette Z or X error violates four checks, so the smallest excitation costs 8J; the crossover temperature of Fig. 1(c) is 0.598J for epsilon = 0.01J; and Eq. (S30) forces T0 = 1/beta0 to be at most 0.050 J_min.