WorksPhysics and Astronomy
Small-world networks yield tunable quantum codes at short circuit depth
Abstract
Monitored random quantum circuits naturally generate quantum error-correcting codes. We generate quantum codes with tunable properties by implementing random Clifford circuits on Watts–Strogatz `small-world' networks and tailor code properties via three knobs: nonlocal graph rewiring, measurement rate, and circuit depth. On fully rewired networks, circuits of logarithmic depth produce codes with a finite rate and an extensive mean contiguous distance with failure probability substantially lower than codes produced from local circuits. These small-world codes form at a circuit depth growing as compared to polynomial depths required for codes produced from local networks. Rewiring also moves the purification transition to higher measurement rates and changes its critical exponents. Connectivity is thus a knob for designing codes.
Introduction
Quantum error-correcting codes with a finite rate and an extensive distance could greatly reduce the overhead of fault-tolerant quantum computation. Quantum low-density parity-check codes achieve both [1], but they are highly structured and need nonlocal connectivity, since local codes in two dimensions obey stringent rate–distance bounds [2]. Hardware is beginning to offer such nonlocal connectivity [3, 4], and codes [5, 6] and architectures [7] are being co-designed to leverage these capabilities. However, adapting these codes to different hardware geometries and constraints can require substantial redesign. This motivates a complementary approach: a flexible procedure that generates quantum codes directly from the available interaction network.
Monitored random quantum circuits, which interleave entangling gates with projective measurements, suggest such a procedure. These circuits generate quantum error-correcting codes [8] where the measurement-induced phase transition [9, 10, 11, 12, 13, 14, 15, 16] marks a transition in their capacity to protect quantum information [8, 17, 18, 19, 20]. Purely unitary random circuits already provide polylogarithmic-depth encoders for good quantum codes [21, 22, 23], achieving decoupling [24] and approaching erasure-channel capacity even with local interactions in any spatial dimension [22]. These codes also admit efficient Pauli-noise decoding [25] and fault-tolerant state preparation [26]. However, unitary evolution preserves the chosen input code rate, and unitary scrambling tends to generate high-weight stabilizer checks, making these codes unwieldy for realistic experiments.
Monitoring and nonlocal interactions provide additional control. Projective measurements naturally tune the code rate and continually introduce low-weight stabilizers [17, 19]. By removing exposed logical information, they also provide a stochastic analogue of the targeted measurement-based expurgation proposed in Ref. [22]. In addition, while previous work has focused largely on local lattice interactions, leveraging nonlocal connectivity offers further opportunities. Nonlocal networks rapidly delocalize quantum information, where sparse interaction
graphs with a finite Cheeger constant and a nonvanishing Laplacian gap [27] can globally scramble information in logarithmic time [28, 29]. Nonlocal interactions also reshape measurement-induced criticality [30, 31, 32, 33, 34]: sparse nonlocal circuits withstand higher measurement rates than local ones, and strongly nonlocal circuits yield nearly extensive contiguous code distances [35]. Related connections between nonlocal dynamics and coding arise in the low-energy states of all-to-all interacting models [36]. Reconfigurable Rydberg arrays make such geometries experimentally relevant by allowing atoms to be spatially rearranged between gates [3, 4]. Together, these results motivate monitored random circuits on nonlocal interaction networks as a flexible framework for exploring code rates, distances, and stabilizer weights within hardware connectivity constraints.
Here we use monitored random Clifford circuits on Watts–Strogatz small-world networks [37, 38] as a structured search for quantum codes, using the measurement rate , the rewiring probability , and the circuit depth as tunable knobs (Figure 1). The small-world regime, in which the mean path length grows as rather than , begins once a few of the bonds are rewired, at [39, 40, 41]. On fully rewired networks (), circuits of logarithmic depth generate codes whose mean contiguous distance is extensive at finite rate, in contrast to circuits built on a 1D ring (). These small-world codes also fail far less often under random erasure and form faster: their encoding time grows as , compared to polynomial time on the 1D ring. Extending the statistical mechanics picture of random circuits to small-world networks [19, 42], we propose a domain-wall mechanism for the robustness of these codes where an extensive difference in domain-wall tension between pinned and depinned domain walls allows for large protected subregions that scale with system size.

Figure 1. Tunable small-world monitored circuits. (a) Watts–Strogatz graphs , ring bonds in blue, rewired bonds in red. (b) Monitored circuit: the system in Bell pairs with the reference ; layers of open graph bonds and measurements at rate (crosses). (c) Phase diagram at on fully rewired graphs (), to depth . Color: where at least 10% of the circuits hold a code; hatched gray: fewer do. Cyan: the encoding time ; legend: the median of the first layer with ; pink dash-dotted: the critical rate of Fig. 4.
Model and observables
We construct monitored random Clifford circuits on Watts–Strogatz networks [37], tuning interaction nonlocality through the rewiring probability , monitoring through the measurement rate , and encoding time through the circuit depth . To construct , we begin with a degree-four ring of vertices, each connected to its two nearest neighbors on either side, and independently rewire each of its edges with probability . To rewire the graph, we visit each edge in turn, retain vertex , and replace by a uniformly chosen vertex distinct from and not already adjacent to it [38]. This preserves the total number of edges while excluding self-loops and duplicates. Figure 1(a) illustrates the progression from the local 1D ring () to fully rewired graphs ().
Each vertex in the graph hosts one system qubit, and graph edges specify the allowed two-qubit interactions (Figure 1(b)). At each circuit layer we apply random gates in sequence, independently sampling a uniformly random two-qubit Clifford gate acting on an edge uniformly drawn from . Each system qubit is then independently measured in the basis with probability . We repeat this procedure for layers on the same graph and thereby obtain a stabilizer tableau for each Clifford circuit [43, 44]. Gates spread information, while measurements remove it and define a code conditioned on the measurement record. This procedure yields an ensemble of codes; throughout, angled brackets denote averages over the ensemble at fixed .
To characterize the resulting code, we initially maximally entangle the system qubits with a reference . For each trajectory, the second Rényi entropy counts the surviving logical qubits , giving the code rate . The second Rényi mutual information quantifies how much logical information is exposed by an output subregion [45]. A region is protected when : it contains no logical information, and erasure of is correctable using the remaining output and measurement record [46]. It is exposed when , so errors supported there can compromise logical information. The competition between gates and measurements determines both how much information survives and how well it is protected.
To quantify code robustness, one typically computes the distance , the size of the smallest exposed subregion. Because finding it generally requires an exponential search, our primary diagnostic is the contiguous distance , the length of the shortest exposed arc along the original ring [19], which upper-bounds the true distance . Although natural for the local geometry at , it remains a useful common probe across all . In the fully rewired network contiguity loses its geometrical meaning, but in that case any choice of subregion will serve since all vertices are statistically equivalent. We also test protection on arbitrary subsets through random erasure below.
Our small-world random circuit codes yield a ‘phase diagram’ Figure 1(c) which shows three distinct regimes in the plane at and , diagnosed by the rate and mean contiguous distance. At large measurement rates , measurements lead to a purified regime with (hatched gray). Below , shallow circuits form an exposed regime with vulnerable single qubits; deeper circuits enter an encoded regime with large contiguous distance. In the following sections we systematically characterize different parts of this ‘phase diagram.’ In particular, we examine the code properties of the encoded regime in Figure 2, the encoding-depth boundary in Figure 3, and the purification transition in Figure 4.
Figure 2. Small-world code properties. (a) Rate–distance trade-off, one point per , for from 0 (blue) to 1 (red); circles: ; inset: and 1, –256. (b) Share of the encoded information held by the first qubits; ticks: mean decoupling size . Cartoons: the circuit between (bottom) and (top), its domain wall bound to the top ( exposed) or free in the bulk ( protected). (c) Tension difference [41]; insets: a pinned arc (gold) and its bonds to the rest of the graph at and 1. (d) Mean failure probability under i.i.d. erasure, for all codes and those with ; bars: the share with . Error bars: one standard error over graphs.
Figure 3. Short-depth coding transition. Colors as in Fig. 2. (a) Encoding fronts , the share of circuits encoded by depth , at , on the depth axis of (c); dashed: , reached at . (b) The same fronts against (arrow), with their interquartile width; inset: their variance over circuits. (c) Mean fraction of exposed qubits at and , with and , past which (light blue); dashed: and the of (a) at this and , which meet on the front (stars). (d) against at the rates of (b); lines: fits over , on the ring and at . Bands in (a) and error bars: 16–84% over graph resamples.
Figure 4. Measurement-induced purification from the ring to fully rewired graphs, from Eq. (1) fitted at each angle to over –1024; top axes: ; blue and red: the ring and ; their values, with statistical and systematic errors combined, as dashes in (a) and beside the end points in (b). (a) The critical rate . Inset: the mean algebraic connectivity relative to the ring’s, for –256 (key). (b) The correlation-length exponent (plum, left) and the dynamical exponent (green, right). (c), (d) Collapses against at and 1, lighter for smaller (keys); insets: the same against , crossing at (dashed). Bands in (a) and (b) (in (a) narrower than the line): 16–84% over 200 graph resamples.
Code properties
Fully rewired graphs generate codes with a favorable rate–distance trade-off already at logarithmic depth, . Figure 2(a) plots against code rate , with each point corresponding to a measurement rate , and error bars obtained from resampling [47]. Code quality improves dramatically as increases from zero (blue) to one (red), with codes protecting larger contiguous regions at each fixed rate. For , the curves collapse across – (inset, red), consistent with an extensive mean contiguous distance at finite rate over these sizes. By contrast, the rate-distance curves for the 1D ring (inset, blue) instead deteriorate with increasing . We emphasize that these results are ensemble averages; individual codes can still have [41].
Vanishing mutual information, , means that erasing reveals no logical information and is correctable. Figure 2(b) shows this protection extending to large subregions on fully rewired graphs (red). Growing a contiguous arc from a fixed endpoint, the mean decoupling subregion size —the largest arc with —extends out to extensive sizes . By contrast, on the 1D ring (blue), small subregions expose information almost immediately. The decoupling subregion size can be understood through a domain-wall depinning mechanism in the Ising description of monitored circuits [13, 14, 18, 19, 42, 48, 49, 50]. The inset cartoons in Figure 2(b) illustrate this mechanism, where an exposed region (right) shares a blue domain with the reference , while a protected region (left) is separated from by a bulk domain wall. Free to fluctuate through the circuit interior, the depinned bulk domain wall gains configurational entropy that can outweigh the energetic cost , where is the domain-wall tension. Below , this entropy favors decoupling; larger regions favor pinning and expose logical information.
On the 1D ring, the additional bulk entropy comes primarily from translating the wall in time, giving [19]. Here, pinning constrains only the interface endpoints, leaving the pinned and bulk walls with the same
effective tension in the thermodynamic limit. By contrast, for fully rewired graphs we conjecture that long-range connectivity makes the entropy density sensitive to pinning. In this case, pinning the domain wall reduces the configurational entropy by an extensive amount, reducing the bulk tension below the effective tension of the pinned wall, yielding an extensive decoupling subregion size . Thus an extensive decoupling size arises from the extensive loss of entropy upon pinning. A phenomenological Gaussian interface model [41] supports this picture. The graph Laplacian spectrum governs the bulk domain-wall height fluctuations, while the grounded spectrum describes the pinned interface. Comparing these spectra numerically yields a tension difference that vanishes in the thermodynamic limit on the ring but approaches a nonzero constant on fully rewired graphs [Fig. 2(c)].
Our results so far are probed by the ensemble-average contiguous distance, but this measure can miss rare exposed regions even when most regions of the same size are protected. To address this weakness, we study information exposure on arbitrary subsets using a random erasure model. We compute , the probability that independently erasing each qubit with probability erases logical information [51, 52]. This measures both the size and prevalence of exposed regions and is relevant to neutral-atom devices that convert dominant errors to erasures [53]. Figure 2(d) demonstrates that the code ensemble generated from circuits on the 1D ring (blue) fail substantially more often than those generated by the fully rewired network (red) for at and ; the erasure estimator is described in the Supplemental Material [41]. Both ensemble failure rates are linear in at small erasure probability, reflecting codes with exposed single qubits. We can substantially improve this performance by post-selecting codes from the full ensemble. Restricting to codes with improves the failure rate to , although fewer than 2% of 1D ring codes survive this restriction compared to over 65% of fully rewired codes. Rewiring thus improves random-erasure robustness even when the worst-case distance is small.
Encoding at short depth.—We have demonstrated the robustness of codes generated on small-world networks and proposed a domain-wall mechanism for their protection. Their practical value also depends on how rapidly this protection develops as a function of circuit depth . We now show that small-world circuits encode information at circuit depths growing only logarithmically with system size. To probe this timescale, we define the per-circuit encoding depth as the first circuit layer containing no exposed single qubits, (assuming logical information survives, ). Figure 3(a) plots , the fraction of circuits with zero single exposed qubits by depth . The curves rise from zero to one at a characteristic encoding depth at which . For small-world networks (red), the curves cluster at short depths, around 50 layers across –. By contrast, for the 1D local ring (blue), the crossover shifts strongly toward larger depths as increases, requiring hundreds of circuit layers at the largest sizes shown.
Rescaling depth as , with the interquartile width of the encoding-depth distribution, produces a strong collapse for both geometries [Figure 3(b)]. Ensemble fluctuations are strong near , with individual circuits showing wide variation in whether or not they have encoded. The inset quantifies this variation using the variance of the binary indicator that a circuit has encoded by depth . It peaks at , providing a complementary way to locate . The crossover width grows with system size, but its ratio to slowly decreases [41]. We find no evidence of a sharp phase transition in circuit depth and therefore conservatively refer to the encoding depth as a crossover.
The number of exposed single qubits reveals a longer tail of vulnerable circuits as depth increases. Figure 3(c) shows on a logarithmic color scale versus and , for and and shows four distinct regimes. Above , measurements purify the system and no code survives (hatched gray). Below , shallow circuits retain many exposed qubits . The blue dots mark the encoding depth , where half the circuits have reached ; this boundary stays near 50 layers over a broad range of measurement rates. Beyond this, a substantial mean exposure can persist because the remaining vulnerable circuits contribute disproportionately. Only at larger depths (black dots) does fall below 1 (light blue). The distinction between and separates typical encoding from suppression of the ensemble’s residual exposure, which takes longer as decreases.
Crucially, the encoding depth scales logarithmically in the system size for small-world circuits, in contrast to the polynomial depth required for 1D local circuits. Plotting directly against makes the scaling contrast explicit [Figure 3(d)]. At , fits over system sizes yield for 1D local circuits, whereas fully rewired small-world circuits are consistent with [41]. It is also interesting that very little rewiring is necessary to achieve logarithmic encoding depth: the onset of this acceleration in encoding already occurs when only a few ring bonds are rewired, and most of the reduction is achieved by [41]. Together with the code properties in Figure 2, these results show that fully rewired small-world networks support robust quantum codes whose typical encoding requires only logarithmic circuit depth.
*Purification transition.—*Rewiring also changes the purification transition at which the circuit loses its capacity to retain quantum information. We characterize this transition using , the first circuit layer at which the number of logical qubits falls to . Below the critical measurement rate the typical purification time grows exponentially with system size; by contrast, above purification occurs at logarithmic circuit depths [17]. To locate the transition throughout the range , we fit for – to the finite-size scaling ansatz [54]
where , is the dynamical exponent, and is the correlation length critical exponent. Whereas the leading scaling function controls critical scaling in the thermodynamic limit, the correction function is important (especially in the nonlocal regime) to obtain good scaling collapse at finite system size. The parameter sets the decay of finite-size corrections, and accounts for a nonlinear dependence of the scaling variable on measurement rate. We fit each rewiring probability separately, with statistical and systematic uncertainties estimated as described in the Supplemental Material [41]. Our finite-size scaling results are presented in Figure 4, where the angle parameterizes the rewiring probability with respect to the Fisher–Rao metric [55, 56, 57].
The local 1D ring provides a benchmark for this analysis: our fits yield critical exponents and , consistent with previous studies of local monitored circuits in one dimension [9, 17, 58]. Rewiring raises the critical measurement rate smoothly as a function of , increasing the measurement rate the code can withstand by more than a factor of two between and [Fig. 4(a)]. The fitted exponents change much more rapidly as we move away from the local limit [Fig. 4(b)]. Figure 4(c) and (Figure 4d) illustrate successful scaling collapse for the local 2D ring (blue) and fully rewired graphs (red). In contrast to the smooth variation in , the critical exponents change abruptly as we increase the nonlocality of the network, with the dynamical exponent dropping to and the correlation length exponent increasing to . It would be interesting in future work to understand whether these changes are continuous in or whether there is a sharp transition in the universality class [32, 33]. Further, whether this nonlocal critical behavior connects to the unconventional critical scaling found on dynamical quantum trees remains an interesting open question [30, 34].
*Conclusion and outlook.—*Our results demonstrate monitored random quantum circuits with nonlocal interactions provide a flexible framework for generating robust quantum error-correcting codes at short circuit depth. On fully rewired graphs, our small-world circuits encode quantum information in a depth that grows only as , compared to polynomial circuit depths required on the 1D ring. Moreover, at this short depth our circuits produce codes with finite rate and extensive mean contiguous distance that fail far less often under random erasure than codes produced from local circuits. The nonlocal interactions also increase the critical measurement rate of the measurement-induced purification transition and modify its critical exponents.
The robustness and tunability of these small-world codes establish clear directions for future work. Foremost is to systematically study and minimize the weights of the stabilizer checks to improve the feasibility of syndrome extraction on realistic hardware. Further, it will be important to study decoding algorithms for these codes with an eye toward using tunable nonlocality and measurements to improve real-time decoding efficiency. Moreover, the results presented here are largely focused on ensemble averages; a particularly promising direction is to post-select especially good codes from this large pool of candidates to optimize for high rate and distance while minimizing stabilizer check weights. Finally, we hope to use our framework to codesign codes for particular hardware platforms where the interaction network and other tunable parameters are chosen to optimize for a particular device’s constraints. These directions are natural targets for such optimization, including by machine learning.
Acknowledgments
*Acknowledgments.—*This work was supported by funds provided by the Department of Physics and the Dean’s Office at William & Mary.
*Data availability.—*The data presented in this study can be reproduced bit for bit: each graph, gate, and measurement is drawn from pseudorandom streams fixed by recorded master seeds [41]. The code that generates, analyzes, and plots the data is openly available in the folder papers/SmallWorldMIPT of the SparseGF2 repository [44].
*AI use disclosure.—*The authors used Claude Opus 5.5 (Anthropic, cloud), Qwen3.8-flash-next (Alibaba, local), and ChatGPT-5.1 Sol (OpenAI, cloud) to write code, to prepare preliminary drafts of the text, and to assist with the literature review. The authors wrote the final draft and verified all code, results, and references.
Supplemental Material for
“Small-world networks yield tunable quantum codes at short circuit depth”
This Supplemental Material defines the graphs (Sec. S1), the circuits and the simulations (§ 1.5), and the observables (§ 1.6), and gives the analyses behind the figures of the main text (§ 1.7–§ 1.12). Equations, figures, and sections without the prefix S are those of the main text.
Small-world graphs
The graph ensemble
The qubits are , with arithmetic modulo . The ring bonds each qubit to its nearest and next-nearest neighbors,
so every degree is 4. Each bond is visited once, as the slot , in the order
At its visit, a slot is rewired with probability : the bond keeps , and its other end moves to
a qubit not then bonded to ( is the current neighborhood of ; nothing changes if is empty). The graph after the last visit is : the ring at , fully rewired at . It is simple and has exactly the bonds of the ring, and the number of rewiring attempts is . Since the endpoints do not depend on once the attempts are fixed, the law of the ensemble is
with the law of the graph when a uniformly random set of slots is rewired. Every graph we sample is connected.
Figure S1 follows invariants of the simulated graphs as rewiring turns the ring into a sparse random graph; is the graph distance between qubits and . Watts and Strogatz rewired the bonds of a ring at random: a few shortcuts bring the mean path length , the mean of over pairs of qubits, close to that of a random graph while the clustering stays close to the ring’s [37]. The path length crosses over to growing as once the ring carries of order one rewired bond, that is, at [39, 60, 61, 62].
Figure S1. Graph invariants of the simulated graphs against the rewiring angle (bottom; on top), each relative to the ring () except (d): (a) the mean path length , (b) the clustering coefficient , (c) the algebraic connectivity , (d) the standard deviation of the qubit degrees, relative to the mean degree, 4, (e) the number of spanning trees , per qubit Eq. (6), (f) the mean effective resistance between two qubits Eq. (7), (g) the diameter , and (h) the arc expansion Eq. (9). Each line joins the means over the 1000 graphs simulated at each of the 50 angles , at one of the nine sizes –1024 (color, logarithmic in ), with the mean of in (e); the bands, standard errors over graphs, are mostly narrower than the lines.
The graph Laplacian , with the adjacency matrix and the diagonal matrix of degrees, has eigenvalues ; the algebraic connectivity is positive exactly when the graph is connected [27]. At it still falls slowly with over our sizes.
Rewiring keeps the bonds, and so the mean degree 4, but spreads the degrees [40] [Fig. S1(d)]. Each gate acts on a uniformly random bond (§ 1.5), so a qubit takes part in gates in proportion to its degree.
The number of spanning trees [63] and, with every bond a unit resistor, the mean effective resistance between two qubits [64, 65] [Fig. S1(e), (f)], are set by the geometric and harmonic means of the nonzero eigenvalues:
weights the whole spectrum alike, its low end, which sets how fast a random walk joins two qubits [66].
The diameter is the largest Figure S1; scrambling in a time logarithmic in requires [29]. On the ring, .
The Cheeger constant of a graph,
with the largest degree [67], is out of reach at our sizes, so we restrict to arcs, the regions of the contiguous distance Eq. (16); Figure S1:
On the ring, .
Our move is Olfati-Saber’s random rewiring operator [38 Sec. IV] at range and , with the order of the visits and the end a bond keeps, which Ref. [38] leaves open, fixed by Eq. (3).
The rewiring angle
We parameterize the rewiring by . The whole dependence on sits in the attempt bits, independent with probability of being 1, whose Fisher information [55, 68]
diverges at both ends in but is constant in : equal steps in separate the laws of the bits equally [56, 57], and those of the graphs, a coarse-graining of the bits, at most as far [69]. Our grid is uniform in ,
Its first point past the ring, , is a mean of rewiring attempts at and at .
Circuits and simulations
Our circuits act on system qubits on the vertices of a graph of Sec. S1. Each layer applies random two-qubit Clifford gates on bonds of the graph and then measures each qubit with probability ; a reference, entangled with the system at the start, records the logical qubits that survive.
Each system qubit starts in a Bell pair with a reference qubit ,
so the system starts maximally mixed and purified by the reference [17, 19]. Layer applies two-qubit gates in sequence, each drawn uniformly from the 11,520 two-qubit Clifford gates up to phase and placed on a bond drawn uniformly, with replacement, from the bonds of the graph , and then measures each system qubit in the basis independently with probability :
with the measured qubits and their outcomes. The gates follow the bonds of a fixed sparse graph, nonlocal once the ring is rewired, and are drawn at random: within a layer a qubit takes part in gates on average, and possibly in several or none. A circuit of depth has gates and on average measurements. The gates and measurements are ideal, and the reference is never measured. Its entropy is the number of logical qubits,
which never increases, and a region of the system holds the information
about the reference. The state stays a stabilizer state, so the circuits can be simulated efficiently [43] and every entropy follows from the stabilizer group [59]; none of these entropies depends on the outcomes .
Every simulation draws its graphs, gates, and measurements from the same master seeds (2026102017 for the graphs, 2026102029 for the gates, and 2026102039 for the measurements). Graph of a given is thus the same in every simulation, its circuit has the same gates at every rate, and the qubits measured at a rate include those measured at every lower rate; “the same circuits” below means the same graphs, gates, and measurement draws. Table S1 lists the two main simulations. The rate of the main text, on the ring and at , is half of the preliminary estimates and with which the runs were set, and and of the final values (Sec. S9}); every rate written below uses these .
| Simulation | Graphs | , ring | , | Stops at | Recorded | |||
| Purification transition (Figure 4) | 64, 96, , 256 | , | every 0.05, and every 0.005 near ᵃ | 1000 | , | |||
| 512, 1024 | every 0.005 near ᵇ | 1000 | ||||||
| Coding front [Figure 3(a), (b), and (d)] | 64, 96, , 256 | 0 and 1 | , , and ᶜ | 1024 | 256 | encoding or | , whether | |
| –ᵈ | 1024 | 256 | ||||||
| 8192 | 1536 | 512 | ||||||
| 16384 | 100 | 2048 | 512 | |||||
| 32768 | 100 | 3072 | 512 |
Table S1. The two simulations. Each condition (, , ) runs one circuit on each of its graphs, for layers or until it stops, and records the listed quantities at every layer; is the number of exposed qubits (§ 1.6.A).
Observables
Code properties
A region is exposed when . The code distance is the size of the smallest exposed region, and the contiguous distance the length of the shortest exposed arc of consecutive qubits along the original ring [19]:
The number of exposed single qubits is
so exactly when . The decoupling size is the longest arc of the first qubits that is not exposed,
and since only grows with , . Earlier work reads the contiguous distance off the mean of over circuits [19, 42]; here , , and are computed in each circuit and then averaged. These quantities are defined when , and their averages are taken over the circuits that still hold a code,
with running over the graphs of a condition.
First passages and fronts
The first layers at which a circuit purifies, nearly purifies, and encodes are
A circuit that has not reached such a layer by the depth is censored, and medians are Kaplan–Meier medians [70], undefined when more than half the circuits are censored. The encoding front, the encoding time, the width of the front, and the scaled depth are
and is the first layer at which , interpolated linearly between the two layers around the crossing. Unlike the Kaplan–Meier medians, is the median of over all circuits, interpolated linearly between layers: a circuit that purifies before it encodes stays in the denominator rather than being censored.
The time is the purification time of the maximally mixed state [17]; is not the purification time of a single reference qubit used there as an order parameter.
Erasure
Erasing each qubit independently with probability loses logical information with probability
with the share of the -qubit regions that are exposed: the failure probability of an optimal erasure decoder [51, 52]. At small , , with the number of exposed regions of size , and solves . Section S6.A gives the estimator of .
Averages and errors
Averages are over the graphs of a condition, one circuit each, and their errors are standard errors over graphs. Medians, fronts, and fits carry 16–84% intervals over 2000 resamples of whole graphs [47] unless stated, with one resample shared by all rates (and, in § 1.11, all angles) of a size. The errors of , , and (§ 1.12) combine such resamples with systematic shifts, Eq. (47), and the exponents of § 1.8 and the width exponents of Sec. S7.B carry the standard error of a weighted least-squares fit.
Phase diagrams
By , has fallen below for on the ring, the rate of the grid next to , but already for at , well below (§ 1.12): at finite the reference also purifies below , after a depth that grows with (Figure S2). Figure 1(c) of the main text is the plane of fully rewired graphs at (95 rates from 0.01 to 0.95, 1000 graphs each, to ), and Figure S2 sets the ring beside it; each point holds one circuit per graph, read at depth . The mean is over the circuits that hold a code, and the encoding front counts a circuit as encoded even after it is exposed again or purifies, so both are left out (gray and hatched) where fewer than 10% of the circuits hold a code. At the encoding front rises from 0 to 1 at only at low rates: above on the ring and at , part of the circuits purify before they encode, and levels off below 0.9.
Figure S2. The ring (top, ) and fully rewired graphs (bottom, ) on the plane of depth and measurement rate : (a), (e) the code rate over all circuits (linear below , logarithmic above); (b), (f) the contiguous distance per qubit ; (c), (g) the encoding front ; (d), (h) its variance over circuits, ; (a), (b), (e), and (f) at , to ; (c), (d), (g), and (h) at , to ; (b)–(d) and (f)–(h) on logarithmic scales, gray and hatched where fewer than 10% of the circuits hold a code, as in Figure 1(c) and Figure 3(c) of the main text. Each column shares one color scale; values below (none of the 1000 circuits) take the lowest color.
Codes at logarithmic depth
At logarithmic depth, fully rewired graphs give codes of finite rate with an extensive mean contiguous distance, while on the ring the mean contiguous distance stays bounded. Figure 2(a), (Figure 2b) of the main text reads at (to the nearest layer: 48 at , 64 at $n=256) the circuits of the purification-transition simulation (Table S1) at –256, one on each of 1000 graphs. Figure 2(a) adds 14 rates run on the same circuits (12 from to 0.045, and 0.075 and 0.125); its main panel shows and its inset –256. Its black circles and Figure 2(b) are at (§ 1.5): on the ring and 0.1779 at , with recorded for every prefix , and, at only, , and 0.1705 at , , , , and . Every average is over the circuits that hold a code, Eq. (19).
Rate and contiguous distance
The depth lies past the encoding time at but before it on the ring: at and –256, –35.8 at against –64, but –96.3 on the ring (Sec. S7.A). Most of the ring’s codes therefore still have an exposed qubit, and their contiguous distance is one qubit (§ 1.8.B).
Where a curve crosses the code rates and 0.1 we read , interpolating linearly between neighboring rates, and fit
Figure S3. The exponent of the mean contiguous distance against the angle ( on the top axis), at the code rate and over –, at three logarithmic depths, , , and (teal, solid), and two linear ones, and (amber, dashed). (a) The exponent at a depth shared by all sizes, each family’s depth at : , , , , and . (b) The growth of the codes with depth, , along each family, averaged over the sizes. (c) The exponent along each family, Eq. (23). Bands: the error of the weighted fit. At the smallest angles have no fit, since nearly every code has . Gray dashed lines: an extensive mean contiguous distance.
over –, the sizes of the inset of Figure 2(a): is an extensive mean contiguous distance, a bounded one. At , at (both rates) and and on the ring (at and ; the figures show ), and it grows with in between [Fig. S3(c)].
At a fixed depth shared by all sizes, the exponent at stays between 0.91 and 1.04 from to 1536, while on the ring it is at most 0.35 [Figs. S3(a) and S4(c)]. When the depth grows with , also counts the growth of each code with depth, [Figs. S3(b) and S4(a), (b)]:
Figure S4. The mean contiguous distance against the depth at the code rate , at the seven angles of Figure 2 of the main text (colors as there). (a) and (b) its growth with depth, , at (light, dashed) and (solid). (c) The exponent at a depth shared by all sizes, fitted over –; bands: the error of the weighted fit. Gray dashed line: an extensive mean contiguous distance.
The factor is for but about for . At the codes still grow with depth ( at ), which lifts above 1.
Individual codes
Individual codes differ widely from the mean. We take the 1000 codes of the erasure simulation at each of its seven rates per end (, ; Sec. S6), at the same circuits as above, with found among all regions of up to four qubits (Sec. S6.A). On the ring no code has at any rate, and at most 15 of the 1000 have . At and , 348 codes still have and 78.2% have , while (median 26). The contiguous distance overstates by an order of magnitude: of the 175 codes with , only 6 have an exposed arc of two qubits; in the others the exposed pairs are not neighbors on the ring.
Decoupling along an arc
Figure 2(b) grows the arc and averages , circuit by circuit, over the circuits that hold a code. At the curves nearly collapse: at they lie within 0.0082 of the curve at over all (0.0131 on the ring). Short arcs hold almost no information, and less as grows: an arc of 0.1 qubits exposes a share 0.0124 at and 0.0032 at . On the ring the same share grows with , from 0.0499 to 0.0926: short arcs already expose information.
The decoupling size [Eq. (18)] is the longest such arc that holds no information, and in every circuit. Figure S5 extends it to , with the same ensemble, rates, and depths at –, 1000 graphs each. At , grows nearly, but not exactly, in proportion to : falls from 0.242 at to 0.167 at at [Figure S5], and from 0.362 to 0.204 at . The form fits both depths, with and 0.905 ( and 0.78); fitted to , it predicted and 4096 within 1.1 standard errors, whereas an extensive decoupling size, a constant with a power-law correction, missed at by 3.3. At , the depth of the main text, the extensive form fits as well (, ) there the data do not separate the two. On the ring, grows only as : at ().

Figure S5. The decoupling size at ( on the ring, blue; at , red). (a) against at ; lines: at and on the ring; inset: their residuals in units of the standard error, shaded within . (b) The distribution of over the 1000 circuits at and , on logarithmic bins of whole qubits; the circuits with (21 on the ring, 2 at ) are not shown. Error bars: one standard error over graphs, mostly smaller than the points.
Individual circuits spread widely [Figure S5]: at and , has mean 0.167, median 0.189, and standard deviation 0.064.
Domain-wall fluctuations and phenomenological Gaussian height model for the effective tension.
Here we discuss a phenomenological model for domain-wall fluctuations in small-world random circuits. This model supports our conjecture in the main text that an extensive decoupling subregion can be explained by an extensive loss of entropy upon pinning.
To understand the extensive crossover between pinned and depinned domain walls, we consider an effective ferromagnetic Ising model on the spacetime graph ,
where and is the adjacency matrix of the small-world network . Such statistical-mechanics descriptions arise naturally from replica mappings of random unitary and monitored quantum circuits [14, 30, 50]. For the second Rényi entropy , the reference system imposes uniform spin boundary conditions at the bottom of spacetime, while the top boundary has opposite orientations on and . We choose on and , and on . These boundary conditions admit two competing interface configurations: a pinned wall surrounding , or a wall surrounding together with a freely fluctuating bulk wall separating the top and bottom boundaries.
In the ordered phase, we model a system-spanning domain wall by a height field specifying the time coordinate at which the interface crosses vertex . For a single-valued interface, the excess energy is
where is the energy per vertex of a flat interface, and penalizes height differences between connected vertices. This representation follows by counting the frustrated spatial bonds between neighboring worldlines. At large circuit depth, we approximate the discrete height coordinate by a continuous variable, appropriate for describing fluctuations on scales much larger than one circuit layer.
At long wavelengths, we approximate the interface by a Gaussian elastic model,
where is the graph Laplacian, is the effective interfacial stiffness, and are the height coordinates.
Let denote the eigenvalues of . Expanding the height field in Laplacian eigenmodes reduces the partition function to independent Gaussian integrals. The zero mode corresponds to rigid translation of the interface along the time direction, contributing a factor proportional to . The remaining modes give
where specifies the normalization of the continuum height measure. This expression assumes that is sufficiently large that confinement of the interface can be neglected. The corresponding bulk free energy contains the spectral contribution
in addition to the flat-wall energy, translational entropy, and Gaussian normalization terms.
To describe fluctuations of domain walls constrained by boundary pinning, we fix for . The remaining heights , , are governed by the grounded Laplacian
obtained by deleting the rows and columns associated with . Crucially, this operation retains the energetic contributions from edges connecting and . The Gaussian fluctuation partition function in this case is therefore
Unlike the bulk interface, the grounded system has no translational zero mode. Its spectral free-energy contribution is
where denote the strictly positive eigenvalues of the grounded Laplacian.
We quantify the difference in the spectral contributions to the effective interface tensions by defining
where and denotes the small-world rewiring probability. In the Gaussian approximation, gives the difference between the spectral contributions to the pinned and bulk interface tensions. The full physical tension difference additionally depends on microscopic interface energetics and the normalization of the continuum theory.
We evaluate numerically for different system sizes, as shown in Figure 2(c) of the main text. For the unrewired ring (), pinning affects only a subextensive number of spatial bonds, and we find as . By contrast, in the fully rewired network (), an extensive number of edges connect and . Pinning therefore constrains fluctuations throughout the interface, producing a finite difference in the spectral free-energy densities: as .
This provides a mechanism by which long-range connectivity can generate distinct effective tensions for pinned and bulk domain walls, thereby enabling a crossover at an extensive subsystem size .
We evaluate Eq. (33) exactly on every graph. Both determinants are of sparse positive-definite matrices, as times the determinant of without its row and column , and a sparse LU factorization gives their logarithms as sums over its pivots, each checked positive. On graphs of these agree with dense determinants within , and within ; on the ring, whose number of spanning trees is with the th Fibonacci number, holds within up to . The graphs are those of the simulations, drawn from the master graph seed (Sec. S10): at , every graph the simulations drew, to per size; at the five intermediate angles of Figure 2, 1000 per size, with new graphs drawn the same way at and –, where no circuit ran; and on the ring, where every graph is the same, one. Each of the 1,218,017 graphs was checked connected, with distinct bonds and no self-loops. Error bars are one standard error over graphs.
On the ring and , from at to at : pinning constrains only the bonds at the two ends of , a number that does not grow with , and costs no entropy per height in the limit. Every rewired edge crosses zero, at a size that falls as grows (between and at , between 64 and 96 at ), and then levels off at a positive value that grows with : at , at and at . The insets of Figure 2(c) draw the two ends schematically, with 16 qubits and : on the ring the 6 bonds between and the rest meet 4 of the other 12 qubits; at the 15 such bonds meet 9.
Erasure
Codes from fully rewired graphs fail far less often under random erasure than those of the ring, at the same and at the same code rate. Figure 2(d) of the main text and this section use and , with one circuit on each of 1000 graphs, at seven rates per end, with (§ 1.5; Table S2); is the rate of the main text. Every circuit holds a code at .
| 0.1 | 0.0146 | 0.101 | 0.709 | 1.000 | 0.3094(40) | 0.01957(27) | |
| 0.2 | 0.0291 | 0.201 | 0.568 | 0.998 | 0.1895(31) | 0.03280(48) | |
| 0.3 | 0.0437 | 0.302 | 0.461 | 0.999 | 0.1431(25) | 0.04290(60) | |
| 0.4 | 0.0583 | 0.403 | 0.373 | 0.991 | 0.1164(22) | 0.05213(73) | |
| 0.5 | 0.0728 | 0.503 | 0.297 | 0.985 | 0.0956(18) | 0.06183(83) | |
| 0.6 | 0.0874 | 0.604 | 0.232 | 0.991 | 0.0838(16) | 0.06931(88) | |
| 0.7 | 0.1020 | 0.705 | 0.176 | 0.989 | 0.0742(14) | 0.07708(95) | |
| 0.1 | 0.0356 | 0.095 | 0.649 | 0.513 | 0.0607(35) | 0.06473(90) | |
| 0.2 | 0.0712 | 0.189 | 0.457 | 0.437 | 0.0319(20) | 0.1057(13) | |
| 0.3 | 0.1068 | 0.284 | 0.317 | 0.384 | 0.0232(17) | 0.1432(17) | |
| 0.4 | 0.1424 | 0.379 | 0.211 | 0.362 | 0.0180(13) | 0.1803(21) | |
| 0.5 | 0.1779 | 0.473 | 0.132 | 0.348 | 0.01401(94) | 0.2151(24) | |
| 0.6 | 0.2135 | 0.568 | 0.074 | 0.322 | 0.00924(62) | 0.2582(26) | |
| 0.7 | 0.2491 | 0.663 | 0.034 | 0.315 | 0.00738(47) | 0.2995(27) |
Table S2. Erasure at and : the rates , also in units of the final , the mean code rate, the share of codes with , the mean failure probability at , and the mean , with standard errors over the 1000 graphs.
The estimator
The failure probability of Eq. (22) needs the share of exposed -qubit regions at every . For we test every region, 177,589,056 per circuit, so and the distance are exact. Above, we draw uniformly random orderings of the qubits per circuit and record the size of the first exposed prefix. The first qubits of a random ordering are a uniformly random -qubit region, and a region that contains an exposed one is exposed, so
and follows from Eq. (22) with the exact below and above . Failures too rare to appear among the orderings are bounded by the rule of three: they add, at 95% confidence, at most , at . As a check, literal erasure patterns per circuit, at ten values of from 0.01 to 0.4, agree with within on the ring and 1.5 at (the largest over the ten values). Means over circuits carry standard errors over graphs, and ratios their propagated errors.
Results
At and the mean failure probability is 0.0956(18) on the ring and 0.0140(9) at , a ratio of 6.82(47). Both means are linear in at small , because the codes with an exposed qubit fail at first order: those with carry 99.97% of the ring’s mean at and 99.54% of that at . Restricted to the codes with , 15 on the ring and 652 at , the means are and , a ratio of 17.8(32). Near , the local exponent of the median code is 1.0005 on the ring and 2.0001 at .
The two ends reach different code rates at the same (Table S2), so we also compare them at equal code rate: the mean at , interpolated linearly in the code rate between its seven rates, is 2.43–2.54 times the ring’s at each of the six ring rates inside that range, code rates 0.176–0.568.
The coding transition
On the ring the encoding time grows as a power of ; on fully rewired graphs it grows as . Figure 3(a), (b), and (d) of the main text and Secs. S7.A and S7.B use the coding-front simulation (Table S1): 17 sizes from to 32768, at with , and 0.75 (§ 1.5). Each circuit runs until it encodes or purifies, or to a horizon well past ; none reached the horizon unencoded. Figure 3(c) and Sec. S7.C use at , 1000 graphs, and –0.95 in steps of 0.005, every layer to ; Sec. S7.D uses the nine sizes , 384, and 512 at all 50 angles, 1000 graphs, and in steps of 0.005, to .
Encoding time against size
We fit the encoding times over the nine sizes , weighted by their variances over the graph resamples, with a power law and a logarithm,
and, as checks weighted by the 16–84% intervals, with , , and with free. At the two ends select different forms (Figure S6). On the ring the power law fits, [0.3986, 0.4049] (95%) with , against 251 for the logarithm, 17.3 for , and 45.3 for a power of . At the logarithm fits, [4.96, 5.06] with $\chi^2/\mathrm{dof}=0.81, against 7.28 for the power law and 194 for ; with also fits (), and with free the best lies at the edge of the scan, , where becomes a logarithm. The local exponent between neighboring sizes agrees: on the ring it stays at 0.38–0.43 up to , with no drift toward $1/2$, while at it falls from 0.21 to 0.098 as the local slope stays at 4.5–6.0. At , on the ring and 62 at ; Table S3 lists at at every size.
Figure S6. The encoding time against size at ( on the ring, blue, left axis; at , red, right axis). (a) against on linear axes, on which a logarithm is a straight line; lines: the fits of Eq. (35) over , drawn from , the power law solid and the logarithm dashed. Insets: the residuals of both fits over the fitted sizes, in units of , half the 16–84% range; shaded, . (b) The local slope and (c) between neighboring sizes, at their geometric mean; lines: the derivatives of the fits, and on the ring, and at . Error bars: 16–84% over 1000 graph resamples (Table S3), propagated to the differences in (b) and (c).
| \multicolumn{2}{c}{ring, } | \multicolumn{2}{c}{} | |||
| graphs | graphs | |||
| 64 | 54.29 [54.22, 54.35] | 27.97 [27.94, 28.01] | ||
| 96 | 64.29 [64.22, 64.37] | 30.42 [30.39, 30.46] | ||
| 128 | 72.57 [72.49, 72.65] | 32.01 [31.97, 32.05] | ||
| 160 | 79.46 [79.39, 79.55] | 33.29 [33.26, 33.33] | ||
| 192 | 85.68 [85.60, 85.78] | 34.19 [34.15, 34.22] | ||
| 224 | 91.09 [90.99, 91.19] | 35.01 [34.98, 35.05] | ||
| 256 | 96.33 [96.23, 96.42] | 35.81 [35.77, 35.84] | ||
| 384 | 113.88 [113.50, 114.24] | 37.83 [37.72, 37.95] | ||
| 512 | 127.47 [127.09, 127.89] | 39.33 [39.29, 39.37] | ||
| 768 | 149.78 [149.36, 150.24] | 41.18 [41.04, 41.30] | ||
| 1024 | 169.39 [168.88, 169.91] | 42.78 [42.74, 42.81] | ||
| 1536 | 197.89 [197.33, 198.49] | 44.95 [44.82, 45.08] | ||
| 2048 | 221.75 [221.19, 222.36] | 46.23 [46.20, 46.28] | ||
| 4096 | 293.59 [292.64, 294.42] | 49.74 [49.70, 49.78] | ||
| 8192 | 391.64 [389.69, 394.00] | 53.45 [53.11, 53.76] | ||
| 16384 | 100 | 499.5 [484.0, 507.0] | 100 | 56.33 [55.67, 56.85] |
| 32768 | 100 | 702.0 [681.7, 720.0] | 100 | 62.0 [60.0, 63.1] |
Table S3. The encoding time at ( on the ring, 0.1779 at ) at every size, with the graphs of each condition and the 16–84% range over 1000 graph resamples. At and , 1024, 2048, and 4096 the graphs are those of Figure 3(a), (Figure 3b).
The ring’s exponent rises with the rate, from 0.391 at to 0.421 at . At the logarithm fits at all three rates; at , where grows least, a power law with fits as well. Gullans et al. find that random local circuits approach the erasure capacity at a fixed gap at a depth in any dimension, but need in one dimension when the gap closes with [22]; their circuits are unitary encoders judged by the failure probability, so these depths are not our .
The fronts
The front sharpens relative to , but slowly. Its width [Eq. (21), with grows with , but more slowly than : over , on the ring and at ( and 0.64).
Exposure after encoding
At and the encoding time stays between 45.7 and 49.8 layers for –0.30, and rises to 58.0 at ; the mean at is 8.29 at , 2.72 at 0.15, and 1.33 at 0.25.
Past (§ 1.6.B), can rise above 1 again, and both the first dip and the last crossing come later as falls. From to 0.33, stays below 1 within 35% of (from 167.8, and for good after 203.8, at ); at it first dips below 1 at and stays below only after layer 957.1. The 16–84% interval of over 200 graph resamples, 283.7–334.1 at , lies below the dip, since resampled means dip earlier.
Between the ends
A few rewired bonds already shorten the encoding, and most of the drop comes early in . At fixed and , against the number of rewired bonds, , falls on one curve for every size until it levels off near [Figure S7]: the onset is set by how many bonds are rewired, not by the share $\beta$. Over $n = 64$–512 and $p = 0.01$–0.10 (171 pairs: the nine sizes and 19 rates), $T_{\mathrm{enc}}$ drops by 10% after $2n\beta = 1.7$–5.4 rewired bonds and by 20% after 4.9–13.6 (interpolated in $\ln 2n\beta$ between the grid angles), with no drift in $n$. The graph changes on the same scale: on the graphs of Fig. S1 at $n = 64$–256 and 512, $\lambda_2$ plateaus after 3.9–6.5 rewired bonds and the mean path length halves after 6.0–14.8. The share of the drop made by $\beta$, $\Delta T_{\mathrm{enc}}(\beta)/\Delta T_{\mathrm{enc}}(1)$ with $\Delta T_{\mathrm{enc}}(\beta) = T_{\mathrm{enc}}(0) - T_{\mathrm{enc}}(\beta)$, has a median of 0.77 by $\beta = 0.099$ ($\theta_{10}$) (quartiles 0.70 and 0.81; 0.56–0.89 over the 171 pairs) [{xref}Fig. S7(b)]. The level reached at falls with , from a median over the rates of 0.66 at to 0.33 at .
Figure S7. The encoding time between the ends, over – and –. (a) against the number of rewired bonds for each size (light to dark, key): median (line) and quartiles (band) over the 19 rates. Gray: the numbers of rewired bonds at which doubles and the mean path length halves on the graphs of Figure S1. (b) The share of the drop made by , with , against the angle ( on top): median (line) and quartiles (band) over the 171 pairs of size and rate; dot: .
Finite-size scaling and the test at
This section derives Eq. (1) of the main text and tests it on ; § 1.12 gives , , and .
The standard ansatz
The observable is , the logarithm of the median of the first layer at which at most one logical qubit remains [Eq. (20)], one value, or cell, per size, rate, and angle, with error , its standard deviation over resamples of the graphs. Near a continuous transition a single relevant field, , grows under coarse-graining, and finite-size scaling [71, 72] assumes that the size enters only through its ratio to the correlation length, . Coarse-graining by a factor maps
with the dynamical exponent. The number of logical qubits is an entropy, of scaling dimension zero, so the time for it to fall to a fixed level carries only the factor [17]. Choosing ,
On the ring is the length of a -dimensional circuit, and at a conformally invariant critical point [16, 58]. Rewired graphs have no length: their diameter grows only as (Sec. S1). We keep the same form with the number of qubits as the size, as for systems without a length scale [73], transitions on small-world networks [74], and monitored circuits with sparse nonlocal gates [35]; then sets how the critical window narrows, , and is not a correlation-length exponent.
At our sizes Eq. (37) fails. Fitted to , it predicts the medians at with a mean of 61.2 per cell, against 3.0 for a correct model; at its moves by and its by between and . Such drifts, common in monitored circuits at accessible sizes [15, 35, 75], have two causes: irrelevant fields add terms that decay as a power of the size [72, 76], and the scaling field is an analytic function of rather than itself. We include both, following Slevin and Ohtsuki [54, 77].
The modified ansatz
With a relevant field , of exponent , and the leading irrelevant field , of exponent , Eq. (36) gives
Three expansions make Eq. (38) a fit [54]. At finite there is no phase transition, so is smooth in both arguments; for an irrelevant field that is not dangerous, the second is small at large , and to first order,
with and , the field taken at its lowest order. The scaling fields are analytic in , and vanishes at , so
with the linear coefficient set to 1 because carries the scale. Over the finite range of that the data cover, and are smooth and are approximated by polynomials of degrees and , written as Chebyshev series,
with and the extremes of over the fitted cells. Equations (S38)–(S40), with Eq. (40) truncated at , are Eq. (1) of the main text:
It has linear parameters, , the , and the , and four nonlinear ones, , , , and : 17 at and (§ 1.11.D). They minimize , with the value of Eq. (42). The model is linear at fixed , so is minimized over these four alone, from many starting points [78]. The cells at one share graphs and circuits, so is descriptive; forms are compared by how well they predict a size they were not fitted to, Eq. (44).
The cells
There is one cell per size , and , rate in each angle’s window around (Table S1), and angle. At each angle’s median also uses the graphs simulated at other angles: by Eq. (5), a graph with rewiring attempts has the same law at every , so graph , with attempts, enters the median at with the weight
with the number of pooled graphs with attempts; a cell is kept only if the strata with no pooled graph carry at most 1% of the probability. At and 1024 each angle uses its own 1000 graphs.
A cell enters the fit when and its median is defined, that is, reached by half the circuits by ; there is no other cut. The final fit has 210 cells on the ring and 454 at .
The orders, on the ring and by prediction
The ring, whose answer is known, [16, 58] and [17], checks the form but does not choose it (Table S4, , ). Only Eq. (39) with the quadratic term and recovers both, and ( for fixing ), and it is stable in : , and 14 give –0.994 and –1.302, so we take . A more flexible also lets the standard ansatz reach these values: at , 12, and 14, Eq. (37) gives , 1.014, and 1.018 and –1.301, and fixing costs only –5.20, while Eq. (39) without the quadratic term stays at –0.95. With the correction , the ring thus rejects the linear field but cannot separate Eq. (37) from Eq. (42); the prediction of a larger size does.
Table S4. The ring as the calibration: each form fitted to the ring’s cells at –512 with , free. Known: , . : the cost of fixing . aThe fit stops at the bound of the search.
The order of Eq. (40) is chosen by how well a fit to predicts the cells at ,
A correct model scores 3.00(38), not 1, since the cells at one share circuits and the prediction carries the fit’s uncertainty (synthetic data drawn from the fitted model). Over all angles the linear field scores 5.12 and the quadratic 3.18. On the cells all three forms predict (), the cubic form scores 5.66 against 3.00 although it fits better, so we stop at .
Keeping only the central 70% of the cells in gives and on the ring at , so we do not use it; refitted to , it moves by +0.015.
The test at
With every choice fixed, the predictions of each form, fitted to , were stored, with time stamps kept in the release, before any cell existed. Over all 50 angles the quadratic form predicts the 1272 medians at with , against 7.91 for the linear form and 7.50 for the cubic; at it scores 3.34, at the null of the test, and on the ring 2.75 against 20.43. The prediction fails only near the ring: at – () every form misses, by 11.96–13.62, and at – the quadratic form scores 4.36. The test also excludes the earlier estimate of a critical point of near $p=0.34: registered as a power law at fixed , it misses its twelve cells by 89.5, against 1.12 for (39). On the ring the test scored 11 registered cells; the rates and 0.1435 were added afterwards and enter only the final fit.
Critical exponents
Equation (S38), with , , and , fitted at each of the 50 angles to –1024, gives , , and of Figure 4. Table S6 lists the two ends, and Figure S8 shows the fit at the seven angles of Figure 2 of the main text.
Figure S8. Equation (S41) fitted to at – at the seven angles of Figure 2 of the main text, in its colors, the sizes from light () to full (1024). Top: against , with the fit at each size (lines) and (dashed). Bottom: the collapse, against , as in Figure 4(c), (Figure 4d) of the main text; insets: the same quantity against near , where the sizes cross. Error bars: one standard deviation of over 2000 graph resamples, smaller than the points.
| source | ring, | ring, | ring, | |||
| without | 0.0002 | 0.018 | 0.020 | 0.0006 | 0.001 | 0.024 |
| without | 0.0002 | 0.011 | 0.011 | 0.0016 | 0.035 | 0.036 |
| own graphs at | < 0.0001 | 0.001 | 0.003 | 0.0012 | 0.038 | 0.022 |
| < 0.0001 | 0.015 | 0.005 | 0.0007 | 0.024 | 0.006 | |
| degree of | 0.0005 | 0.009 | 0.073 | 0.0003 | 0.012 | 0.003 |
| rate window | < 0.0001 | 0.015 | 0.003 | 0.0039 | 0.211 | 0.027 |
| systematic | 0.0006 | 0.031 | 0.077 | 0.0045 | 0.219 | 0.056 |
| statistical | 0.0001 | 0.016 | 0.011 | 0.0028 | 0.108 | 0.026 |
| total | 0.0006 | 0.035 | 0.078 | 0.0052 | 0.244 | 0.062 |
| quoted | 0.1447(6) | 1.27(4) | 0.99(8) | 0.376(5) | 2.3(2) | 0.22(6) |
Table S6. The error budget of Eq. (47) at the two ends: the shift of each source, the systematic and statistical parts, and the total, quoted as one error.
Each of these fits sits at a single minimum (Figure S9): at every angle, the profile of each pair , , , , and , with every other parameter refitted, has one enclosed basin around the fit, with no second minimum around or at the edge of the search. On the ring trades against and ; once the graphs are rewired, and , and , and and become strongly correlated. The intervals of Table S5 treat the cells as independent; the errors of Table S6, from graph resamples and from variants of the analysis, are larger.
| 0 | 0.144736(64) | 1.273(11) | 1.504(51) | 0.9946(82) | |
| 0.099 | 0.2729(12) | 2.339(68) | 0.463(38) | 0.286(15) | |
| 0.164 | 0.2999(11) | 2.297(51) | 0.368(34) | 0.236(19) | |
| 0.298 | 0.3330(11) | 2.317(47) | 0.452(32) | 0.270(12) | |
| 0.452 | 0.3534(10) | 2.318(40) | 0.483(29) | 0.2782(98) | |
| 0.673 | 0.3707(11) | 2.329(42) | 0.360(26) | 0.207(14) | |
| 1 | 0.3759(12) | 2.316(45) | 0.368(28) | 0.220(14) |
Table S5. The scales of Figure S9: the best fit of each parameter at the seven angles and, in parentheses, the half-width of its interval with along its profile, for independent cells (§ 1.12 gives the errors).
Figure S9. Loss landscapes of the fits of Figure S8, at the same seven angles (columns, at the left), for each pair of , , , , and (rows, in two blocks): the profile (color, one scale for all panels) with every other parameter refitted, against each parameter’s distance from the best fit (red cross) in units of its half-width (Table S5). Contours: (solid) and 6.18 (dashed), the nominal 68% and 95% regions of two parameters for independent cells. Each map is computed on points over the region where each parameter’s own profile stays below .
On the ring we find
with (16–84%: 1.43–1.58); fixing costs ( on 193 degrees of freedom). Both exponents agree with and [17, 58]. Since the ring set (§ 1.11.D), this is a consistency check; the independent test is the prediction of (§ 1.11.E).
On fully rewired graphs we find
Rewiring raises by a factor 2.60, half of it by [Fig. 4(a)]. At every angle with , –, –, and –; at , (16–84%: 0.320–0.415). The correction decays slowly, so and can trade off (Figure S9). The value of at rests on the form of Eq. (39): at , over – is also described by (), better than by a pure power of (6.7), and Eq. (39) assigns the difference to the correction .
The exponents change fastest in the small-world crossover (Figure S10): from () to (), falls from 0.852 to 0.273 and rises from 1.418 to 2.211. There the fits also depend most on the largest size: from to , and move by a median of 4.1 and 3.2 of their shift’s spread over 50 paired graph resamples at –, and by 1.39 and 1.05 at –, against 0.11 and −0.02 at , where the median shifts of , , and are all at most 0.15 of their spread.
Figure S10. The fit of Eq. (42) to at each of the 50 angles, with the largest size (light), 512, and 1024 (full color): (a) , (b) , and (c) against ( on top), in the colors of Figure 4 of the main text. Lines: the fits; bands: 16–84% of the refits to graph resamples (200 at and 512, 2000 at ).
Each quoted error combines a statistical and a systematic part,
Here is the standard deviation over 2000 refits to resamples of the graphs, with one draw shared by all angles and rates [47]. These refits underestimate the scatter: on 20 synthetic data sets with a known answer, refitted at , the refits scatter about the truth by times on the ring, and by 1.64 () and 1.63 () at ; we scale by these factors, and use it as is for (). is the largest shift of the estimate among the variants of source (Table S6): the sizes (without ; without ), the graphs (each angle’s own graphs at ), the degrees (), the correction (), and the rate window (with the 20% of the cells with the largest ; ). One ring variant, the window , stops at the bound of the search and is left out; with it, the ring’s errors would be , , and . The systematic part is the larger for every quantity.
Data availability
Every piece of data produced in this study can be reproduced bit for bit. Each graph, gate, and measurement is drawn from pseudorandom streams fixed by three master seeds, 2026102017 for the graphs, 2026102029 for the gates, and 2026102039 for the measurements, and by the indices of its condition (), graph, and circuit. The code that generates, analyzes, and plots the data, with everything else needed to reproduce the results exactly, is openly available in the folder papers/SmallWorldMIPT of the SparseGF2 repository on GitHub [44].
References
- [1]P. Panteleev and G. Kalachev, Asymptotically good quantum and locally testable classical LDPC codes, in Proceedings of the 54th Annual ACM SIGACT Symposium on Theory of Computing (STOC ’22) (2022) pp. 375–388.arxiv.org/abs/2111.03654
- [2]S. Bravyi, D. Poulin, and B. Terhal, Tradeoffs for reliable quantum information storage in 2D systems, Phys. Rev. Lett. 104, 050503 (2010).
- [3]D. Bluvstein et al., Logical quantum processor based on reconfigurable atom arrays, Nature 626, 58 (2024).
- [4]D. Bluvstein, A. A. Geim, S. H. Li, S. J. Evered, J. P. Bonilla Ataides, G. Baranes, A. Gu, T. Manovitz, M. Xu, M. Kalinowski, S. Majidy, C. Kokail, N. Maskara, E. C. Trapp, L. M. Stewart, S. Hollerith, H. Zhou, M. J. Gullans, S. F. Yelin, M. Greiner, V. Vuletić, M. Cain, and M. D. Lukin, A fault-tolerant neutral-atom architecture for universal quantum computation, Nature 649, 39 (2026).DOI
- [5]Q. Xu, J. P. Bonilla Ataides, C. A. Pattison, N. Raveendran, D. Bluvstein, J. Wurtz, B. Vasić, M. D. Lukin, L. Jiang, and H. Zhou, Constant-overhead fault-tolerant quantum computation with reconfigurable atom arrays, Nat. Phys. 20, 1084 (2024).arxiv.org/abs/2308.08648
- [6]C. Zhao, C. Dudekering, A. Gu, N. Maskara, and H. Zhou, Towards ultra-high-rate quantum error correction with reconfigurable atom arrays (2026), arXiv:2604.16209.arxiv.org/abs/2604.16209
- [7]H. Zhou, C. Dudekering, C. Zhao, D. Bluvstein, M. Cain, A. Kubica, S.-T. Wang, and M. D. Lukin, Resource analysis of low-overhead transversal architectures for reconfigurable atom arrays, in Proceedings of the 52nd Annual International Symposium on Computer Architecture (ISCA ’25) (ACM, New York, 2025) pp. 1432–1448, arXiv:2505.15907.DOI
- [8]S. Choi, Y. Bao, X.-L. Qi, and E. Altman, Quantum error correction in scrambling dynamics and measurement-induced phase transition, Phys. Rev. Lett. 125, 030505 (2020).DOI
- [9]Y. Li, X. Chen, and M. P. A. Fisher, Quantum Zeno effect and the many-body entanglement transition, Phys. Rev. B 98, 205136 (2018).DOI
- [10]B. Skinner, J. Ruhman, and A. Nahum, Measurement-induced phase transitions in the dynamics of entanglement, Phys. Rev. X 9, 031009 (2019).
- [11]A. Chan, R. M. Nandkishore, M. Pretko, and G. Smith, Unitary-projective entanglement dynamics, Phys. Rev. B 99, 224307 (2019).DOI
- [12]Y. Li, X. Chen, and M. P. A. Fisher, Measurement-driven entanglement transition in hybrid quantum circuits, Phys. Rev. B 100, 134306 (2019).DOI
- [13]Y. Bao, S. Choi, and E. Altman, Theory of the phase transition in random unitary circuits with measurements, Phys. Rev. B 101, 104301 (2020).DOI
- [14]C.-M. Jian, Y.-Z. You, R. Vasseur, and A. W. W. Ludwig, Measurement-induced criticality in random quantum circuits, Phys. Rev. B 101, 104302 (2020).DOI
- [15]A. Zabalo, M. J. Gullans, J. H. Wilson, S. Gopalakrishnan, D. A. Huse, and J. H. Pixley, Critical properties of the measurement-induced transition in random quantum circuits, Phys. Rev. B 101, 060301 (2020).DOI
- [16][16*] M. J. Gullans and D. A. Huse, Scalable probes of measurement-induced criticality, Phys. Rev. Lett. 125, 070606 (2020).DOI
- [17]M. J. Gullans and D. A. Huse, Dynamical purification phase transition induced by quantum measurements, Phys. Rev. X 10, 041020 (2020).DOI
- [18]R. Fan, S. Vijay, A. Vishwanath, and Y.-Z. You, Self-organized error correction in random unitary circuits with measurement, Phys. Rev. B 103, 174309 (2021).DOI
- [19]Y. Li and M. P. A. Fisher, Statistical mechanics of quantum error correcting codes, Phys. Rev. B 103, 104306 (2021).DOI
- [20]M. P. A. Fisher, V. Khemani, A. Nahum, and S. Vijay, Random quantum circuits, Annu. Rev. Condens. Matter Phys. 14, 335 (2023).DOI
- [21]W. Brown and O. Fawzi, Short random circuits define good quantum error correcting codes, in 2013 IEEE International Symposium on Information Theory (2013) pp. 346–350.
- [22]M. J. Gullans, S. Krastanov, D. A. Huse, L. Jiang, and S. T. Flammia, Quantum coding with low-depth random circuits, Phys. Rev. X 11, 031066 (2021).DOI
- [23]E. Anand, E. Gorokhovsky, J. Hritz, and J. Sun, Good stabilizer codes from shallow clifford circuits with random matchings (2026), arXiv:2608.18536 [quant-ph].arxiv.org/abs/2608.18536
- [24]P. Hayden and J. Preskill, Black holes as mirrors: quantum information in random subsystems, J. High Energy Phys. 2007 (09), 120.DOI
- [25]A. S. Darmawan, Y. Nakata, S. Tamiya, and H. Yamasaki, Low-depth random clifford circuits for quantum coding against pauli noise using a tensor-network decoder, Phys. Rev. Res. 6, 023055 (2024).DOI
- [26]J. Nelson, G. Bentsen, S. T. Flammia, and M. J. Gullans, Fault-tolerant quantum memory using low-depth random circuit codes, Phys. Rev. Res. 7, 013040 (2025).arxiv.org/abs/2311.17985
- [27]M. Fiedler, Algebraic connectivity of graphs, Czech. Math. J. 23, 298 (1973).DOI
- [28]Y. Sekino and L. Susskind, Fast scramblers, J. High Energy Phys. 2008 (10), 065.
- [29]G. Bentsen, Y. Gu, and A. Lucas, Fast scrambling on sparse graphs, Proc. Natl. Acad. Sci. USA 116, 6689 (2019).DOI
- [30]A. Nahum, S. Roy, B. Skinner, and J. Ruhman, Measurement and entanglement phase transitions in all-to-all quantum circuits, on quantum trees, and in Landau-Ginsburg theory, PRX Quantum 2, 010352 (2021).DOI
- [31]G. Bentsen, S. Sahu, and B. Swingle, Measurement-induced purification in large-N hybrid Brownian circuits, Phys. Rev. B 104, 094304 (2021).DOI
- [32]M. Block, Y. Bao, S. Choi, E. Altman, and N. Y. Yao, Measurement-induced transition in long-range interacting quantum circuits, Phys. Rev. Lett. 128, 016604 (2022).DOI
- [33]S. Sharma, X. TurkeshI, R. Fazio, and M. Dalmone, Measurement-induced criticality in extended and long-range unitary circuits, SciPost Phys. Core 5, 023 (2022).DOI
- [34]X. Feng, B. Skinner, and A. Nahum, Measurement-induced phase transitions on dynamical quantum trees, PRX Quantum 4, 030333 (2023).DOI
- [35]T. Hashizume, G. Bentsen, and A. J. Daley, Measurement-induced phase transitions in sparse nonlocal scramblers, Phys. Rev. Research 4, 013174 (2022).DOI
- [36]G. Bentsen, P. Nguyen, and B. Swingle, Approximate quantum codes from long wormholes, Quantum 8, 1439 (2024).DOI
- [37]D. J. Watts and S. H. Strogatz, Collective dynamics of ‘small-world’ networks, Nature 393, 440 (1998).
- [38]R. Olfati-Saber, Ultrafast consensus in small-world networks, in Proceedings of the 2005 American Control Conference (2005) p. 2371.
- [39]M. E. J. Newman and D. J. Watts, Scaling and percolation in the small-world network model, Phys. Rev. E 60, 7332 (1999).
- [40]A. Barrat and M. Weigt, On the properties of small-world network models, Eur. Phys. J. B 13, 547 (2000).
- [41]See the Supplemental Material below for methods, statistics, and further evidence.
- [42]Y. Li, S. Vijay, and M. P. A. Fisher, Entanglement domain walls in monitored quantum circuits and the directed polymer in a random environment, PRX Quantum 4, 010331 (2023).DOI
- [43]S. Aaronson and D. Gottesman, Improved simulation of stabilizer circuits, Phys. Rev. A 70, 052328 (2004).DOI
- [44]S. Bevins, SparseGF2: a sparse stabilizer tableau simulator, https://github.com/sjbevins/SparseGF2 (2026), builds used: commits f802aa, cee e730, c2d5fd4, 2b4c56a.
- [45]Stabilizer states generated by Clifford circuit dynamics have flat entanglement spectra, so these Rényi entropies equal their von Neumann counterparts.
- [46]B. Schumacher and M. A. Nielsen, Quantum data processing and error correction, Phys. Rev. A 54, 2629 (1996).DOI
- [47]B. Efron, Bootstrap methods: Another look at the jackknife, in Breakthroughs in Statistics: Methodology and Distribution (Springer New York, New York, NY, 1992) pp. 569–593.
- [48]O. Shtanko, Y. A. Kharkov, L. P. García-Pintos, and A. V. Gorshkov, Classical models of entanglement in monitored random circuits (2020), arXiv:2004.06736.arxiv.org/abs/2004.06736
- [49]Y. Li, R. Vasseur, M. P. A. Fisher, and A. W. W. Ludwig, Statistical mechanics model for Clifford random tensor networks and monitored quantum circuits, Phys. Rev. B 109, 174307 (2024).DOI
- [50]T. Zhou and A. Nahum, Emergent statistical mechanics of entanglement in random unitary circuits, Phys. Rev. B 99, 174205 (2019).DOI
- [51]M. Grassl, T. Beth, and T. Pellizzari, Codes for the quantum erasure channel, Phys. Rev. A 56, 33 (1997).DOI
- [52]C. H. Bennett, D. P. DiVincenzo, and J. A. Smolin, Capacities of quantum erasure channels, Phys. Rev. Lett. 78, 3217 (1997).DOI
- [53]Y. Wu, S. Kolkowitz, S. Puri, and J. D. Thompson, Erasure conversion for fault-tolerant quantum computing in alkaline earth Rydberg atom arrays, Nat. Commun. 13, 4657 (2022).DOI
- [54]K. Slevin and T. Ohtsuki, Corrections to scaling at the Anderson transition, Phys. Rev. Lett. 82, 382 (1999).
- [55]C. R. Rao, Information and the accuracy attainable in the estimation of statistical parameters, Bull. Calcutta Math. Soc. 37, 81 (1945).
- [56]W. K. Wootters, Statistical distance and Hilbert space, Phys. Rev. D 23, 357 (1981).DOI
- [57]S.-i. Amari and H. Nagaoka, Methods of Information Geometry, Translations of Mathematical Monographs, Vol. 191 (American Mathematical Society and Oxford University Press, Providence, RI, 2000).
- [58]Y. Li, X. Chen, A. W. W. Ludwig, and M. P. A. Fisher, Conformal invariance and quantum nonlocality in critical hybrid circuits, Phys. Rev. B 104, 104305 (2021).DOI
- [59]D. Fattal, T. S. Cubitt, Y. Yamamoto, S. Bravyi, and I. L. Chuang, Entanglement in the stabilizer formalism (2004), arXiv:quant-ph/0406168.DOI
- [60]M. Barthélémy and L. A. N. Amaral, Small-world networks: Evidence for a crossover picture, Phys. Rev. Lett. 82, 3180 (1999), erratum: Phys. Rev. Lett. 82, 5180 (1999).
- [61]M. E. J. Newman and D. J. Watts, Renormalization group analysis of the small-world network model, Phys. Lett. A 263, 341 (1999).DOI
- [62]M. E. J. Newman, C. Moore, and D. J. Watts, Mean-field solution of the small-world network model, Phys. Rev. Lett. 84, 3201 (2000).pubmed.ncbi.nlm.nih.gov/11019047
- [63]G. Kirchhoff, Ueber die Auflösung der Gleichungen, auf welche man bei der Untersuchung der linearen Ver theilung galvanischer Ströme geführt wird, Ann. Phys. (Leipzig) 148, 497 (1847).DOI
- [64]D. J. Klein and M. Randić, Resistance distance, J. Math. Chem. 12, 81 (1993).DOI
- [65]I. Gutman and B. Mohar, The quasi-Wiener and the Kirchhoff indices coincide, J. Chem. Inf. Comput. Sci. 36, 982 (1996).DOI
- [66]A. K. Chandra, P. Raghavan, W. L. Ruzzo, R. Smolensky, and P. Tiwari, The electrical resistance of a graph captures its commute and cover times, Comput. Complexity 6, 312 (1996).
- [67]B. Mohar, Isoperimetric numbers of graphs, J. Combin. Theory Ser. B 47, 274 (1989).DOI
- [68]R. A. Fisher, Theory of statistical estimation, Math. Proc. Cambridge Philos. Soc. 22, 700 (1925).
- [69]N. N. Čencov, Statistical Decision Rules and Optimal Inference, Translations of Mathematical Monographs, Vol. 53 (American Mathematical Society, Providence, RI, 1982).
- [70]E. L. Kaplan and P. Meier, Nonparametric estimation from incomplete observations, J. Am. Stat. Assoc. 53, 457 (1958).
- [71]M. E. Fisher and M. N. Barber, Scaling theory for finite-size effects in the critical region, Phys. Rev. Lett. 28, 1516 (1972).
- [72]J. Cardy, Scaling and Renormalization in Statistical Physics (Cambridge University Press, Cambridge, 1996).
- [73]R. Botet, R. Jullien, and P. Pfeuty, Size scaling for infinitely coordinated systems, Phys. Rev. Lett. 49, 478 (1982).DOI
- [74]H. Hong, M. Y. Choi, and B. J. Kim, Synchronization on small-world networks, Phys. Rev. E 65, 026139 (2002).pubmed.ncbi.nlm.nih.gov/11863619
- [75]P. Sierant, M. Schiró, M. Lewenstein, and X. Turkeshi, Measurement-induced phase transitions in (d + 1)-dimensional stabilizer circuits, Phys. Rev. B 106, 214316 (2022).
- [76]F. J. Wegner, Corrections to scaling laws, Phys. Rev. B 5, 4529 (1972).DOI
- [77]K. Slevin and T. Ohtsuki, Critical exponent for the Anderson transition in the three-dimensional orthogonal universality class, New J. Phys. 16, 015012 (2014).DOI
- [78]G. H. Golub and V. Pereyra, The differentiation of pseudo-inverses and nonlinear least squares problems whose variables separate, SIAM J. Numer. Anal. 10, 413 (1973).DOI











