← Hub
Download PDF

High-threshold and low-overhead fault-tolerant quantum memory

Sergey Bravyi Affiliation: IBM Quantum, IBM T.J. Watson Research Center, Yorktown Heights, NY 10598 (USA)    Andrew W. Cross Affiliation: IBM Quantum, IBM T.J. Watson Research Center, Yorktown Heights, NY 10598 (USA)    Jay M. Gambetta Affiliation: IBM Quantum, IBM T.J. Watson Research Center, Yorktown Heights, NY 10598 (USA)    Dmitri Maslov Affiliation: IBM Quantum, IBM T.J. Watson Research Center, Yorktown Heights, NY 10598 (USA)    Patrick Rall Affiliation: IBM Quantum, MIT-IBM Watson AI Lab, Cambridge, MA 02142 (USA)    Theodore J. Yoder Affiliation: IBM Quantum, IBM T.J. Watson Research Center, Yorktown Heights, NY 10598 (USA)
Abstract

Quantum error correction becomes a practical possibility only if the physical error rate is below a threshold value that depends on a particular quantum code, syndrome measurement circuit, and decoding algorithm. Here we present an end-to-end quantum error correction protocol that implements fault-tolerant memory based on a family of LDPC codes with a high encoding rate that achieves an error threshold of 0.8%0.8\% for the standard circuit-based noise model. This is on par with the surface code which has remained an uncontested leader in terms of its high error threshold for nearly 20 years. The full syndrome measurement cycle for a length-nn code in our family requires nn ancillary qubits and a depth-7 circuit composed of nearest-neighbor CNOT gates. The required qubit connectivity is a degree-6 graph that consists of two edge-disjoint planar subgraphs. As a concrete example, we show that 12 logical qubits can be preserved for nearly one million syndrome cycles using 288 physical qubits in total, assuming the physical error rate of 0.1%0.1\%. We argue that achieving the same level of error suppression on 12 logical qubits with the surface code would require nearly 3000 physical qubits. Our findings bring demonstrations of a low-overhead fault-tolerant quantum memory within the reach of near-term quantum processors.

1 Introduction

🧭 Dave's Plain-English Guide — Section 1 (The Paper That Broke the Surface Code Monopoly)
  • Why the Surface Code Is So Expensive: For 25 years, quantum error correction relied on the 2D Surface Code, which only stores 1 single Logical Qubit per big 2D patch of physical qubits (needing ~1,000+ physical qubits per logical qubit at scale).
  • The Bivariate Bicycle (BB) Breakthrough: Co-authored by Sergey Bravyi, Jay Gambetta, and Dmitri Maslov (now VP of Quantum Tech at IonQ and co-author of *Walking Cat*!). Their `[[144, 12, 12]]` 'Gross Code' packs 12 Logical Qubits into 144 data qubits—slashing physical overhead by ~10×!

Quantum computing attracted attention due to its ability to offer asymptotically faster solutions to a set of computational problems compared to the best known classical algorithms [1]. It is believed that a scalable functioning quantum computer may help solve computational problems in such areas as scientific discovery, materials research, chemistry, and drug design, to name a few [2, 3, 4, 5].

The main obstacle to building a quantum computer is the fragility of quantum information, owing to various sources of noise affecting it. Since isolating a quantum computer from external effects and controlling it to induce a desired computation are in conflict with each other, noise appears to be inevitable. The sources of noise include imperfections in qubits, materials used, controlling apparatus, State Preparation and Measurement (SPAM) errors, and a variety of external factors ranging from local man-made, such as stray electromagnetic fields, to those inherent to the Universe, such as cosmic rays. See Ref. [6] for a summary. While some sources of noise can be eliminated with better control [7], materials [8], and shielding [9, 10, 11], a number of other sources appear to be difficult if at all possible to remove. The latter kind can include spontaneous and stimulated emission in trapped ions [12, 13], and the interaction with the bath (Purcell Effect) [14] in superconducting circuits—covering both leading quantum technologies. Thus, error correction becomes a key requirement for building a functioning scalable quantum computer.

The possibility of quantum fault tolerance was established earlier [15]. Encoding a logical qubit redundantly into many physical qubits enables one to diagnose and correct errors by repeatedly measuring syndromes of parity check operators. However, error correction is only beneficial if the hardware error rate is below a certain threshold value that depends on a particular error correction protocol. The first proposals for quantum error correction, such as concatenated codes [16, 17, 18], focused on demonstrating the theoretical possibility of error suppression. As understanding of quantum error correction and the capabilities of quantum technologies matured, the focus shifted to finding practical quantum error correction protocols. This resulted in the development of the surface code [19, 20, 21, 22] that offers a high error threshold close to 1%1\%, fast decoding algorithms, and compatibility with the existing quantum processors relying on 2-dimensional (2D) square lattice qubit connectivity. Small examples of the surface code with a single logical qubit have been already demonstrated experimentally by several groups [23, 24, 25, 26, 27]. However, scaling up the surface code to a hundred or more logical qubits would be prohibitively expensive due to its poor encoding efficiency. This spurred interest in more general quantum codes known as Low-Density Parity-Check (LDPC) codes [28]. Recent progress in the study of LDPC codes suggests that they can achieve quantum fault-tolerance with a much higher encoding efficiency [29]. Here, we focus on the study of LDPC codes, as our goal is to find quantum error correction codes and protocols that are both efficient and possible to demonstrate in practice, given the limitations of quantum computing technologies.

A quantum error correcting code is of LDPC type if each check operator of the code acts only on a few qubits and each qubit participates only in a few checks. Multiple variants of the LDPC codes have been proposed recently including hyperbolic surface codes [30, 31, 32], hypergraph product [33], balanced product codes [34], two-block codes based on finite groups [35, 36, 37, 38], and quantum Tanner codes [39, 40]. The latter were shown [39, 40] to be asymptotically “good” in the sense of offering a constant encoding rate and linear distance – a parameter quantifying the number of correctable errors. In contrast, the surface code has an asymptotically zero encoding rate and only square-root distance. Replacing the surface code with a high-rate, high-distance LDPC code could have major practical implications. First, fault-tolerance overhead (the ratio between the number of physical and logical qubits) could be reduced dramatically. Secondly, high-distance codes exhibit a very sharp decrease in the logical error rate: as the physical error probability crosses the threshold value, the amount of error suppression achieved by the code can increase by orders of magnitude even with a small reduction of the physical error rate. This feature makes high-distance LDPC codes attractive for near-term demonstrations which are likely to operate in the near-threshold regime. However, it was previously believed that outperforming the surface code for realistic noise models including memory, gate, and SPAM errors may require very large LDPC codes with more than 10,000 physical qubits [31].

Here we present several concrete examples of high-rate LDPC codes with a few hundred physical qubits equipped with a low-depth syndrome measurement circuit, an efficient decoding algorithm, and a fault-tolerant protocol for addressing individual logical qubits. These codes exhibit an error threshold close to 1%, show excellent performance in the near-threshold regime, and offer more than 10X reduction of the encoding overhead compared with the surface code. Hardware requirements for realizing our error correction protocols are relatively mild, as each physical qubit is coupled by two-qubit gates with only six other qubits. Although the qubit connectivity graph is not locally embeddable into a 2D grid, it can be decomposed into two planar degree-3 subgraphs. As we argue below, such qubit connectivity is well-suited for architectures based on superconducting qubits. Before stating our results, let us describe several must-have features for a quantum error-correcting code to be suitable for near-term experimental demonstrations and formally pose the problem addressed in this work.

2 Code selection criteria

🧭 Dave's Plain-English Guide — Section 2 (What Makes a Good qLDPC Code in Real Hardware)
  • Low Check Weight (Degree 6): Each parity check only touches 6 qubits so the syndrome extraction circuit stays shallow (depth 7) and doesn't accumulate extra gate noise.

In this work, we study the problem of realizing a fault-tolerant quantum memory with a small qubit overhead and a large code distance. Our goal is to construct a combination of the LDPC code, syndrome measurement circuitry, and the decoding (error correction) algorithms, suitable for a near-term demonstration, but also offering long-term utility, while taking into account the capabilities and limitations of the superconducting circuits quantum hardware. In other words, we seek to develop a practical error correction protocol. Our selection criteria reflect this goal.

We focus on encoding k≫1k\gg 1 logical qubits into nn data qubits and use cc ancillary check qubits to measure the error syndrome. In total, the code relies on n+cn\,{+}\,c physical qubits. The net encoding rate is therefore

r=kn+c.r=\frac{k}{n+c}.

For example, the standard surface code architecture encodes k= 1k\,{=}\,1 logical qubit into n=d2n\,{=}\,d^{2} data qubits for a distance-dd code and uses c=n−1c\,{=}\,n{-}1 check qubits for syndrome measurements. The net encoding rate is r≈1/(2​d2)r\approx 1/(2d^{2}), which quickly becomes impractical as one is forced to choose a large code distance, due to, for instance, the physical errors being close to the threshold value. In contrast, we seek a high-rate LDPC code with r≫1/d2r\gg 1/d^{2}.

To prevent the accumulation of errors one must be able to measure the error syndrome frequently enough. This is accomplished by a syndrome measurement (SM) circuit that couples data qubits in the support of each check operator with the respective ancillary qubit by a sequence of 𝖢𝖭𝖮𝖳\mathsf{CNOT} gates. Check qubits are then measured revealing the value of the error syndrome. The time it takes to implement the SM circuit is proportional to its depth — the number of gate layers composed of non-overlapping 𝖢𝖭𝖮𝖳\mathsf{CNOT}s. Since new errors continue to occur while the SM circuit is executed, its depth should be minimized. Thus we seek an LDPC code with a high rate rr and low-depth SM circuit.

A noisy version of the SM circuit may include several types of faulty operations such as memory errors on data or check qubits, faulty 𝖢𝖭𝖮𝖳\mathsf{CNOT} gates, qubit initializations and measurements. We consider the circuit-based noise model [22] where each operation fails with the probability pp. Faults on different operations are independent. A logical error occurs when the final error-corrected state of kk logical qubits differs from the initial encoded state. The probability of a logical error pLp_{L} depends on the error rate pp, details of the SM circuits, and a decoding algorithm. A pseudo-threshold p0p_{0} of an error correction protocol is defined as a solution of the break-even equation pL​(p)=k​pp_{L}(p)=kp. Here k​pkp is an estimate of the probability that at least one of kk unencoded qubits suffers from an error. To achieve a significant error suppression in the regime p∼ 10−3p\,{\sim}\,10^{-3}, which is relevant for near-term demonstrations, it is desirable to have pseudo-threshold close to 1% or higher. For example, the surface code architecture achieves pseudo-threshold p0≈1%p_{0}\approx 1\% for a large enough code distance [22]. We seek a high-rate LDPC code with a low-depth SM circuit and a high pseudo-threshold.

A logical error is undetectable if it can be generated without triggering any syndromes. Such errors span at least dd data qubits for a distance-dd code. Let us say that a SM circuit has distance d𝖼𝗂𝗋𝖼d_{\mathsf{circ}} if it takes at least d𝖼𝗂𝗋𝖼d_{\mathsf{circ}} faulty operations in the circuit to generate an undetectable logical error. By definition, d𝖼𝗂𝗋𝖼≤dd_{\mathsf{circ}}\,{\leq}\,d for any distance-dd code and typically d𝖼𝗂𝗋𝖼<dd_{\mathsf{circ}}\,{<}\,d since a few faulty operations in the SM circuit may create a high-weight error on the data qubits. We say that a SM circuit is distance-preserving if d𝖼𝗂𝗋𝖼=dd_{\mathsf{circ}}\,{=}\,d meaning the circuit is designed so as to avoid accumulating high-weight errors, which is the best one can hope for. It is preferred (but not required) that the SM circuit is distance-preserving.

Another criterion is dictated by the limited qubit connectivity of near-term quantum devices. Each quantum code can be described by a Tanner graph GG such that each vertex of GG represents either a data qubit or a check operator. A check vertex ii and a data vertex jj are connected by an edge if the ii-th check operator acts non-trivially on the jj-th data qubit (by applying Pauli XX or ZZ). Figure 1 A) shows the Tanner graph describing a distance-3 surface code. To keep the SM circuit depth small, it is desirable that two-qubit gates such as 𝖢𝖭𝖮𝖳\mathsf{CNOT} can be applied along every edge of the Tanner graph. By construction, the Tanner graph of any LDPC code has a small degree. One drawback of high-rate LDPC codes is that their Tanner graphs may not be locally embeddable into the 2D grid [41, 42]. This poses a challenge for hardware implementation with superconducting qubits coupled by microwave resonators. A useful VLSI design concept is graph thickness, see [43, 29] for details. A graph G=(V,E)G\,{=}\,(V,E) is said to have thickness θ\theta if one can partition its set of edges EE into disjoint union of θ\theta sets E1⊔E2⊔…⊔Eθ=EE_{1}\sqcup E_{2}\sqcup\ldots\sqcup E_{\theta}\,{=}\,E such that each subgraph (V,Ei)(V,E_{i}) is planar. Informally, a graph with thickness θ\theta can be viewed as a vertical stack of θ\theta planar graphs. Qubit connectivity described by a planar graph (thickness θ= 1\theta\,{=}\,1) is the simplest one from hardware perspective since the couplers do not cross. Graphs with thickness θ= 2\theta\,{=}\,2 might still be implementable since two planar layers of couplers and their control lines can be attached to the top and the bottom side of the chip hosting qubits, and the two sides mated (see Section 10 for a detailed discussion). Graphs with thickness θ≥ 3\theta\,{\geq}\,3 are much harder to implement. Thus we seek a high-rate LDPC code with a low-depth SM circuit, high pseudo-threshold, and a low-degree Tanner graph with thickness θ≤2\theta\leq 2.

Finally, the code must perform a useful function within a larger architecture for quantum computation, the simplest of which is a quantum memory. In a quantum memory it must be possible to measure every logical qubit in at least one Pauli basis, permitting initialization and readout of individual qubits. Furthermore it should be possible to connect the code to another error correction code and facilitate Pauli product measurements between their logical qubits. This enables load-store operations that transfer quantum data out of and into the code via quantum teleportation. For the purpose of the shorter-term goal of demonstrating the code in practice, the code should also feature enough logical operations to facilitate experiments to verify correct operation.

Our code selection criteria are summarized below.

  1. 1.

    We desire a code with a large distance dd and a high encoding rate r≫ 1/d2r\,{\gg}\,1/d^{2},

  2. 2.

    that is complemented by a short-depth syndrome measurement circuit,

  3. 3.

    offers a pseudo-threshold close to 1% (or higher) for the circuit-based noise model,

  4. 4.

    is constructed over thickness-2 or less Tanner graph,

  5. 5.

    and possesses fault-tolerant load-store operations as well as readout and initialization of individual qubits.

3 Main results

🧭 Dave's Plain-English Guide — Section 3 (The Headline Numbers: 10x Less Hardware)
  • 288 Physical Qubits Beats 2,882: A single `[[144, 12, 12]]` Bivariate Bicycle block (288 physical qubits total including ancillas) achieves the same logical error protection as 12 Surface Code patches requiring 2,882 physical qubits!

Here we give concrete examples of LDPC codes equipped with syndrome measurement circuits and efficient decoding algorithms that meet all above conditions. Our examples fall into the family of tensor product generalized bicycle codes proposed by Kovalev and Pryadko [35]. We named our codes Bivariate Bicycle (BB) since they are based on bivariate polynomials, as detailed below. These are stabilizer codes of CSS-type [44, 45] that can be described by a collection of few-qubit check (stabilizer) operators composed of Pauli XX and ZZ. At a high level, a BB code is similar to the two-dimensional toric code [19]. In particular, physical qubits of a BB code can be laid out on a two-dimensional grid with periodic boundary conditions such that all check operators are obtained from a single pair of XX- and ZZ-checks by applying horizontal and vertical shifts of the grid. However, in contrast to the plaquette and vertex stabilizers describing the toric code, check operators of a BB code are not geometrically local. Furthermore, each check acts on six qubits rather than four qubits. See Figure 1 B) an example Tanner graph of a BB code. We give a formal definition of BB codes in Section 4. The Tanner graph of any BB code has vertex degree six. Although this graph may not be locally embeddable into a 2D grid, we show that it has thickness θ= 2\theta\,{=}\,2, as desired. This result may be surprising since it is known that a general degree-66 graph can have thickness θ= 3\theta\,{=}\,3, see [43].

2308.07915v2/fig1.svg
Figure 1: A) Tanner graph of a surface code, for comparison. C) Tanner graph of a Bivariate Bicycle code with parameters [[144,12,12]][[144,12,12]] embedded into a torus. Any edge of the Tanner graph connects a data and a check vertex. Data qubits associated with the registers q⁡(L)q(L) and q⁡(R)q(R) are shown by bLue and oRange circles. Each vertex has six incident edges including four short-range edges (pointing north, south, east, and west) and two long-range edges. There are also several long-range edges, of which we only show a few to to avoid clutter. Dashed and solid edges indicate two planar subgraphs spanning the Tanner graph, see Section 4. B) Sketch of a Tanner graph extension for measuring Z¯\bar{Z} and X¯\bar{X} following [46]. The ancilla corresponding to the X¯\bar{X} measurement can be connected to a surface code, enabling load-store operations for all logical qubits via quantum teleportation and some logical unitaries. This extended Tanner graph has a thickness-2 implementation, see Section 9.

Below we use the standard notation [[n,k,d]][[n,k,d]] for code parameters. Here nn is the code length (the number of data qubits), kk is the number of logical qubits, and dd is the code distance. Table 1 shows small examples of BB codes along with several metrics of the error suppression achieved by each codes. The distance-12 code [[144,12,12]][[144,12,12]] may be the most promising for near-term demonstrations, as it combines large distance and high net encoding rate r= 1/24r\,{=}\,1/24. For comparison, the distance-13 surface code has net encoding rate r= 1/338r\,{=}\,1/338. Below we show that the distance-12 BB code outperforms the distance-13 surface code for the experimentally relevant range of error rates, see Figure 2 B). To the best of our knowledge, all codes shown in Table 1 are new.

[[n,k,d]][[n,k,d]] Net Encoding Rate rr Circuit-level distance d𝖼𝗂𝗋𝖼d_{\mathsf{circ}} Pseudo-threshold p0p_{0} pL​(0.001)p_{L}(0.001) pL​(0.0001)p_{L}(0.0001)
[[72,12,6]][[72,12,6]] 1/12 ≤6\leq 6 0.00480.0048 7×10−57\times 10^{-5} 7×10−87\times 10^{-8}
[[90,8,10]][[90,8,10]] 1/231/23 ≤8\leq 8 0.00530.0053 5×10−65\times 10^{-6} 4×10−104\times 10^{-10}
[[108,8,10]][[108,8,10]] 1/27 ≤8\leq 8 0.00580.0058 3×10−63\times 10^{-6} 1×10−101\times 10^{-10}
[[144,12,12]][[144,12,12]] 1/241/24 ≤10\leq 10 0.00650.0065 2×10−72\times 10^{-7} 8×10−138\times 10^{-13}
[[288,12,18]][[288,12,18]] 1/481/48 ≤18\leq 18 0.00690.0069 2×10−122\times 10^{-12} 1×10−221\times 10^{-22}
Table 1: Small examples of Bivariate Bicycle LDPC codes and their performance for the circuit-based noise model. All codes have weight-6 checks, thickness-2 Tanner graph, and a depth-77 syndrome measurement circuit. A code with parameters [[n,k,d]][[n,k,d]] requires 2​n2n physical qubits in total and achieves the net encoding rate r=k/2​nr=k/2n (we round rr down to the nearest inverse integer). Circuit-level distance d𝖼𝗂𝗋𝖼d_{\mathsf{circ}} is the minimum number of faulty operations in the syndrome measurement circuit required to generate an undetectable logical error. The pseudo-threshold p0p_{0} is a solution of the break-even equation pL​(p)=k​pp_{L}(p)=kp, where pp and pLp_{L} are the physical and logical error rates respectively. The logical error rate pLp_{L} was computed numerically for p≥10−3p\geq 10^{-3} and extrapolated to lower error rates.

To quantify the level of error suppression achieved by a code we introduce SM circuits that repeatedly measure the syndrome of each check operator. The full cycle of syndrome measurement for a length-nn BB code requires nn ancillary check qubits to store the measured syndromes. According, the net encoding rate is r=k/(2​n)r=k/(2n). Check qubits are coupled with the data qubits by applying a sequence of 𝖢𝖭𝖮𝖳\mathsf{CNOT} gates. The full cycle of syndrome measurement requires only 77 layers of 𝖢𝖭𝖮𝖳\mathsf{CNOT}s regardless of the code length. The check qubits are initialized and measured at the beginning and at the end of the syndrome cycle respectively, see Section 5 for details. We emphasize that our SM circuit applies to any BB code beyond those listed in Table 1. The circuit respects the cyclic shift symmetry of the underlying code. Assuming that the physical qubits (data or check) are located at vertices of the Tanner graph, all 𝖢𝖭𝖮𝖳\mathsf{CNOT} gates in the SM circuit act on nearest-neighbor qubits. Thus the required qubit connectivity is described by a degree-6 thickness-2 graph, as desired. We conjecture, based on the numerical simulations, that our SM circuit is distance-preserving for the code [[72,12,6]][[72,12,6]], see Table 1 for the upper bounds on d𝖼𝗂𝗋𝖼d_{\mathsf{circ}} (the upper bound d𝖼𝗂𝗋𝖼≤18d_{\mathsf{circ}}\leq 18 for the 288-qubit code is unlikely to be tight and this affects the fit and extrapolations).

The full error correction protocol performs Nc≫1N_{c}\gg 1 syndrome measurement cycles and calls a decoder — a classical algorithm that takes as input the measured syndromes and outputs a guess of the final error on the data qubits. Error correction succeeds if the guessed and the actual error coincide modulo a product of check operators. In this case the two errors have the same action on any encoded (logical) state. Thus applying the inverse of the guessed error would return data qubits to the initial logical sate. Otherwise, if the guessed and the actual error differ by a non-trivial logical operator, error correction fails resulting in a logical error. Our numerical experiments are based on the Belief Propagation with an Ordered Statistics Decoder (BP-OSD) proposed by Panteleev and Kalachev [36]. The original work [36] described BP-OSD in the context of a toy noise model with memory errors only. Here we show how to extend BP-OSD to the circuit-based noise model. Our approach closely follows Refs. [47, 48, 49, 50]. We also show that BP-OSD can be applied to other problems in quantum fault-tolerance such as estimating the distance of a quantum LDPC code, see Section 6 for details. These tasks can be accomplished with a relatively minor extension of the publicly available BP-OSD software developed by Roffe et al. [51]

Let PL​(Nc)P_{L}(N_{c}) be the logical error probability after performing NcN_{c} syndrome cycles. Define the logical error rate as pL=1−(1−PL​(Nc))1/Nc≈PL​(Nc)/Ncp_{L}=1-(1-P_{L}(N_{c}))^{1/N_{c}}\approx P_{L}(N_{c})/N_{c}. Informally, pLp_{L} can be viewed as the logical error probability per syndrome cycle. Following common practice, we choose Nc=dN_{c}=d for a distance-dd code. Figure 2 A) shows the logical error rate achieved by codes from Table 1. The logical error rate was computed numerically for p≥10−3p\geq 10^{-3} and extrapolated to lower error rates using a fitting formula pL=pd𝖼𝗂𝗋𝖼′/2​ec0+c1​p+c2​p2p_{L}=p^{d_{\mathsf{circ}}^{\prime}/2}e^{c_{0}+c_{1}p+c_{2}p^{2}}, where c0,c1,c2c_{0},c_{1},c_{2} are fitting parameters and d𝖼𝗂𝗋𝖼′d_{\mathsf{circ}}^{\prime} is an upper bound on d𝖼𝗂𝗋𝖼d_{\mathsf{circ}} from Table 1. The observed pseudo-threshold for the 144144-qubit and 288288-qubit codes is close to 0.0070.007, which is nearly the same as the error threshold of the surface code [52]. To the best of our knowledge, this provides the first example of high-rate, large-distance LDPC codes achieving the pseudo-threshold close to 1%\% under the circuit-based noise model.

2308.07915v2/small_ldpc.svg
(a) A subfigure
2308.07915v2/ldpc_vs_surface.svg
(b) A subfigure
Figure 2: A) Logical vs physical error rate for small examples of Bivariate Bicycle LDPC codes. A numerical estimate of pLp_{L} (diamonds) was obtained by simulating dd syndrome cycles for a distance-dd code. Most of the data points have error bars ≈pL/10\approx p_{L}/10 due to sampling errors. B) Comparison between the Bivariate Bicycle LDPC code [[144,12,12]][[144,12,12]] and surface codes with 1212 logical qubits and distance d∈{9,11,13,15}d\in\{9,11,13,15\}. The distance-dd surface code with 1212 logical qubits has length n=12​d2n=12d^{2} since each logical qubit is encoded into a separate d×dd{\times}d patch of the surface code lattice.

For example, suppose that the physical error rate is p=10−3p=10^{-3}, which is a realistic goal for near-term demonstrations. Encoding 1212 logical qubits using the distance-1212 code from Table 1 would offer the logical error rate 2×10−72\times 10^{-7} which is enough to preserve 1212 logical qubits for nearly one million syndrome cycles. The total number of physical qubits required for this encoding is 288288. The distance-1818 code from Table 1 would require 576576 physical qubits while suppressing the error rate from 10−310^{-3} to 2×10−122\times 10^{-12} enabling roughly hundred billion syndrome cycles. For comparison, encoding 1212 logical qubits into separate patches of the surface code would require nearly 30003000 physical qubits to suppress the error rate from 10−310^{-3} to 10−610^{-6}, see Figure 2 B). In this example the distance-1212 BB code offers more than 1010X saving in the number of physical qubits compared with the surface code.

We also find that BB LDPC codes admit extensions that allow them to function as a logical memory with load-store operations. In Section 9 we show how to use methods from [46] to attach two ancilla systems to the code that permit logical measurement of all logical qubits in the XX and ZZ bases. Which logical qubit is being measured can be controlled via a set of fault tolerant unitary operations. The extended Tanner graph is not only thickness-2, but the extension from the XX ancilla system is “effectively planar” (in a sense we define later) facilitating interconnection with other codes on the same chip.

Our findings bring experimental demonstration of high-rate LDPC codes within the reach of near-term quantum processors which are expected to offer a few hundred physical qubits, gate error rates close to 10−310^{-3}, and long range qubit connectivity [53].

The rest of this paper is organized as follows. Section 4 formally defines BB LDPC codes and proves their basic properties. The construction of the syndrome measurement circuit is detailed in Section 5. The circuit-based noise model and BP-OSD decoder for this noise model are discussed in Section 6 with some implementation details deferred to Section 8. We describe fault tolerant memory capabilities in Section 9. A summary of our findings and some open questions can be found in Section 10.

4 Bivariate Bicycle quantum LDPC codes

🧭 Dave's Plain-English Guide — Section 4 (Why Long-Range Checks Need Extra Connectivity)
  • Torus + Long-Range Jumpers: 4 of the 6 connections per qubit are nearest-neighbor, while 2 reach across the grid—requiring either multi-layer couplers on fixed superconducting chips or moving ions (*Walking Cat*) on trapped-ion chips.

Let IℓI_{\ell} and SℓS_{\ell} be the identity matrix and the cyclic shift matrix of size ℓ×ℓ\ell\times\ell respectively. The ii-th row of SℓS_{\ell} has a single nonzero entry equal to one at the column i+ 1(modℓ)i\,{+}\,1{\pmod{\ell}}. For example,

S2=[0110]andS3=[010001100].S_{2}=\left[\begin{array}[]{cc}0&1\\ 1&0\\ \end{array}\right]\quad\mbox{and}\quad S_{3}=\left[\begin{array}[]{ccc}0&1&0\\ 0&0&1\\ 1&0&0\\ \end{array}\right].

Consider matrices

x=Sℓ⊗Imandy=Iℓ⊗Sm.x=S_{\ell}\otimes I_{m}\quad\mbox{and}\quad y=I_{\ell}\otimes S_{m}.

Note that x​y=y​xxy=yx and xℓ=ym=Iℓ​mx^{\ell}=y^{m}=I_{\ell m}. A BB code is defined by a pair of matrices

A=A1+A2+A3andB=B1+B2+B3A=A_{1}+A_{2}+A_{3}\quad\mbox{and}\quad B=B_{1}+B_{2}+B_{3} (1)

where each matrix AiA_{i} and BjB_{j} is a power of xx or yy. Here and below the addition and multiplication of binary matrices is performed modulo two, unless stated otherwise. Thus, we also assume the AiA_{i} are distinct and the BjB_{j} are distinct to avoid cancellation of terms. For example, one could choose A=x3+y+y2A=x^{3}+y+y^{2} and B=y3+x+x2B=y^{3}+x+x^{2}. Note that AA and BB have exactly three non-zero entries in each row and each column. Furthermore, A​B=B​AAB\,{=}\,BA since x​y=y​xxy\,{=}\,yx. The above data defines a BB LDPC code denoted 𝖰𝖢⁡(A,B)\mathsf{QC}(A,B) with length n= 2​ℓ​mn\,{=}\,2\ell m and check matrices

HX=[A|B]andHZ=[BT|AT].H^{X}=\left[A|B\right]\quad\mbox{and}\quad H^{Z}=\left[B^{T}|A^{T}\right]. (2)

Here the vertical bar indicates stacking matrices horizontally and TT stands for the matrix transposition. Both matrices HXH^{X} and HZH^{Z} have size (n/2)×n(n/2){\times}n. Each row v∈𝔽2nv\,{\in}\,\mathbb{F}_{2}^{n} of HXH^{X} defines an XX-type check operator X⁡(v)=∏j=1nXjvjX(v)=\prod_{j=1}^{n}X_{j}^{v_{j}}. Each row v∈𝔽2nv\,{\in}\,\mathbb{F}_{2}^{n} of HZH^{Z} defines a ZZ-type check operator Z⁡(v)=∏j=1nZjvjZ(v)=\prod_{j=1}^{n}Z_{j}^{v_{j}}. Any X-check and Z-check commute since they overlap on even number of qubits (note that HX​(HZ)T=A​B+B​A=0(mod2)H^{X}(H^{Z})^{T}=AB+BA=0{\pmod{2}}). To describe the code parameters we use certain linear subspaces associated with the check matrices, see Table 1 for our notations. Then the code 𝖰𝖢⁡(A,B)\mathsf{QC}(A,B) has parameters [[n,k,d]][[n,k,d]] with

n=2ℓm,k=2⋅dim(𝗄𝖾𝗋(A)∩𝗄𝖾𝗋(B))andd=min{|v|:v∈𝗄𝖾𝗋(HX)∖𝗋𝗌(HZ)},n=2\ell m,\quad k=2\cdot\mathrm{dim}\left(\mathsf{ker}{(A)}\cap\mathsf{ker}{(B)}\right)\quad\mbox{and}\quad d=\min\bigl\{|v|{:}\,\,v\in\mathsf{ker}{(H^{X})}{\setminus}\mathsf{rs}{(H^{Z})}\bigr\}, (3)

see Lemma 1. Here |v|=∑i=1nvi|v|=\sum_{i=1}^{n}v_{i} is the Hamming weight of a vector v∈𝔽2nv\in\mathbb{F}_{2}^{n}. We note that the code 𝖰𝖢⁡(A,B)\mathsf{QC}(A,B) can be viewed as a special case of the Lifted Product construction [54] based on the abelian group ℤℓ×ℤm\mathbb{Z}_{\ell}\times\mathbb{Z}_{m}. Here ℤj\mathbb{Z}_{j} denotes the cyclic group of order jj.

Notation Name Definition
𝗋𝗌⁡(H)\mathsf{rs}{(H)} row space Linear span of rows of HH
𝖼𝗌⁡(H)\mathsf{cs}{(H)} column space Linear span of columns of HH
𝗄𝖾𝗋⁡(H)\mathsf{ker}{(H)} nullspace Vectors orthogonal to each row of HH
𝗋𝗄⁡(H)\mathsf{rk}{(H)} rank 𝗋𝗄⁡(H)=dim⁡(𝗋𝗌⁡(H))=dim⁡(𝖼𝗌⁡(H))\mathsf{rk}{(H)}=\mathrm{dim}(\mathsf{rs}{(H)})=\mathrm{dim}(\mathsf{cs}{(H)})
Table 2: Notations for linear spaces associated with a binary matrix HH. Here the linear span, orthogonality, and dimension are computed over the binary field 𝔽2={0,1}\mathbb{F}_{2}=\{0,1\}. If HH has size s×ns\,{\times}\,n then 𝗋𝗌⁡(H)⊆𝔽2n\mathsf{rs}{(H)}\subseteq\mathbb{F}_{2}^{n}, 𝖼𝗌⁡(H)⊆𝔽2s\mathsf{cs}{(H)}\subseteq\mathbb{F}_{2}^{s}, and 𝗄𝖾𝗋⁡(H)⊆𝔽2n\mathsf{ker}{(H)}\subseteq\mathbb{F}_{2}^{n}.
[[n,k,d]][[n,k,d]] Net Encoding Rate rr ℓ,m\ell,m AA BB
[[72,12,6]][[72,12,6]] 1/12 6,66,6 x3+y+y2x^{3}+y+y^{2} y3+x+x2y^{3}+x+x^{2}
[[90,8,10]][[90,8,10]] 1/231/23 15,315,3 x9+y+y2x^{9}+y+y^{2} 1+x2+x71+x^{2}+x^{7}
[[108,8,10]][[108,8,10]] 1/27 9,69,6 x3+y+y2x^{3}+y+y^{2} y3+x+x2y^{3}+x+x^{2}
[[144,12,12]][[144,12,12]] 1/241/24 12,612,6 x3+y+y2x^{3}+y+y^{2} y3+x+x2y^{3}+x+x^{2}
[[288,12,18]][[288,12,18]] 1/481/48 12,1212,12 x3+y2+y7x^{3}+y^{2}+y^{7} y3+x+x2y^{3}+x+x^{2}
[[360,12,≤24]][[360,12,\leq 24]] 1/601/60 30,630,6 x9+y+y2x^{9}+y+y^{2} y3+x25+x26y^{3}+x^{25}+x^{26}
[[756,16,≤34]][[756,16,\leq 34]] 1/951/95 21,1821,18 x3+y10+y17x^{3}+y^{10}+y^{17} y5+x3+x19y^{5}+x^{3}+x^{19}
Table 3: Small examples of Bivariate Bicycle LDPC codes and their parameters. All codes have weight-6 checks, thickness-2 Tanner graph, and a depth-7 syndrome measurement circuit. Code distance was computed by the mixed integer programming approach of Ref. [55]. Notation ≤d\leq d indicates that only an upper bound on the code distance is known at the time of this writing. We round rr down to the nearest inverse integer. The codes have check matrices HX=[A|B]H^{X}=[A|B] and HZ=[BT|AT]H^{Z}=[B^{T}|A^{T}] with AA and BB defined in the last two columns. The matrices xx, yy obey xℓ=ym=1x^{\ell}=y^{m}=1 and x​y=y​xxy=yx.

Table 3 describes the polynomials AA and BB that give rise to examples of high-rate, high-distance BB codes found by a numerical search. This includes all codes from Table 1 and two examples of higher distance codes. To the best of our knowledge, all these examples are new. The code [[360,12,≤24]][[360,12,\leq 24]] improves upon a code [[882,24,≤24]][[882,24,\leq 24]] with weight-6 checks found by Panteleev and Kalachev in [36] (assuming that our distance upper bound is tight). Indeed, taking two independent copies of the 360-qubit code gives parameters [[720,24,≤24]][[720,24,\leq 24]].

By construction, the code 𝖰𝖢⁡(A,B)\mathsf{QC}(A,B) has weight-6 check operators and each qubit participates in six checks (three XX-type plus three ZZ-type checks). Accordingly, the code 𝖰𝖢⁡(A,B)\mathsf{QC}(A,B) has a degree-66 Tanner graph. Below we show that the Tanner graph has thickness θ≤2\theta\leq 2, as desired, see Lemma 2.

We note that the recent work by Wang, Lin, and Pryadko [38, 37] described examples of group-based codes closely related to the codes considered here. Some of the group-based codes with weight-8 checks found in [37] outperform our BB codes with weight-6 checks in terms of the parameters n,k,dn,k,d. It remains to be seen whether group-based codes can achieve a similar or better level of error suppression for the circuit-based noise model.

In the rest of this section we establish some properties of BB LDPC codes.

Lemma 1.

The code 𝖰𝖢⁡(A,B)\mathsf{QC}(A,B) has parameters [[n,k,d]][[n,k,d]], where

n=2ℓm,k=2⋅dim(𝗄𝖾𝗋(A)∩𝗄𝖾𝗋(B)),andd=min{|v|:v∈𝗄𝖾𝗋(HX)∖𝗋𝗌(HZ)}.n=2\ell m,\quad k=2\cdot\mathrm{dim}\left(\mathsf{ker}{(A)}\cap\mathsf{ker}{(B)}\right),\quad\mbox{and}\quad d=\min\bigl\{|v|{:}\,\,v\in\mathsf{ker}{(H^{X})}{\setminus}\mathsf{rs}{(H^{Z})}\bigr\}.

The code offers equal distance for XX-type and ZZ-type errors.

Proof.

It is known [44, 45] that

k=n−𝗋𝗄⁡(HX)−𝗋𝗄⁡(HZ).k=n-\mathsf{rk}{(H^{X})}-\mathsf{rk}{(H^{Z})}.

We claim that 𝗋𝗄⁡(HX)=𝗋𝗄⁡(HZ)\mathsf{rk}{(H^{X})}\,{=}\,\mathsf{rk}{(H^{Z})}. Indeed, define a self-inverse permutation matrix CℓC_{\ell} of size ℓ×ℓ\ell\,{\times}\,\ell such that the ii-th column of CℓC_{\ell} has a single nonzero entry equal to one at the row j=−i(modℓ)j=-i{\pmod{\ell}}. Define CmC_{m} similarly and let C=Cℓ⊗CmC=C_{\ell}\otimes C_{m}. Since Cℓ​Sℓ​Cℓ=SℓTC_{\ell}S_{\ell}C_{\ell}=S_{\ell}^{T} and Cm​Sm​Cm=SmTC_{m}S_{m}C_{m}=S_{m}^{T}, one gets

AT=C​A​CandBT=C​B​C.A^{T}=CAC\quad\mbox{and}\quad B^{T}=CBC. (4)

Therefore one can write

HZ=[BT|AT]=[C​B​C|C​A​C]=C⁡[A|B]​[0CC0]=C​HX​[0CC0].H^{Z}=[B^{T}|A^{T}]=[CBC|CAC]=C[A|B]\left[\begin{array}[]{cc}0&C\\ C&0\\ \end{array}\right]=CH^{X}\left[\begin{array}[]{cc}0&C\\ C&0\\ \end{array}\right].

Thus HZH^{Z} is obtained from HXH^{X} by multiplying on the left and on the right by invertible matrices. This implies 𝗋𝗄⁡(HX)=𝗋𝗄⁡(HZ)\mathsf{rk}{(H^{X})}=\mathsf{rk}{(H^{Z})}. Therefore

k\displaystyle k =n−2⋅𝗋𝗄⁡(HZ)=n−2​(n2−dim(𝗄𝖾𝗋⁡((HZ)T))))=n−2​(n2−dim(𝗄𝖾𝗋⁡(A)∩𝗄𝖾𝗋⁡(B)))\displaystyle=n-2{\cdot}\mathsf{rk}{(H^{Z})}=n-2{\left(\frac{n}{2}-\dim{(\mathsf{ker}{((H^{Z})^{T}))})}\right)}=n-2{\left(\frac{n}{2}-\dim{(\mathsf{ker}{(A)}\cap\mathsf{ker}{(B)})}\right)}
=2⋅dim⁡(𝗄𝖾𝗋⁡(A)∩𝗄𝖾𝗋⁡(B)).\displaystyle=2\cdot\mathrm{dim}\left(\mathsf{ker}{(A)}\cap\mathsf{ker}{(B)}\right).

Here we noted that HZH^{Z} has size (n/2)×n(n/2)\,{\times}\,n and 𝗄𝖾𝗋⁡((HZ)T))=𝗄𝖾𝗋⁡(A)∩𝗄𝖾𝗋⁡(B)\mathsf{ker}{((H^{Z})^{T}))}=\mathsf{ker}{(A)}\cap\mathsf{ker}{(B)} since HZ=[BT|AT]H^{Z}=[B^{T}|A^{T}].

It is known [44, 45] that a CSS code with check matrices HXH^{X} and HZH^{Z} has distance d=min⁡(dX,dZ)d\,{=}\,\min{(d^{X},d^{Z})}, where dXd^{X} and dZd^{Z} are the code distances for XX-type and ZZ-type errors defined as

dX=min⁡{|v|:v∈𝗄𝖾𝗋⁡(HZ)∖𝗋𝗌⁡(HX)}anddZ=min⁡{|v|:v∈𝗄𝖾𝗋⁡(HX)∖𝗋𝗌⁡(HZ)}.d^{X}=\min\bigl\{|v|{:}\,\,v\in\mathsf{ker}{(H^{Z})}{\setminus}\mathsf{rs}{(H^{X})}\bigr\}\quad\mbox{and}\quad d^{Z}=\min\bigl\{|v|{:}\,\,v\in\mathsf{ker}{(H^{X})}{\setminus}\mathsf{rs}{(H^{Z})}\bigr\}.

We claim that dZ≤dXd^{Z}\,{\leq}\,d^{X}. Indeed, let X⁡(f)=∏j=1nXjfjX(f)\,{=}\,\prod_{j=1}^{n}X_{j}^{f_{j}} be a minimum weight logical XX-type Pauli operator such that |f|=dX|f|\,{=}\,d^{X}. Then HZ​f= 0H^{Z}f\,{=}\,0 and f∉𝗋𝗌⁡(HX)f\,{\notin}\,\mathsf{rs}{(H^{X})}. Thus there exists a logical ZZ-type operator Z⁡(g)=∏j=1nZjgjZ(g)\,{=}\,\prod_{j=1}^{n}Z_{j}^{g_{j}} anti-commuting with X⁡(f)X(f). In other words, HX​g= 0H^{X}g\,{=}\,0 and fT​g= 1f^{T}g\,{=}\,1. Here, ff and gg are length-nn binary vectors. Write f=(α,β)f\,{=}\,(\alpha,\beta) and g=(γ,δ)g\,{=}\,(\gamma,\delta), where α,β,γ,δ\alpha,\beta,\gamma,\delta are length-(n/2)(n/2) vectors. Conditions HZ​f=0H^{Z}f=0 and HX​g=0H^{X}g=0 are equivalent to

BT​α=AT​βandA​γ=B​δ.B^{T}\alpha=A^{T}\beta\quad\mbox{and}\quad A\gamma=B\delta. (5)

Here and below all arithmetics is modulo two. Define length-nn vectors

e=(C​δ,C​γ)andh=(C​β,C​α).e=(C\delta,C\gamma)\quad\mbox{and}\quad h=(C\beta,C\alpha). (6)

From Eqs. (13,14) one gets

HX​h=[A|B]​[C​βC​α]=A​C​β+B​C​α=C⁡(AT​β+BT​α)=0.H^{X}h=[A|B]\left[\begin{array}[]{c}C\beta\\ C\alpha\\ \end{array}\right]=AC\beta+BC\alpha=C(A^{T}\beta+B^{T}\alpha)=0.

Likewise,

HZ​e=[BT|AT]​[C​δC​γ]=BT​C​δ+AT​C​γ=C⁡(B​δ+A​γ)=0.H^{Z}e=[B^{T}|A^{T}]\left[\begin{array}[]{c}C\delta\\ C\gamma\\ \end{array}\right]=B^{T}C\delta+A^{T}C\gamma=C(B\delta+A\gamma)=0.

Furthermore,

hT​e=βT​C​C​δ+αT​C​C​γ=βT​δ+αT​γ=fT​g=1.h^{T}e=\beta^{T}CC\delta+\alpha^{T}CC\gamma=\beta^{T}\delta+\alpha^{T}\gamma=f^{T}g=1.

Thus X⁡(e)X(e) and Z⁡(h)Z(h) are non-identity logical operators. It follows that dZ≤|h|d^{Z}\leq|h|. We get

dZ≤|h|=|C​β|+|C​α|=|β|+|α|=|f|=dX.d^{Z}\leq|h|=|C\beta|+|C\alpha|=|\beta|+|\alpha|=|f|=d^{X}.

Thus dZ≤dXd^{Z}\leq d^{X}. Similar argument shows that dX≤dZd^{X}\leq d^{Z}, that is, dX=dZd^{X}=d^{Z}. ∎

We note that the equality dX=dZd^{X}=d^{Z} can also be established using the machinery of Ref. [54] by viewing 𝖰𝖢⁡(A,B)\mathsf{QC}(A,B) as a Lifted Product code.

In the following, we partition the set of data qubits as [n]=L​R[n]\,{=}\,LR, where LL and RR are the left and right blocks of n/2=ℓ​mn/2=\ell m data qubits. Then, data qubits LL and RR and checks XX and ZZ may each be labeled by integers ℤℓ​m={0,1,…,ℓ​m−1}\mathbb{Z}_{\ell m}=\{0,1,\dots,\ell m-1\} which are indices into the matrices A,BA,B. Alternatively, qubits and checks can be labeled by monomials from ℳ={1,y,…,ym−1,x,x​y,…,x​ym−1,…,xℓ−1​ym−1}\mathcal{M}=\{1,y,\dots,y^{m-1},x,xy,\dots,xy^{m-1},\dots,x^{\ell-1}y^{m-1}\} in this order, so that i∈ℤℓ​mi\in\mathbb{Z}_{\ell m} labels the same qubit or check as xai​yi−m​aix^{a_{i}}y^{i-ma_{i}} for ai=floor​(i/m)a_{i}=\text{floor}(i/m). Using the monomial labeling, LL data qubit α∈ℳ\alpha\in\mathcal{M} is part of XX checks AiT​αA^{T}_{i}\alpha and ZZ checks Bi​αB_{i}\alpha for i=1,2,3i=1,2,3. Similarly, RR data qubit β∈ℳ\beta\in\mathcal{M} is part of XX checks BiT​βB^{T}_{i}\beta and ZZ checks Ai​βA_{i}\beta. A unified notation assigns each qubit or check a label q⁡(T,α)q(T,\alpha) where T∈{L,R,X,Z}T\in\{L,R,X,Z\} denotes its type and α∈ℳ\alpha\in\mathcal{M} its monomial label[Note 1]Note 1: The monomial notations should not be confused with the matrix notations used earlier in this section. For example, multiplication of monomials such as Bi​αB_{i}\alpha is different from multiplying a vector α\alpha by a matrix BiB_{i}..

2308.07915v2/wheel_extraction.svg
Figure 3: A). B) Two different grids over a torus defined using different subsets of A1,A2,A3,B1,B2,B3A_{1},A_{2},A_{3},B_{1},B_{2},B_{3}. Edge labels indicate adjacency matrices that generate the respective edges. By extracting either horizontal or vertical strips from these grids, we obtain planar ‘wheel graphs’ whose union contains all edges in the Tanner graph. The ‘A’ wheels (dashed lines) cover A2,A3,B3A_{2},A_{3},B_{3} and the ‘B’ wheels (solid lines) cover B1,B2,A1B_{1},B_{2},A_{1}. To avoid clutter, each grid shows only a subset of edges present in the Tanner graph.
2308.07915v2/navigation.svg
Figure 4: A) “Compass” diagram that shows the direction in which matrices A,BA,B are applied to travel between different nodes. B) The unit cell of the construction of a toric layout in the proof of Lemma 4.
Lemma 2.

The Tanner graph GG of the code 𝖰𝖢⁡(A,B)\mathsf{QC}(A,B) has thickness θ≤ 2\theta\,{\leq}\,2. A decomposition of GG into two planar layers can be computed in time O⁡(n)O(n). Each planar layer of GG is a degree-3 graph.

Proof.

Let G=(V,E)G\,{=}\,(V,E) be the Tanner graph. Partition GG into subgraphs GA=(V,EA)G_{A}\,{=}\,(V,E_{A}) and GB=(V,EB)G_{B}\,{=}\,(V,E_{B}) that describe CSS codes with check matrices

Tanner graph GA:HAX=[A2+A3|B3]andHAZ=[B3T|A2T+A3T]\mbox{Tanner graph $G_{A}$:}\quad H^{X}_{A}=[A_{2}+A_{3}|B_{3}]\quad\mbox{and}\quad H^{Z}_{A}=[B_{3}^{T}|A_{2}^{T}+A_{3}^{T}] (7)
Tanner graph GB:HBX=[A1|B1+B2]andHBZ=[B1T+B2T|A1T].\mbox{Tanner graph $G_{B}$:}\quad H^{X}_{B}=[A_{1}|B_{1}+B_{2}]\quad\mbox{and}\quad H^{Z}_{B}=[B_{1}^{T}+B_{2}^{T}|A_{1}^{T}]. (8)

Since A=A1+A2+A3A=A_{1}+A_{2}+A_{3} and B=B1+B2+B3B=B_{1}+B_{2}+B_{3}, every edge of GG appears either in GAG_{A} or GBG_{B}, where the two subgraphs are named by whether they contain more AiA_{i} edges or more BiB_{i} edges. Then GAG_{A} and GBG_{B} are regular degree-3 graphs (since AiA_{i} and BjB_{j} are permutation matrices).

Consider the graph GAG_{A}. Each XX-check vertex is connected to a pair of data vertices i1,i2∈Li_{1},i_{2}\in L via the matrices A2,A3A_{2},A_{3} and a data vertex i3∈Ri_{3}\in R via the matrix B3B_{3}. Each ZZ-check vertex is connected to a pair of data vertices i1,i2∈Ri_{1},i_{2}\in R via the matrices A2T,A3TA_{2}^{T},A_{3}^{T} and a data vertex i3∈Li_{3}\in L via the matrix B3TB_{3}^{T}.

We claim that each connected component of GAG_{A} can be represented by a “wheel graph” illustrated in Figure 3. A wheel graph consists of two disjoint cycles of the same length pp interconnected by pp radial edges. The outer cycle alternates between XX-check and LL-data vertices.

Edges of the outer cycle alternate between those generated by A3A_{3} (as one moves from a check to a data vertex) and A2TA_{2}^{T} (as one moves from a data to a check vertex). The length of the outer cycle is equal to the order of the matrix A3​A2TA_{3}A_{2}^{T}, that is, the smallest integer pp such that (A3​A2T)p=Iℓ​m(A_{3}A_{2}^{T})^{p}=I_{\ell m}. For example, consider the code [[144,12,12]][[144,12,12]] from Table 3. Then A=x3+y+y2A=x^{3}+y+y^{2}, A2=yA_{2}=y, and A3=y2A_{3}=y^{2}. Thus A3​A2T=y2​y−1=yA_{3}A_{2}^{T}=y^{2}y^{-1}=y which has order m=6m=6. The inner cycle of a wheel graph alternates between ZZ-check and RR-data vertices.

Edges of the inner cycle alternate between those generated by A3TA_{3}^{T} (as one moves from a check to a data vertex) and A2A_{2} (as one moves from a data to a check vertex). The length of the inner cycle is equal to the order of the matrix A3T​A2A_{3}^{T}A_{2} which is just the transpose of A3​A3TA_{3}A_{3}^{T} considered earlier. Thus both inner and outer cycles have the same length mm. The two cycles are interconnected by mm radial edges as shown in Figure 3 A). Radial edges are generated by the matrix B3B_{3}, as one moves towards the center of the wheel. The wheel graph contains 44-cycles generated by tuples of edges (B3,A2,B3T,A2T)(B_{3},A_{2},B_{3}^{T},A_{2}^{T}) and (B3T,A3,B3,A3T)(B_{3}^{T},A_{3},B_{3},A_{3}^{T}). Commutativity between AiA_{i} and BjB_{j} ensures that traversing any of these 44-cycles implements the identity matrix, that is, the graph is well defined. Clearly, the wheel graph is planar. Since GAG_{A} is a disjoint union of wheel graphs, GAG_{A} is planar. The same argument shows that GBG_{B} is planar: see Figure 3 B). ∎

We empirically observed that BB codes reported in Table 3 have no weight-44 stabilizers. The presence of such stabilizers is known to have a negative impact on the performance of belief propagation decoders [36], which we use here.

The definition of code 𝖰𝖢⁡(A,B)\mathsf{QC}(A,B) does not guarantee that its Tanner graph is connected. Some choices of AA and BB lead to a code that is actually several separable code blocks. This manifests as a Tanner graph with several connected components. For instance, although all codes in Table 3 are connected, taking any of them with even ℓ\ell and replacing every instance of xx with x2x^{2} creates a code with two connected components.

Lemma 3.

The Tanner graph of the code 𝖰𝖢⁡(A,B)\mathsf{QC}(A,B) is connected if and only if S={AiAjT:i,j∈{1,2,3}}∪{BiBjT:i,j∈{1,2,3}}S=\{A_{i}A_{j}^{T}:i,j\in\{1,2,3\}\}\cup\{B_{i}B_{j}^{T}:i,j\in\{1,2,3\}\} generates the group ℳ\mathcal{M}. The number of connected components in the Tanner graph is ℓ​m/|⟨S⟩|\ell m/|\langle S\rangle|, and all components are graph isomorphic to one another.

Proof.

Figure 4 is helpful for following the arguments in this proof. We start by proving the reverse implication of the first statement. Note that there is a length 2 path in the Tanner graph from LL qubit α∈ℳ\alpha\in\mathcal{M} to LL qubit Ai​AjT​αA_{i}A_{j}^{T}\alpha and another length 2 path to LL qubit Bi​BjT​αB_{i}B_{j}^{T}\alpha. These travel through XX and ZZ checks, respectively. Thus, because the Ai​AjTA_{i}A_{j}^{T} and Bi​BjTB_{i}B_{j}^{T} generate ℳ\mathcal{M}, there is some path from α\alpha to any other LL qubit β\beta. A similar argument shows the existence of a path connecting any pair of R qubits. Since each XX check and each ZZ check are connected to at least one LL qubit and at least one RR qubit, this implies that the entire Tanner graph is connected. The forward implication of the first statement follows after noticing that, for all T∈{L,R,X,Z}T\in\{L,R,X,Z\}, the path from a type TT node to any other TT node is necessarily described as a product of elements from SS. Connectivity of the Tanner graph implies the existence of all such paths, and so SS must generate ℳ\mathcal{M}.

If SS does not generate ℳ\mathcal{M}, it necessarily generates a subgroup ⟨S⟩\langle S\rangle and nodes in connected components of the Tanner graph are labeled by elements of the cosets of this subgroup. This implies the theorem’s second statement. ∎

For the next part, we establish some terminology. A spanning sub-graph of a graph GG is a sub-graph containing all the vertices of GG. Also, the undirected Cayley graph of a finite Abelian group 𝒢\mathcal{G} (with identity element 00) generated by set S⊂𝒢S\subset\mathcal{G} is the graph with vertex set 𝒢\mathcal{G} and undirected edges (g,g+s)(g,g+s) for all g∈𝒢g\in\mathcal{G} and all s∈S,s≠0s\in S,s\neq 0. We say the Cayley graph of ℤa×ℤb\mathbb{Z}_{a}\times\mathbb{Z}_{b} when we mean the Cayley graph of ℤa×ℤb\mathbb{Z}_{a}\times\mathbb{Z}_{b} generated by {(1,0),(0,1)}\{(1,0),(0,1)\}. The order ord⁡(g)\mathrm{ord}(g) of an element gg in a multiplicative group is the smallest positive integer such that gord⁡(g)=1g^{\mathrm{ord}(g)}=1.

Definition 1.

Code 𝖰𝖢⁡(A,B)\mathsf{QC}(A,B) is said to have a toric layout if its Tanner graph has a spanning sub-graph isomorphic to the Cayley graph of ℤ2​μ×ℤ2​λ\mathbb{Z}_{2\mu}\times\mathbb{Z}_{2\lambda} for some integers μ\mu and λ\lambda.

Note that only codes with connected Tanner graphs can have a toric layout according to this definition. An example toric layout is depicted in Figure 1 B).

Lemma 4.

A code 𝖰𝖢⁡(A,B)\mathsf{QC}(A,B) has a toric layout if there exist i,j,g,h∈{1,2,3}i,j,g,h\in\{1,2,3\} such that

  1. (i)

    ⟨Ai​AjT,Bg​BhT⟩=ℳ\langle A_{i}A_{j}^{T},B_{g}B_{h}^{T}\rangle=\mathcal{M} and

  2. (ii)

    ord⁡(Ai​AjT)​ord​(Bg​BhT)=ℓ​m\mathrm{ord}(A_{i}A_{j}^{T})\mathrm{ord}(B_{g}B_{h}^{T})=\ell m.

Proof.

We let μ=ord⁡(Ai​AjT)\mu=\mathrm{ord}(A_{i}A_{j}^{T}) and λ=ord⁡(Bg​BhT)\lambda=\mathrm{ord}(B_{g}B_{h}^{T}). We associate qubits and checks in the Tanner graph of 𝖰𝖢⁡(A,B)\mathsf{QC}(A,B) with elements of 𝒢=ℤ2​μ×ℤ2​λ\mathcal{G}=\mathbb{Z}_{2\mu}\times\mathbb{Z}_{2\lambda}. For LL qubit with label α∈ℳ\alpha\in\mathcal{M}, because of (i), there is (a,b)∈ℤμ×ℤλ(a,b)\in\mathbb{Z}_{\mu}\times\mathbb{Z}_{\lambda} such that α=(Ai​AjT)a​(Bg​BhT)b\alpha=(A_{i}A_{j}^{T})^{a}(B_{g}B_{h}^{T})^{b}. Because of (ii) and the pigeonhole principle, this choice of (a,b)(a,b) is unique. We associate LL qubit α\alpha with (2​a,2​b)∈𝒢(2a,2b)\in\mathcal{G}. Similarly, an RR qubit with label α​AjT​Bg\alpha A^{T}_{j}B_{g} is associated with (2​a+1,2​b+1)∈𝒢(2a+1,2b+1)\in\mathcal{G}, XX-check α​AjT\alpha A^{T}_{j} with (2​a+1,2​b)(2a+1,2b), and ZZ-check α​Bg\alpha B_{g} with (2​a,2​b+1)(2a,2b+1). Edges in the Tanner graph Ai,AjT,Bg,A_{i},A^{T}_{j},B_{g}, and BhTB_{h}^{T} can now be drawn as in Figure 4 (B) and correspond to edges in the Cayley graph of 𝒢\mathcal{G}. For instance, to get from (2​a+1,2​b+1)(2a+1,2b+1), an RR qubit, to (2​a+2,2​b+1)(2a+2,2b+1), a ZZ check, we apply AiA_{i}, taking RR qubit labeled α​AjT​Bg\alpha A^{T}_{j}B_{g} to the ZZ check labeled (α​AjT​Bg)​Ai=α⁡(Ai​AjT)​Bg(\alpha A^{T}_{j}B_{g})A_{i}=\alpha(A_{i}A_{j}^{T})B_{g}. ∎

All codes in Table 3 have a toric layout with μ=m\mu=m and λ=ℓ\lambda=\ell. Most of these codes satisfy Lemma 4 with i=g=2i=g=2 and j=h=3j=h=3. The exception is the ⟦90,8,10⟧\llbracket 90,8,10\rrbracket code, for which we can take i=2,g=1i=2,g=1 and j=h=3j=h=3.

However, we also note two interesting cases. First, there are codes with connected Tanner graphs that do not satisfy the conditions for a toric layout given in Lemma 4. One example of such a code is 𝖰𝖢⁡(A,B)\mathsf{QC}(A,B) with ℓ,m=28,14\ell,m=28,14, A=x26+y6+y8A=x^{26}+y^{6}+y^{8}, and B=y7+x9+x20B=y^{7}+x^{9}+x^{20} which has parameters [[784,24,≤24]][[784,24,\leq 24]]. Second, for a code satisfying the conditions of Lemma 4, it need not be the case that the set {ord⁡(Ai​AjT),ord⁡(Bg​BhT)}\{\mathrm{ord}(A_{i}A_{j}^{T}),\mathrm{ord}(B_{g}B_{h}^{T})\} and the set {ℓ,m}\{\ell,m\} are equal. For example, the [[432,4,≤22]][[432,4,\leq 22]] code with ℓ,m=18,12\ell,m=18,12 and A=x+y11+y3A=x+y^{11}+y^{3}, B=y2+x15+xB=y^{2}+x^{15}+x only satisfies Lemma 4 with μ,λ=36,6\mu,\lambda=36,6 (take i=g=1i=g=1 and j=h=2j=h=2 for instance).

5 Syndrome measurement circuit

🧭 Dave's Plain-English Guide — Section 5 (Extracting Error Syndromes in 7 Clock Cycles)
  • Fault-Tolerant CNOT Schedule: Shows how all X and Z parity checks across the `[[144, 12, 12]]` block are measured in a synchronized 7-step circuit without hook errors reducing the code distance.

The next step is to furnish the code 𝖰𝖢⁡(A,B)\mathsf{QC}(A,B) with a syndrome measurement (SM) circuit that repeatedly measures the syndrome of each check operator. Here we describe a SM circuit that requires 2​n2n physical qubits in total: nn data qubits and nn ancillary check qubits used to record the measured syndromes. The circuit only applies 𝖢𝖭𝖮𝖳\mathsf{CNOT}s to pairs of qubits that are connected in the Tanner graph.

The SM circuit is defined as a periodically repeated sequence of syndrome cycles (SC). A single SC is responsible for measuring syndromes of all nn check operators of the code. Let NcN_{c} be the number of syndrome cycles. We envision that Nc> 1N_{c}\,{>}\,1. The circuit begins and ends with a special initialization and measurement cycle responsible for initializing logical qubits in a suitable initial state and measuring logical qubits in a suitable basis. Here we focus on the optimization of the SC circuit. Logical initialization and measurements are discussed in Section 9.

The SC circuit is divided into NrN_{r} rounds such that each round is a depth-1 circuit composed of 𝖢𝖭𝖮𝖳\mathsf{CNOT}s and single-qubit operations. The latter include initializing a qubit in the XX or ZZ basis and measuring a qubit in the XX or ZZ basis. 𝖢𝖭𝖮𝖳\mathsf{CNOT}s can be applied only to pairs of qubits which are nearest neighbors in the Tanner graph. Some qubits remain idle during some rounds, although we try to minimize such occurrences by squeezing more useful computations in as little time as possible. Our notations are summarized in Table 4.

Notation Operation
𝖢𝖭𝖮𝖳ct\mathsf{CNOT}\quad{c}\quad{t} 𝖢𝖭𝖮𝖳\mathsf{CNOT} with control qubit cc and target qubit tt
𝖨𝗇𝗂𝗍𝖷q\mathsf{InitX}\quad{q} Initialize qubit qq in the state |+⟩=(|0⟩+|1⟩)/2|+\rangle=(|0\rangle+|1\rangle)/\sqrt{2}
𝖨𝗇𝗂𝗍𝖹q\mathsf{InitZ}\quad{q} Initialize qubit qq in the state |0⟩|0\rangle
𝖬𝖾𝖺𝗌𝖷q\mathsf{MeasX}\quad{q} Measure qubit qq in the XX-basis |+⟩,|−⟩|+\rangle,|-\rangle
𝖬𝖾𝖺𝗌𝖹q\mathsf{MeasZ}\quad{q} Measure qubit qq in the ZZ-basis |0⟩,|1⟩|0\rangle,|1\rangle
𝖨𝖽𝗅𝖾q\mathsf{Idle}\quad{q} Identity gate on qubit qq
Table 4: Elementary operations used for syndrome measurements.
Round Circuit Round Circuit
1 for i=1i=1 to n/2n/2 do   𝖨𝗇𝗂𝗍𝖷q⁡(X,i)\mathsf{InitX}\quad{q(X,i)}   𝖢𝖭𝖮𝖳q⁡(R,A1T​(i))q⁡(Z,i)\mathsf{CNOT}\quad{q(R,A_{1}^{T}(i))}\quad{q(Z,i)}   𝖨𝖽𝗅𝖾q⁡(L,i)\mathsf{Idle}\quad{q(L,i)} end for 5 for i=1i=1 to n/2n/2 do   𝖢𝖭𝖮𝖳q⁡(X,i)q⁡(R,B3​(i))\mathsf{CNOT}\quad{q(X,i)}\quad{q(R,B_{3}(i))}   𝖢𝖭𝖮𝖳q⁡(L,B3T​(i))q⁡(Z,i)\mathsf{CNOT}\quad{q(L,B_{3}^{T}(i))}\quad{q(Z,i)} end for
2 for i=1i=1 to n/2n/2 do   𝖢𝖭𝖮𝖳q⁡(X,i)q⁡(L,A2​(i))\mathsf{CNOT}\quad{q(X,i)}\quad{q(L,A_{2}(i))}   𝖢𝖭𝖮𝖳q⁡(R,A3T​(i))q⁡(Z,i)\mathsf{CNOT}\quad{q(R,A_{3}^{T}(i))}\quad{q(Z,i)} end for 6 for i=1i=1 to n/2n/2 do   𝖢𝖭𝖮𝖳q⁡(X,i)q⁡(L,A1​(i))\mathsf{CNOT}\quad{q(X,i)}\quad{q(L,A_{1}(i))}   𝖢𝖭𝖮𝖳q⁡(R,A2T​(i))q⁡(Z,i)\mathsf{CNOT}\quad{q(R,A_{2}^{T}(i))}\quad{q(Z,i)} end for
3 for i=1i=1 to n/2n/2 do   𝖢𝖭𝖮𝖳q⁡(X,i)q⁡(R,B2​(i))\mathsf{CNOT}\quad{q(X,i)}\quad{q(R,B_{2}(i))}   𝖢𝖭𝖮𝖳q⁡(L,B1T​(i))q⁡(Z,i)\mathsf{CNOT}\quad{q(L,B_{1}^{T}(i))}\quad{q(Z,i)} end for 7 for i=1i=1 to n/2n/2 do   𝖢𝖭𝖮𝖳q⁡(X,i)q⁡(L,A3​(i))\mathsf{CNOT}\quad{q(X,i)}\quad{q(L,A_{3}(i))}   𝖬𝖾𝖺𝗌𝖹q⁡(Z,i)\mathsf{MeasZ}\quad{q(Z,i)}   𝖨𝖽𝗅𝖾q⁡(R,i)\mathsf{Idle}\quad{q(R,i)} end for
4 for i=1i=1 to n/2n/2 do   𝖢𝖭𝖮𝖳q⁡(X,i)q⁡(R,B1​(i))\mathsf{CNOT}\quad{q(X,i)}\quad{q(R,B_{1}(i))}   𝖢𝖭𝖮𝖳q⁡(L,B2T​(i))q⁡(Z,i)\mathsf{CNOT}\quad{q(L,B_{2}^{T}(i))}\quad{q(Z,i)} end for 8 for i=1i=1 to n/2n/2 do   𝖬𝖾𝖺𝗌𝖷q⁡(X,i)\mathsf{MeasX}\quad{q(X,i)}   𝖨𝗇𝗂𝗍𝖹q⁡(Z,i)\mathsf{InitZ}\quad{q(Z,i)}   𝖨𝖽𝗅𝖾q⁡(L,i)\mathsf{Idle}\quad{q(L,i)}   𝖨𝖽𝗅𝖾q⁡(R,i)\mathsf{Idle}\quad{q(R,i)} end for
Table 5: Depth-8 syndrome measurement cycle circuit.

Below we describe a SC circuit with effectively Nr= 8N_{r}\,{=}\,8 rounds[Note 2]Note 2: The operator 𝖨𝗇𝗂𝗍𝖹q⁡(Z,i)\mathsf{InitZ}\quad{q(Z,i)} must be executed before the first application of this SC circuit, raising the depth of the first stage to 9. However, each following syndrome cycle takes Z-check initialization from the previous round. Last syndrome cycle needs not apply the Z-check state initialization. Total SM circuit depth with NcN_{c} syndrome cycles is thus 8​Nc+ 18N_{c}\,{+}\,1.. Ignoring single-qubit initialization and measurement operations, the SC circuit is a depth-7 𝖢𝖭𝖮𝖳\mathsf{CNOT} circuit. By designing the circuit for an explicit family of LDPC codes we are able to leverage the symmetries and reduce computational depth to 77 from what otherwise would be 14= 2⋅6+ 214\,{=}\,2{\cdot}6\,{+}\,2, as shown by previous authors [29, Theorem 1]. Our notations are as follows. We divide nn data qubits into the left and the right registers q⁡(L)q(L) and q⁡(R)q(R) of size n/2n/2 each. Each check operator acts on three data qubits from q⁡(L)q(L) and three data qubits from q⁡(R)q(R). The SM circuit uses 2​n2n physical qubits in total: nn data qubits and nn ancillary check qubits that record the syndrome of each check operator. Let q⁡(X)q(X) and q⁡(Z)q(Z) be the ancillary registers of size n/2n/2 that span XX-check and ZZ-check qubits respectively. Thus the physical qubits are partitioned into four registers, q⁡(X)q(X), q⁡(L)q(L), q⁡(R)q(R), and q⁡(Z)q(Z), of size n/2n/2 each. Label qubits in each register by integers i=1,2,…,n/2i=1,2,\ldots,n/2. We write q⁡(X,i)q(X,i) for the ii-th qubit of the register q⁡(X)q(X) with similar notations for q⁡(L)q(L), q⁡(R)q(R), and q⁡(Z)q(Z). Each permutation matrix ApA_{p} and BqB_{q} from Eq. (1) defines a one-to-one map from the set {1,2,…,n/2}\{1,2,\ldots,n/2\} onto itself.

We identify a permutation matrix and the corresponding one-to-one map. For example, we write j=A1​(i)j\,{=}\,A_{1}(i) if the matrix A1A_{1} has a one at row ii and column jj (this is well defined since A1A_{1} is a permutation matrix). Likewise, we write j=A1T​(i)j\,{=}\,A_{1}^{T}(i) if the transposed matrix A1TA_{1}^{T} has a one at the row ii and column jj. In this notation, the ii-th XX-check operator acts on data qubits q​(L,Ap​(i))q(L,A_{p}(i)) and q​(R,Bp​(i))q(R,B_{p}(i)) with p=1,2,3p=1,2,3. The ii-th ZZ-check operator acts on data qubits q⁡(L,BpT​(i))q(L,B_{p}^{T}(i)) and q⁡(R,ApT​(i))q(R,A_{p}^{T}(i)) with p=1,2,3p=1,2,3.

2308.07915v2/syndromecircuit.svg
Figure 5: Depth-8 syndrome measurement cycle circuit.

Our depth-8 SC circuit is described in Table 5 and illustrated in Figure 5. Note that within each round all operations act over non-overlapping sets of qubits. In particular, each round applies at most one layer of 𝖢𝖭𝖮𝖳\mathsf{CNOT} gates between q⁡(X)q(X) and q⁡(L)q(L) registers (Rounds 2, 6, and 7), at most one layer of 𝖢𝖭𝖮𝖳\mathsf{CNOT}s between q⁡(X)q(X) and q⁡(R)q(R) registers (Rounds 3, 4, and 5), at most one layer of 𝖢𝖭𝖮𝖳\mathsf{CNOT}s between q⁡(Z)q(Z) and q⁡(L)q(L) registers (Rounds 3, 4, and 5), and at most one layer of 𝖢𝖭𝖮𝖳\mathsf{CNOT}s between q⁡(Z)q(Z) and q⁡(R)q(R) registers (Rounds 1, 2, and 6). Qubits from q⁡(Z)q(Z) are always targets for 𝖢𝖭𝖮𝖳\mathsf{CNOT}s. Accordingly, XX-type errors propagate from data qubits to check qubits in q⁡(Z)q(Z). The latter are measured in the ZZ-basis in Round 7 revealing the syndrome of XX-type errors. Qubits from q⁡(X)q(X) are always controls for 𝖢𝖭𝖮𝖳\mathsf{CNOT}s. Accordingly, ZZ-type errors propagate from data qubits to check qubits in q⁡(X)q(X). The latter are measured in the XX-basis in Round 8 revealing the syndrome of ZZ-type errors. We envision that the syndrome cycles are repeated periodically. This justifies applying 𝖢𝖭𝖮𝖳\mathsf{CNOT}s to q⁡(Z)q(Z) at Round 1 even though q⁡(Z)q(Z) is initialized only at Round 8. Indeed, Round 8 of the previous syndrome cycle goes immediately before Round 1 of the current cycle. Thus q⁡(Z)q(Z) has been already initialized at the beginning of Round 1. We were not able to find a depth-8 (or smaller depth) syndrome cycle in which XX-check and ZZ-check qubits are initialized and measured synchronously.

Let us now prove that the above SC circuit has the desired functionality. Since the circuit involves only Clifford operations, its action can be compactly described using stabilizer tableau [56]. We track how the tableau changes as each layer of 𝖢𝖭𝖮𝖳\mathsf{CNOT}s in the circuit is applied. Since the 𝖢𝖭𝖮𝖳\mathsf{CNOT} gates do not mix Pauli XX and ZZ operators, one may consider tableau describing the action of the circuit on XX-type and ZZ-type Pauli operators separately.

Let us begin with XX-type Pauli. The corresponding tableau TT is a binary matrix of size n× 2​nn\,{\times}\,2n such that each row of TT defines an XX-type stabilizer of the underlying quantum state. We partition columns of TT into four blocks that represent qubit registers q⁡(X)q(X), q⁡(L)q(L), q⁡(R)q(R), and q⁡(Z)q(Z). We partition rows of TT into two blocks such that initially the top n/2n/2 rows represent weight-11 check operators on qubits of the register q⁡(X)q(X) initialized in the state |+⟩|+\rangle while the bottom n/2n/2 rows represent weight-66 check operators on data qubits associated with the chosen code 𝖰𝖢⁡(A,B)\mathsf{QC}(A,B). Thus, at the beginning of Round 1, when all check qubits in the register q⁡(X)q(X) have been initialized in the state |+⟩|+\rangle, while data qubits are in some logical state of the code 𝖰𝖢⁡(A,B)\mathsf{QC}(A,B), the binary matrix is

(I0000AB0).\begin{pmatrix}I&0&0&0\\ 0&A&B&0\end{pmatrix}.

Here I≡In/2I\,{\equiv}\,I_{n/2} is the identity matrix. The SC circuit (ignoring qubit initialization and measurements) enacts the transformation

(I0000AB0)→SC circuit(IAB00AB0).\begin{pmatrix}I&0&0&0\\ 0&A&B&0\end{pmatrix}\xrightarrow{\text{SC circuit}}\begin{pmatrix}I&A&B&0\\ 0&A&B&0\end{pmatrix}.

Indeed, the circuit must map a single-qubit XX stabilizer XjX_{j} on a check qubit j∈q⁡(X)j\,{\in}\,q(X) to a product of XjX_{j} and the jj-th XX-type check operator on the data qubits determined by the jj-th row of HX=[A|B]H^{X}=[A|B]. The eigenvalue measurement of XjX_{j} at the final round then reveals the syndrome of the jj-th check operator. The bottom n/2n/2 rows must be unchanged since the check operators of the code must be the same before and after the syndrome measurement.

Let us verify that the circuit defined in Table 5 enacts the desired transformation. To accomplish this, we rewrite the SC circuit by removing notations irrelevant to showing the correctness of XX-checks. Specifically, we write each 𝖢𝖭𝖮𝖳\mathsf{CNOT} in Table 5 as 𝖢𝖭𝖮𝖳M​(a,b)\mathsf{CNOT}_{M}(a,b), where a,b∈{1,2,3,4}={q⁡(X),q⁡(L),q⁡(R),q⁡(Z)}a,b\,{\in}\,\{1,2,3,4\}=\{q(X),q(L),q(R),q(Z)\}, and M∈{A1,A2,A3,B1,B2,B3}M\,{\in}\,\{A_{1},A_{2},A_{3},B_{1},B_{2},B_{3}\}. Note that the 𝖢𝖭𝖮𝖳\mathsf{CNOT} instructions where the matrix MTM^{T} is used instead of MM can be written using matrix MM by performing the variable renaming i←M⁡(i)i\,{\leftarrow}\,M(i) in the corresponding for loop in Table 5.

Using the above compact notation, the unitary part of the SC circuit becomes:

Round 1:𝖢𝖭𝖮𝖳A1​(3,4)Round 2:𝖢𝖭𝖮𝖳A2​(1,2),𝖢𝖭𝖮𝖳A3​(3,4)Round 3:𝖢𝖭𝖮𝖳B2​(1,3),𝖢𝖭𝖮𝖳B1​(2,4)Round 4:𝖢𝖭𝖮𝖳B1​(1,3),𝖢𝖭𝖮𝖳B2​(2,4)Round 5:𝖢𝖭𝖮𝖳B3​(1,3),𝖢𝖭𝖮𝖳B3​(2,4)Round 6:𝖢𝖭𝖮𝖳A1​(1,2),𝖢𝖭𝖮𝖳A2​(3,4)Round 7:𝖢𝖭𝖮𝖳A3​(1,2)\begin{array}[]{cc}\text{Round~1:}&\hfill\mathsf{CNOT}_{A_{1}}(3,4)\\ \text{Round~2:}&\mathsf{CNOT}_{A_{2}}(1,2),\mathsf{CNOT}_{A_{3}}(3,4)\\ \text{Round~3:}&\mathsf{CNOT}_{B_{2}}(1,3),\mathsf{CNOT}_{B_{1}}(2,4)\\ \text{Round~4:}&\mathsf{CNOT}_{B_{1}}(1,3),\mathsf{CNOT}_{B_{2}}(2,4)\\ \text{Round~5:}&\mathsf{CNOT}_{B_{3}}(1,3),\mathsf{CNOT}_{B_{3}}(2,4)\\ \text{Round~6:}&\mathsf{CNOT}_{A_{1}}(1,2),\mathsf{CNOT}_{A_{2}}(3,4)\\ \text{Round~7:}&\mathsf{CNOT}_{A_{3}}(1,2)\hfill\\ \end{array} (9)

In the following we apply all seven unitary rounds to verify the correctness of the performed transformation:

Round 1:(I0000AB0)→𝖢𝖭𝖮𝖳A1​(3,4)(I0000ABA1​B)\text{Round~1:}\begin{pmatrix}I&0&0&0\\ 0&A&B&0\end{pmatrix}\xrightarrow{\mathsf{CNOT}_{A_{1}}(3,4)}\begin{pmatrix}I&0&0&0\\ 0&A&B&A_{1}B\end{pmatrix}
Round 2:→𝖢𝖭𝖮𝖳A2​(1,2)(IA2000ABA1​B)→𝖢𝖭𝖮𝖳A3​(3,4)(IA2000AB(A1+A3)​B)\text{Round~2:}\xrightarrow{\mathsf{CNOT}_{A_{2}}(1,2)}\begin{pmatrix}I&A_{2}&0&0\\ 0&A&B&A_{1}B\end{pmatrix}\xrightarrow{\mathsf{CNOT}_{A_{3}}(3,4)}\begin{pmatrix}I&A_{2}&0&0\\ 0&A&B&(A_{1}{+}A_{3})B\\ \end{pmatrix}
Round 3:→𝖢𝖭𝖮𝖳B2​(1,3)(IA2B200AB(A1+A3)​B)→𝖢𝖭𝖮𝖳B1​(2,4)(IA2B2A2​B10AB(A1+A3)​B+A​B1)\text{Round~3:}\xrightarrow{\mathsf{CNOT}_{B_{2}}(1,3)}\begin{pmatrix}I&A_{2}&B_{2}&0\\ 0&A&B&(A_{1}{+}A_{3})B\end{pmatrix}\xrightarrow{\mathsf{CNOT}_{B_{1}}(2,4)}\begin{pmatrix}I&A_{2}&B_{2}&A_{2}B_{1}\\ 0&A&B&(A_{1}{+}A_{3})B+AB_{1}\\ \end{pmatrix}
Round 4:→𝖢𝖭𝖮𝖳B1​(1,3)(IA2B1+B2A2​B10AB(A1+A3)​B+A​B1)\text{Round~4:}\xrightarrow{\mathsf{CNOT}_{B_{1}}(1,3)}\begin{pmatrix}I&A_{2}&B_{1}{+}B_{2}&A_{2}B_{1}\\ 0&A&B&(A_{1}{+}A_{3})B+AB_{1}\\ \end{pmatrix}
→𝖢𝖭𝖮𝖳B2​(2,4)(IA2B1+B2A2​(B1+B2)0AB(A1+A3)​B+A⁡(B1+B2))=(IA2B1+B2A2​(B1+B2)0ABA2​B+A​B3)\xrightarrow{\mathsf{CNOT}_{B_{2}}(2,4)}\begin{pmatrix}I&A_{2}&B_{1}{+}B_{2}&A_{2}(B_{1}{+}B_{2})\\ 0&A&B&(A_{1}{+}A_{3})B+A(B_{1}{+}B_{2})\\ \end{pmatrix}=\begin{pmatrix}I&A_{2}&B_{1}{+}B_{2}&A_{2}(B_{1}{+}B_{2})\\ 0&A&B&A_{2}B+AB_{3}\\ \end{pmatrix}

Here, we use the identity (A1+A3)​B+A⁡(B1+B2)=A2​B+A​B3(A_{1}{+}A_{3})B+A(B_{1}{+}B_{2})=A_{2}B+AB_{3}, which holds since the sum of first summands and second summands on both sides of the equation gives A​BAB, and A​B+A​B= 0AB\,{+}\,AB\,{=}\,0.

Round 5:→𝖢𝖭𝖮𝖳B3​(1,3)(IA2BA2​(B1+B2)0ABA2​B+A​B3)→𝖢𝖭𝖮𝖳B3​(2,4)(IA2BA2​B0ABA2​B)\text{Round~5:}\xrightarrow{\mathsf{CNOT}_{B_{3}}(1,3)}\begin{pmatrix}I&A_{2}&B&A_{2}(B_{1}{+}B_{2})\\ 0&A&B&A_{2}B+AB_{3}\\ \end{pmatrix}\xrightarrow{\mathsf{CNOT}_{B_{3}}(2,4)}\begin{pmatrix}I&A_{2}&B&A_{2}B\\ 0&A&B&A_{2}B\\ \end{pmatrix}
Round 6:→𝖢𝖭𝖮𝖳A1​(1,2)(IA1+A2BA2​B0ABA2​B)→𝖢𝖭𝖮𝖳A2​(3,4)(IA1+A2B00AB0)\text{Round~6:}\xrightarrow{\mathsf{CNOT}_{A_{1}}(1,2)}\begin{pmatrix}I&A_{1}{+}A_{2}&B&A_{2}B\\ 0&A&B&A_{2}B\\ \end{pmatrix}\xrightarrow{\mathsf{CNOT}_{A_{2}}(3,4)}\begin{pmatrix}I&A_{1}{+}A_{2}&B&0\\ 0&A&B&0\\ \end{pmatrix}
Round 7:→𝖢𝖭𝖮𝖳A3​(1,2)(IAB00AB0).\text{Round~7:}\xrightarrow{\mathsf{CNOT}_{A_{3}}(1,2)}\begin{pmatrix}I&A&B&0\\ 0&A&B&0\\ \end{pmatrix}.

This is the desired transformation.

So far, we have not considered the action of the SC circuit on the logical qubits of the code. Let us show that this action is trivial. Indeed, consider some XX-type logical operator X⁡(v)X(v), where v∈𝔽2nv\,{\in}\,\mathbb{F}_{2}^{n}. Write v=(u,w)v\,{=}\,(u,w) where uu and ww are restrictions of vv onto the registers 2 and 3 respectively. Commutativity between X⁡(v)X(v) and any ZZ-type check operator implies

u​B+w​A=0.uB+wA=0.

Here we consider uu and ww as row vectors. Extending vv by zeroes on registers 1 and 4 gives the row vector (0​u​w​ 0)(0\;u\;w\;0), where 00 stands for the all-zero row vector of length n/2n/2. Let us follow the same chain of transformations as above starting from the initial vector (0​u​w​ 0)(0\;u\;w\;0). All 𝖢𝖭𝖮𝖳\mathsf{CNOT}s controlled by the register 1, such as 𝖢𝖭𝖮𝖳A2​(1,2)\mathsf{CNOT}_{A_{2}}(1,2) or 𝖢𝖭𝖮𝖳B2​(1,3)\mathsf{CNOT}_{B_{2}}(1,3) in Eq. (9), have trivial action on the vector (0​u​w​ 0)(0\;u\;w\;0) since all qubits of the control register are zeroes. Such 𝖢𝖭𝖮𝖳\mathsf{CNOT}s can be omitted. The remaining 𝖢𝖭𝖮𝖳\mathsf{CNOT}s in Eq. (9) such as 𝖢𝖭𝖮𝖳A1​(3,4)\mathsf{CNOT}_{A_{1}}(3,4) or 𝖢𝖭𝖮𝖳B1​(2,4)\mathsf{CNOT}_{B_{1}}(2,4) map the initial vector (0​u​w​ 0)(0\;u\;w\;0) to (0​u​w​t)(0\;u\;w\;t) for some vector tt since the registers 2 and 3 always serve as the controls and the register 4 always serves as the target. Rounds 1, 2, and 6 in Eq. (9) are equivalent to XORing vectors w​A1wA_{1}, w​A3wA_{3}, and w​A2wA_{2} respectively to the register 4. Rounds 3, 4, and 5 in Eq. (9) are equivalent to XORing vectors u​B1uB_{1}, u​B2uB_{2}, and u​B3uB_{3} respectively to the register 4. Thus

t=w⁡(A1+A2+A3)+u⁡(B1+B2+B3)=w​A+u​B=0.t=w(A_{1}{+}A_{2}{+}A_{3})+u(B_{1}{+}B_{2}{+}B_{3})=wA+uB=0.

We have shown that the SC circuit maps the vector (0​u​w​ 0)(0\;u\;w\;0) to itself. Hence the circuit acts trivially on logical XX-type operators.

To prove the correctness of ZZ-checks, observe that ZZ-checks can be mapped into XX-checks by conjugation with Hadamards. When the unitary circuit in Figure 5 is conjugated with Hadamards, this flips controls and targets of all 𝖢𝖭𝖮𝖳\mathsf{CNOT} gates. Thus, to verify ZZ-checks, it suffices to perform a very similar calculation to the one already shown for XX-checks. We omit this calculation here.

The SC circuit shown in Table 5 is not unique in the following sense: we found 935 depth-7 alternatives to the unitary part of the SC circuit via a computer search. These alternatives are obtained from the circuit defined in Eq. (9) by applying the gate layers 𝖢𝖭𝖮𝖳Ai\mathsf{CNOT}_{A_{i}} and 𝖢𝖭𝖮𝖳Bj\mathsf{CNOT}_{B_{j}} in a different order. In the special case of the [[144,12,12]][[144,12,12]] code, numerical simulations show that all 936 variants of the syndrome cycle give rise to syndrome measurement circuits with distance d𝖼𝗂𝗋𝖼≤10d_{\mathsf{circ}}\leq 10 explaining our focus on a specific circuit Eq. (9) which we conjecture to have distance d𝖼𝗂𝗋𝖼= 10d_{\mathsf{circ}}\,{=}\,10. The short depth of the single cycle, relying on only seven computational stages, helps to keep the spread of errors under control. Details of calculating upper bounds on the circuit-level distance are provided in Section 6.

6 Decoder for the circuit-based noise model

🧭 Dave's Plain-English Guide — Section 6 (Decoding Syndromes with BP-OSD)
  • Belief Propagation + Ordered Statistics Decoding (BP-OSD): How the classical control computer turns noisy syndrome bits into exact error corrections across all 12 encoded logical qubits.

So far we assumed that the SM circuit is noiseless. As shown in Section 5, in this case all measured syndromes are zero and the circuit implements the logical identity gate. Consider now what happens when each operation in the circuit including 𝖢𝖭𝖮𝖳\mathsf{CNOT} gates, qubit initializations, measurements, and idle qubits is subject to noise. To enable efficient decoding and numerical simulations, we use the standard circuit-based depolarizing noise model [22]. It assumes that each operation in the circuit is ideal or faulty with the probability 1−p1-p or pp respectively. Here pp is a model parameter called the error rate. Faults on different operations occur independently. We define faulty operations as follows. A faulty 𝖢𝖭𝖮𝖳\mathsf{CNOT} is an ideal 𝖢𝖭𝖮𝖳\mathsf{CNOT} followed by one of 1515 non-identity Pauli errors on the control and the target qubits picked uniformly at random. A faulty initialization prepares a single-qubit state orthogonal to the correct one. A faulty measurement is an ideal measurement followed by a classical bit-flip error applied to the measurement outcome. A faulty idle qubit suffers from a Pauli error XX or YY or ZZ picked uniformly at random.

To perform error correction one needs a decoder — a classical algorithm that takes as input the measured error syndrome and outputs a guess of the final Pauli error on the data qubits resulting from all faults in the SM circuit. The error syndrome may itself be faulty due to measurement errors. The decoder succeeds if the guessed Pauli error coincides with the actual error up to a product of check operators. In this case the guessed and the actual error have the same action on any logical state.

Let us show how to adapt Belief Propagation with an Ordered Statistics postprocessing step Decoder (BP-OSD) proposed in [36, 51] to the circuit-based noise model. The decoder consists of two stages. The first stage takes as input a BB code 𝖰𝖢⁡(A,B)\mathsf{QC}(A,B) equipped with a SM circuit 𝒰{\cal U} and an error rate pp. It outputs a certain linearized noise model that ignores possible cancellations between errors generated by two or more faulty operations in 𝒰{\cal U}. This stage is analogous to computing the decoding graph in error correction algorithms based on the surface code [57, 58]. The second (online) stage of the decoder takes as input an error syndrome measured in the experiment and outputs a guess of the final error on the data qubits. This stage decodes the linearized noise model using BP-OSD method [36, 51]. Our linearized noise model is conceptually similar to spacetime codes studied by Delfosse and Paetznick [47] and detector-based noise model proposed by McEwen, Bacon, and Gidney [48]. The online stage of our decoder closely follows Refs. [49, 50]. In particular, Gehér, Crawford, and Campbell [50] applied BP-OSD to study tangled syndrome measurement circuits capable of measuring certain non-local check operators on a hardware with short-range qubit connectivity. Higgott et al [49] showed that the performance of the standard minimum-weight matching decoder can be enhanced by computing prior error probabilities using BP-decoder as a preprocessing step.

We begin by describing the offline stage. Consider a BB code with parameters [[n,k,d]][[n,k,d]] and let 𝒰{\cal U} be the SM circuit constructed in Section 5 with NcN_{c} syndrome cycles. The circuit 𝒰{\cal U} contains 6​n​Nc6nN_{c} 𝖢𝖭𝖮𝖳\mathsf{CNOT}s, n​NcnN_{c} initializations and measurements, and 2​n​Nc2nN_{c} idle qubit locations. Let 𝒰1,𝒰2,…,𝒰M{\cal U}_{1},{\cal U}_{2},\ldots,{\cal U}_{M} be the list of all possible faulty realizations of 𝒰{\cal U} with exactly one faulty operation. If the faulty operation happens to be 𝖢𝖭𝖮𝖳\mathsf{CNOT} or an idle qubit, one of the admissible Pauli errors for this operation is specified. A simple counting shows that M=98​n​NcM=98nN_{c}, where 98=15⋅6+1+1+3⋅298=15\cdot 6+1+1+3\cdot 2 accounts for 1515 noisy realizations of each 𝖢𝖭𝖮𝖳\mathsf{CNOT}, 33 realizations of memory errors on idle qubits, noisy initializations and measurements. By definition, the list 𝒰1,𝒰2,…,𝒰M{\cal U}_{1},{\cal U}_{2},\ldots,{\cal U}_{M} includes all realizations of 𝒰{\cal U} that can occur with the probability O⁡(p)O(p) in the limit p→0p\to 0. We simulate each circuit 𝒰j{\cal U}_{j} by propagating the chosen Pauli error towards the final time step taking into account qubit initialization and measurement errors (if any). This simulation can be performed efficiently using the stabilizer formalism. Let sjU∈{0,1}n​Ncs_{j}^{U}\in\{0,1\}^{nN_{c}} be the full measured syndrome of 𝒰j{\cal U}_{j} and EjE_{j} be the final nn-qubit Pauli error on the data qubits generated by 𝒰j{\cal U}_{j}. Let sjF∈{0,1}ns_{j}^{F}\in\{0,1\}^{n} be the syndrome of the final error EjE_{j}. In other words, if we write Ej=X⁡(αj)​Z​(βj)E_{j}=X(\alpha_{j})Z(\beta_{j}) for some vectors αj,βj∈{0,1}n\alpha_{j},\beta_{j}\in\{0,1\}^{n}, then

sjF=[HZ​αjHX​βj].s_{j}^{F}=\left[\begin{array}[]{c}H^{Z}\alpha_{j}\\ H^{X}\beta_{j}\\ \end{array}\right].

Here HXH^{X} and HZH^{Z} are the check matrices of the chosen code. Finally, let sjL∈{0,1}2​ks_{j}^{L}\in\{0,1\}^{2k} be a logical syndrome of the final error EjE_{j} defined as follows. Fix some basis set of logical Pauli operators P¯1,P¯2,…,P¯2​k\overline{P}_{1},\overline{P}_{2},\ldots,\overline{P}_{2k} for the chosen code. For example, P¯1,P¯2,…,P¯k\overline{P}_{1},\overline{P}_{2},\ldots,\overline{P}_{k} could be logical XX-type operators and P¯k+1,P¯k+2,…,P¯2​k\overline{P}_{k+1},\overline{P}_{k+2},\ldots,\overline{P}_{2k} could be logical ZZ-type operators. The ii-th bit of sjLs^{L}_{j} is defined as

(sjL)i={1ifEj​P¯i=−P¯i​Ej,0ifEj​P¯i=P¯i​Ej,(s_{j}^{L})_{i}=\left\{\begin{array}[]{rcl}1&\mbox{if}&E_{j}\overline{P}_{i}=-\overline{P}_{i}E_{j},\\ 0&\mbox{if}&E_{j}\overline{P}_{i}=\overline{P}_{i}E_{j},\\ \end{array}\right.

for i=1,…,2​ki=1,\ldots,2k. Note that the pair of syndromes sjF,sjLs_{j}^{F},s_{j}^{L} uniquely determines the final error EjE_{j} modulo check operators. Define a pair of decoding matrices DD and DLD^{L} of size (n​Nc+n)×M(nN_{c}+n)\times M and 2​k×M2k\times M respectively such that the jj-th column of DD is

[sjUsjF]\left[\begin{array}[]{c}s^{U}_{j}\\ s^{F}_{j}\\ \end{array}\right]

and the jj-th column of DLD^{L} is sjLs^{L}_{j}. Let pjp_{j} be the probability of a Pauli error that occurred in the circuit 𝒰j{\cal U}_{j}. We have pj=p/15p_{j}=p/15 if 𝒰j{\cal U}_{j} contains a faulty 𝖢𝖭𝖮𝖳\mathsf{CNOT}, pj=p/3p_{j}=p/3 if 𝒰j{\cal U}_{j} contains a faulty idle qubit, and pj=pp_{j}=p if 𝒰j{\cal U}_{j} contains a faulty qubit initialization or measurement. Suppose I⊆{1,2,…,M}I\subseteq\{1,2,\ldots,M\} is a subset of columns of DD such that triples of syndromes (sjU,sjF,sjL)(s^{U}_{j},s^{F}_{j},s^{L}_{j}) are the same for all j∈Ij\in I. We merge all columns in II to a single column and assign the value ∑j∈Ipj\sum_{j\in I}p_{j} to the bit-flip error probability associated with the merged column. Let MM be the number of columns of DD after the merging step and p1,p2,…,pMp_{1},p_{2},\ldots,p_{M} be the respective error probabilities.

Next, the decoding matrix DD is converted to a sparse form. To this end consider a faulty circuit 𝒰j{\cal U}_{j} and a sequence of syndromes measured by 𝒰j{\cal U}_{j} on some check operator. Let this sequence be m=(m1,m2,…,mNc)∈{0,1}Ncm=(m_{1},m_{2},\ldots,m_{N_{c}})\in\{0,1\}^{N_{c}}. Since 𝒰j{\cal U}_{j} contains a single fault, the sequence mm has only a few locations where the measured syndromes differ at two consecutive cycles. For example, if 𝒰j{\cal U}_{j} contains a Pauli error on some idle data qubit between two syndrome cycles, the mm-sequence may look as (0,0,…,0,1,1,…,1)(0,0,\ldots,0,1,1,\ldots,1). Such sequence can be made sparse if we represent it by a binary vector

m′=(m1,m2⊕m1,m3⊕m2,…,mNc⊕mNc−1)∈{0,1}Nc.m^{\prime}=(m_{1},m_{2}\oplus m_{1},m_{3}\oplus m_{2},\ldots,m_{N_{c}}\oplus m_{N_{c}-1})\in\{0,1\}^{N_{c}}.

In other words, m′m^{\prime} stores changes in the measured syndrome at a given check operators at each cycle. We convert the matrix DD to a sparse form by applying the map m→m′m\to m^{\prime} to the syndromes measured by each check operator for each faulty circuit 𝒰j{\cal U}_{j}.

Let ξ1,ξ2,…,ξM∈{0,1}\xi_{1},\xi_{2},\ldots,\xi_{M}\in\{0,1\} be independent random variables such that ξj\xi_{j} takes values 00 and 11 with the probability 1−pj1-p_{j} and pjp_{j} respectively. Define a linearized noise model that outputs a random triple (sU,sF,E)(s^{U},s^{F},E), where

E=∏j=1M(Ej)ξjE=\prod_{j=1}^{M}(E_{j})^{\xi_{j}}

is an nn-qubit Pauli error and

[sUsF]=∑j=1Mξj​[sjUsjF](mod2)\left[\begin{array}[]{c}s^{U}\\ s^{F}\\ \end{array}\right]=\sum_{j=1}^{M}\xi_{j}\left[\begin{array}[]{c}s^{U}_{j}\\ s^{F}_{j}\\ \end{array}\right]{\pmod{2}}

is a binary vector that represents the error syndrome. The linearized model is a simplified version of the circuit-based noise that ignores possible cancellations among errors generated by two or more faulty operations in 𝒰{\cal U}. Note that such errors occur with the probability only O⁡(p2)O(p^{2}). The decoder attempts to guess the final error EE acting on the data qubits based on the syndrome sUs^{U} measured in the experiment making a simplifying assumption that that the pair (sU,E)(s^{U},E) was generated using the linearized noise model. We additionally assume that the decoder knows the syndrome sFs^{F} of the final error EE. This syndrome can be acquired by adding one noiseless cycle at the end of the syndrome measurement circuit, which is a common practice in numerical simulations of error correction. By definition, we have

D​ξ=[sUsF].D\xi=\left[\begin{array}[]{c}s^{U}\\ s^{F}\\ \end{array}\right].

Here ξ=(ξ1,ξ2,…,ξM)\xi=(\xi_{1},\xi_{2},\ldots,\xi_{M}) is a column vector and matrix-vector multiplication is modulo two. Define a minimum weight error ξ∗=ξ∗​(s)∈{0,1}M\xi^{*}=\xi^{*}(s)\in\{0,1\}^{M} as a solution of an optimization problem

ξ∗=arg⁡min⁡∑j=1Mξ∈{0,1}M⁡log⁡(1/pj)​ξjsubject toD​ξ=[sUsF].\xi^{*}=\arg\min_{\xi\in\{0,1\}^{M}}\;\sum_{j=1}^{M}\log{(1/p_{j})}\xi_{j}\quad\mbox{subject to}\quad D\xi=\left[\begin{array}[]{c}s^{U}\\ s^{F}\\ \end{array}\right]. (10)

This problem is equivalent to the minimum weight decoding for a length-MM linear code with the check matrix DD, bit-flip error probabilities p1,p2,…,pMp_{1},p_{2},\ldots,p_{M}, and noiseless syndromes. Our guess of the unknown logical syndrome is

sL=DL​ξ∗.s^{L}=D^{L}\xi^{*}.

Let E∗E^{*} be any nn-qubit Pauli operator with the syndrome sFs^{F} and the logical syndrome sLs^{L}. Note that E∗E^{*} is defined uniquely modulo multiplication by check operators. The Pauli E∗E^{*} is our guess of the final error on the data qubits. Let EE be the actual final error on the data qubits generated by a noisy realization of 𝒰{\cal U} without making any simplifications of the noise model. By definition, Pauli operators EE and E∗E^{*} have the same syndrome but they may differ by a logical Pauli operator. We declare a logical error if EE and E∗E^{*} differ by any non-identity logical operator (there are 4k−14^{k}-1 choices of this logical operator). Otherwise the decoding is deemed successful.

It remains to explain how to solve the optimization problem Eq. (10). Since the minimum weight decoding for a linear code is known to be NP-hard problem [59], finding the exact solution of Eq. (10) might be practically impossible for problem instances with several thousand variables that we have to deal with. Furthermore, estimation of the logical error probability pLp_{L} by the Monte Carlo method requires solving O⁡(1/pL)O(1/p_{L}) instances of the problem Eq. (10). This number can be quite large since pLp_{L} is a small parameter. To address these challenges, we employ the BP-OSD algorithm [36, 51]. Recall that belief propagation (BP) is a heuristic message passing algorithm aimed at computing single-bit marginals of a probability distribution

P⁡(ξ|σ)={1𝒵​∏j=1M(1−pj)1−ξj​pjξjifD​ξ=σ,0otherwise.P(\xi|\sigma)=\left\{\begin{array}[]{rcl}\frac{1}{{\cal Z}}\prod_{j=1}^{M}(1-p_{j})^{1-\xi_{j}}p_{j}^{\xi_{j}}&\mbox{if}&D\xi=\sigma,\\ 0&&\mbox{otherwise}.\\ \end{array}\right.

Here ξ∈{0,1}M\xi\in\{0,1\}^{M} and 𝒵{\cal Z} is a normalization factor chosen such that ∑ξ∈{0,1}MP⁡(ξ|σ)=1\sum_{\xi\in\{0,1\}^{M}}P(\xi|\sigma)=1. In our case ξ\xi represents an unknown error in the linearized noise model, DD is the decoding matrix constructed above, and σ=[sUsF]\sigma=\left[\begin{array}[]{c}s^{U}\\ s^{F}\\ \end{array}\right] is the measured error syndrome. Let qj∈[0,1]q_{j}\in[0,1] be an estimate of the marginal probability Pr[ξj=1]\mathrm{Pr}[\xi_{j}=1] obtained by the belief propagation method with some fixed number of message passing iterations. The ordered statistics post-processing step examines information sets which are subsets of bits I⊆[M]I\subseteq[M] such that the linear system D​ξ=σD\xi=\sigma has a unique solution ξ\xi supported on II, that is, ξj=0\xi_{j}=0 for all j∉Ij\notin I. Information sets are ranked according to their reliability which is defined as

ρ⁡(I)=∏j∈Imax⁡(qj,1−qj).\rho(I)=\prod_{j\in I}\max{(q_{j},1-q_{j})}.

BP-OSD finds an information set II with the largest reliability using a greedy algorithm [36]. The final output of BP-OSD is a solution of the system D​ξ=σD\xi=\sigma supported on the most reliable information set II. We replace the minimum weight error ξ∗\xi^{*} in Eq. (10) by the solution ξ\xi proposed by BP-OSD.

Since BB LDPC codes are of CSS-type, it is natural to decode XX-type and ZZ-type errors independently. Accordingly, we solve the minimum weight decoding problem Eq. (10) twice with a pair of decoding matrices DXD_{X} and DZD_{Z} constructed as above but including only the syndromes of XX-type and ZZ-type check operators respectively. This results in guessed XX-type and ZZ-type errors EX∗E^{*}_{X} and EZ∗E^{*}_{Z}. The guessed final error is E∗=EX∗​EZ∗E^{*}=E^{*}_{X}E^{*}_{Z}. We empirically observed that the resulting decoding matrices DXD_{X} and DZD_{Z} are (6,35)(6,35)-sparse for any BB code, meaning that there are at most 66 nonzeros in each column and at most 3535 nonzeros in each row of DXD_{X} and DZD_{Z}. The number of columns scales as O⁡(n​Nc)O(nN_{c}) where the constant coefficient depends on a particular code. For example, decoding matrices DXD_{X} and DZD_{Z} describing the code [[144,12,12]][[144,12,12]] with Nc=12N_{c}=12 syndrome cycles have 88578857 and 87858785 columns respectively.

We also employed BP-OSD to compute an upper bound on the code distance dd. Consider a CSS-type LDPC code [[n,k,d]][[n,k,d]] with check matrices HXH^{X} and HZH^{Z}. Assume for simplicity that this code has the same distance for XX- and ZZ-type errors (this assumption is satisfied for BB LDPC codes due to Lemma 1). Suppose Z⁡(ξ)Z(\xi) is a minimum weight logical ZZ-type operator. Then ξ∈𝗄𝖾𝗋⁡(HX)\xi\in\mathsf{ker}{(H^{X})} and ξ∉𝗋𝗌⁡(HZ)\xi\notin\mathsf{rs}{(H^{Z})} . Let X⁡(η)X(\eta) be any logical XX-type operator. Here η∈𝗄𝖾𝗋⁡(HZ)∖𝗋𝗌⁡(HX)\eta\in\mathsf{ker}{(H^{Z})}\setminus\mathsf{rs}{(H^{X})}. Consider the following optimization problem:

d⁡(η)=min⁡∑j=1nξ∈𝗄𝖾𝗋⁡(HX)⁡ξjsubject toηT​ξ=1.d(\eta)=\min_{\xi\in\mathsf{ker}{(H^{X})}}\;\sum_{j=1}^{n}\xi_{j}\quad\mbox{subject to}\quad\eta^{T}\xi=1. (11)

Then d⁡(η)≥dd(\eta)\geq d for any logical operator X⁡(η)X(\eta) and d⁡(η)=dd(\eta)=d if X⁡(η)X(\eta) anti-commutes with some minimum-weight logical operator Z⁡(ξ)Z(\xi). The latter event occurs with the probability 1/21/2 if one picks η∈𝗄𝖾𝗋⁡(HZ)\eta\in\mathsf{ker}{(H^{Z})} uniformly at random. In this case d⁡(η)=dd(\eta)=d with the probability at least 1/21/2 and d⁡(η)≥dd(\eta)\geq d with certainty. Let d𝖡𝖯​(η)d^{\mathsf{BP}}(\eta) be an upper bound on d⁡(η)d(\eta) obtained by solving the optimization problem Eq. (11) using BP-OSD method with a parity check matrix [HXηT]\left[\begin{array}[]{cc}H^{X}\\ \eta^{T}\\ \end{array}\right] and a syndrome (0,0,…,0,1)T(0,0,\ldots,0,1)^{T}. We have d𝖡𝖯​(η)≥dd^{\mathsf{BP}}(\eta)\geq d with certainty and d𝖡𝖯​(η)=dd^{\mathsf{BP}}(\eta)=d with the probability 1/21/2 whenever BP-OSD finds the optimal solution. Choose the number trials T≫1T\gg 1 and pick vectors η1,η2,…,ηT∈𝗄𝖾𝗋⁡(HZ)∖𝗋𝗌⁡(HX)\eta^{1},\eta^{2},\ldots,\eta^{T}\in\mathsf{ker}{(H^{Z})}\setminus\mathsf{rs}{(H^{X})} uniformly at random. Then

d𝖡𝖯:=mina=1,2,…,T⁡d𝖡𝖯​(ηa)d^{\mathsf{BP}}:=\min_{a=1,2,\ldots,T}d^{\mathsf{BP}}(\eta^{a})

is an upper bound on the distance dd that can be systematically improved by increasing the number of trials TT.

Using the quantity d𝖡𝖯d^{\mathsf{BP}} as an efficiently computable proxy for the code distance enabled us to search over a large number of candidate BB codes with n=O⁡(100)n=O(100) qubits. The vast majority of these candidates was discarded due to an insufficiently large upper bound d𝖡𝖯d^{\mathsf{BP}}. This left only a few viable candidates with a sufficiently large value of d𝖡𝖯d^{\mathsf{BP}}. The actual distance of each candidate code was computed using the integer linear programming method [55].

We similarly computed an upper bound on the circuit-level distance d𝖼𝗂𝗋𝖼d_{\mathsf{circ}}. Since the SM circuit can break the symmetry between XX- and ZZ-type errors, the circuit-level distance has to be computed for both types of errors. For concreteness, let us discuss the circuit-level distance d𝖼𝗂𝗋𝖼Zd_{\mathsf{circ}}^{Z} for ZZ-type errors. The latter is defined as the minimum number of faulty operations in the SM circuit that can generate an undetectable ZZ-type logical error. The optimization problem Eq. (11) is replaced by

d𝖼𝗂𝗋𝖼Z​(η)=min⁡∑j=1Mξ∈𝗄𝖾𝗋⁡(DX)⁡ξjsubject toηT​ξ=1,d_{\mathsf{circ}}^{Z}(\eta)=\min_{\xi\in\mathsf{ker}{(D_{X})}}\;\sum_{j=1}^{M}\xi_{j}\quad\mbox{subject to}\quad\eta^{T}\xi=1, (12)

where DXD_{X} is the decoding matrix constructed above and η∈{0,1}M\eta\in\{0,1\}^{M} is a random linear combination of rows of DXD_{X} and rows of DLD_{L} that represent logical XX-type operators. Then d𝖼𝗂𝗋𝖼​(η)≥d𝖼𝗂𝗋𝖼Zd_{\mathsf{circ}}(\eta)\geq d_{\mathsf{circ}}^{Z} with certainty and d𝖼𝗂𝗋𝖼​(η)=d𝖼𝗂𝗋𝖼Zd_{\mathsf{circ}}(\eta)=d_{\mathsf{circ}}^{Z} with the probability at least 1/21/2. Solving the optimization problem Eq. (12) using BP-OSD method for many random choices of the vector η\eta and taking the minimum value of d𝖼𝗂𝗋𝖼Z​(η)d_{\mathsf{circ}}^{Z}(\eta) provides an upper bound on d𝖼𝗂𝗋𝖼Zd_{\mathsf{circ}}^{Z}. One can similarly compute an upper bound on the circuit-level distance d𝖼𝗂𝗋𝖼Xd_{\mathsf{circ}}^{X} for XX-type errors. This provides an upper bound on d𝖼𝗂𝗋𝖼=min⁡(d𝖼𝗂𝗋𝖼X,d𝖼𝗂𝗋𝖼Z)d_{\mathsf{circ}}=\min{(d_{\mathsf{circ}}^{X},d_{\mathsf{circ}}^{Z})}.

7 Proof of Lemma 1

For convenience of the reader we restate the lemma below.

Lemma 1.

The code 𝖰𝖢⁡(A,B)\mathsf{QC}(A,B) has parameters [[n,k,d]][[n,k,d]], where

n=2ℓm,k=2⋅dim(𝗄𝖾𝗋(A)∩𝗄𝖾𝗋(B)),andd=min{|v|:v∈𝗄𝖾𝗋(HX)∖𝗋𝗌(HZ)}.n=2\ell m,\quad k=2\cdot\mathrm{dim}\left(\mathsf{ker}{(A)}\cap\mathsf{ker}{(B)}\right),\quad\mbox{and}\quad d=\min\bigl\{|v|{:}\,\,v\in\mathsf{ker}{(H^{X})}{\setminus}\mathsf{rs}{(H^{Z})}\bigr\}.

The code offers equal distance for XX-type and ZZ-type errors.

Proof.

It is known [44, 45] that

k=n−𝗋𝗄⁡(HX)−𝗋𝗄⁡(HZ).k=n-\mathsf{rk}{(H^{X})}-\mathsf{rk}{(H^{Z})}.

We claim that 𝗋𝗄⁡(HX)=𝗋𝗄⁡(HZ)\mathsf{rk}{(H^{X})}\,{=}\,\mathsf{rk}{(H^{Z})}. Indeed, define a self-inverse permutation matrix CℓC_{\ell} of size ℓ×ℓ\ell\,{\times}\,\ell such that the ii-th column of CℓC_{\ell} has a single nonzero entry equal to one at the row j=−i(modℓ)j=-i{\pmod{\ell}}. Define CmC_{m} similarly and let C=Cℓ⊗CmC=C_{\ell}\otimes C_{m}. Since Cℓ​Sℓ​Cℓ=SℓTC_{\ell}S_{\ell}C_{\ell}=S_{\ell}^{T} and Cm​Sm​Cm=SmTC_{m}S_{m}C_{m}=S_{m}^{T}, one gets

AT=C​A​CandBT=C​B​C.A^{T}=CAC\quad\mbox{and}\quad B^{T}=CBC. (13)

Therefore one can write

HZ=[BT|AT]=[C​B​C|C​A​C]=C⁡[A|B]​[0CC0]=C​HX​[0CC0].H^{Z}=[B^{T}|A^{T}]=[CBC|CAC]=C[A|B]\left[\begin{array}[]{cc}0&C\\ C&0\\ \end{array}\right]=CH^{X}\left[\begin{array}[]{cc}0&C\\ C&0\\ \end{array}\right].

Thus HZH^{Z} is obtained from HXH^{X} by multiplying on the left and on the right by invertible matrices. This implies 𝗋𝗄⁡(HX)=𝗋𝗄⁡(HZ)\mathsf{rk}{(H^{X})}=\mathsf{rk}{(H^{Z})}. Therefore

k\displaystyle k =n−2⋅𝗋𝗄⁡(HZ)=n−2​(n2−dim(𝗄𝖾𝗋⁡((HZ)T))))=n−2​(n2−dim(𝗄𝖾𝗋⁡(A)∩𝗄𝖾𝗋⁡(B)))\displaystyle=n-2{\cdot}\mathsf{rk}{(H^{Z})}=n-2{\left(\frac{n}{2}-\dim{(\mathsf{ker}{((H^{Z})^{T}))})}\right)}=n-2{\left(\frac{n}{2}-\dim{(\mathsf{ker}{(A)}\cap\mathsf{ker}{(B)})}\right)}
=2⋅dim⁡(𝗄𝖾𝗋⁡(A)∩𝗄𝖾𝗋⁡(B)).\displaystyle=2\cdot\mathrm{dim}\left(\mathsf{ker}{(A)}\cap\mathsf{ker}{(B)}\right).

Here we noted that HZH^{Z} has size (n/2)×n(n/2)\,{\times}\,n and 𝗄𝖾𝗋⁡((HZ)T))=𝗄𝖾𝗋⁡(A)∩𝗄𝖾𝗋⁡(B)\mathsf{ker}{((H^{Z})^{T}))}=\mathsf{ker}{(A)}\cap\mathsf{ker}{(B)} since HZ=[BT|AT]H^{Z}=[B^{T}|A^{T}].

It is known [44, 45] that a CSS code with check matrices HXH^{X} and HZH^{Z} has distance d=min⁡(dX,dZ)d\,{=}\,\min{(d^{X},d^{Z})}, where dXd^{X} and dZd^{Z} are the code distances for XX-type and ZZ-type errors defined as

dX=min⁡{|v|:v∈𝗄𝖾𝗋⁡(HZ)∖𝗋𝗌⁡(HX)}anddZ=min⁡{|v|:v∈𝗄𝖾𝗋⁡(HX)∖𝗋𝗌⁡(HZ)}.d^{X}=\min\bigl\{|v|{:}\,\,v\in\mathsf{ker}{(H^{Z})}{\setminus}\mathsf{rs}{(H^{X})}\bigr\}\quad\mbox{and}\quad d^{Z}=\min\bigl\{|v|{:}\,\,v\in\mathsf{ker}{(H^{X})}{\setminus}\mathsf{rs}{(H^{Z})}\bigr\}.

We claim that dZ≤dXd^{Z}\,{\leq}\,d^{X}. Indeed, let X⁡(f)=∏j=1nXjfjX(f)\,{=}\,\prod_{j=1}^{n}X_{j}^{f_{j}} be a minimum weight logical XX-type Pauli operator such that |f|=dX|f|\,{=}\,d^{X}. Then HZ​f= 0H^{Z}f\,{=}\,0 and f∉𝗋𝗌⁡(HX)f\,{\notin}\,\mathsf{rs}{(H^{X})}. Thus there exists a logical ZZ-type operator Z⁡(g)=∏j=1nZjgjZ(g)\,{=}\,\prod_{j=1}^{n}Z_{j}^{g_{j}} anti-commuting with X⁡(f)X(f). In other words, HX​g= 0H^{X}g\,{=}\,0 and fT​g= 1f^{T}g\,{=}\,1. Here, ff and gg are length-nn binary vectors. Write f=(α,β)f\,{=}\,(\alpha,\beta) and g=(γ,δ)g\,{=}\,(\gamma,\delta), where α,β,γ,δ\alpha,\beta,\gamma,\delta are length-(n/2)(n/2) vectors. Conditions HZ​f=0H^{Z}f=0 and HX​g=0H^{X}g=0 are equivalent to

BT​α=AT​βandA​γ=B​δ.B^{T}\alpha=A^{T}\beta\quad\mbox{and}\quad A\gamma=B\delta. (14)

Here and below all arithmetics is modulo two. Define length-nn vectors

e=(C​δ,C​γ)andh=(C​β,C​α).e=(C\delta,C\gamma)\quad\mbox{and}\quad h=(C\beta,C\alpha). (15)

From Eqs. (13,14) one gets

HX​h=[A|B]​[C​βC​α]=A​C​β+B​C​α=C⁡(AT​β+BT​α)=0.H^{X}h=[A|B]\left[\begin{array}[]{c}C\beta\\ C\alpha\\ \end{array}\right]=AC\beta+BC\alpha=C(A^{T}\beta+B^{T}\alpha)=0.

Likewise,

HZ​e=[BT|AT]​[C​δC​γ]=BT​C​δ+AT​C​γ=C⁡(B​δ+A​γ)=0.H^{Z}e=[B^{T}|A^{T}]\left[\begin{array}[]{c}C\delta\\ C\gamma\\ \end{array}\right]=B^{T}C\delta+A^{T}C\gamma=C(B\delta+A\gamma)=0.

Furthermore,

hT​e=βT​C​C​δ+αT​C​C​γ=βT​δ+αT​γ=fT​g=1.h^{T}e=\beta^{T}CC\delta+\alpha^{T}CC\gamma=\beta^{T}\delta+\alpha^{T}\gamma=f^{T}g=1.

Thus X⁡(e)X(e) and Z⁡(h)Z(h) are non-identity logical operators. It follows that dZ≤|h|d^{Z}\leq|h|. We get

dZ≤|h|=|C​β|+|C​α|=|β|+|α|=|f|=dX.d^{Z}\leq|h|=|C\beta|+|C\alpha|=|\beta|+|\alpha|=|f|=d^{X}.

Thus dZ≤dXd^{Z}\leq d^{X}. Similar argument shows that dX≤dZd^{X}\leq d^{Z}, that is, dX=dZd^{X}=d^{Z}. ∎

We note that the equality dX=dZd^{X}=d^{Z} can also be established using the machinery of Ref. [54] by viewing 𝖰𝖢⁡(A,B)\mathsf{QC}(A,B) as a Lifted Product code.

8 Numerical simulation details

Data reported in Figure 2 A) was generated using BP-OSD software developed by Roffe et al. [51, 60]. The decoder was extended to the circuit-based noise model as described in Section 6. The simulations were performed using MIN-SUM belief propagation with the limit of 10,00010,000 iterations and combination sweep version of OSD, as described in [51]. All data points except for those with the smallest error rate accumulated at least 100 logical errors to estimate the logical error rate pLp_{L} with the error bars ≈pL/10\approx p_{L}/10. The fitting formula pL​(p)=pd𝖼𝗂𝗋𝖼/2​ec0+c1​p+c2​p2p_{L}(p)=p^{d_{\mathsf{circ}}/2}e^{c_{0}+c_{1}p+c_{2}p^{2}} with fitting parameters c0,c1,c2c_{0},c_{1},c_{2} was proposed in [61] in the context of surface code simulations. We observed that the same fitting formula works well for BB LDPC codes. The fitting parameters cic_{i} of the considered codes are provided in Table 6. We note that the logical error rate achieved by the combination of a distance-preserving SM circuit and an optimal decoder is expected to follow an exponential decay pL(p)=exp[−d⋅f(p)]p_{L}(p)=\exp[-d\cdot f(p)], where f⁡(p)f(p) is an unknown function such that f⁡(p)> 0f(p)\,{>}\,0 in the sub-threshold regime. The function f⁡(p)f(p) must have a logarithmic singularity f⁡(p)≈−(1/2)​log⁡pf(p)\approx-(1/2)\log{p} for small pp since one expects degree-(d/2)(d/2) error suppression for a distance-dd code. The fitting formula for pL​(p)p_{L}(p) approximates the remaining non-singular terms in f⁡(p)f(p) by a low-degree polynomial in pp. Coefficients of the polynomial are considered as fitting parameters. Since our SM circuit is not distance-preserving, the code distance dd in the fitting formula of Ref. [61] is replaced by the circuit-level distance d𝖼𝗂𝗋𝖼d_{\mathsf{circ}}.

Surface code data reported in Figure 2 B) was generated using software developed by one of the authors and Alexander Vargo in [61]. The simulation was performed for the rotated surface code with parameters [[d2,1,d]][[d^{2},1,d]], where d∈{9,11,13,15}d\in\{9,11,13,15\}, and the standard SM circuit [22]. Let PL,1P_{L,1} be the logical error probability for the surface code encoding one logical qubit and SM circuit with Nc=dN_{c}=d syndrome cycles. Encoding k=12k=12 logical qubits into 1212 separate patches of the surface code results in a logical error probability

PL,12=1−(1−PL,1)12.P_{L,12}=1-(1-P_{L,1})^{12}.

Figure 2 B) shows the logical error rate pLp_{L} defined as the logical error probability per syndrome cycle,

pL=1−(1−PL,12)1/Nc=1−(1−PL,1)12/d.p_{L}=1-(1-P_{L,12})^{1/N_{c}}=1-(1-P_{L,1})^{12/d}.
[[n,k,d]][[n,k,d]] c0c_{0} c1c_{1} c2c_{2}
[[72,12,6]][[72,12,6]] 11.0911.09 365.6365.6 −16088-16088
[[90,8,10]][[90,8,10]] 15.0815.08 524.8524.8 −12670-12670
[[108,8,10]][[108,8,10]] 13.9113.91 895895 −46137-46137
[[144,12,12]][[144,12,12]] 18.0418.04 13371337 −96007-96007
[[288,12,18]][[288,12,18]] 32.0432.04 35223522 −294482-294482
Table 6: Parameters c0,c1,c2c_{0},c_{1},c_{2} in the fitting formula pL​(p)=pd𝖼𝗂𝗋𝖼/2​ec0+c1​p+c2​p2p_{L}(p)=p^{d_{\mathsf{circ}}/2}e^{c_{0}+c_{1}p+c_{2}p^{2}} for BB LDPC codes shown in Table 1.

9 Logical memory capabilities

In this section we give evidence that BB LDPC codes have the required features for an effective quantum memory or storage unit. Although there are few ways of performing computations on stored qubits, there are fault tolerant operations for initialization and measurement of individual qubits, and most importantly transfer of data into and out of the code via quantum teleportation. These capabilities are based on a combination of two different techniques. First, we follow [62] to derive fault tolerant unitary operations that require only the connectivity already necessary to perform syndrome measurements. Second, we give low-overhead extensions of the Tanner graph based on work by [46] which enable measurement of a single logical operator while preserving the thickness-2 implementability criterion. Together, these capabilities allow us to address any logical qubit.

2308.07915v2/0808_better_conceptual.svg
Figure 6: Conceptual diagram depicting the manner by which logical operators can be loaded into and out of a BB LDPC code. In Subsection 9.1 we derive that there are two blocks of logical Pauli operators corresponding to a 2d grid. Some subset of these grid elements can be chosen as logical qubits (large dots) and the other elements correspond to various Pauli products (small dots). In Subsection 9.2 we show that there are fault tolerant logical gates based on automorphisms that translate the grid of operators within each block, and in Subsection 9.3 we give a fault tolerant gate based on a ZX-duality [62] that swaps the two blocks. Finally, in Subsection 9.4 we show that there exists an ancilla system based on [46] that can measure one logical XX operator. We can think of this system as a probe that can access one logical qubit. Together, these operations allow external access of every logical qubit and many of their products.

A conceptual representation of the logical operators is shown in Figure 6. We first derive logical Pauli operators for BB LDPC codes, and find that the logical qubits divide into an “unprimed” and a “primed” block with equal size and symmetrical structure. We visualize the primed and unprimed block as two sheets featuring a 2D grid of logical operators. Some of these grid cells contain one of the k/2k/2 logical qubits per sheet.

Next, we show that there exists a set of fault tolerant depth-four circuits that implement a small family of commuting logical 𝖢𝖭𝖮𝖳\mathsf{CNOT} circuits. These gates are based on automorphisms of the code: permutations of the data qubits that commute with the stabilizer. Based on their group structure we can think of the automorphism gates as translations of a 2D grid of operators within each of the primed and unprimed blocks. Furthermore, we follow [62] to derive a fault tolerant operation based on a ZX-duality that also allows us to swap the two blocks while also applying Hadamard gates to all qubits.

Finally, we show how to leverage techniques from [46] to extend the Tanner graph to a larger Tanner graph allowing fault-tolerant measurement of one logical XX and one logical ZZ operator. Various subgraphs of this extended Tanner graph contain either this logical XX or ZZ operator as a stabilizer. This construction acts as a “probe” that gives us access to one of the logical qubits.

Measurements of both logical XX and ZZ operators on any qubit can be realized by conjugating this measurement by gates based on automorphisms and the ZX-duality. We can think of this as shifting any desired qubit to be the target of the probe using translation and exchange of the two blocks.

Logical XX and ZZ measurement of any logical qubit also enables transfer of data into and out of the code using a teleportation circuit. This teleportation can be realized through a product measurement of the logical Pauli in the BB code, and a logical Pauli in another quantum error correction code. While the Tanner graph of the BB code demands thickness-2, we show how the ancilla system corresponding to the logical XX measurement can be implemented in an “effectively planar” Tanner graph. This makes it possible two connect this ancilla system to another quantum error correction code, like a surface code, within a thickness-2 implementation. This capability indicates the suitability of BB LDPC codes as a fault tolerant quantum memory.

On the other hand, this construction incurs rather significant resource overhead that undercuts the compactness of the error correction codes introduced in this paper. For example, to equip the [[144,12,12]][[144,12,12]] code with ancilla systems capable of measuring XX and ZZ, we require 2× 30×(2​d−1)=13802\,{\times}\,30\,{\times}\,(2d{-}1)=1380 additional qubits on top of the original 288. However, the argument for fault-tolerance from [46] is designed to be very broadly applicable, and hence may demand excessively many resources for any particular error correction code. We consider it very likely that the size of these systems can be significantly reduced. We leave resource optimization of this scheme for future work.

9.1 Logical Pauli Operators

In this section we derive that the logical Pauli matrices of BB LDPC codes split into a “primed” and an “unprimed” block with |ℳ|=ℓ​m|\mathcal{M}|=\ell m many XX operators and ZZ operators each. Operators in the primed block commute with operators in the unprimed block, and the two blocks have identical commutation structure.

We begin by introducing some new notation for Pauli matrices acting on the data qubits. We denote with 𝔽2ℳ\mathbb{F}_{2}^{\mathcal{M}} the set of polynomials over 𝔽2\mathbb{F}_{2} with monomials from ℳ\mathcal{M}. This is equivalent to the quotient ring obtained from 𝔽2​[x,y]\mathbb{F}_{2}[x,y] by identifying xℓ=ym=1x^{\ell}=y^{m}=1. With x=Sm⊗Ix=S_{m}\otimes I and y=I⊗Sℓy=I\otimes S_{\ell}, the elements of 𝔽2ℳ\mathbb{F}_{2}^{\mathcal{M}} have natural matrix representations, and can also be interpreted as sets since the coefficient on any particular x∈ℳx\in\mathcal{M} is either 0 or 1.

For P,Q∈𝔽2ℳP,Q\in\mathbb{F}_{2}^{\mathcal{M}}, we can consider the set of qubits q⁡(L,α)q(L,\alpha) for α∈P\alpha\in P and q⁡(R,β)q(R,\beta) for β∈Q\beta\in Q. We write X⁡(P,Q)X(P,Q) to denote a Pauli matrix acting as XX on this collection of qubits, and identity elsewhere. Similarly, Z⁡(P,Q)Z(P,Q) denotes ZZ acting on q⁡(L,α)q(L,\alpha) for α∈P\alpha\in P and q⁡(R,β)q(R,\beta) for β∈Q\beta\in Q. For example, we can recall that q⁡(L,β)q(L,\beta) is connected to q⁡(X,α)q(X,\alpha) whenever β∈A​α\beta\in A\alpha, and see that the stabilizer corresponding to q⁡(X,α)q(X,\alpha) becomes X⁡(α​A,α​B)X(\alpha A,\alpha B). Similarly, the stabilizer corresponding to q⁡(Z,α)q(Z,\alpha) can be written as Z⁡(α​BT,α​AT)Z(\alpha B^{T},\alpha A^{T}). There is also the following useful fact:

Lemma 2.

X⁡(P,Q)X(P,Q) anticommutes with Z⁡(P¯,Q¯)Z(\bar{P},\bar{Q}) if and only if 1∈P​P¯T+Q​Q¯T1\in P\bar{P}^{T}+Q\bar{Q}^{T}.

Proof.

Write

P=∑α∈ℳpα​α,P¯=∑α∈ℳp¯α​α,Q=∑α∈ℳqα​α,Q¯=∑α∈ℳq¯α​α,P=\sum_{\alpha\in{\cal M}}p_{\alpha}\alpha,\quad\bar{P}=\sum_{\alpha\in{\cal M}}\bar{p}_{\alpha}\alpha,\quad Q=\sum_{\alpha\in{\cal M}}q_{\alpha}\alpha,\quad\bar{Q}=\sum_{\alpha\in{\cal M}}\bar{q}_{\alpha}\alpha,

where pα,p¯α,qα,q¯α∈𝔽2p_{\alpha},\bar{p}_{\alpha},q_{\alpha},\bar{q}_{\alpha}\in\mathbb{F}_{2} are coefficients. Pauli operators X⁡(P,Q)X(P,Q) and Z⁡(P¯,Q¯)Z(\bar{P},\bar{Q}) overlap on a qubit q⁡(L,α)q(L,\alpha) iff pα​p¯α=1p_{\alpha}\bar{p}_{\alpha}=1 and overlap on a qubit q⁡(R,α)q(R,\alpha) iff qα​q¯α=1q_{\alpha}\bar{q}_{\alpha}=1. Thus X⁡(P,Q)X(P,Q) and Z⁡(P¯,Q¯)Z(\bar{P},\bar{Q}) anti-commute iff ∑α∈ℳpα​p¯α+qα​q¯α\sum_{\alpha\in{\cal M}}p_{\alpha}\bar{p}_{\alpha}+q_{\alpha}\bar{q}_{\alpha} is odd. We have

P​P¯T=∑α∈ℳpα​p¯α​1+…andQ​Q¯T=∑α∈ℳqα​q¯α​1+…P\bar{P}^{T}=\sum_{\alpha\in{\cal M}}p_{\alpha}\bar{p}_{\alpha}1+\ldots\quad\mbox{and}\quad Q\bar{Q}^{T}=\sum_{\alpha\in{\cal M}}q_{\alpha}\bar{q}_{\alpha}1+\ldots

where dots represent all monomials different from 11. By linearity,

P​P¯T+Q​Q¯T=∑α∈ℳ(pα​p¯α+qα​q¯α)​1+….P\bar{P}^{T}+Q\bar{Q}^{T}=\sum_{\alpha\in{\cal M}}(p_{\alpha}\bar{p}_{\alpha}+q_{\alpha}\bar{q}_{\alpha})1+\ldots.

Thus X⁡(P,Q)X(P,Q) and Z⁡(P¯,Q¯)Z(\bar{P},\bar{Q}) anti-commute iff P​P¯T+Q​Q¯TP\bar{P}^{T}+Q\bar{Q}^{T} contains the monomial 11. ∎

Without loss of generality, we can express logical Pauli matrices as either X⁡(P,Q)X(P,Q) or Z⁡(QT,PT)Z(Q^{T},P^{T}) via a choice of P,Q∈𝔽2ℳP,Q\in\mathbb{F}_{2}^{\mathcal{M}}. The operator X⁡(P,Q)X(P,Q) commutes with the stabilizer Z⁡(α​BT,α​AT)Z(\alpha B^{T},\alpha A^{T}) whenever 1∉P​(α​BT)T+Q​(α​AT)T=αT​(P​B+Q​A)1\not\in P(\alpha B^{T})^{T}+Q(\alpha A^{T})^{T}=\alpha^{T}(PB+QA). This is equivalent to α∉P​B+Q​A\alpha\not\in PB+QA. Since we must have α∉P​B+Q​A\alpha\not\in PB+QA for all α\alpha, we see that X⁡(P,Q)X(P,Q) commutes with the stabilizer whenever P​B+Q​APB+QA vanishes. Similarly we can derive that Z⁡(QT,PT)Z(Q^{T},P^{T}) commutes with the stabilizer when P​B+Q​A=0PB+QA=0.

We aim to construct a family of solutions to P​B+Q​A=0PB+QA=0 which give rise to a basis of logical qubits defined by a set of operators {X¯1,X¯2,…,Z¯1,Z¯2,…}\{\bar{X}_{1},\bar{X}_{2},...,\bar{Z}_{1},\bar{Z}_{2},...\} with the correct commutation relations. To do so, let us make some observations about Pauli operators defined via solutions to P​B+Q​A=0PB+QA=0. First, if P,QP,Q are a solution, then so are α​P,α​Q\alpha P,\alpha Q for any α∈ℳ\alpha\in\mathcal{M}, so each P,QP,Q immediately gives rise to a family of |ℳ|=l​m|\mathcal{M}|=lm logical operators for both XX and ZZ. Second, consider using the same P,QP,Q to define both X⁡(α​P,α​Q)X(\alpha P,\alpha Q) and Z⁡(β​QT,β​PT)Z(\beta Q^{T},\beta P^{T}). Then these operators always commute because β​αT∈P​Q+Q​P=0\beta\alpha^{T}\in PQ+QP=0 never holds. So we require at least two solutions to P​B+Q​A=0PB+QA=0 to define a set of operators with nontrivial commutation relations.

For reasons described later in Subsection 9.4, we would like a logical XX operator with no support on q⁡(R)q(R). To this end, we select f,g,h∈𝔽2ℳf,g,h\in\mathbb{F}_{2}^{\mathcal{M}} that satisfy B​f=0Bf=0 and g​B+h​A=0gB+hA=0, yielding two solutions to the equation P​B+Q​A=0PB+QA=0 with P,Q=f,0P,Q=f,0 and P,Q=g,hP,Q=g,h. These yield the following family of logical operators for all α∈ℳ\alpha\in\mathcal{M}:

X¯α\displaystyle\bar{X}_{\alpha} :=X⁡(α​f,0)Z¯α:=Z⁡(α​hT,α​gT)\displaystyle:=X(\alpha f,0)\hskip 34.14322pt\bar{Z}_{\alpha}:=Z(\alpha h^{T},\alpha g^{T}) (16)
X¯α′\displaystyle\bar{X}^{\prime}_{\alpha} :=X⁡(α​g,α​h)Z¯α′:=Z⁡(0,α​fT)\displaystyle:=X(\alpha g,\alpha h)\hskip 28.45274pt\bar{Z}^{\prime}_{\alpha}:=Z(0,\alpha f^{T})

For all α,β\alpha,\beta, we see that X¯α,Z¯β′\bar{X}_{\alpha},\bar{Z}^{\prime}_{\beta} always commute because f​0T+0​fT=0f0^{T}+0f^{T}=0, and X¯β′,Z¯α\bar{X}^{\prime}_{\beta},\bar{Z}_{\alpha} always commute because g​h+h​g=0gh+hg=0. Furthermore, X¯α,Z¯β\bar{X}_{\alpha},\bar{Z}_{\beta} and X¯α′,Z¯β′\bar{X}^{\prime}_{\alpha},\bar{Z}^{\prime}_{\beta} form anticommuting pairs when αT​β∈f​h\alpha^{T}\beta\in fh. We see that we have constructed two independent blocks of logical operators with symmetrical structure. It follows that each of these blocks must contain a set of operators that define k/2k/2 qubits. We name these the “unprimed” and “primed” logical blocks with X¯α,Z¯β\bar{X}_{\alpha},\bar{Z}_{\beta} and X¯α′,Z¯β′\bar{X}^{\prime}_{\alpha},\bar{Z}^{\prime}_{\beta} respectively.

Not all choices of f,g,hf,g,h span all kk logical qubits, but valid choices are readily enumerated in software. Solutions to B​f=0Bf=0 and g​B+h​A=0gB+hA=0 correspond to null spaces of BB and [BA]\begin{bmatrix}B\\ A\end{bmatrix} respectively, which can be constructed by Gaussian elimination. Gaussian elimination can also be used to check if the operators X¯α,Z¯α,X¯α′,Z¯α′\bar{X}_{\alpha},\bar{Z}_{\alpha},\bar{X}^{\prime}_{\alpha},\bar{Z}^{\prime}_{\alpha} together span kk qubits up to the stabilizer. We find all codes in Table 3 admit several such choices of f,g,hf,g,h. In Table 7 we show a particularly favorable choice of f,g,hf,g,h for the [[144,12,12]][[144,12,12]] code where the resulting logical operators have minimum weight.

To identify logical qubits we can enumerate choices of monomials {n1,n2,…,nk/2}\{n_{1},n_{2},\ldots,n_{k/2}\} and {m1,m2,…,mk/2}\{m_{1},m_{2},\ldots,m_{k/2}\} such that niT​mj∈f​hn_{i}^{T}m_{j}\in fh exactly when i=ji=j. That way, X¯ni,Z¯mi\bar{X}_{n_{i}},\bar{Z}_{m_{i}} as well as X¯ni′,Z¯mi′\bar{X}^{\prime}_{n_{i}},\bar{Z}^{\prime}_{m_{i}} for i=1​…​k/2i=1...k/2 form a set of kk logical qubits: X¯ni\bar{X}_{n_{i}} anticommutes with Z¯mj\bar{Z}_{m_{j}} exactly when i=ji=j. A brute force search readily finds choices of {ni},{mi}\{n_{i}\},\{m_{i}\}.

Polynomials for Logical Pauli Matrices in the [[144,12,12]][[144,12,12]] Code
ff gg hh
xxyy01234567891011 012345
xxyy01234567891011 012345
xxyy01234567891011 012345
Table 7: Choices of polynomials f,g,hf,g,h such that X¯α:=X⁡(α​f,0)\bar{X}_{\alpha}:=X(\alpha f,0) and Z¯α=Z⁡(α​hT,α​gT)\bar{Z}_{\alpha}=Z(\alpha h^{T},\alpha g^{T}) as defined in equation 16 are minimum-weight logical Pauli operators. The dots represent the monomials of the form xi​yjx^{i}y^{j} with coefficient 1. If we let {ni}={1,y,x2​y,x2​y5,x3​y2,x4}\{n_{i}\}=\{1,y,x^{2}y,x^{2}y^{5},x^{3}y^{2},x^{4}\} and {mi}={y,y5,x​y,1,x4,x5​y2}\{m_{i}\}=\{y,y^{5},xy,1,x^{4},x^{5}y^{2}\}, then X¯ni,Z¯mj\bar{X}_{n_{i}},\bar{Z}_{m_{j}} anticommute exactly when i=ji=j. When used to construct an ancilla system as in Section 9.4, these polynomials give a system with 60 qubits per layer.

9.2 Logical Gates based on Automorphisms

An automorphism of an error correction code is a permutation of the physical qubits that is equivalent to a permutation of the checks (more generally, an automorphism can map a check operator to a product of check operators). We focus on permutations that are implementable using fault tolerant circuits within the connectivity already required for syndrome measurements.

The existing connectivity admits some natural fault tolerant circuits implementing a particular family of permutations on the data qubits. BB LDPC codes feature two data registers q⁡(L),q⁡(R)q(L),q(R) and two check registers q⁡(X),q⁡(Z)q(X),q(Z). We consider circuits that transfer the qubits from the data registers to the ancilla registers, and back again on a different path. The adjacency matrices describing the connectivity between the data and the ancilla registers are given by AA and BB, which are the sum of three monomials A1,A2,A3A_{1},A_{2},A_{3} and B1,B2,B3B_{1},B_{2},B_{3} in ℳ\mathcal{M}. Each monomial is a permutation and thus describes a vertex-disjoint set of edges between the data and ancilla block. Hence, all swaps along these edges can be parallelized. In a single circuit we can either swap along the edges defined by AA which are q⁡(L)↔q⁡(X)q(L)\leftrightarrow q(X) and q⁡(R)↔q⁡(Z)q(R)\leftrightarrow q(Z), or along edges defined by BB which are q⁡(L)↔q⁡(Z)q(L)\leftrightarrow q(Z) and q⁡(R)↔q⁡(X)q(R)\leftrightarrow q(X). See also Figure 4 A).

The monomial defining the particular set of edges in each of these sets of swaps can be chosen independently for each stage of the permutation (data →\to ancilla or ancilla →\to data), and on each side of the Tanner graph. For example, we can select any Aj,Ak,Aj′,Ak′A_{j},A_{k},A_{j^{\prime}},A_{k^{\prime}} and move q(L)→AjTq(X)→Akq(L)q(L)\to_{A_{j}^{T}}q(X)\to_{A_{k}}q(L) and simultaneously move q(R)→Ak′q(Z)→Aj′Tq(R)q(R)\to_{A_{k^{\prime}}}q(Z)\to_{A_{j^{\prime}}^{T}}q(R). However, we will see later that it is necessary to select Aj=Aj′A_{j}=A_{j^{\prime}} and Ak=Ak′A_{k}=A_{k^{\prime}}. Furthermore, these swaps admit a standard optimization: if we initialize the check registers q⁡(X),q⁡(Z)q(X),q(Z) to the |0⟩|0\rangle state, then circuits implementing these permutations have 𝖢𝖭𝖮𝖳\mathsf{CNOT} depth four. If we also reset qubits to the |0⟩|0\rangle state in between the swaps wherever possible, we obtain circuits whose errors cannot propagate between physical qubits, and are hence fault tolerant. See Table 8.

We now verify that the permutations implemented by the circuits described above are indeed automorphisms. After having applied an ‘A’ type permutation based on Aj,AkA_{j},A_{k}, the qubits are permuted by q⁡(L,α)↔q⁡(L,AkT​Aj​α)q(L,\alpha)\leftrightarrow q(L,A^{T}_{k}A_{j}\alpha) and q⁡(R,α)↔q⁡(R,AkT​Aj​α)q(R,\alpha)\leftrightarrow q(R,A^{T}_{k}A_{j}\alpha). We see that this transforms a Pauli matrix by X⁡(P,Q)→X⁡(Aj​AkT​P,Aj​AkT​Q)X(P,Q)\to X(A_{j}A_{k}^{T}P,A_{j}A_{k}^{T}Q). Consequently, the stabilizers are transformed as X⁡(α​A,α​B)→X⁡(α​Aj​AkT​A,α​Aj​AkT​B)X(\alpha A,\alpha B)\to X(\alpha A_{j}A_{k}^{T}A,\alpha A_{j}A_{k}^{T}B), which is the same as permuting the XX checks by α→α​Aj​AkT\alpha\to\alpha A_{j}A_{k}^{T}. The ZZ stabilizers are also permuted by α→α​Aj​AkT\alpha\to\alpha A_{j}A_{k}^{T}, so the described circuit indeed implements an automorphism. Notice also that this only works because the q⁡(L)q(L) and q⁡(R)q(R) blocks were transformed by the same Aj​AkTA_{j}A_{k}^{T}. The ‘B’ type permutations can be verified to be automorphisms in the same manner, permuting the checks by some Bj​BkTB_{j}B_{k}^{T}.

These automorphisms allow us to fault tolerantly implement a subgroup of the Clifford gates. As we saw in Lemma 3, shifts of the form Aj​AkTA_{j}A_{k}^{T} or Bj​BkTB_{j}B_{k}^{T} generate the entire group ℳ\mathcal{M} whenever the Tanner graph is connected. Therefore, by leveraging these permutations as generators, we can perform all translations of the tori containing q⁡(L),q⁡(R)q(L),q(R) using fault tolerant circuits of varying depth. An automorphism defined by an element s∈ℳs\in\mathcal{M} transforms X¯ni→X¯s​ni\bar{X}_{n_{i}}\to\bar{X}_{sn_{i}}, Z¯mi→Z¯s​mi\bar{Z}_{m_{i}}\to\bar{Z}_{sm_{i}} and similarly for the primed logical Pauli matrices. This capability is critical for addressing all logical qubits.

We can also comment on the nature of these operations as logical gates, although they are less useful in this sense. There is one such operation per element in ℳ\mathcal{M}, and since ℳ\mathcal{M} is Abelian the subgroup of Clifford gates implemented by these automorphisms must be Abelian as well. A transformation of this form cannot act like the logical identity so all of these gates (except s=1s=1) are nontrivial. Since automorphism operations take X¯\bar{X} to X¯\bar{X} and Z¯\bar{Z} to Z¯\bar{Z}, and they must hence be logical 𝖢𝖭𝖮𝖳\mathsf{CNOT} circuits up to a logical Pauli correction. While it is not clear how to use these 𝖢𝖭𝖮𝖳\mathsf{CNOT} circuits to facilitate useful computations, they may make for interesting test cases in an implementation.

‘A’ type automorphism based on any Aj,AkA_{j},A_{k}
for α∈ℳ\alpha\in\mathcal{M} do   𝖨𝗇𝗂𝗍𝖹q⁡(X,α)\mathsf{InitZ}\quad{q(X,\alpha)}   𝖢𝖭𝖮𝖳q⁡(L,Aj​α)q⁡(X,α)\mathsf{CNOT}\quad{q(L,A_{j}\alpha)}\quad{q(X,\alpha)}   𝖢𝖭𝖮𝖳q⁡(X,α)q⁡(L,Aj​α)\mathsf{CNOT}\quad{q(X,\alpha)}\quad{q(L,A_{j}\alpha)}   𝖨𝗇𝗂𝗍𝖹q⁡(L,AkT​α)\mathsf{InitZ}\quad{q(L,A_{k}^{T}\alpha)}   𝖢𝖭𝖮𝖳q⁡(X,α)q⁡(L,Ak​α)\mathsf{CNOT}\quad{q(X,\alpha)}\quad{q(L,A_{k}\alpha)}   𝖢𝖭𝖮𝖳q⁡(L,Ak​α)q⁡(X,α)\mathsf{CNOT}\quad{q(L,A_{k}\alpha)}\quad{q(X,\alpha)} end for for α∈ℳ\alpha\in\mathcal{M} do   𝖨𝗇𝗂𝗍𝖹q⁡(Z,α)\mathsf{InitZ}\quad{q(Z,\alpha)}   𝖢𝖭𝖮𝖳q⁡(R,α)q⁡(Z,Aj​α)\mathsf{CNOT}\quad{q(R,\alpha)}\quad{q(Z,A_{j}\alpha)}   𝖢𝖭𝖮𝖳q⁡(Z,Aj​α)q⁡(R,α)\mathsf{CNOT}\quad{q(Z,A_{j}\alpha)}\quad{q(R,\alpha)}   𝖨𝗇𝗂𝗍𝖹q⁡(R,Ak​α)\mathsf{InitZ}\quad{q(R,A_{k}\alpha)}   𝖢𝖭𝖮𝖳q⁡(Z,Ak​α)q⁡(R,α)\mathsf{CNOT}\quad{q(Z,A_{k}\alpha)}\quad{q(R,\alpha)}   𝖢𝖭𝖮𝖳q⁡(R,α)q⁡(Z,Ak​α)\mathsf{CNOT}\quad{q(R,\alpha)}\quad{q(Z,A_{k}\alpha)} end for
‘B’ type automorphism based on any Bj,BkB_{j},B_{k}
for α∈ℳ\alpha\in\mathcal{M} do   𝖨𝗇𝗂𝗍𝖹q⁡(X,α)\mathsf{InitZ}\quad{q(X,\alpha)}   𝖢𝖭𝖮𝖳q⁡(R,Bj​α)q⁡(X,α)\mathsf{CNOT}\quad{q(R,B_{j}\alpha)}\quad{q(X,\alpha)}   𝖢𝖭𝖮𝖳q⁡(X,α)q⁡(R,Bj​α)\mathsf{CNOT}\quad{q(X,\alpha)}\quad{q(R,B_{j}\alpha)}   𝖨𝗇𝗂𝗍𝖹q⁡(R,BkT​α)\mathsf{InitZ}\quad{q(R,B^{T}_{k}\alpha)}   𝖢𝖭𝖮𝖳q⁡(X,α)q⁡(R,Bk​α)\mathsf{CNOT}\quad{q(X,\alpha)}\quad{q(R,B_{k}\alpha)}   𝖢𝖭𝖮𝖳q⁡(R,Bk​α)q⁡(X,α)\mathsf{CNOT}\quad{q(R,B_{k}\alpha)}\quad{q(X,\alpha)} end for for α∈ℳ\alpha\in\mathcal{M} do   𝖨𝗇𝗂𝗍𝖹q⁡(Z,α)\mathsf{InitZ}\quad{q(Z,\alpha)}   𝖢𝖭𝖮𝖳q⁡(L,α)q⁡(Z,Bj​α)\mathsf{CNOT}\quad{q(L,\alpha)}\quad{q(Z,B_{j}\alpha)}   𝖢𝖭𝖮𝖳q⁡(Z,Bj​α)q⁡(L,α)\mathsf{CNOT}\quad{q(Z,B_{j}\alpha)}\quad{q(L,\alpha)}   𝖨𝗇𝗂𝗍𝖹q⁡(L,Bk​α)\mathsf{InitZ}\quad{q(L,B_{k}\alpha)}   𝖢𝖭𝖮𝖳q⁡(Z,Bk​α)q⁡(L,α)\mathsf{CNOT}\quad{q(Z,B_{k}\alpha)}\quad{q(L,\alpha)}   𝖢𝖭𝖮𝖳q⁡(L,α)q⁡(Z,Bk​α)\mathsf{CNOT}\quad{q(L,\alpha)}\quad{q(Z,B_{k}\alpha)} end for
Table 8: Circuits implementing automorphisms of a BB LDPC code within the connectivity already present for syndrome checks. These circuits are fault tolerant and have 𝖢𝖭𝖮𝖳\mathsf{CNOT} depth four. If s=Aj​AkTs=A_{j}A_{k}^{T} or s=Bj​BkTs=B_{j}B_{k}^{T}, then the logical gate implemented by these automorphisms performs the transformation X¯α,Z¯α,X¯α′,Z¯α′→X¯s​α,Z¯s​α,X¯s​α′,Z¯s​α′\bar{X}_{\alpha},\bar{Z}_{\alpha},\bar{X}^{\prime}_{\alpha},\bar{Z}^{\prime}_{\alpha}\to\bar{X}_{s\alpha},\bar{Z}_{s\alpha},\bar{X}^{\prime}_{s\alpha},\bar{Z}^{\prime}_{s\alpha}.

9.3 Accessing the Primed Block via a ZX-duality

A ZX-duality is a permutation of the logical qubits that commutes with the stabilizer, except that it turns XX checks into ZZ checks and ZZ checks into XX checks. A physical circuit implementing this permutation and then applying Hadamard to all data qubits always acts as a logical gate [62]. In this section we focus on the implementation of a particular ZX-duality with applications for readout. We leave discovery and implementation of other ZX-dualities for future work. In particular, we derive a general method for constructing fault tolerant circuits for implementing a particular ZX-duality that is present in all BB LDPC codes. While the circuits from this construction are generally quite expensive, they may be amenable to further optimization and can be used sparingly in practice.

Consider a permutation of data qubits that swaps q⁡(L,α)q(L,\alpha) with q⁡(R,αT)q(R,\alpha^{T}) for all α∈ℳ\alpha\in\mathcal{M}. A check qubit q⁡(X,β)q(X,\beta) which previously implemented the stabilizer X⁡(β​A,β​B)X(\beta A,\beta B) now is connected to the qubits q⁡(L,(β​B)T)q(L,(\beta B)^{T}) and q⁡(R,(β​A)T)q(R,(\beta A)^{T}) instead, corresponding to the check Z⁡(βT​BT,βT​AT)Z(\beta^{T}B^{T},\beta^{T}A^{T}). We see that this permutation switches the stabilizer implemented by q⁡(X,β)q(X,\beta) with the stabilizer implemented by q⁡(Z,βT)q(Z,\beta^{T}), so this permutation is indeed a ZX-duality.

We can also see that implementing this permutation and applying Hadamard to all qubits takes logical Pauli matrices to logical Pauli matrices. In particular, the operation swaps X¯α=X⁡(α​f,0)\bar{X}_{\alpha}=X(\alpha f,0) with Z¯αT′=Z⁡(0,αT​fT)\bar{Z}^{\prime}_{\alpha^{T}}=Z(0,\alpha^{T}f^{T}), as well as Z¯α=Z⁡(α​hT,α​gT)\bar{Z}_{\alpha}=Z(\alpha h^{T},\alpha g^{T}) with X¯αT′:=X⁡(αT​g,αT​h)\bar{X}^{\prime}_{\alpha^{T}}:=X(\alpha^{T}g,\alpha^{T}h). This operation swaps the primed and unprimed logical blocks, transposes the grid of operators, and applies logical Hadamard to all qubits. Since we can measure logical XX for all qubits in the unprimed block using the ancilla system described in Subsection 9.4, we can use this operation to measure logical ZZ for qubits in the primed block.

For the rest of this section we describe a fault tolerant method for implementing this operation. We begin with exchanging q⁡(L)q(L) and q⁡(R)q(R): since these blocks are connected by pairs of edges in q⁡(X)q(X) and q⁡(Z)q(Z), for any Ai∈AA_{i}\in A and Bj∈BB_{j}\in B there exists a loop connecting the qubits q⁡(L,α)→q⁡(X,AiT​α)→q⁡(R,Bj​AiT​α)→q⁡(Z,Bj​α)→q⁡(L,α)q(L,\alpha)\to q(X,A_{i}^{T}\alpha)\to q(R,B_{j}A_{i}^{T}\alpha)\to q(Z,B_{j}\alpha)\to q(L,\alpha). A circuit identical in shape to those in Table 8 hence performs a fault tolerant exchange of q⁡(L,α)q(L,\alpha) and q⁡(R,Bj​AiT​α)q(R,B_{j}A_{i}^{T}\alpha) for all α\alpha. The additional shift of Bj​AiTB_{j}A_{i}^{T} can be removed via an additional automorphism gate. It remains to exchange q⁡(L,α)↔q⁡(L,αT)q(L,\alpha)\leftrightarrow q(L,\alpha^{T}), as well as q⁡(R,α)↔q⁡(R,αT)q(R,\alpha)\leftrightarrow q(R,\alpha^{T}) for all α\alpha, which is significantly more complicated. We focus on q⁡(L,α)↔q⁡(L,αT)q(L,\alpha)\leftrightarrow q(L,\alpha^{T}) in our discussion but it will be clear the exact same transformations are implementable on q⁡(R)q(R) in parallel with those on q⁡(L)q(L).

2308.07915v2/duality_implementation.svg
Figure 7: Diagrams for the description of the implementation of the ZX-duality permutation. A) A subgraph of the Tanner graph providing enough connectivity to fault tolerantly swap q⁡(L,α)q(L,\alpha) and q⁡(L,Aj​AiT​α)q(L,A_{j}A_{i}^{T}\alpha). B) A sequence of shifts of the data on the qubits in the q⁡(L)q(L) block that performs the desired exchange without interacting qubits directly. A naive implementation of this sequence has 𝖢𝖭𝖮𝖳\mathsf{CNOT} depth 12. C) D) Decomposition of the generators of ℳ\mathcal{M} via the classification of finite Abelian groups for two different codes. Drawing the Cayley graph of the subgroup for each generator reveals the ratios defining pairs of qubits that must be exchanged to implement the permutation q⁡(L,α)↔q⁡(L,αT)q(L,\alpha)\leftrightarrow q(L,\alpha^{T}).

Fault tolerant implementation of the permutation q⁡(L,α)↔q⁡(L,αT)q(L,\alpha)\leftrightarrow q(L,\alpha^{T}) can be achieved using a more sophisticated version of the fault tolerant circuits in Table 8 used for implementing automorphisms. These circuits relied on the existence of a connected loop of alternating check and data qubits, enabling a short depth fault tolerant circuit implementing a cyclic permutation of the data qubits therein. The same connectivity can be leveraged to implement a fault tolerant nearest neighbor swap of two data qubits connected by a check qubit. The fault tolerance of these circuits relies on the same principle: while a swap gate acting on two qubits containing data is not fault tolerant, moving a data qubit onto a blank qubit is. Figure 7 A) shows a subgraph of the Tanner graph consisting of several connected qubits in the q⁡(L)q(L) and q⁡(X)q(X) block, and Figure 7 B) shows a sequence of operations where two data qubits can be exchanged without ever interacting directly. This gives us the following capability: whenever the circuits in Table 8 can implement the cyclic permutation q⁡(L,α)→q⁡(L,s​α)q(L,\alpha)\to q(L,s\alpha) for all α\alpha, there also exists a circuit that can swap q⁡(L,α)q(L,\alpha) and q⁡(L,s​α)q(L,s\alpha) for a particular α\alpha. Matching circuits exist for q⁡(R)q(R), and can be implemented simultaneously.

To decompose q⁡(L,α)↔q⁡(L,αT)q(L,\alpha)\leftrightarrow q(L,\alpha^{T}) into a sequence of swaps, it will be helpful to consider the group structure of ℳ\mathcal{M}. Consider for example the [[90,8,10]][[90,8,10]] code with x15=y3=1x^{15}=y^{3}=1. Following the classification of finite Abelian groups we see that ℳ≅ℤ3×ℤ5×ℤ3\mathcal{M}\cong\mathbb{Z}_{3}\times\mathbb{Z}_{5}\times\mathbb{Z}_{3}. We can re-express elements of ℳ\mathcal{M} using generators p,q,rp,q,r with p3=q5=r3=1p^{3}=q^{5}=r^{3}=1 where x=p​qx=pq and y=ry=r. Transforming α\alpha to αT\alpha^{T} amounts to decomposing α\alpha as α=pi​qj​rk\alpha=p^{i}q^{j}r^{k} and exchanging the qubit with αT=p−i​q−j​r−k\alpha^{T}=p^{-i}q^{-j}r^{-k}.

This exchange pi​qj​rk↔p−i​q−j​r−kp^{i}q^{j}r^{k}\leftrightarrow p^{-i}q^{-j}r^{-k} can be split into a sequence of swaps that are implementable with the method described above using Figure 7 A) and B). It suffices to be able to exchange for any α=qj​rk\alpha=q^{j}r^{k} the qubits q⁡(L,pi​α)↔q⁡(L,α​p−i)q(L,p^{i}\alpha)\leftrightarrow q(L,\alpha p^{-i}), as well as for any α=pi​rk\alpha=p^{i}r^{k} the qubits q⁡(L,qj​α)↔q⁡(L,α​q−j)q(L,q^{j}\alpha)\leftrightarrow q(L,\alpha q^{-j}), and finally for any α=pi​qj\alpha=p^{i}q^{j} the qubits q⁡(L,rk​α)↔q⁡(L,α​r−k)q(L,r^{k}\alpha)\leftrightarrow q(L,\alpha r^{-k}). This, for any i,j,ki,j,k, creates a sequence of qubits q⁡(L,pi​qj​rk)↔q⁡(L,p−i​qj​rk)↔q⁡(L,p−i​q−j​rk)↔q⁡(L,p−i​q−j​r−k)q(L,p^{i}q^{j}r^{k})\leftrightarrow q(L,p^{-i}q^{j}r^{k})\leftrightarrow q(L,p^{-i}q^{-j}r^{k})\leftrightarrow q(L,p^{-i}q^{-j}r^{-k}) where swaps are possible along each nearest neighbor. This is sufficient for swapping the first and last qubit in the chain. The implementation of the individual generators like q⁡(L,α​qi)↔q⁡(L,α​q−i)q(L,\alpha q^{i})\leftrightarrow q(L,\alpha q^{-i}) swaps may also involve additional intermediate qubits, but this only lengthens the chain and does not prohibit implementation.

The resources required for swapping q⁡(L,pi​α)↔q⁡(L,α​p−i)q(L,p^{i}\alpha)\leftrightarrow q(L,\alpha p^{-i}) where p3=1p^{3}=1 and similarly for other generators depends on the order of the generator pp as well as the ratios Ai​AjTA_{i}A_{j}^{T} that can be formed using terms Ai,Aj∈AA_{i},A_{j}\in A or similar ratios from BB. See Figure 7 C). Plotting the Cayley graph of the cyclic subgroup spanned by pp immediately reveals that since pp is order three, only a single ratio Bi​BjT=pB_{i}B_{j}^{T}=p is needed in order to swap any qubits marked p1p^{1} and p2p^{2}, while leaving p0p^{0} qubits in place. Indeed since B=1+x2+x7=1+p2​q2+p​q2B=1+x^{2}+x^{7}=1+p^{2}q^{2}+pq^{2} we can implement p=(p2​q2)​(p​q2)Tp=(p^{2}q^{2})(pq^{2})^{T} in a single layer of transforms in Figure 7 B).

The exchange q⁡(L,α​qi)↔q⁡(L,α​q−i)q(L,\alpha q^{i})\leftrightarrow q(L,\alpha q^{-i}) with q5=1q^{5}=1 requires two such ratios qq and q2q^{2}, the minimal depth expression of which demands the chaining together of two such transforms each. In other codes, like the [[144,12,12]][[144,12,12]] code, we encounter generators p,q,r,sp,q,r,s of order p4=q3=r2=s3=1p^{4}=q^{3}=r^{2}=s^{3}=1. Elements of order two like rr require no swaps at all, and elements of order four like pp can be implemented either using the ratio p2p^{2} or just pp, as shown in Figure 7 D). Numerical searches can quickly compute the most efficient decompositions of the required swaps. We give the orders of the generators, the ratios defining the required swaps, and the number of transforms required to implement them in Table 9.

We emphasize that the swap q⁡(L,pi​α)↔q⁡(L,α​p−i)q(L,p^{i}\alpha)\leftrightarrow q(L,\alpha p^{-i}) can be performed for all α=qj​rk\alpha=q^{j}r^{k} simultaneously in parallel. This stems from the structure of the exchange circuit in Figure 7 B). This circuit performs the swap q⁡(L,α)↔q⁡(L,Aj​AiT⋅α)q(L,\alpha)\leftrightarrow q(L,A_{j}A_{i}^{T}\cdot\alpha) while using the qubit q⁡(L,Ak​AiT⋅α)q(L,A_{k}A_{i}^{T}\cdot\alpha) as scratch space. However, we can simultaneously want to swap q⁡(L,Ak​AiT⋅α)↔q⁡(L,Aj​AiT⋅Ak​AiT⋅α)q(L,A_{k}A_{i}^{T}\cdot\alpha)\leftrightarrow q(L,A_{j}A_{i}^{T}\cdot A_{k}A_{i}^{T}\cdot\alpha) since the first step of the exchange circuit in Figure 7 B) is to move the data marked ‘A’ away from the qubit holding it, just as if it were a piece of data marked ‘C’ for a different exchange.

For clarity, we compute the total depth of the circuit for the [[144,12,12]][[144,12,12]] code without any further optimization. The ratios p,q,sp,q,s can be implemented using two ratios each via p=x−3​y⋅y−2​yp=x^{-3}y\cdot y^{-2}y, q=y−3​x2⋅y−3​x2q=y^{-3}x^{2}\cdot y^{-3}x^{2} and s=y−2​y⋅y−2​ys=y^{-2}y\cdot y^{-2}y. This results in a chain q⁡(L,α)↔q⁡(L,α′)↔q⁡(L,α′′)​…↔q⁡(L,αT)q(L,\alpha)\leftrightarrow q(L,\alpha^{\prime})\leftrightarrow q(L,\alpha^{\prime\prime})...\leftrightarrow q(L,\alpha^{T}) of length six (counting the number of ↔\leftrightarrows). We can swap the qubits at the ends of a chain of length nn using 2​n−12n{-}1 many nearest neighbor swaps. Each swap circuit of the form Figure 7 B) can be implemented in 𝖢𝖭𝖮𝖳\mathsf{CNOT} depth twelve, resulting in 𝖢𝖭𝖮𝖳\mathsf{CNOT} depth (2⋅6−1)⋅12=132(2\cdot 6-1)\cdot 12=132 to implement q⁡(L,α)↔q⁡(L,αT)q(L,\alpha)\leftrightarrow q(L,\alpha^{T}).

Despite its fault tolerance, the implementation of this logical operation is clearly significantly more expensive than that of the automorphisms. Since the intermediate permutations corresponding to each of the generators p,q,rp,q,r are not ZX dualities in general, it will not be possible in general to perform error correction during this long operation. However, the significant overhead of this operation may be worth such a large cost, since it grants us the capability of accessing the primed block of qubits, effectively doubling the storage capacity of the code. This operation can also be used significantly more sparingly than the automorphism gates, and may be amenable to additional optimization. Alternatively, additional connections and qubits beyond those necessary for the Tanner graph could be introduced to more directly implement the ZX-duality, though it is likely this will sacrifice the thickness-2 property.

Code Base Order Reduced Order Required Ratios Swap Chain Length
[[72,12,6]][[72,12,6]] x6,y6x^{6},y^{6} p2,q3,r2,s3p^{2},q^{3},r^{2},s^{3} q,sq,s 4
[[90,8,10]][[90,8,10]] x15,y3x^{15},y^{3} p3,q5,r3p^{3},q^{5},r^{3} p,q,q2,rp,q,q^{2},r 6
[[108,8,10]][[108,8,10]] x9,y6x^{9},y^{6} p9,q2,r3p^{9},q^{2},r^{3} p,p3,p5,p7,rp,p^{3},p^{5},p^{7},r 9
[[144,12,12]][[144,12,12]] x12,y6x^{12},y^{6} p4,q3,r2,s3p^{4},q^{3},r^{2},s^{3} p,q,sp,q,s 6
[[288,12,18]][[288,12,18]] x12,y12x^{12},y^{12} p4,q3,r4,s3p^{4},q^{3},r^{4},s^{3} p,q,r,sp,q,r,s 10
[[360,12,≤24]][[360,12,\leq 24]] x30,y6x^{30},y^{6} p2,q3,r5,s2,t3p^{2},q^{3},r^{5},s^{2},t^{3} q,p​s,p​s​r2,p​s​r3,tq,ps,psr^{2},psr^{3},t 11
Table 9: Table deriving the steps in the circuit implementing the q⁡(L,α)↔q⁡(L,αT)q(L,\alpha)\leftrightarrow q(L,\alpha^{T}), permutation for the ZX-duality for several codes. The generators of ℳ\mathcal{M} are decomposed into generators following the decomposition of finite Abelian groups. Following Figure 7 B) and C) these generators demand a set of ratios of terms in AA or BB which define fault tolerantly implementable exchanges of qubits with corresponding labels. The result is a decomposition of q⁡(L,α)↔q⁡(L,αT)q(L,\alpha)\leftrightarrow q(L,\alpha^{T}) into a chain q⁡(L,α)↔q⁡(L,α′)↔q⁡(L,α′′)↔…↔q⁡(L,αT)q(L,\alpha)\leftrightarrow q(L,\alpha^{\prime})\leftrightarrow q(L,\alpha^{\prime\prime})\leftrightarrow...\leftrightarrow q(L,\alpha^{T}) with length as shown (counting the number of arrows, ↔\leftrightarrow). Note the special implementation of the ratios in the [[360,12,≤24]][[360,12,\leq 24]] code: the ratios r2,r3r^{2},r^{3} are not implementable, but p​s​r2,p​s​r3psr^{2},psr^{3} are. This is fine if we can also perform the p​sps ratio on its own to remove the additional transformation on some of the qubits.

9.4 Logical Measurements

2308.07915v2/dual_ancilla.svg
Figure 8: Illustration of the thickness-2 property of the Tanner graph of BB LDPC codes. A) Planar embedding of each layer of the ancilla system from Figure 1 C) via truncating the ‘A’ and ‘B’ wheels. B) Implementation of the graph from Figure 1 C) within thickness-2 by nesting wheels. Wheels corresponding to X⁡(f,0)X(f,0) are placed on the outside and wheels corresponding to Z⁡(hT,gT)Z(h^{T},g^{T}) are placed on the inside. The X⁡(f,0)X(f,0) system can be connected to a surface code in the ‘A’ plane. Here we only show one layer per system, but this construction can be repeated for arbitrarily many layers.

In this section we describe how to leverage methods from [46] to implement fault-tolerant measurements of the operators X¯1=X⁡(f,0)\bar{X}_{1}=X(f,0) and Z¯1=Z⁡(hT,gT)\bar{Z}_{1}=Z(h^{T},g^{T}). As described above, this capability suffices to measure X¯\bar{X} and Z¯\bar{Z} for all logical qubits. We can also use this technique to measure various Pauli product operators by measuring X¯α,Z¯α,X¯α′,Z¯α′\bar{X}_{\alpha},\bar{Z}_{\alpha},\bar{X}^{\prime}_{\alpha},\bar{Z}^{\prime}_{\alpha} for α\alpha not corresponding to logical qubits.

The measurement is facilitated by an ancilla system that extends the Tanner graph of the original code. The code defined by this extended Tanner graph contains the logical operator of interest as a stabilizer, enabling its fault tolerant measurement. A sketch of the structure of this ancilla system is given in Figure 1 C). For the logical operator X⁡(f,0)X(f,0), we consider a subgraph of the Tanner graph consisting of q⁡(L,f)q(L,f) as well as q⁡(Z,α)q(Z,\alpha) operators corresponding to checks with support on q⁡(L,f)q(L,f). Similarly for the logical operator Z⁡(hT,gT)Z(h^{T},g^{T}) we consider a subgraph consisting of q⁡(L,hT),q⁡(R,gT)q(L,h^{T}),q(R,g^{T}) as well as q⁡(X,α)q(X,\alpha) for the relevant α\alpha. These subgraphs are copied several times and are connected together as shown in the figure: we call the resulting construction an ancilla system. With enough copies, the code defined by the extended Tanner graph has the same distance as the original code.

Furthermore, the ancilla system for measuring X⁡(f,0)X(f,0) can be connected to another quantum error correction code, such as a surface code. This enables a joint X¯​X¯\bar{X}\bar{X} measurement between a surface code qubit and any qubit within the BB code. A subsequent measurement of Z⁡(hT,gT)Z(h^{T},g^{T}) and some additional Pauli corrections then achieves a quantum teleportation circuit.

The main challenge of implementing these ancilla systems, in addition to minimizing their size, is to show that the extended Tanner graph satisfies the thickness-2 constraint. If our goal is to leverage the X⁡(f,0)X(f,0) ancilla system to measure a Pauli product measurement with a surface code qubit, then arguably a thickness-2 extension of the Tanner graph does not suffice since there is no obvious way of connecting it to the surface code qubit as in Figure 1 C). To this end, we show how to make the subgraph corresponding to the X⁡(f,0)X(f,0) ancilla system “effectively planar”: while the graph has thickness-2, the planar graph in one plane consists entirely of connected components with two vertices. Given this property of the embedding of the X⁡(f,0)X(f,0) ancilla system, a connection between this system and a surface code may be facilitated by a construction that is thickness-2 overall.

An effectively planar embedding of the ancilla system relies on the fact that the logical operator X⁡(f,0)X(f,0) has no support on the q⁡(R)q(R) block. An implementation of more general logical operators is possible, but would require a graph that renders many ancilla qubits inaccessible from the outside.

We briefly give a self-contained description for the construction of the ancilla system from [46], following their notation. Suppose we are interested in measuring a logical operator X¯\bar{X} that is supported on some set of qubits VX¯V_{\bar{X}}. Then, let CX¯C_{\bar{X}} be the collection of Pauli-ZZ checks that have support on any of the VX¯V_{\bar{X}}. If we view these as sets of vertices in a Tanner graph, and let EX¯E_{\bar{X}} contain the edges between VX¯V_{\bar{X}} and CX¯C_{\bar{X}}, then 𝒢X¯:=(VX¯,CX¯,EX¯)\mathcal{G}_{\bar{X}}:=(V_{\bar{X}},C_{\bar{X}},E_{\bar{X}}) forms a subgraph of the Tanner graph of the BB code.

The ancilla system is constructed out of copies of ‘primal layers’ isomorphic to 𝒢X¯\mathcal{G}_{\bar{X}}, and ‘dual layers’ isomorphic to 𝒢X¯T:=(VX¯T,CX¯T,EX¯T)\mathcal{G}_{\bar{X}}^{T}:=(V^{T}_{\bar{X}},C^{T}_{\bar{X}},E^{T}_{\bar{X}}) defined as follows: each v∈VX¯v\in V_{\bar{X}} has a corresponding vT∈CX¯Tv^{T}\in C^{T}_{\bar{X}}, each c∈CX¯c\in C_{\bar{X}} has a corresponding cT∈VX¯Tc^{T}\in V^{T}_{\bar{X}}, and each edge (v,c)∈EX¯(v,c)\in E_{\bar{X}} has a corresponding (vT,cT)∈EX¯T(v^{T},c^{T})\in E^{T}_{\bar{X}}. For some parameter rr, the final Tanner graph is that of the BB code, plus rr additional copies of the dual graph labeled 𝒢X¯T​[j]\mathcal{G}_{\bar{X}}^{T}[j] for 1≤j≤r1\leq j\leq r, and r−1r-1 additional copies of the primal graph labeled 𝒢X¯​[j]\mathcal{G}_{\bar{X}}[j] for 2≤j≤r2\leq j\leq r. We regard the 𝒢X¯\mathcal{G}_{\bar{X}} within the original code as 𝒢X¯​[1]\mathcal{G}_{\bar{X}}[1]. We also add additional connections between 𝒢X¯​[j]\mathcal{G}_{\bar{X}}[j] and 𝒢X¯T​[j]\mathcal{G}_{\bar{X}}^{T}[j] for j≤rj\leq r, as well as 𝒢X¯T​[j]\mathcal{G}_{\bar{X}}^{T}[j] and 𝒢X¯​[j+1]\mathcal{G}_{\bar{X}}[j+1] for j<rj<r: specifically, we connect the associated pairs of v,vTv,v^{T} and c,cTc,c^{T}.

It is shown by [46] that the resulting Tanner graph defines an error correction code of distance dd when r=dr=d. We construct two such ancilla systems: one for X¯:=X⁡(f,0)\bar{X}:=X(f,0) and one for Z¯:=Z⁡(hT,gT)\bar{Z}:=Z(h^{T},g^{T}). Table 7 shows a choice of f,g,hf,g,h for the [[144,12,12]][[144,12,12]] code, defining X⁡(f,0)X(f,0) and Z⁡(hT,gT)Z(h^{T},g^{T}) such that these operators are all minimum weight, and define 𝒢X¯\mathcal{G}_{\bar{X}} and 𝒢Z¯\mathcal{G}_{\bar{Z}} with 30 qubits each. To achieve d=12d=12 we hence require 2×30×(2​d−1)=13802\times 30\times(2d-1)=1380 additional qubits. We suspect that significantly more efficient variations of this constructions are possible, but leave their development for future work.

The construction presented above is complicated by the fact that vertices in the Tanner graph take on alternating roles in each layer: in the primal layers the vertices vv are physical qubits, whereas in the dual layers the vTv^{T} are checks. However, for the purposes of giving a thickness-2 decomposition we need not concern ourselves with this. If we do not distinguish between checks and physical qubits, then the primal layers 𝒢𝒳\mathcal{G}_{\mathcal{X}} and dual layers 𝒢𝒳T\mathcal{G}^{T}_{\mathcal{X}} have isomorphic Tanner graphs. Hence, for the purposes of the following, we view all layers as identical.

We now show why a thickness-2 embedding of the Z⁡(hT,gT)Z(h^{T},g^{T}) ancilla system, and an effectively planar embedding of the X⁡(f,0)X(f,0) ancilla system is possible. This argument is best understood in reference to Figure 8. We begin by understanding the thickness-2 decomposition of each layer of the ancilla systems, leveraging Figure 3. In Figure 8 A), we can see that 𝒢Z¯\mathcal{G}_{\bar{Z}} for the Z⁡(hT,gT)Z(h^{T},g^{T}) system decomposes into ‘hairy rings’ in both the ‘A’ plane and the ‘B’ plane since it has no support on q⁡(Z)q(Z). 𝒢X¯\mathcal{G}_{\bar{X}} for the X⁡(f,0)X(f,0) system is a collection of connected pairs in the ‘A’ plane and collection of rings in the ‘B’ plane, since it has no support on q⁡(X)q(X).

Since 𝒢X¯,𝒢Z¯\mathcal{G}_{\bar{X}},\mathcal{G}_{\bar{Z}} are subgraphs of the BB code’s Tanner graph, and its Tanner graph has thickness-2, and since 𝒢X¯,𝒢Z¯\mathcal{G}_{\bar{X}},\mathcal{G}_{\bar{Z}} and 𝒢X¯T,𝒢Z¯T\mathcal{G}^{T}_{\bar{X}},\mathcal{G}^{T}_{\bar{Z}} are isomorphic if we do not distinguish between qubits and checks, we see that each layer of the ancilla construction must be thickness-2 individually. The main challenge is to show that the connections between the layers can be facilitated without introducing any crossings.

Figure 8 B) shows how to connect several layers of the two ancilla systems to both the wheel graphs of the BB code, and also an ancillary surface code. We arrange the wheels of the BB code such that q⁡(X),q⁡(L)q(X),q(L) are on the inside of the ‘A’ wheels, and that q⁡(X),q⁡(R)q(X),q(R) are on the inside of the ‘B’ wheels. 𝒢Z¯\mathcal{G}_{\bar{Z}} and 𝒢Z¯T\mathcal{G}^{T}_{\bar{Z}} for of the Z⁡(hT,gT)Z(h^{T},g^{T}) system can be repeatedly nested inside of the wheels of the BB code. The q⁡(L)q(L) qubits can be connected together on the ‘A’ plane, and the q⁡(R)q(R) and q⁡(X)q(X) qubits can be connected on the ‘B’ plane. As for 𝒢X¯\mathcal{G}_{\bar{X}} and 𝒢X¯T\mathcal{G}^{T}_{\bar{X}} for the X⁡(f,0)X(f,0) system, the rings in the ‘B’ plane can be wrapped around the wheels of the BB code which already allows connection of the required q⁡(L)q(L) and q⁡(Z)q(Z) qubits. This leaves the pairs of connected qubits in the ‘A’ plane completely free of any connections between the layers, making them available to be connected to a surface code system.

We have considered just two ancilla systems here for measuring X⁡(f,0)X(f,0) and Z⁡(hT,gT)Z(h^{T},g^{T}). However, using additional ancilla systems, especially if their size can be reduced, or equipping these two ancilla systems with additional connections to the X⁡(g,h)X(g,h) and Z⁡(0,fT)Z(0,f^{T}) logical operators are potential ways to eliminate the need for the error-prone ZX-duality from Subsection 9.3 and access all logical qubits. On the other hand, it is not clear that either approach would preserve the thickness-2 property.

10 Conclusion

In summary, we offered a new perspective on how a fault-tolerant quantum memory could be realized using near-term quantum processors with a small qubit overhead. Our approach complements a concatenation-based scheme by Pattison, Krishna, and Preskill  [63] where each data qubit of a high-rate LDPC code is additionally encoded by the surface code. Although the concatenation approach makes use of the high error threshold of the surface code and its geometric locality to address quantum hardware limitations such as a relatively high noise rate and limited qubit connectivity, the additional surface code encoding incurs a significant qubit overhead, partially negating the advantages offered by LDPC codes. Here we have shown that the concatenation step can be avoided by introducing examples of high-rate LDPC codes which have nearly the same error threshold as the surface code itself. Although these LDPC codes are not geometrically local, qubit connectivity required for syndrome measurements is described by a thickness-two graph which can be implemented using two planar degree-3 layers of qubit couplers. This is a valid architectural solution for platforms based on superconducting qubits. Numerical simulations performed for the circuit-based noise model indicate that the proposed LDPC codes compare favorably with the surface code in the practically relevant range of error rates p≥0.1%p\geq 0.1\% offering the same level of error suppression with nearly 15x reduction in the qubit overhead.

The key hardware challenges to enable the new codes with superconducting qubits are:

  1. 1.

    the development of a low-loss second layer,

  2. 2.

    the development of qubits that can be coupled to 7 connections (6 buses and 1 control line), and

  3. 3.

    the development of long-range couplers.

These are all difficult to solve but not impossible. For the first challenge, we can imagine a small change to the packaging [53] which was developed for the IBM Quantum Eagle processor [64]. The simplest would be to place the extra buses on the opposite side of the qubit chip. This would require the development of high Q through substrate vias (TSV) which would be part of the coupling buses and as such would require intensive microwave simulation to make sure these TSVs could support microwave propagation while not introducing large unwanted crosstalk.

The second challenge is an extension of the number of couplers from the heavy hex lattice arrangement [65] which is 4 (3 couplers and 1 control) to 7. The implication of this is that the cross-resonance gate, which has been the core gate used in large quantum systems for the past few years, would not be the path forward. This is due to the fact that the qubits in the cross-resonance gate are not tunable and as such for a large device with a large number of connections the probability of energy collisions (not just the qubit levels but also higher levels of the transmon) trends to one very fast [66]. This is because of frequency requirements for the gate to work properly and intrinsic device variability, which is fundamental to Josephson junction fabrication. However, with the tunable coupler [67, 68], which was used in the IBM Quantum Egret and is now being developed for the IBM Quantum Heron, this problem no longer exists as the qubits can be designed to be further apart. This new gate is also similar to the gates used by Google Quantum AI [69], which have shown that a square lattice arrangement is possible. Extending the coupling map to 7 connections will require significant microwave modeling; however, typical transmons have about 60fF of capacitance and each gate is around 5fF to get the appropriate coupling strengths to the buses, so it is fundamentally possible to develop this coupling map without changing the properties of the transmon qubits which have been shown to have larger coherence and are stable.

The final challenge is the most difficult. For the buses that are short enough so that the fundamental mode can be used the standard circuit QED model holds. However, to demonstrate the 144-qubit code some of the buses will be long enough that we will require frequency engineering. One way to achieve this is with filtering resonators, and a proof of principle experiment was demonstrated in Ref. [70].

Our work leaves several open questions concerning BB LDPC codes and their applications.

  1. 1.

    What are the tradeoffs between the code parameters n,k,dn,k,d and can one achieve a constant non-zero encoding rate and a growing distance?

  2. 2.

    Are there more general LDPC codes compatible with our syndrome measurement circuit(s)? We expect that the same circuit applies to any two-block LDPC code based on an Abelian group [37, 38]. However, our circuit analysis breaks down for non-Abelian groups.

  3. 3.

    Our work gives a depth-7 syndrome measurement circuit, as measured by the number of 𝖢𝖭𝖮𝖳\mathsf{CNOT} layers. Is it possible to reduce the circuit depth? Numerical experiments performed for the code [[72,12,6]][[72,12,6]] indicate that this code may have no depth-6 syndrome measurement (SM) circuit [71].

  4. 4.

    We observed that a depth-7 SM circuit is not unique. A natural next step is identifying a SM circuit that works best for a particular code. In addition, it may be possible to improve the circuit-level distance by using different SM circuits in different syndrome cycles. Even though some low-weight fault paths are not detectable by any single circuit, such fault paths may be detected if two circuits are used in tandem.

  5. 5.

    How much would the error threshold change for a noise biased towards measurement errors? Note that measurements are the dominant source of noise for superconducting qubits. Since the considered BB codes have a highly redundant set of check operators, one may expect that they offer extra protection against measurement errors.

  6. 6.

    The general-purpose BP-OSD decoder used here may not be fast enough to perform error correction in real time. Is there a faster decoder making use of the special structure of BB codes?

  7. 7.

    How to apply logical gates? While our work gives a fault-tolerant implementation of certain logical gates, these gates offer very limited computational power and are primarily useful for implementing memory capabilities.

References

  • [1] Michael A. Nielsen and Isaac Chuang. Quantum computation and quantum information, 2002.
    🤖 AI Reference Decoder [1] — Nielsen & Chuang (2002) — Standard Quantum Computing Textbook:
    What this source is: The foundational textbook defining the core mathematical and physical principles of quantum information, quantum circuits, and error correction.
    What this paper references from it: Cited in the introduction to motivate quantum computing as offering asymptotic speedups over classical algorithms for computational problems.
  • [2] Seth Lloyd. Universal quantum simulators. Science, 273(5278):1073–1078, 1996.
    🤖 AI Reference Decoder [2] — Lloyd (1996) — Universal Quantum Simulators:
    What this source is: A landmark paper proving that quantum computers can efficiently simulate local quantum systems using Trotterized Hamiltonian evolution.
    What this paper references from it: Cited alongside Nielsen & Chuang to highlight scientific quantum simulation as a major algorithmic motivation for building scalable quantum computers.
  • [3] Hefeng Wang, Sabre Kais, Alán Aspuru-Guzik, and Mark R. Hoffmann. Quantum algorithm for obtaining the energy spectrum of molecular systems. Physical Chemistry Chemical Physics, 10(35):5388–5393, 2008.
    🤖 AI Reference Decoder [3] — Wang et al. (2008) — Quantum Molecular Energy Spectra:
    What this source is: An early quantum chemistry paper proposing quantum algorithms and phase estimation to compute molecular ground and excited energy states.
    What this paper references from it: Cited as an example of scientific discovery applications in molecular chemistry that justify building fault-tolerant quantum hardware.
  • [4] Markus Reiher, Nathan Wiebe, Krysta M. Svore, Dave Wecker, and Matthias Troyer. Elucidating reaction mechanisms on quantum computers. Proceedings of the National Academy of Sciences, 114(29):7555–7560, 2017.
    🤖 AI Reference Decoder [4] — Reiher et al. (2017) — Quantum Simulation of FeMoco:
    What this source is: A prominent computational study establishing resource estimates for simulating the nitrogenase FeMoco active site on a fault-tolerant quantum processor.
    What this paper references from it: Cited to illustrate real-world chemical reaction mechanism discovery requiring error-corrected logical quantum computing.
  • [5] Yuri Alexeev, Dave Bacon, Kenneth R. Brown, Robert Calderbank, Lincoln D. Carr, Frederic T. Chong, Brian DeMarco, Dirk Englund, Edward Farhi, Bill Fefferman, et al. Quantum computer systems for scientific discovery. PRX Quantum, 2(1):017001, 2021.
    🤖 AI Reference Decoder [5] — Alexeev et al. (2021) — Quantum Systems for Science:
    What this source is: A comprehensive roadmap outlining quantum computing hardware, software, and co-design systems for scientific discovery.
    What this paper references from it: Cited in the opening paragraph to emphasize how scalable quantum processors can advance computational physics, chemistry, and materials science.
  • [6] Jay M. Gambetta, Jerry M. Chow, and Matthias Steffen. Building logical qubits in a superconducting quantum computing system. npj Quantum Information, 3(1):2, 2017.
    🤖 AI Reference Decoder [6] — Gambetta et al. (2017) — Logical Qubits in Superconducting Systems:
    What this source is: An architectural blueprint from IBM Quantum describing how to construct fault-tolerant logical qubits on superconducting processor architectures.
    What this paper references from it: Cited to explain that physical noise and decoherence are inevitable due to the tension between isolating qubits and controlling them.
  • [7] Pranav S. Mundada, Aaron Barbosa, Smarak Maity, Yulun Wang, T. M. Stace, Thomas Merkh, Felicity Nielson, Andre R. R. Carvalho, Michael Hush, Michael J. Biercuk, and Yuval Baum. Experimental benchmarking of an automated deterministic error suppression workflow for quantum algorithms, 2023.
    🤖 AI Reference Decoder [7] — Mundada et al. (2023) — Automated Error Suppression Workflow:
    What this source is: An experimental paper demonstrating automated deterministic error suppression techniques to mitigate control crosstalk and drift in quantum processors.
    What this paper references from it: Cited as an example of physical noise sources and control imperfections that plague current hardware.
  • [8] Nathalie P. De Leon, Kohei M. Itoh, Dohun Kim, Karan K. Mehta, Tracy E. Northup, Hanhee Paik, B.S. Palmer, Nitin Samarth, Sorawis Sangtawesin, and David W. Steuerman. Materials challenges and opportunities for quantum computing hardware. Science, 372(6539):eabb2823, 2021.
    🤖 AI Reference Decoder [8] — De Leon et al. (2021) — Quantum Materials and Hardware Challenges:
    What this source is: A review detailing material defects, dielectric loss, and surface impurities that cause decoherence across various quantum hardware platforms.
    What this paper references from it: Cited to highlight materials-level noise mechanisms that degrade superconducting and solid-state qubit performance.
  • [9] Antonio D. Córcoles, Jerry M. Chow, Jay M. Gambetta, Chad Rigetti, J. R. Rozen, George A. Keefe, Mary Beth Rothwell, Mark B. Ketchen, and M. Steffen. Protecting superconducting qubits from radiation. Applied Physics Letters, 99(18):181906, 11 2011.
    🤖 AI Reference Decoder [9] — Córcoles et al. (2011) — Radiation Shielding for Superconducting Qubits:
    What this source is: An experimental study demonstrating that stray infrared and ionizing environmental radiation significantly lowers superconducting qubit coherence.
    What this paper references from it: Cited to identify ambient environmental radiation as a key source of physical qubit decoherence.
  • [10] Antti P. Vepsäläinen, Amir H. Karamlou, John L. Orrell, Akshunna S. Dogra, Ben Loer, Francisca Vasconcelos, David K. Kim, Alexander J. Melville, Bethany M. Niedzielski, Jonilyn L. Yoder, et al. Impact of ionizing radiation on superconducting qubit coherence. Nature, 584(7822):551–556, 2020.
    🤖 AI Reference Decoder [10] — Vepsäläinen et al. (2020) — Ionizing Radiation and Qubit Coherence:
    What this source is: A landmark study showing that cosmic rays and background ionizing radiation break Cooper pairs, placing a fundamental limit on superconducting qubit lifetimes.
    What this paper references from it: Cited to illustrate how background radiation events cause correlated bursts of physical errors.
  • [11] Ted Thorbeck, Andrew Eddins, Isaac Lauer, Douglas T. McClure, and Malcolm Carroll. Two-level-system dynamics in a superconducting qubit due to background ionizing radiation. PRX Quantum, 4:020356, Jun 2023.
    🤖 AI Reference Decoder [11] — Thorbeck et al. (2023) — Two-Level Systems from Radiation:
    What this source is: A physics study characterizing the creation and relaxation of two-level fluctuators in superconducting qubits triggered by ionizing radiation.
    What this paper references from it: Cited as evidence of ionizing radiation impacts generating transient two-level defects and error bursts.
  • [12] Yukai Wu, Sheng-Tao Wang, and L.-M. Duan. Noise analysis for high-fidelity quantum entangling gates in an anharmonic linear Paul trap. Physical Review A, 97(6):062325, 2018.
    🤖 AI Reference Decoder [12] — Wu et al. (2018) — Raman Scattering in Trapped Ions:
    What this source is: An atomic physics paper calculating fundamental spontaneous Raman scattering limits during stimulated Raman laser gates in trapped-ion qubits.
    What this paper references from it: Cited alongside superconducting error papers to illustrate hardware noise mechanisms across physical qubit architectures.
  • [13] Matthew J. Boguslawski, Zachary J. Wall, Samuel R. Vizvary, Isam Daniel Moore, Michael Bareian, David T.C. Allcock, David J. Wineland, Eric R. Hudson, and Wesley C. Campbell. Raman scattering errors in stimulated-raman-induced logic gates in ba+ 133. Physical Review Letters, 131(6):063001, 2023.
    🤖 AI Reference Decoder [13] — Boguslawski et al. (2023) — Raman Scattering in Barium-133 Ions:
    What this source is: An experimental study measuring Raman scattering error rates during laser-induced quantum logic gates in trapped barium-133 ions.
    What this paper references from it: Cited to show that fundamental optical scattering limits impose non-zero gate error rates in trapped-ion hardware.
  • [14] A. A. Houck, J. A. Schreier, B. R. Johnson, J. M. Chow, Jens Koch, J. M. Gambetta, D. I. Schuster, L. Frunzio, M. H. Devoret, S. M. Girvin, and R. J. Schoelkopf. Controlling the spontaneous emission of a superconducting transmon qubit. Physical Review Letters, 101:080502, 2008.
    🤖 AI Reference Decoder [14] — Houck et al. (2008) — Controlling Purcell Spontaneous Emission:
    What this source is: A foundational circuit QED paper demonstrating how cavity engineering suppresses spontaneous emission and Purcell decay in superconducting transmons.
    What this paper references from it: Cited to illustrate how physical design constraints and photon decay channels create unavoidable noise.
  • [15] Peter W. Shor. Scheme for reducing decoherence in quantum computer memory. Physical Review A, 52(4):R2493, 1995.
    🤖 AI Reference Decoder [15] — Shor (1995) — Discovery of Quantum Error Correction:
    What this source is: The historic paper that proved quantum error correction is possible by introducing the 9-qubit Shor code to protect against arbitrary quantum noise.
    What this paper references from it: Cited in the introduction to mark the inception of fault-tolerant quantum error correction via redundant physical qubit encoding.
  • [16] Dorit Aharonov and Michael Ben-Or. Fault-tolerant quantum computation with constant error. In Proceedings of the twenty-ninth Annual ACM Symposium on Theory of Computing, pages 176–188, 1997.
    🤖 AI Reference Decoder [16] — Aharonov & Ben-Or (1997) — Fault-Tolerant Quantum Threshold Theorem:
    What this source is: A milestone theoretical paper proving that arbitrarily long quantum computations can succeed if the physical error rate is below a fixed threshold.
    What this paper references from it: Cited to support the threshold principle: quantum error correction works only when hardware error rates fall below a critical accuracy threshold.
  • [17] Alexei Yu. Kitaev. Quantum computations: algorithms and error correction. Russian Mathematical Surveys, 52(6):1191, 1997.
    🤖 AI Reference Decoder [17] — Kitaev (1997) — Anyonic and Topological Quantum Memory:
    What this source is: A pioneering paper that introduced topological quantum error correction, surface codes, and toric codes based on anyonic excitations in 2D spin lattices.
    What this paper references from it: Cited to establish the mathematical foundations of fault tolerance and topological stabilizer error correction.
  • [18] Panos Aliferis, Daniel Gottesman, and John Preskill. Quantum accuracy threshold for concatenated distance-3 codes. arXiv preprint quant-ph/0504218, 2005.
    🤖 AI Reference Decoder [18] — Aliferis et al. (2005) — Quantum Accuracy Threshold for Concatenated Codes:
    What this source is: A seminal paper establishing rigorous fault-tolerant threshold bounds and malignant event analysis for concatenated quantum error-correcting codes.
    What this paper references from it: Cited alongside the threshold theorems to define the fault tolerance threshold regime under noisy gates.
  • [19] Alexei Kitaev. Fault-tolerant quantum computation by anyons. arXiv preprint quant-ph/9707021, 1997.
    🤖 AI Reference Decoder [19] — Kitaev (2003) — Fault-Tolerant Quantum Computation by Anyons:
    What this source is: The foundational formulation of toric codes and topological quantum computing, encoding information in non-local topological degrees of freedom.
    What this paper references from it: Cited as the originator of topological quantum memory and 2D stabilizer codes with local check operators.
  • [20] Sergey B. Bravyi and Alexei Yu. Kitaev. Quantum codes on a lattice with boundary. arXiv preprint quant-ph/9811052, 1998.
    🤖 AI Reference Decoder [20] — Bravyi & Kitaev (1998) — Planar Surface Codes with Boundaries:
    What this source is: The seminal paper adapting Kitaev's toric code into planar surface codes with rough and smooth boundaries suitable for 2D physical qubit grids.
    What this paper references from it: Cited to reference the planar surface code geometry that serves as the primary benchmark for fault-tolerant architectures.
  • [21] Eric Dennis, Alexei Kitaev, Andrew Landahl, and John Preskill. Topological quantum memory. Journal of Mathematical Physics, 43(9):4452–4505, 2002.
    🤖 AI Reference Decoder [21] — Dennis et al. (2002) — Topological Quantum Memory and Minimum-Weight Matching:
    What this source is: A classic paper introducing 3D spacetime syndrome decoding for topological memories and proving the ~1% fault-tolerant threshold using matching algorithms.
    What this paper references from it: Cited as the foundational benchmark for syndrome extraction histories, phenomenological thresholds, and minimum-weight perfect matching.
  • [22] Austin G. Fowler, Ashley M. Stephens, and Peter Groszkowski. High-threshold universal quantum computation on the surface code. Physical Review A, 80(5):052312, 2009.
    🤖 AI Reference Decoder [22] — Fowler et al. (2009) — High-Threshold Surface Code Universal Computing:
    What this source is: A cornerstone paper showing how to achieve ~1% error thresholds in surface codes with realistic 2D nearest-neighbor quantum circuits.
    What this paper references from it: Cited to reference the circuit-level noise model and standard syndrome extraction scheduling used to simulate surface code thresholds.
  • [23] Maika Takita, Antonio D. Córcoles, Easwar Magesan, Baleegh Abdo, Markus Brink, Andrew Cross, Jerry M. Chow, and Jay M. Gambetta. Demonstration of weight-four parity measurements in the surface code architecture. Physical Review Letters, 117(21):210505, 2016.
    🤖 AI Reference Decoder [23] — Takita et al. (2016) — Weight-Four Parity Measurements in Transmons:
    What this source is: An experimental milestone demonstrating repeated weight-four stabilizer parity checks on a small superconducting surface code lattice.
    What this paper references from it: Cited to show experimental progress toward surface code syndrome extraction on superconducting qubit processors.
  • [24] J. F. Marques, B. M. Varbanov, M. S. Moreira, Hany Ali, Nandini Muthusubramanian, Christos Zachariadis, Francesco Battistel, Marc Beekman, Nadia Haider, Wouter Vlothuizen, et al. Logical-qubit operations in an error-detecting surface code. Nature Physics, 18(1):80–86, 2022.
    🤖 AI Reference Decoder [24] — Marques et al. (2022) — Logical Operations in Surface Codes:
    What this source is: An experimental paper demonstrating fault-tolerant logical state preparation, manipulation, and error detection in a distance-2 surface code with superconducting qubits.
    What this paper references from it: Cited to ground the ongoing experimental pursuit of surface code fault tolerance on superconducting chips.
  • [25] Sebastian Krinner, Nathan Lacroix, Ants Remm, Agustin Di Paolo, Elie Genois, Catherine Leroux, Christoph Hellings, Stefania Lazar, Francois Swiadek, Johannes Herrmann, et al. Realizing repeated quantum error correction in a distance-three surface code. Nature, 605(7911):669–674, 2022.
    🤖 AI Reference Decoder [25] — Krinner et al. (2022) — Repeated QEC in Distance-Three Surface Code:
    What this source is: An experimental landmark demonstrating repeated syndrome extraction cycles in a distance-3 superconducting surface code without damaging logical information.
    What this paper references from it: Cited to illustrate modern multi-round error correction implementations in superconducting circuits.
  • [26] Youwei Zhao, Yangsen Ye, He-Liang Huang, Yiming Zhang, Dachao Wu, Huijie Guan, Qingling Zhu, Zuolin Wei, Tan He, Sirui Cao, et al. Realization of an error-correcting surface code with superconducting qubits. Physical Review Letters, 129(3):030501, 2022.
    🤖 AI Reference Decoder [26] — Zhao et al. (2022) — Surface Code Realization on Superconducting Qubits:
    What this source is: An experimental demonstration of repeated surface code error detection on the 66-qubit Zuchongzhi superconducting quantum processor.
    What this paper references from it: Cited to show that planar surface codes are being actively tested on 2D superconducting quantum hardware.
  • [27] Google Quantum AI. Suppressing quantum errors by scaling a surface code logical qubit. Nature, 614(7949):676–681, 2023.
    🤖 AI Reference Decoder [27] — Google Quantum AI (2023) — Suppressing Errors by Scaling Surface Codes:
    What this source is: A milestone experiment showing for the first time that increasing surface code distance from d=3 to d=5 suppresses logical error rates below threshold.
    What this paper references from it: Cited to benchmark the state of the art in surface codes, while emphasizing that surface codes require massive physical qubit overheads.
  • [28] Daniel Gottesman. Fault-tolerant quantum computation with constant overhead. arXiv preprint arXiv:1310.2984, 2013.
    🤖 AI Reference Decoder [28] — Gottesman (2013) — Fault-Tolerant Computing with Constant Overhead:
    What this source is: A groundbreaking theoretical paper demonstrating that quantum low-density parity-check (qLDPC) codes can achieve fault tolerance with constant qubit overhead.
    What this paper references from it: Cited to motivate qLDPC codes as a drastically more hardware-efficient alternative to surface codes.
  • [29] Maxime A. Tremblay, Nicolas Delfosse, and Michael E. Beverland. Constant-overhead quantum error correction with thin planar connectivity. Physical Review Letters, 129(5):050504, 2022.
    🤖 AI Reference Decoder [29] — Tremblay et al. (2022) — Constant-Overhead QEC with Thin Planar Connectivity:
    What this source is: A coding theory paper showing how to map constant-rate LDPC codes onto quasi-2D geometries using thin planar layers and finite-range couplers.
    What this paper references from it: Cited regarding graph thickness and the challenge of routing non-local qLDPC code checks on planar hardware.
  • [30] Nikolas P. Breuckmann and Barbara M. Terhal. Constructions and noise threshold of hyperbolic surface codes. IEEE Transactions on Information Theory, 62(6):3731–3744, 2016.
    🤖 AI Reference Decoder [30] — Breuckmann & Terhal (2016) — Hyperbolic Surface Codes and Thresholds:
    What this source is: A foundational paper constructing quantum error-correcting codes on tessellations of hyperbolic manifolds, offering non-zero encoding rates and high thresholds.
    What this paper references from it: Cited to survey early geometrically inspired LDPC and hyperbolic codes that improve qubit encoding rates over Euclidean surface codes.
  • [31] Oscar Higgott and Nikolas P. Breuckmann. Subsystem codes with high thresholds by gauge fixing and reduced qubit overhead. Physical Review X, 11(3):031039, 2021.
    🤖 AI Reference Decoder [31] — Higgott & Breuckmann (2021) — Subsystem Codes by Gauge Fixing:
    What this source is: A paper developing 3D subsystem codes and hyperbolic subsystem codes that achieve high fault-tolerant thresholds and lower check weights through gauge fixing.
    What this paper references from it: Cited as an advanced LDPC and subsystem code construction that reduces physical check connectivity.
  • [32] Oscar Higgott and Nikolas P. Breuckmann. Constructions and performance of hyperbolic and semi-hyperbolic floquet codes. arXiv preprint arXiv:2308.03750, 2023.
    🤖 AI Reference Decoder [32] — Higgott & Breuckmann (2023) — Hyperbolic and Semi-Hyperbolic Floquet Codes:
    What this source is: A study introducing dynamic Floquet check-measurement schedules on hyperbolic geometries to obtain high-rate fault-tolerant codes.
    What this paper references from it: Cited in the review of modern dynamic and hyperbolic LDPC code variants.
  • [33] Jean-Pierre Tillich and Gilles Zémor. Quantum LDPC codes with positive rate and minimum distance proportional to the square root of the blocklength. IEEE Transactions on Information Theory, 60(2):1193–1202, 2013.
    🤖 AI Reference Decoder [33] — Tillich & Zémor (2013) — Quantum Hypergraph Product Codes:
    What this source is: The seminal paper inventing hypergraph product (HGP) codes, which systematically convert two classical linear codes into quantum LDPC codes with constant rate.
    What this paper references from it: Cited as the fundamental mathematical construction that enabled general quantum LDPC codes with high encoding rates.
  • [34] Nikolas P. Breuckmann and Jens N. Eberhardt. Balanced product quantum codes. IEEE Transactions on Information Theory, 67(10):6653–6674, 2021.
    🤖 AI Reference Decoder [34] — Breuckmann & Eberhardt (2021) — Balanced Product Quantum Codes:
    What this source is: A landmark paper generalizing hypergraph products to group actions and fiber bundles, yielding quantum LDPC codes with linear distance and high rates.
    What this paper references from it: Cited to contextualize product-based algebraic qLDPC code constructions.
  • [35] Alexey A. Kovalev and Leonid P. Pryadko. Quantum kronecker sum-product low-density parity-check codes with finite rate. Physical Review A, 88(1):012311, 2013.
    🤖 AI Reference Decoder [35] — Kovalev & Pryadko (2013) — Generalized Bicycle Quantum LDPC Codes:
    What this source is: A pioneering paper introducing generalized bicycle (GB) codes based on group rings and circulant matrices, allowing compact stabilizer definitions.
    What this paper references from it: Cited as the direct algebraic ancestor of bivariate bicycle codes, which extend Kovalev-Pryadko bicycle codes to two commuting polynomial variables.
  • [36] Pavel Panteleev and Gleb Kalachev. Degenerate quantum LDPC codes with good finite length performance. Quantum, 5:585, 2021.
    🤖 AI Reference Decoder [36] — Panteleev & Kalachev (2021) — Degenerate Quantum LDPC Codes and BP-OSD:
    What this source is: A breakthrough paper introducing Lifted Product codes and showing that Belief Propagation with Ordered Statistics Decoding (BP-OSD) achieves high decoding performance on qLDPC codes.
    What this paper references from it: Cited as the foundational source of the BP-OSD decoding algorithm adapted in this paper for circuit-level noise.
  • [37] Hsiang-Ku Lin and Leonid P. Pryadko. Quantum two-block group algebra codes. arXiv preprint arXiv:2306.16400, 2023.
    🤖 AI Reference Decoder [37] — Lin & Pryadko (2023) — Quantum LDPC Codes on Commutative Algebras:
    What this source is: A mathematical coding paper investigating the code distance, degeneracy, and syndrome schedules of quantum codes derived from commutative polynomial rings.
    What this paper references from it: Cited to ground the algebraic properties of quantum codes over 2D abelian group rings.
  • [38] Renyu Wang, Hsiang-Ku Lin, and Leonid P. Pryadko. Abelian and non-Abelian quantum two-block codes. arXiv preprint arXiv:2305.06890, 2023.
    🤖 AI Reference Decoder [38] — Wang et al. (2023) — High-Performance Weight-Reduced Quantum LDPC Codes:
    What this source is: A paper presenting families of bivariate and quasi-cyclic LDPC codes optimized for low-weight parity checks and small qubit footprints.
    What this paper references from it: Cited as contemporary work studying small, high-rate quantum LDPC codes with short check lengths.
  • [39] Pavel Panteleev and Gleb Kalachev. Asymptotically good quantum and locally testable classical LDPC codes. In Proceedings of the 54th Annual ACM SIGACT Symposium on Theory of Computing, pages 375–388, 2022.
    🤖 AI Reference Decoder [39] — Panteleev & Kalachev (2022) — Proof of Asymptotically Good Quantum LDPC Codes:
    What this source is: The historic theoretical breakthrough solving the long-standing open problem by proving the existence of asymptotically good quantum LDPC codes with linear rate and linear distance.
    What this paper references from it: Cited to highlight the ultimate theoretical triumph of qLDPC codes having asymptotically optimal scaling.
  • [40] Anthony Leverrier and Gilles Zémor. Quantum Tanner codes. In 2022 IEEE 63rd Annual Symposium on Foundations of Computer Science (FOCS), pages 872–883. IEEE, 2022.
    🤖 AI Reference Decoder [40] — Leverrier & Zémor (2022) — Asymptotically Good Quantum Tanner Codes:
    What this source is: A landmark paper independently proving asymptotically good quantum LDPC codes by combining classical codes with high-dimensional expander complexes.
    What this paper references from it: Cited alongside Panteleev and Kalachev to acknowledge the mathematical proof of good quantum LDPC codes.
  • [41] Nouédyn Baspin and Anirudh Krishna. Quantifying nonlocality: How outperforming local quantum codes is expensive. Physical Review Letters, 129(5):050505, 2022.
    🤖 AI Reference Decoder [41] — Baspin & Krishna (2022) — Connectivity Trade-offs in Quantum LDPC Codes:
    What this source is: A physics theorem establishing rigorous geometric bounds between code distance and the spatial dimension or wire crossings required to embed quantum codes.
    What this paper references from it: Cited to explain the fundamental wiring and connectivity constraints that govern embedding qLDPC codes into 2D or 3D chips.
  • [42] Sergey Bravyi, David Poulin, and Barbara Terhal. Tradeoffs for reliable quantum information storage in 2D systems. Physical Review Letters, 104(5):050503, 2010.
    🤖 AI Reference Decoder [42] — Bravyi, Poulin & Terhal (2010) — 2D Quantum Memory Limits:
    What this source is: A foundational no-go theorem proving that local stabilizer codes in 2D Euclidean space are strictly bounded to constant code distance and cannot achieve macroscopic self-correction.
    What this paper references from it: Cited to show why long-range or multi-layer connectivity is strictly required to escape 2D surface code limitations and achieve constant-overhead memory.
  • [43] Petra Mutzel, Thomas Odenthal, and Mark Scharbrodt. The thickness of graphs: a survey. Graphs and combinatorics, 14:59–73, 1998.
    🤖 AI Reference Decoder [43] — Mutzel et al. (1998) — Survey on Graph Thickness:
    What this source is: A definitive combinatorial mathematics survey defining graph thickness—the minimum number of planar layers needed to embed a graph without edge crossings.
    What this paper references from it: Cited to formalize the hardware routing complexity of bivariate bicycle Tanner graphs as requiring multi-layer planar routing (thickness).
  • [44] Andrew Steane. Multiple-particle interference and quantum error correction. Proceedings of the Royal Society of London. Series A: Mathematical, Physical and Engineering Sciences, 452(1954):2551–2577, 1996.
    🤖 AI Reference Decoder [44] — Steane (1996) — CSS Code Construction:
    What this source is: The classic paper introducing Calderbank-Shor-Steane (CSS) codes, demonstrating how to build quantum error-correcting codes from dual classical linear codes.
    What this paper references from it: Cited as the fundamental CSS condition ensuring that X and Z parity check matrices commute.
  • [45] A. Robert Calderbank and Peter W. Shor. Good quantum error-correcting codes exist. Physical Review A, 54(2):1098, 1996.
    🤖 AI Reference Decoder [45] — Calderbank & Shor (1996) — Existence of Good CSS Quantum Codes:
    What this source is: A foundational quantum information paper showing that CSS stabilizer codes can achieve non-zero rates and protect quantum superpositions.
    What this paper references from it: Cited alongside Steane to establish the commutation relations for bivariate bicycle CSS codes.
  • [46] Lawrence Z. Cohen, Isaac H. Kim, Stephen D. Bartlett, and Benjamin J. Brown. Low-overhead fault-tolerant quantum computing using long-range connectivity. Science Advances, 8(20), 2022.
    🤖 AI Reference Decoder [46] — Cohen et al. (2022) — Fault-Tolerant Computing with Long-Range Connectivity:
    What this source is: An architecture proposal describing how to implement logical gates, data buses, and ancilla routing for qLDPC codes on hardware with long-range interconnects.
    What this paper references from it: Cited for the load-store ancilla mechanism and routing protocols used to read and write data to the bivariate bicycle quantum memory.
  • [47] Nicolas Delfosse and Adam Paetznick. Spacetime codes of clifford circuits. arXiv preprint arXiv:2304.05943, 2023.
    🤖 AI Reference Decoder [47] — Delfosse & Paetznick (2023) — Spacetime Codes of Clifford Circuits:
    What this source is: A theoretical framework mapping fault-tolerant syndrome extraction circuits into 3D spacetime graphs to unify error tracking and decoder representation.
    What this paper references from it: Cited to describe syndrome extraction circuits and the construction of circuit-level detector graphs for decoding.
  • [48] Matt McEwen, Dave Bacon, and Craig Gidney. Relaxing hardware requirements for surface code circuits using time-dynamics. Quantum, 7:1172, 2023.
    🤖 AI Reference Decoder [48] — McEwen et al. (2023) — Relaxing Hardware Requirements Using Time-Dynamics:
    What this source is: A quantum architecture paper introducing dynamically scheduled stabilizer measurements that lower physical coupler and gate requirements in surface codes.
    What this paper references from it: Cited regarding syndrome measurement scheduling and decoding circuits under hardware constraints.
  • [49] Oscar Higgott, Thomas C. Bohdanowicz, Aleksander Kubica, Steven T. Flammia, and Earl T. Campbell. Improved decoding of circuit noise and fragile boundaries of tailored surface codes. Physical Review X, 13(3):031007, 2023.
    🤖 AI Reference Decoder [49] — Higgott et al. (2023) — Decoding Circuit Noise and Fragile Boundaries:
    What this source is: A decoding paper introducing the Sinter framework and analyzing how circuit-level fault paths and detector structures impact surface code thresholds.
    What this paper references from it: Cited to reference circuit-level noise modelling, detector generation, and fault graph constructions.
  • [50] Gyorgy P. Geher, Ophelia Crawford, and Earl T. Campbell. Tangling schedules eases hardware connectivity requirements for quantum error correction. arXiv preprint arXiv:2307.10147, 2023.
    🤖 AI Reference Decoder [50] — Geher et al. (2023) — Tangling Schedules to Ease Hardware Connectivity:
    What this source is: A study showing how interlaced or tangled CNOT schedules allow stabilizer codes to be measured with fewer physical coupler intersections.
    What this paper references from it: Cited to discuss syndrome measurement schedules that avoid coupler congestion when routing checks.
  • [51] Joschka Roffe, David R. White, Simon Burton, and Earl Campbell. Decoding across the quantum low-density parity-check code landscape. Physical Review Research, 2(4):043423, 2020.
    🤖 AI Reference Decoder [51] — Roffe et al. (2020) — BP-OSD Decoding Across qLDPC Landscape:
    What this source is: A milestone paper demonstrating that Belief Propagation combined with Ordered Statistics Decoding provides a high-threshold, generic decoder for diverse qLDPC codes.
    What this paper references from it: Cited as the core decoding algorithm adapted in this work to decode bivariate bicycle codes under circuit-level noise.
  • [52] Peter Groszkowski, Austin Fowler, and Ashley M. Stephens. High-threshold surface code quantum computing: threshold calculation. In APS March Meeting Abstracts, pages W17–002, 2009.
    🤖 AI Reference Decoder [52] — Groszkowski et al. (2009) — High-Threshold Surface Code Calculation:
    What this source is: A paper calculating numerical fault-tolerant thresholds for surface codes using Monte Carlo simulations under phenomenological and circuit noise.
    What this paper references from it: Cited for the standard definition of the logical error rate per syndrome measurement round.
  • [53] Sergey Bravyi, Oliver Dial, Jay M. Gambetta, Darío Gil, and Zaira Nazario. The future of quantum computing with superconducting qubits. Journal of Applied Physics, 132(16), 2022.
    🤖 AI Reference Decoder [53] — Bravyi et al. (2022) — Future of Superconducting Quantum Computing:
    What this source is: An IBM Quantum review laying out roadmap milestones, multi-layer chip packaging, and long-range bus couplers for scaling superconducting transmons.
    What this paper references from it: Cited regarding the multi-level wiring, 3D chip packaging, and long-range resonator buses needed to implement BB codes on IBM chips.
  • [54] Pavel Panteleev and Gleb Kalachev. Quantum LDPC codes with almost linear minimum distance. IEEE Transactions on Information Theory, 68(1):213–229, 2021.
    🤖 AI Reference Decoder [54] — Panteleev & Kalachev (2021) — Quantum LDPC Codes with Almost Linear Distance:
    What this source is: The paper introducing Lifted Product codes over general groups, proving almost linear minimum distance for quantum LDPC codes.
    What this paper references from it: Cited for the mathematical proof that the X and Z distances are equal (dX = dZ) by viewing bivariate bicycle codes as lifted product codes.
  • [55] Andrew J. Landahl, Jonas T. Anderson, and Patrick R. Rice. Fault-tolerant quantum computing with color codes. arXiv preprint arXiv:1108.5738, 2011.
    🤖 AI Reference Decoder [55] — Landahl et al. (2011) — Fault-Tolerant Quantum Computing with Color Codes:
    What this source is: A paper detailing 2D color code lattice surgery, transversal Clifford gates, and decoding algorithms for 2D topological codes.
    What this paper references from it: Cited for using the BP-distance heuristic as an efficient proxy to search and evaluate code distances across candidate BB codes.
  • [56] Scott Aaronson and Daniel Gottesman. Improved simulation of stabilizer circuits. Physical Review A, 70(5):052328, 2004.
    🤖 AI Reference Decoder [56] — Aaronson & Gottesman (2004) — Improved Simulation of Stabilizer Circuits:
    What this source is: The seminal paper establishing the CHP algorithm for efficiently tracking Pauli and Clifford operations on large stabilizer states using binary tableaus.
    What this paper references from it: Cited to verify the logical functionality of the syndrome measurement circuits using stabilizer tableau tracking.
  • [57] Austin G. Fowler, Adam C. Whiteside, Angus L. McInnes, and Alimohammad Rabbani. Topological code autotune. Physical Review X, 2(4):041003, 2012.
    🤖 AI Reference Decoder [57] — Fowler et al. (2012) — Topological Code Autotune:
    What this source is: A paper developing automated optimization and matching graph calibration for topological quantum codes subject to realistic, non-uniform circuit noise.
    What this paper references from it: Cited regarding graph-based decoding and syndrome matching under circuit-level noise.
  • [58] Oscar Higgott and Craig Gidney. Sparse blossom: correcting a million errors per core second with minimum-weight matching. arXiv preprint arXiv:2303.15933, 2023.
    🤖 AI Reference Decoder [58] — Higgott & Gidney (2023) — Sparse Blossom Fast Matching Decoder:
    What this source is: The paper introducing the Sparse Blossom algorithm, achieving ultra-fast minimum-weight perfect matching capable of correcting a million errors per core second.
    What this paper references from it: Cited to benchmark modern fast matching decoders against Belief Propagation decoders.
  • [59] Elwyn Berlekamp, Robert McEliece, and Henk Van Tilborg. On the inherent intractability of certain coding problems (corresp.). IEEE Transactions on Information Theory, 24(3):384–386, 1978.
    🤖 AI Reference Decoder [59] — Berlekamp, McEliece & van Tilborg (1978) — Inherent Intractability of Linear Code Decoding:
    What this source is: The classic paper proving that maximum-likelihood decoding and minimum-weight syndrome decoding of general linear codes are NP-complete.
    What this paper references from it: Cited to establish why exact minimum-weight syndrome decoding of qLDPC codes is NP-hard, necessitating heuristic decoders like BP-OSD.
  • [60] Joschka Roffe. LDPC: Python tools for low density parity check codes, 2022.
    🤖 AI Reference Decoder [60] — Roffe (2022) — LDPC Python Software Library:
    What this source is: An open-source Python library implementing Belief Propagation and Ordered Statistics Decoding (BP-OSD) algorithms for classical and quantum LDPC codes.
    What this paper references from it: Cited as the software package used to simulate BP-OSD decoding for bivariate bicycle codes in the numerical benchmarks.
  • [61] Sergey Bravyi and Alexander Vargo. Simulation of rare events in quantum error correction. Physical Review A, 88(6):062308, 2013.
    🤖 AI Reference Decoder [61] — Bravyi & Vargo (2013) — Simulation of Rare Events in Quantum Error Correction:
    What this source is: A paper developing splitting methods and importance sampling to compute tiny logical error rates below threshold without brute-force Monte Carlo.
    What this paper references from it: Cited as the simulation engine used to generate the rotated surface code baseline curves shown in the threshold comparison figures.
  • [62] Nikolas P. Breuckmann and Simon Burton. Fold-transversal Clifford gates for quantum codes. arXiv preprint arXiv:2202.06647, 2022.
    🤖 AI Reference Decoder [62] — Breuckmann & Burton (2022) — Fold-Transversal Clifford Gates for Quantum Codes:
    What this source is: A paper discovering that code symmetries and automorphisms can be exploited via spatial folding to execute transversal Clifford gates on qLDPC codes.
    What this paper references from it: Cited for the construction of fault-tolerant depth-four logical CNOT circuits on bivariate bicycle codes based on code automorphisms.
  • [63] Christopher A. Pattison, Anirudh Krishna, and John Preskill. Hierarchical memories: Simulating quantum LDPC codes with local gates. arXiv preprint arXiv:2303.04798, 2023.
    🤖 AI Reference Decoder [63] — Pattison et al. (2023) — Hierarchical Quantum LDPC Memories with Local Gates:
    What this source is: A theoretical paper showing how to simulate non-local quantum LDPC codes on geometrically local 2D layouts using hierarchical SWAP networks.
    What this paper references from it: Cited in the conclusion as a complementary architectural approach for realizing qLDPC memories with localized physical couplers.
  • [64] Jerry Chow, Oliver Dial, and Jay Gambetta. IBM Quantum breaks the 100‑qubit processor barrier, 2021.
    🤖 AI Reference Decoder [64] — Chow, Dial & Gambetta (2021) — IBM Breaks 100-Qubit Processor Barrier:
    What this source is: An IBM technical announcement detailing the architecture of the 127-qubit Eagle processor, featuring multi-layer wiring and multi-level packaging.
    What this paper references from it: Cited to reference the flip-chip packaging technology and routing layers developed for the IBM Eagle processor that can support BB code layouts.
  • [65] Paul Nation, Hanhee Paik, Andrew Cross, and Zaira Nazario. The IBM Quantum heavy hex lattice, 2021.
    🤖 AI Reference Decoder [65] — Nation et al. (2021) — IBM Quantum Heavy-Hex Lattice:
    What this source is: An IBM technical paper defining the heavy-hexagonal layout designed to reduce frequency collisions among fixed-frequency transmon qubits.
    What this paper references from it: Cited to contrast the heavy-hex lattice's low degree (up to 3 couplers per qubit) with the higher coupler degree (up to 7) required for bivariate bicycle codes.
  • [66] Jared B. Hertzberg, Eric J. Zhang, Sami Rosenblatt, Easwar Magesan, John A. Smolin, Jeng-Bang Yau, Vivekananda P. Adiga, Martin Sandberg, Markus Brink, Jerry M. Chow, and Jason S. Orcutt. Laser-annealing josephson junctions for yielding scaled-up superconducting quantum processors. npj Quantum Information, 7:129, 2021.
    🤖 AI Reference Decoder [66] — Hertzberg et al. (2021) — Laser-Annealed Josephson Junctions for Scaled Qubits:
    What this source is: An experimental paper demonstrating laser annealing to precisely tune transmon Josephson junction frequencies and eliminate spectator collision defects.
    What this paper references from it: Cited as a key fabrication technology enabling dense fixed-frequency transmon grids with higher coupler connectivity.
  • [67] David C. McKay, Stefan Filipp, Antonio Mezzacapo, Easwar Magesan, Jerry M. Chow, and Jay M. Gambetta. Universal gate for fixed-frequency qubits via a tunable bus. Physical Review Applied, 6:064007, Dec 2016.
    🤖 AI Reference Decoder [67] — McKay et al. (2016) — Universal Gate for Fixed-Frequency Qubits via Tunable Bus:
    What this source is: A circuit QED paper demonstrating cross-resonance gates and universal operations between fixed-frequency transmons connected through a tunable coupling bus.
    What this paper references from it: Cited to explain how cross-resonance gate dynamics and microwave buses operate across multi-qubit couplings.
  • [68] J. Stehlik, D. M. Zajac, D. L. Underwood, T. Phung, J. Blair, S. Carnevale, D. Klaus, G. A. Keefe, A. Carniol, M. Kumph, Matthias Steffen, and O. E. Dial. Tunable coupling architecture for fixed-frequency transmon superconducting qubits. Physical Review Letters, 127:080505, Aug 2021.
    🤖 AI Reference Decoder [68] — Stehlik et al. (2021) — Tunable Couplers for Fixed-Frequency Transmons:
    What this source is: An experimental paper demonstrating tunable bus couplers that eliminate residual ZZ crosstalk and enable fast two-qubit gates on fixed-frequency qubits.
    What this paper references from it: Cited regarding the physical implementation of tunable bus couplers required to mediate long-range links without crosstalk.
  • [69] F. Arute, K. Arya, R. Babbush, and et al. Quantum supremacy using a programmable superconducting processor. Nature, 574:505–510, 2019.
    🤖 AI Reference Decoder [69] — Arute et al. (2019) — Google Sycamore Quantum Supremacy:
    What this source is: The milestone paper demonstrating quantum computational supremacy on Google's 53-qubit Sycamore superconducting processor via random circuit sampling.
    What this paper references from it: Cited regarding the challenge of managing spectator qubit frequency collisions when scaling up coupler degrees on superconducting chips.
  • [70] David C. McKay, Ravi Naik, Philip Reinhold, Lev S. Bishop, and David I. Schuster. High-contrast qubit interactions using multimode cavity qed. Physical Review Letters, 114:080501, 2015.
    🤖 AI Reference Decoder [70] — McKay et al. (2015) — High-Contrast Interactions Using Multimode Cavities:
    What this source is: A circuit QED study showing how to couple superconducting qubits through multimode microwave cavities while controlling dispersive shifts.
    What this paper references from it: Cited regarding the electromagnetic limits of using long resonator buses where higher harmonic modes can cause crosstalk in the 144-qubit BB code.
  • [71] Alexander Ivrii. Private communication, 2023.
    🤖 AI Reference Decoder [71] — Ivrii (2023) — Private Communication on Syndrome Circuit Depth:
    What this source is: Personal correspondence detailing numerical optimizations and scheduling experiments that explore minimizing the CNOT depth of syndrome circuits.
    What this paper references from it: Cited in the discussion on whether the depth-7 syndrome measurement schedule for bivariate bicycle codes can be reduced to shallower circuits.