Introduction

Quantum devices made from noisy components require error correction1,2 to scale. Building error-corrected devices involves connecting a large number of qubits with gates of sufficiently high fidelity3. However, due to the general difficulty of controlling ever larger numbers of qubits within a single physical unit, quantum hardware platforms encounter practical system size limits. For example, limits in the range of 102–104 physical qubits are expected for trapped ions (due to spectral crowding of motional modes4), superconducting qubits (due to cryostat size and chip fabrication5), and Rydberg arrays (due to finite laser power and microscope field of view6,7). Because of these size limits, individual quantum processors may soon support multiple logical qubits8,9,10,11,12,13, but still not be truly scalable error-corrected devices.

To scale beyond these limits, one can consider architectures of local modules linked together via a physically distinct mechanism which is generally noisier and slower, e.g., trapped-ion chains connected via entangled photons14. For a quantum computer, such a modular approach reduces the task of achieving true scalability to designing a unit module of fixed qubit number equipped with a fault-tolerant quantum input/output interface, so that scaling simply involves connecting more identical modules. For quantum communication, a similar modular approach is already necessary to move quantum information between processors separated by long distances2.

A major challenge for error-corrected modular architectures is transferring quantum information between modules with sufficient speed and fidelity to satisfy the requirements for fault tolerance. Because inter-module communication channels are typically lossy, quantum communication is accomplished by post-selected entanglement distribution. Entanglement shared between two modules in the form of non-local Bell pairs then serves as a resource to enable teleported gates for inter-module operations15,16,17.

As even the heralded Bell pairs may still be noisy17,18, entanglement distillation has been proposed to convert many low-fidelity pairs into a smaller number of higher-fidelity pairs19. However, simple distillation protocols can only reach errors approximately ten times larger than the local gate errors, because they involve many local gates20,21. More sophisticated protocols are necessary to further reduce the noise, but the added complexity lowers the success rate, reducing the achievable code cycle rate and increasing the memory errors per code cycle18,22,23,24,25,26.

In this article, we show that logical qubits encoded in surface code patches in distinct modules can be fault-tolerantly connected despite substantially elevated noise along their shared interface (see Fig. 1a). While previous work pointed out that fault-tolerant quantum communication between code patches with noisy links is possible in the limit where the local noise in the bulk is asymptotically below threshold27,28, we instead study the code in the presence of noise throughout both the bulk and interface, as in Fig. 3. Developing an understanding of how bulk and interface noise contributions combine to form logical failure modes, we provide analytical bounds and numerical simulations to show that the threshold for interface noise is as high as ~10%, even with bulk noise close to the usual surface code threshold of ~1%. This relaxed threshold for communication errors implies that hardware platforms working toward building surface code patches (superconducting29,30, neutral atoms13,31,32, trapped ions18,33,34,35, solid-state defects36,37,38, and silicon photonics39,40), many already close to realizing local logical qubits8,9,10,11,12,13, only require noisy interconnects to immediately scale without distillation, better local gates, or other time or space overheads.

Fig. 1: Surface code qubits in distinct modules connected with noisy quantum communication links (pink).
figure 1

a Communication between surface codes in distinct modules is routed through a cross-connect switch. b A logical gate between two surface code “bulk" patches in separate modules connected along a lower dimensional “seam." Stabilizer checks span the seam with pink teleported gates. Pink data (open circle) and syndrome (filled circle) qubits lying along the interface of the two code patches experience elevated noise levels. \({\hat{X}}_{L},{\hat{Z}}_{L}\) indicate logical string operators.

Results

Modeling the logical qubit interface

The surface code41,42,43,44 is a Calderbank-Shor-Steane (CSS) code with a high circuit-level decoding threshold of \({p}_{{{{\rm{bulk}}}}}^{* }\approx\) 1%3. In Fig. 1 for an L × L surface code, the 4-body parity check operators Z4 and X4, each realized by local CNOT gates between a syndrome qubit and four nearby data qubits, are indicated by the four green or yellow leaves associated with each syndrome qubit. The logical Pauli operators are strings of X and Z Pauli operators along the vertical and horizontal directions of the surface code, respectively.

Various methods exist to perform fault-tolerant two-qubit gates between surface code patches in separate modules. These include lattice surgery45, braiding3, or even directly moving logical qubits between modules, but all reduce to maintaining a surface code patch spanning the two modules. For logical computation across modules, it then suffices to connect the edges of two distinct surface code patches and perform parity checks spanning the modules which merge the two patches into a single larger surface code straddling the modules45. As shown in Fig. 1b, along the interface or “seam" where the two code patches connect, one leaf from each check stretches between the code patches, indicating a (pink) CNOT gate between a syndrome qubit and a data qubit in separate modules.

Making contact with methods to realize the inter-module gates (highlighted in pink in Fig. 1b) via gate teleportation, Fig. 2 shows how Bell pair bit and phase flip noise propagates onto the target and control qubits of the teleported gate, respectively. Inspection of Figs. 1b and 2 shows that bit flip noise from the noisy Bell pair propagates to the right of the pink seam, and phase flip noise to the left of the pink seam. As the X and Z errors trigger distinct check operators and because they can be decoded with distinct minimum weight perfect matching (MWPM) decoders44, each decoder sees elevated noise on only a single strip of data+syndrome qubits to the right or left of the pink seam.

Fig. 2: X, Z noise on a Bell pair (red squiggle) used in a teleported gate (pink) propagates to the two qubits it operates on.
figure 2

Phase flips only propagate to the control, and bit flips to the target of the teleported CNOT gate.

If the syndrome qubits were noiseless, the connecting interface would be equivalent to a 1D repetition code (bit and phase flip noise rates ps) embedded in the 2D surface code (bit and phase flip noise rates pb). To treat syndrome noise, we consider a generic phenomenological noise model where the bulk syndrome noise is set to be equal to the bulk data qubit noise qb = pb44, and similarly for the seam syndrome and data qubit noise qs = ps, since Bell pair noise propagates to both. Noisy syndrome decoding is accomplished through L rounds of syndrome extraction, extending the matching graph along the syndrome qubits into an extra dimension representing time3,44. This results in a Ds = (1 + 1) dimension lattice of size L × L on which errors occur with rate ps embedded in a Db = (2 + 1) dimension lattice of size L × L × L on which errors occur with error rate pb. Using this model of surface code patches, each locally error-corrected in a distinct module with a noisier interface connecting them, we next describe how to analytically model and numerically simulate the logical errors for various choices of L to extract threshold and subthreshold logical logical error behavior. From the extracted threshold behavior, we can determine the conditions under which two error-corrected logical qubits, housed and operating in distinct modules, can be interfaced using a noisy network. We find negligible degradation of fault tolerance even with interface noise 14 × higher than the circuit-level noise present within each module.

Analytical bounds

We now show how the seam, due to its lower dimension than the bulk, can tolerate elevated levels of noise without severely compromising the integrity of the code spanning the modules, even in the presence of noise near the threshold \({p}_{{{{\rm{b}}}}}^{* }\) within the bulk of the code. Intuitively, the threshold of a surface code is determined by both the qubit noise level (the probability to extend a chain along a particular edge) and the number of directions available in which to extend the error chain. In a lower dimension, fewer directions are available in which to extend error chains, resulting in a higher noise threshold. Because Db > Ds, the bulk and seam thresholds \({p}_{{{{\rm{b}}}}}^{* },{p}_{{{{\rm{s}}}}}^{* }\) then satisfy \({p}_{{{{\rm{s}}}}}^{* } > {p}_{{{{\rm{b}}}}}^{* }\).

Next, we consider how the extra seam noise in Fig. 1b affects the probabilities for \({\hat{X}}_{L}\) and \({\hat{Z}}_{L}\) logical errors. Since logical \({\hat{X}}_{L}\) errors can occur both in the bulk and along the seam, suppressing them requires both seam noise below seam threshold, \({p}_{{{{\rm{s}}}}} < {p}_{{{{\rm{s}}}}}^{* }\), and bulk noise below bulk threshold, \({p}_{{{{\rm{b}}}}} < {p}_{{{{\rm{b}}}}}^{* }\). This is the most stringent case and considered in Fig. 4 and the remainder of the paper. In contrast, even for \({p}_{{{{\rm{s}}}}} > {p}_{{{{\rm{s}}}}}^{* }\), a \({\hat{Z}}_{L}\) error still must penetrate the length of the bulk and can be suppressed so long as the bulk is below threshold. For equal data and syndrome qubit noise as we consider (qb = pb and qs = ps), the probability of generating “time-like" error chains stretching through the L rounds of error correction for both the bit and phase flip decoders is identical to that for \({\hat{X}}_{L}\). Thus, Fig. 4 also shows the probability for time-like bit and phase flip error chains spanning L rounds. However, once the threshold criteria from Fig. 4 are reached, these are easily suppressed by extending the code further in the time direction with more rounds of error correction per logical gate.

Now, in order for a logical bit flip error to occur, the combined effect of a round of errors and corrections must generate some nontrivial chain of bit flips {γ} of length at least L (see Fig. 3). For a single code patch with no seam, using the combinatoric path-counting approach from ref. 44, and also reviewed in refs. 46,47,48 and Supplementary Note 1, the logical failure probability Pfail is bounded by the number of such possible chains nnontrivial(L) times the probability for each to occur:

$${P}_{{{{\rm{fail}}}}}/{{{\rm{poly}}}}(L)\le {n}_{{{{\rm{nontrivial}}}}}(L)\times ({2}^{L}{p}^{L/2})$$
(1)

Here, the probability bound of 2LpL/2 originates from how MWPM fills in the rest of a nontrivial chain once L/2 bits flip due to environmental noise, and there being ≤2L ways to choose half or more of the L bits to have flipped. To express a bound on nnontrivial(L), consider how when appending each additional edge to {γ}, one can move in any direction on the lattice other than back, so in 2D − 1 directions in dimension D, bounding \({n}_{{{{\rm{nontrivial}}}}}(l)\le {(2D-1)}^{l}\equiv {\mu }_{D}^{l}\). We can then rewrite:

$${P}_{{{{\rm{fail}}}}}/{{{\rm{poly}}}}(L)\le {(4{\mu }_{D}^{2}\times p)}^{L/2}\equiv {\left(\frac{p}{{p}^{* }}\right)}^{L/2}$$
(2)

which is exponentially suppressed to zero as L →  for p < p*. As μD is dimension dependent, so is the threshold bound \({p}^{* }\equiv 1/(4{\mu }_{D}^{2})\).

Fig. 3: Seam (red) and bulk (blue) bit flip errors simultaneously contribute to logical failure.
figure 3

Edges are data qubits and vertices are check operators. Each X is a bit flip error due to the environment, and each dashed segment is a bit flip after decoding to return the logical qubit to the code space. In this example, if only the red seam bit flips occurred (and the bulk was error free pb = 0), we could successfully correct the qubit. However, with pb > 0 blue errors in the bulk can also occur and a logical error path then forms (green highlight) through this “excursion", {γB}, into the bulk. Imagining the logical error path growing from the bottom to the top, the small orange arrows indicate the different directions available to choose when hopping off/on the seam to create an excursion.

In Supplementary Note 1, we extend the techniques from ref. 44 to derive bounds (Eqs. (3)–(6)) constraining how the threshold changes in the presence of a noisy seam by counting the number of error chains, which hop between the seam and bulk. Here, we present a heuristic argument reaching the same conclusions and elucidating the failure mechanisms. We can interpret our expression for the logical failure (Eq. (2)) as the factor of \({\mu }_{D}\times 2\sqrt{p}\) for each additional edge appended to {γ} (so a probability of \({({\mu }_{D}\times 2\sqrt{p})}^{L}\) for appending L edges), with μD ways to add edges, and \(2\sqrt{p}\) as an effective “probability" per link (with the factor of 2 and the square root appearing because of how the MWPM procedure fills in missing links). If errors occur solely along the seam with pb = 0, as in Fig. 3a, we would have a factor of \({\mu }_{{{{\rm{s}}}}}\times 2\sqrt{{p}_{{{{\rm{s}}}}}}\) per appended edge. But making pb > 0, we suddenly allow additional paths through the bulk before appending the next seam link, as in Fig. 3, which adds terms corresponding to excursions into the bulk before reattaching to the seam. For a given excursion, in addition to flipping an arbitrary possible number of bulk edges , each of which can be appended in μb ways for a factor of \({({\mu }_{{{{\rm{b}}}}}\times 2\sqrt{{p}_{{{{\rm{b}}}}}})}^{\ell }\), an excursion also involves flipping two bulk edges orthogonal to the direction along the seam as well as a final seam link when hopping back on to the seam for another factor of \({\mu }_{{{{\rm{c}}}}}\times 2\sqrt{{p}_{{{{\rm{s}}}}}}{(2\sqrt{{p}_{{{{\rm{b}}}}}})}^{2}\). The coefficient μc ≡ 4Ds(Db − Ds), where Ds is the dimension of the seam and Db is the dimension of the bulk, counts the number of ways to choose both how to leave the seam (2(Ds − Db), as this is the number of edges which stick out from the seam into the bulk) and how to reattach to the seam (2Ds, as this is the number of directions one could choose within the seam itself when hopping back onto the seam to finish the excursion). See small orange arrows in Fig. 3 to visualize counting the ways to hop off/on the seam when creating an excursion. See Supplementary Note 1 for more details. By analogy with Eq. (2), we add up all of these ways to attach new seam links, giving us a modified factor containing a geometric series for each seam edge we append:

$$\begin{array}{ll}{\mu }_{{{{\rm{s}}}}}\times 2\sqrt{{p}_{{{{\rm{s}}}}}}\,+\,\mathop{\sum}\limits_{\ell = 0}^{\infty }\left({\mu }_{{{{\rm{c}}}}}\times 2\sqrt{{p}_{{{{\rm{s}}}}}}{(2\sqrt{{p}_{{{{\rm{b}}}}}})}^{2}\right){\left({\mu }_{{{{\rm{b}}}}}\times 2\sqrt{{p}_{{{{\rm{b}}}}}}\right)}^{\ell }\\ \qquad\qquad\quad=\sqrt{\frac{{p}_{{{{\rm{s}}}}}}{{p}_{{{{\rm{s}}}}}^{* }}}\left(1+{\alpha }_{{{{\rm{c}}}}}{p}_{{{{\rm{b}}}}}\frac{\sqrt{{p}_{{{{\rm{s}}}}}^{* }}}{1-\sqrt{{p}_{{{{\rm{b}}}}}/{p}_{{{{\rm{b}}}}}^{* }}}\right)\end{array}$$
(3)

where in the second line, we have summed the geometric series over and defined αc ≡ 8μc.

Again by analogy, we would then expect the failure probability bound to be Eq. (3) raised to the power of γS (from Fig. 3, the number of edges in {γ} on the seam). We similarly introduce γB, the number of edges in {γ} in the bulk. Additionally, realizing that if γS < L, there must be at least γB = L − γS bulk links in {γ}, as {γ} must have at least L total links in order to fail, we arrive at:

$$\begin{array}{ll}{P}_{{{{\rm{fail}}}}}/{{{\rm{poly}}}}(L)\le {\left(\frac{{p}_{{{{\rm{s}}}}}}{{p}_{{{{\rm{s}}}}}^{* }}\right)}^{\frac{L}{2}}+{\left(\frac{{p}_{{{{\rm{b}}}}}}{{p}_{{{{\rm{b}}}}}^{* }}\right)}^{\frac{L}{2}}\\+\mathop{\sum }\limits_{\begin{array}{c}{\gamma }_{S}\ge 1:\\ {\gamma }_{B}\,\ne\, 0\end{array}}^{L}{\left[\frac{{p}_{{{{\rm{s}}}}}}{{p}_{{{{\rm{s}}}}}^{* }}{\left(1+{\alpha }_{{{{\rm{c}}}}}{p}_{{{{\rm{b}}}}}\frac{\sqrt{{p}_{{{{\rm{s}}}}}^{* }}}{1-\sqrt{{p}_{{{{\rm{b}}}}}/{p}_{{{{\rm{b}}}}}^{* }}}\right)}^{2}\right]}^{\frac{{\gamma }_{S}}{2}}{\left[\frac{{p}_{{{{\rm{b}}}}}}{{p}_{{{{\rm{b}}}}}^{* }}\right]}^{\frac{L-{\gamma }_{S}}{2}}\end{array}$$
(4)

The first two terms correspond to failure chains within purely the seam or bulk, and the additional cross terms apply when considering chains with excursions (with nonzero excursion length γB ≠ 0), in which case the threshold criteria mixes conditions on \(\frac{{p}_{{{{\rm{s}}}}}}{{p}_{{{{\rm{s}}}}}^{* }}\) and \(\frac{{p}_{{{{\rm{b}}}}}}{{p}_{{{{\rm{b}}}}}^{* }}\). All these terms are suppressed as L →  provided that the quantities in brackets are smaller than unity. Re-expressing Eq. (3), we can see that it is equivalent to a small downward “sag" of the seam threshold bound:

$${p}_{{{{\rm{s}}}}}^{* }\to {p}_{{{{\rm{1s}}}}}^{* }\equiv {p}_{{{{\rm{s}}}}}^{* }/{\left[1+{\alpha }_{{{{\rm{c}}}}}{p}_{{{{\rm{b}}}}}\frac{\sqrt{{p}_{{{{\rm{s}}}}}^{* }}}{1-\sqrt{{p}_{{{{\rm{b}}}}}/{p}_{{{{\rm{b}}}}}^{* }}}\right]}^{2}$$
(5)

Fixing \(\frac{{p}_{{{{\rm{s}}}}}}{{p}_{{{{\rm{s}}}}}^{* }}=\frac{{p}_{{{{\rm{b}}}}}}{{p}_{{{{\rm{b}}}}}^{* }}\), Eq. (4) reduces to:

$${P}_{{{{\rm{fail}}}}}/{{{\rm{poly}}}}(L)\le {\left[\frac{{p}_{{{{\rm{b}}}}}}{{p}_{{{{\rm{b}}}}}^{* }}{\left(1+{\alpha }_{{{{\rm{c}}}}}{p}_{{{{\rm{b}}}}}\frac{\sqrt{{p}_{{{{\rm{s}}}}}^{* }}}{1-\sqrt{{p}_{{{{\rm{b}}}}}/{p}_{{{{\rm{b}}}}}^{* }}}\right)}^{2}\right]}^{\frac{L}{2}}\equiv f({p}_{{{{\rm{b}}}}},{\alpha }_{{{{\rm{c}}}}},L)$$
(6)

plotted in Fig. 4a.

Fig. 4: Analysis of the case Db = 3 and Ds = 2.
figure 4

Error bars represent 95% CI. a Analytical bounds (Eq. (6)) for \({p}_{{{{\rm{b}}}}}/{p}_{{{{\rm{b}}}}}^{* }={p}_{{{{\rm{s}}}}}/{p}_{{{{\rm{s}}}}}^{* }\) (solid), in which case the seam and bulk curves (dot-dashed) now overlap when plotted against pb. Note that \({p}_{{{{\rm{b}}}}}^{* }\) here corresponds to the phenomenological threshold bound of 1% for 3D as derived in ref. 44 and \({p}_{{{{\rm{1b}}}}}^{* }\) shows the sag in the threshold bound we derive relative to the bound from ref. 44. Seam-bulk interactions reduce the threshold bound slightly to \({p}_{{{{\rm{1b}}}}}^{* }\) as indicated by the pink arrow. The logical failure rate converges to the values for no seam-bulk interactions once the bulk error is a few times below \({p}_{{{{\rm{b}}}}}^{* }\), as excursions into the bulk become “frozen out." b Same as (a) but exact numerical simulation with the choice pseam = 14pbulk, approximately \({p}_{{{{\rm{bulk}}}}}/{p}_{{{{\rm{bulk}}}}}^{* }={p}_{{{{\rm{seam}}}}}/{p}_{{{{\rm{seam}}}}}^{* }\), which aligns the thresholds for the bulk-only curves (dotted) and seam-only curves (dashed). The full simulation including seam-bulk interaction (solid) similarly sags slightly and then converges toward the seam-only curves as \({p}_{{{{\rm{bulk}}}}}/{p}_{{{{\rm{bulk}}}}}^{* }\) becomes small. c Numerically extracted threshold plotted in terms of pseam, pbulk (purple), where pb = 4pbulk. Pink shows the threshold bound (Eq. (5)), with arrows pointing to the light pink line showing how the bound formula relaxes when reducing the overcounting of paths by substituting numerical values for \({p}_{{{{\rm{seam}}}}}^{* }\) and \({p}_{{{{\rm{bulk}}}}}^{* }\) along with an effective value of αc→1.4, the minimal value still bounding all the numerical datapoints. The blue diagonal line illustrates the pseam = 14pbulk cut from b).

Numerical simulations

In Fig. 4, we compare these analytical bounds to numerical Monte Carlo simulations49,50 to quantify the effect of error chains stretching simultaneously across the bulk and the seam. To model two 2D patches of surface code in distinct modules with a noisy interface between them and corrected with repeated rounds of noisy syndrome extraction extending into the time direction3,44, we run the simulation with a Ds = (1 + 1) dimension lattice of size L × L (the seam) on which errors occur with rate ps embedded in a Db = (2 + 1) dimension lattice of size L × L × L (the bulk) with error rate pb. An additional consequence of the seam being a sublattice within the bulk is that per code cycle, while bulk qubits are addressed by four local gates, each seam qubit only interacts with a single Bell pair for communication. Letting pbulk represent the probability of a local gate in bulk to cause a bit flip on a bulk qubit, we model this by directly substituting 4pbulk = pb (leading to a reasonable \({p}_{{{{\rm{bulk}}}}}^{* }=0.75 \%\)) while maintaining pseam = ps, since seam qubit noise is dominated by the Bell pair. From Fig. 4, we see that the numerical results display the same qualitative behavior as the analytical formulas, with a slight sag in the threshold as well as subthreshold convergence of the logical failure to the same value as without excursions. By adjusting the parameters μs and μb to match the known surface code threshold values for Ds = 2 and Db = 344 and relaxing αc from the rigorous bound to a smaller effective value, the bound formulas also provide a fairly accurate analytical model of the threshold behavior. Notably, up to the small correction represented by the gray region of Fig. 4c, Pfail behaves approximately as if bulk and seam were decoupled without cross terms from Eq. (4):

$${P}_{{{{\rm{fail}}}}}({p}_{{{{\rm{bulk}}}}},{p}_{{{{\rm{seam}}}}})\,\approx \,{\left(\frac{{p}_{{{{\rm{bulk}}}}}}{{p}_{{{{\rm{bulk}}}}}^{* }}\right)}^{L/2}+{\left(\frac{{p}_{{{{\rm{seam}}}}}}{{p}_{{{{\rm{seam}}}}}^{* }}\right)}^{L/2}$$
(7)

with \({p}_{{{{\rm{bulk}}}}}^{* }\approx 1 \%\) and \({p}_{{{{\rm{seam}}}}}^{* }\approx 10 \%\). As long as \(\frac{{p}_{{{{\rm{seam}}}}}}{{p}_{{{{\rm{seam}}}}}^{* }}\approx \frac{{p}_{{{{\rm{bulk}}}}}}{{p}_{{{{\rm{bulk}}}}}^{* }}\), so pseam ≈ 10pbulk, the seam noise has almost no effect.

Discussion

Our formalism can further generalize to connecting surface code patches in a variety of configurations, such as transversal gates or a grid of smaller patches. While in Fig. 1b we aligned the physical edges of two code patches so that the seam extended in both space and time, the results from Fig. 4 can apply to any 2D subspace of a 3D lattice. Consequently, a transversal gate between logical qubits in separate modules mediated by Bell pairs and followed by rounds of local error correction on each logical qubit would be similarly robust to Bell pair noise, as the transversal gate occurs on a single code cycle and introduces noise on a 2D sublattice which now extends in two space directions rather than one space and one time direction as before. By adding multiple seams along space and/or time directions and counting the paths to hop between different seams, our formalism can be extended (see Supplementary Note 1 for details) and used to understand situations including repeated transversal gates51 or code patches spanning multiple modules, where one could tile large surface code patches together into a single larger logical qubit. This is because from Eq. (3), one can see that the contribution of an excursion is exponentially suppressed in the excursion length . When modules are large, excursions that hop between distinct seams are long, and thus have negligible contribution. In this case, each seam becomes approximately independent, so that the seam-bulk interaction of each seam alone determines the overall logical failure rate. In Supplementary Note 2, we give a quantitative example of this behavior. Furthermore, since the robustness to noisy links is a consequence of the interface between qubits being lower dimensional, our findings also apply to other families of topological codes sharing this property, such as color codes52, which also have protocols for lattice surgery53,54.

Our main result, that the interface can tolerate a noise level pseam ≈ 10pbulk (Eq. (7)), relaxes the communication fidelity required for fault-tolerance in ongoing experimental efforts to build modular architectures. Such efforts include optical interconnects between ions17, atoms55, or superconducting qubits56,57,58,59,60, direct superconducting microwave links61,62,63,64, or even shuttling ions65 or atoms13 between distinct subunits, some having already demonstrated communication errors below \({p}_{{{{\rm{seam}}}}}^{* }\approx 10 \%\)17,62,64. With multiple quantum computing platforms13,18,29,30,31,32,33,34,35,36,37,38,39,40 working toward realizing local surface code qubits and rapidly progressing toward module sizes of thousands of qubits and local gate noise targets of ~0.1%8,9,10,11,12,13, interconnects with a corresponding target of ~1% noise will directly enable fault-tolerant modular scalability. For even noisier networks, distillation can still be used, with the simplest and most efficient protocols being sufficient to reach errors of ~10pbulk21, enabling scalability.

Methods

Model details for the interface between surface code qubits

Here, we provide additional details regarding the interface between the two logical qubits and how it gives rise to the phenomenological error model we numerically simulate.

When the interface between modules is realized via distributed entanglement, that entanglement serves as a resource for enacting non-local, teleported gates between qubits in distinct modules. Fig. 2 shows how bit and phase flip noise on the distributed Bell pair propagates to the control and target qubits in the distinct modules that the (pink) teleported gate acts on. The propagation is identical for errors occurring on either of the Bell pair qubits, as must be the case since the Bell pair is invariant under the application of XX and ZZ.

Therefore, in Fig. 1b, one can see that bit flip noise on the Bell pair propagates to the target qubits, i.e., the column of qubits to the right of the seam, and phase flip noise to control qubits, i.e., the column of qubits on the left of the seam. As the bit and phase flip errors trigger distinct check operators and can be decoded with distinct MWPM decoders, we can consider correcting for bit and phase flip errors as two separate problems. The seam can be chosen along either the \({\hat{X}}_{L}\) or the \({\hat{Z}}_{L}\) direction, but as in Fig. 1b, for concreteness we choose the seam along the \({\hat{X}}_{L}\) direction, in which case a logical \({\hat{X}}_{L}\) error is possible if too many errors occur along the seam, even with no bulk noise.

For the numerical simulation, we then construct an L × L × L lattice representing errors on the 2D surface code with L repeated rounds of syndrome extraction extending into the time direction3,44. To simulate the noisy syndrome bit flip logical error rate, \({\hat{X}}_{L}\), with elevated bit flip noise along the seam, we randomly place bit flips on the edges of the 3D lattice, with elevated probabilities for bit flips occurring along the 2D sublattice constituting the seam, which extends in the \({\hat{X}}_{L}\) and time directions. We then decode the syndromes arising from each set of bit flips using the Pymatching MWPM decoder50 and apply the corresponding correction, which returns the state of the logical qubit to the code space. The fraction of times that the correction includes a set of remaining bit flips which are topologically equivalent to applying an \({\hat{X}}_{L}\) operator is the logical bit flip error rate, plotted in Fig. 4. By symmetry, time-like error strings of length L occur with the same rate as logical \({\hat{X}}_{L}\) errors shown in Fig. 4, giving rise to a distinct source of logical error, for example when attempting logical gates with L rounds of syndrome extraction during lattice surgery.

Bit and phase flip logical errors

With the seam oriented as in Fig. 1b, the situation for phase flip noise is different, as the seam does not stretch along the \({\hat{Z}}_{L}\) direction. Elevated phase flip noise on the Bell pairs then has virtually no effect on the rate of logical phase flips \({\hat{Z}}_{L}\), as generating a \({\hat{Z}}_{L}\) logical error requires phase flips to penetrate the entire length of the bulk, regardless of the level of phase flip noise present along the seam. However, the bulk and seam phase flip noise must still be below the same threshold results from Fig. 4 to control phase flip error strings from stretching long distances in the time direction. Once below this threshold condition, logical failure from long time-like error chains can be suppressed by simply doing more rounds of syndrome extraction per logical gate, which extends the code distance in the time direction with no additional overhead in qubit number. This asymmetry, resulting from the choice of the seam’s orientation, allows one to immediately take advantage of any bias in the seam noise by choosing the seam to be along the \({\hat{X}}_{L}\) or \({\hat{Z}}_{L}\) direction with the lower level of seam noise.