This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Fault-tolerant measurement-free quantum error correction with multi-qubit gates

Michael A. Perlin mika.perlin@gmail.com Infleqtion, Inc., Chicago, IL, 60615, USA    Vickram N. Premakumar Department of Physics, University of Wisconsin-Madison, 1150 University Avenue, Madison, WI, USA    Jiakai Wang Department of Physics, University of Wisconsin-Madison, 1150 University Avenue, Madison, WI, USA    Mark Saffman Department of Physics, University of Wisconsin-Madison, 1150 University Avenue, Madison, WI, USA Infleqtion, Inc., Madison, WI, 53703, USA    Robert Joynt Department of Physics, University of Wisconsin-Madison, 1150 University Avenue, Madison, WI, USA Kavli Institute for Theoretical Sciences, University of Chinese Academy of Sciences, Beijing 100190, China
(September 30, 2025)
Abstract

Measurement-free quantum error correction (MFQEC) offers an alternative to standard measurement-based QEC in platforms with an unconditional qubit reset gate. We revisit the question of fault tolerance (FT) for a measurement-free variant of the Steane code that leverages multi-qubit gates and redundant syndrome extraction, finding previously overlooked phase-flip errors that undermine FT. We then construct a revised MFQEC circuit that is resistant to all single-qubit errors, but which nonetheless cannot tolerate certain correlated errors. In order to investigate FT systematically, we introduce an efficient method to classically simulate MFQEC circuits with (i) Clifford gates for syndrome extraction, (ii) syndrome-controlled Pauli operations for decoding, and (iii) a Pauli noise model. We thereby find a pseudothreshold of 0.7%\sim 0.7\% for our revised MFQEC Steane code under a restricted noise model previously considered in the literature. We then relax noise model assumptions to identify general requirements for FT with multi-qubit gates, finding that existing multi-qubit neutral atom gates are incompatible with fault-tolerant syndrome extraction in a straightforward implementation of both measurement-based and measurement-free variants of the Steane code. Decomposing multi-qubit gates into two-qubit gates similarly spoils FT. Finally, we discuss the theoretical ingredients that are necessary to recover FT for MFQEC codes, including single-shot FT and a recent proposal by Heußen et al. [arXiv:2307.13296] to achieve FT by “copying” errors onto an ancilla register. By combining multi-qubit gates, redundant syndrome extraction, and copy-assisted FT, we construct a measurement-free and fault-tolerant variant of the Steane code with a pseudothreshold of 0.1%\sim 0.1\%.

I Introduction

Large-scale quantum computers will require quantum error correction (QEC) for reliable computation. The choice of best QEC protocol will depend strongly on the physical platform of a given quantum computer. The dominant paradigm for QEC relies heavily on repeated measurements to mitigate the buildup of entropy (errors) throughout a quantum computation. However, this reliance on measurements introduces its own set of challenges. In quantum computers based on neutral atoms, for example, measurement time is much longer than other gate times, and crosstalk due to light scattering over the course of a measurement can be difficult to control [1]. For semiconductor quantum dot qubits (e.g., spin qubits), long measurement times can similarly make traditional QEC less appealing [2, 3]. At the same time, these platforms allow for other non-unitary operations such as an unconditional qubit reset, which theoretically enables QEC. Measurement-free quantum error correction (MFQEC) has therefore been proposed as an alternative to the standard measurement-based paradigm [4, 5, 6, 7, 8, 9].

In a nutshell, standard qubit-based QEC can be broken down into error correction cycles that consist of four steps: (i) syndrome extraction, wherein the values of certain data-qubit observables that can diagnose errors are “written” onto the state of ancilla qubits, (ii) syndrome (ancilla qubit) measurement, (iii) classical decoding of the measurement results to infer any errors that may have occurred, and (iv) error correction on the data qubitsaaa Depending on the QEC code being used, the error correction step may forego performing physical operations on the quantum computer, and instead update a virtual “frame” that defines the computational basis for the data qubits. . MFQEC essentially replaces steps (ii)(iv) by a coherent decoding step that pumps entropy out of the data qubits into the ancilla qubits, followed by an unconditional dissipative “reset” of the ancilla qubits to fiducial |0\ket{0} states, without having to perform any measurements. The coherent decoding step of MFQEC is the reason why it is also sometimes referred to as coherent error correction. An alternative QEC paradigm is provided by autonomous or dissipative QEC, which forgoes the need for measurement through continuous engineered dissipation into a logical code space [10, 11, 11, 12, 13, 14]. We focus on gate-based (discrete) MFQEC in this work.

A QEC protocol, whether measurement-based or measurement-free, is said to be fault-tolerant if, when the QEC protocol itself consists of error-prone operations, the logical qubit encoded by the QEC code can achieve better performance in a quantum algorithm than the underlying physical qubits. By conventional wisdom, the overheads required for fault-tolerant MFQEC are thought to be significantly greater than those for fault-tolerant measurement-based QEC [15]. However, some recent works have challenged this conventional wisdom [6, 7, 8], which may make MFQEC more attractive for some quantum computing platforms. Notably, Ref. [6] found MFQEC pseudothresholds, or physical error rates required to achieve parity between physical and logical qubit performance, that are comparable to pseudothresholds in measurement-based codes. A key enabling factor for favorable MFQEC pseudothresholds is the availability of native multi-qubit gates, which circumvents the need to perform expensive decompositions of multi-qubit decoding logic into a two-qubit gate set. In principle, all necessary multi-qubit gates have been previously proposed in neutral atom platforms [16, 17, 18, 19, 20, 21, 22].

However, Ref. [6] overlooked a class of physically relevant single-qubit errors that have significant consequences for code performance. Specifically, the simulations in Ref. [6] did not allow for phase-flip errors on ancilla qubits during syndrome extraction. Including these errors spoils FT for the MFQEC circuits that were considered. In other words, the previously considered circuits have no pseudothreshold: their logical qubit error rates are lower bounded by physical error rates.

Focusing on the Steane code as an exemplar, in this work we show that an amendment to the circuit design in Ref. [6] recovers FT with respect to all single-qubit errors. We then develop a classical algorithm to efficiently simulate a broad class of MFQEC circuits with a Pauli noise model, using which we validate the new circuit design and demonstrate the existence of a pseudothreshold. In addition, we argue that certain features of the previously considered noise model are in fact too pessimistic, such that we altogether find a more favorable pseudothreshold of 0.7%\sim 0.7\% for the MFQEC Steane code with the noise model considered in Ref. [6].

However, the noise model that admits a pseudothreshold for the MFQEC Steane code makes certain assumptions about correlated data qubit errors. We therefore relax these assumptions to perform a systematic investigation of the requirements for FT. We thereby identify a class of correlated errors that spoil FT for the new circuit design, and observe that these errors are relevant in all protocols (that we can find) to natively implement the corresponding multi-qubit gates with neutral atoms. Specifically, we note the absence of single control, multi-target CNOTk-like gate protocols that are compatible with fault-tolerant syndrome extraction in a straightforward implementation of both measurement-based and measurement-free variants of the Steane code, and discuss how the underlying problem might be avoided with higher-distance QEC codes. We then consider the possibility of decomposing multi-qubit gates down to a two-qubit gate set, and find that doing so similarly spoils FT. Finally, we discuss general requirements for fault-tolerant MFQEC with both multi-qubit and two-qubit gate sets, highlighting two avenues in particular: single-shot FT, and a recent proposal to achieve FT by “copying” errors onto an ancilla register [9]. The recent proposal in particular allows us to construct a fault-tolerant variant of the Steane code with a pseudothreshold of 0.1%\sim 0.1\%.

The remainder of this paper is structured as follows. In Section II, we revisit the MFQEC circuit design in Ref. [6], discuss errors that spoil its FT, and present a revised circuit design that recovers FT. We present an efficient classical algorithm for simulating a class of MFQEC codes with Pauli noise models in Section III. We then analyze the FT properties of our revised circuit design in Section IV, and conclude in Section V.

II Circuit design

Refer to caption
Figure 1: (a) The MFQEC circuit with redundant syndrome extraction proposed for the Steane code in Ref. [6]. Here HH is a Hadamard gate and RR is a non-unitary Reset gate that unconditionally forces a qubit into the |0\ket{0} state. The top half of the circuit addresses data qubits, and the bottom half addresses ancilla qubits. This circuit is not fault-tolerant: red squares (\blacksquare) indicate locations at which a single-qubit phase error on an ancilla qubit propagates to an uncorrectable error on the data qubits. As a concrete example, we trace (with thicker red lines) the propagation of a single-qubit phase (ZZ) error on the top ancilla qubit to a two-qubit XXXX error on the data qubits. (b) Revised MFQEC circuit for the Steane code, which can now tolerate arbitrary single-qubit errors. The primary change from circuit (a) is reversing the roles that data and ancilla qubits play at the syndrome extraction steps. This reversal limits the number of times that each ancilla interacts with data qubits, and thereby prevents single-qubit ancilla errors from propagating to uncorrectable data errors. The simulations in Section IV were performed with CZ4 gates at the XX-type syndrome extraction stage, rather than Hadamard-transformed CNOT4 gates.

Figure 1(a) shows a circuit introduced in Ref. [6] to implement a single round of error correction for a MFQEC variant of the Steane code [23]. Data and ancilla qubits are, respectively, addressed by the top and bottom halves of this circuit. This circuit can be divided into four stages, each of which implements syndrome extraction or coherent error correction for bit-flip (XX-type) or phase-flip (ZZ-type) errors on the data qubits.

An important feature of the circuit in Figure 1(a), in contrast to the measurement-based Steane code, is that of redundant syndrome extraction, whereby an overcomplete set of stabilizers (error-witnessing observables) are written onto ancilla qubits. Redundant syndrome extraction is generally necessary for MFQEC circuits to tolerate faulty syndrome readout, or bit-flip errors on the ancilla qubitsbbb In measurement-based QEC, syndrome readout errors are tolerated through repeated rounds of syndrome extraction and measurement prior to error correction. . The choice of redundancy scheme can be optimized using design theory [24]. However, the circuit in Figure 1(a) cannot tolerate certain phase-flip errors on the ancilla qubits during syndrome extraction. Specifically, back-action causes some ancilla phase-flip errors to propagate through CNOTk operations to two-qubit XXXX or ZZZZ errors on the data qubits at the end of a code cycle. These data qubit errors are uncorrectable by the Steane code, and therefore irreversibly corrupt the state of an encoded logical qubit. The probability of logical state corruption in one code cycle is thereby bounded from below by the probability of an intolerable phase-flip error on the ancilla qubits. For reference, we provide the identities used to propagate errors through CNOTk gates in Figure 2.

Refer to caption
Figure 2: Propagation of (a) bit-flip (XX) and (b) phase-flip (ZZ) errors through CNOTk gates. Note that CNOTk gates commute with phase-flip errors on their control qubits and bit-flip errors on their target qubits. (c,d,e) The elementary identities that can be used to derive (a,b).

Having identified the intolerable errors for the circuit in Figure 1(a), we can reconfigure the circuit to avoid these faults, thereby arriving at the new circuit in Figure 1(b). The new circuit uses a design-based redundancy scheme for syndrome extraction [24], which is maximally tolerant of ancilla qubit errors and does not allow any single-qubit error to propagate to an uncorrectable error on the the data qubits. The crucial operational change from the circuit in Figure 1(a) is to switch the roles of the data and ancilla qubits in the syndrome extraction steps. Specifically, the new circuit can be obtained from the old by splitting data-controlled CNOTk gates into kk CNOT gates, reversing the role of control and target qubits with Hadamard gates, and recombining the transformed CNOT gates into ancilla-controlled CNOTk gates. Each ancilla qubit now interacts with data qubits only once per syndrome extraction step, as the control qubit for a controlled-stabilizer operation. This pattern of interaction prevents ancilla qubit errors from propagating to uncorrectable data qubit errors. Of course, switching the roles of the data and ancilla qubits means that data qubit errors can now propagate to high-weight errors on the ancilla qubits. However, design-based redundancy allows the code to tolerate these errors.

III Circuit simulation

The circuits in Figure 1 are difficult to simulate directly. Here, we present an efficient method to classically simulate the effect of a MFQEC circuit with mid-circuit Pauli errors. This method can, in turn, be used as subroutine in a randomized sampling algorithm to compute the logical error rate of a noisy MFQEC circuit, which we define as the probability that the circuit irreversibly corrupts a logical state of its data qubits. We describe the details of a particular algorithm based on importance sampling, similar to that in Refs. [25, 26], in Appendix A, which is used for the analysis in Section IV.

It is worth briefly considering why a straightforward numerical analysis of the circuits in Figure 1 is challenging in the first place. After all, these circuits address 14 qubits, whose pure state has a memory footprint of only 2141042^{14}\approx 10^{4} complex numbers. The introduction of noise, however, means that we must consider mixed states of 14 qubits, giving rise to density matrices with memory footprint (214)2=228109(2^{14})^{2}=2^{28}\approx 10^{9}. Finally, features of the code such as a logical error rate are in fact features of a quantum channel that maps density operators to density operators, and therefore has a memory footprint of (228)2=2561017(2^{28})^{2}=2^{56}\approx 10^{17} complex numbers, or 1\sim 1 exabyte with standard (64-bit) floating-point precision. This large memory footprint makes a direct numerical calculation of logical error rates infeasible. Ref. [6] tried to circumvent this difficulty by treating ancilla qubits classically, but this treatment neglects ancilla-qubit phase errors that spoil FT.

Standard strategies for numerically analyzing QEC circuits leverage the Gottesman-Knill theorem [27, 28] for efficient classical simulation of Clifford circuits, which enables state-of-the-art tools such as Stim [29] to simulate circuits with thousands of qubits and millions of operations in a matter of seconds. However, the CkNOT operations in Figure 1 are non-Clifford, which precludes the use of Clifford circuit simulators. Nonetheless, it is still possible to classically simulate MFQEC circuits such as those in Figure 1 with a Pauli noise model. The only requirements are that the MFQEC circuit uses Clifford gates for syndrome extraction onto ancilla qubits, and syndrome-controlled Pauli operations for decoding and error correctionccc The simulation method presented here is straightforward to generalize to the case of syndrome-controlled Clifford operations, but doing so is unnecessary for this work. .

Refer to caption
Figure 3: Examples of a Pauli error (a) is and (b) is not mutated when propagating forward through a multi-controlled gate that conditionally applies the Pauli string QQ. Here EE is an arbitrary Pauli string. For the class of circuits we consider, the Pauli error being propagated forward is always preceded by a noiseless syndrome extraction subcircuit that leaves the control qubits in |0\ket{0}, allowing the conditions of a multi-controlled operation to be evaluated with classical logic.

Two key observations enable the efficient simulation of noisy MFQEC circuits. First, that noiseless syndrome extraction subcircuits are Clifford, and have a known, trivial effect: they leave the logical state of the data qubits unaffected and prepare syndrome qubits in |0\ket{0}. Second, that the non-Clifford gates in a MFQEC circuit are conditional Pauli strings controlled by the state of ancilla qubits that store a syndrome. The general simulation strategy is therefore to sweep through a circuit to propagate Pauli errors forward, and classically evaluate syndrome-controlled logic along the way. Altogether, there are three cases to consider for propagating Pauli errors forward through a circuit operation:

  1. 1.

    Unitary Clifford gates. By definition, a Pauli string PP can be propagated forward through a unitary Clifford gate gg by mutating PP into another Pauli string Pg=gPgP_{g}=gPg^{\dagger}, since Pgg=gPgg=gPP_{g}g=gPg^{\dagger}g=gP.

  2. 2.

    Reset gates. All single-qubit Pauli errors annihilate against Reset gates.

  3. 3.

    Multi-controlled Pauli strings. By assumption, every multi-controlled operation MM conditionally applies a Pauli string QMQ_{M}, depending on the state of control qubits that store a syndrome. A noiseless syndrome extraction circuit preceding MM leaves these control qubits in the classical state |0\ket{0}. If a Pauli error PP immediately precedes MM (and if PP is not preceded by any other errors) then we can then classically determine whether MM will apply QMQ_{M} and mutate PQMPP\to Q_{M}P or PPP\to P accordingly (see Figure 3). Specifically, MM applies QMQ_{M} if and only if PP addresses every closed control of MM with a bit-flip (XX or YY) error, and PP does not address any open control of MM with a bit-flip errorddd Here “closed” and “open” controls respectively mean that an operation is conditioned on the corresponding control qubit being in the state |1\ket{1} and |0\ket{0}. .

If a circuit initially contains multiple Pauli errors, the first (earliest) Pauli error should be propagated forward and merged with subsequent errors as they are encountered. Altogether, since a noiseless QEC code cycle has no net effect on its data qubits, the final Pauli error propagated to the end of a circuit is equal to the net effect of the original circuit (with fixed mid-circuit errors) on its qubits. We note that this algorithm relies on the correctness of syndrome extraction subcircuits, which must be verified independently.

IV Fault tolerance analysis

The new circuit in Figure 1(b) for a measurement-free error correction cycle of the Steane code restores FT with respect to arbitrary single-qubit errorseee Here by “fault tolerance”, we simply mean the existence of a pseudothreshold at which the logical error rate is equal to a “physical” error rate associated with the underlying qubits. . However, a restriction to single-qubit errors is unrealistic in the presence of multi-qubit gates that may induce multi-qubit errors. Here, we analyze the FT properties of this circuit more closely and identify the conditions that a noise model must satisfy to preserve FT. Notably, we find that existing proposals for multi-qubit CkNOT gates with neutral atoms do not satisfy the requirements for FT. Finally, we consider the possibility of decomposing multi-qubit gates down to a two-qubit gate set, and discuss the prospects for fault-tolerant MFQEC with a two-qubit gate set.

IV.1 Noise models

We will primarily consider five noise models. Each of these models corresponds to the insertion of (possibly multiple) Pauli channels immediately after each gate in a circuit. Every Pauli channel has the same probability pphysp_{\mathrm{phys}} of applying an error on its qubits. For simplicity, we neglect memory (idle) errors and state preparation errors after reset gates, which is equivalent to modifying single-qubit error rates in the noise models below, and has no substantial consequence for our results. Memory errors are also negligible compared to gate errors in, e.g., neutral atom platforms.

The five noise models that we consider are:

  1. 1.

    CTPold: The same noise model for gates as in Ref. [6] (described below). We stress that this model is not realistic, as it does not include phase errors on ancilla qubits.

  2. 2.

    CTPfixed: A “fixed” version of CTPold, which additionally allows for phase errors on ancilla qubits.

  3. 3.

    CTPnew: A further modified version of CTPfixed, for which the “physical error rate” pphysp_{\mathrm{phys}} is the probability of an error after each gate.

  4. 4.

    P2: A noise model that allows for all single- and two-qubit Pauli errors.

  5. 5.

    DNM: A fully depolarizing noise model.

The letters “CTP” in CTPold, CTPfixed, and CTPnew are shorthand for “control-target pairs”, reflecting the types of errors that these noise models allow after multi-qubit gates. The CTPfixed noise model inserts a single-qubit depolarizing channel after a single-qubit gate, and a two-qubit depolarizing channel on every control-target qubit pair after a multi-qubit gate. That is, CTPfixed inserts a depolarizing channel on qubits q1q_{1} and q2q_{2} after the multi-qubit gate GG iff one of q1q_{1} and q2q_{2} is a control qubit and the other a target qubit in GG. The gates C4NOT and CNOT4, for example, would both be followed by four two-qubit depolarizing channels. The CTPold noise model is identical to CTPfixed, but replaces depolarizing channels with Pauli channels that exclude phase errors (i.e., a Pauli-ZZ or Pauli-YY error) on ancilla qubits while keeping the overall probability of error fixed.

The CTPnew, P2, and DNM noise models all insert only a single Pauli channel after each gate. In the event of an error for this channel, occurring with probability pphysp_{\mathrm{phys}}, the channel uniformly picks a Pauli string to apply to its qubits. The difference between CTPnew, P2, and DNM is the set of errors that are “allowed”. CTPnew allows for the same errors as CTPold and CTPfixed: all single-qubit Pauli errors, and all two-qubit Pauli errors on control-target qubit pairs. P2 allows for all single- and two-qubit Pauli strings, and DNM allows for all Pauli strings. In all of these cases, the overall probability of no error after a gate, which for a Pauli noise model is equal to the entanglement fidelity [30, 31] of that gate, is 1pphys1-p_{\mathrm{phys}}.

IV.2 Recovering fault tolerance

To illustrate the ideas in Section II, chiefly (i) the fragility of the old circuit in Figure 1(a) to phase errors on the ancilla qubits, and (ii) the FT of the new circuit in Figure 1(b) in the presence of such errors, we simulate these circuits with the CTP noise models defined above. The results of these simulations are provided in Figure 4, which shows the probability plogp_{\mathrm{log}} that a single round of error correction irreversibly corrupts a logical state of the data qubits as a function of the physical error rate pphysp_{\mathrm{phys}}.

Refer to caption
Figure 4: Probability of a logical failure per QEC code cycle (plogp_{\mathrm{log}}) as a function of the physical error rate (pphysp_{\mathrm{phys}}) for different combinations of the circuits in Figure 1 (respectively, Cold and Cnew) and CTP-family noise models. The physical error rate at which a solid line intersects the dotted line is the pseudothreshold for the corresponding circuit and noise model. Solid lines in the legend are sorted top-to-bottom in the same order that they appear in the plot.

The first observation to make about Figure 4 is that while Cold-CTPold (the “old” circuit and “old” noise model from Ref. [6]) crosses the plog=pphysp_{\mathrm{log}}=p_{\mathrm{phys}} line, indicating the existence of a pseudothreshold, this pseudothreshold vanishes when the noise model additionally allows for phase errors, Cold-CTPfixed. In other words, the circuit in Figure  1(a) is not fault-tolerant. In fact, the logical error rate plogp_{\mathrm{log}} for Cold-CTPfixed can be estimated analytically by counting the circuit errors in Figure 1(a) that propagate to an uncorrectable error on the data qubits. There are seven (7) ancilla qubits, for each of which there are two (2) locations at which a phase error propagates to an uncorrectable two-qubit XXXX or ZZZZ error on the data qubits. Each such location is associated with a two-qubit depolarizing channel, for which 8 out of 15 possible two-qubit Pauli errors induce a phase error on the ancilla. In total, this counting estimate predicts that

plog=72815pphys+O(pphys2)7.5pphys,\displaystyle p_{\mathrm{log}}=7\cdot 2\cdot\frac{8}{15}\,p_{\mathrm{phys}}+O(p_{\mathrm{phys}}^{2})\approx 7.5\,p_{\mathrm{phys}}, (1)

which quantitatively agrees with the results in Figure 4.

The second takeaway from Figure 4 is that keeping the more realistic CTPfixed noise model and switching to the new circuit in Figure 1(b) restores FT, as shown by the curve labeled Cnew-CTPfixed. Indeed, the behavior of Cnew-CTPfixed nearly coincides with that for Cold-CTPold. In this sense, the new circuit “saves” the quantitative predictions in Ref. [6], after correcting for an oversight in the noise model.

Finally, Figure 4 shows that the pseudothreshold predicted by Cnew-CTPfixed for the MFQEC Steane code is in fact too pessimistic, as seen by comparison with Cnew-CTPnew. The essential difference between the CTPfixed and CTPnew noise models boils down to the interpretation of the physical error rate pphysp_{\mathrm{phys}}. In the CTPfixed noise model, pphysp_{\mathrm{phys}} is the probability of error for each of four Pauli channels that get inserted after a five-qubit gate in Figure 1(b). Setting the probability of error for each of these channels to pphysp_{\mathrm{phys}} therefore corresponds to setting the probability of error (infidelity) for each five-qubit gate to 1(1pphys)44pphys1-(1-p_{\mathrm{phys}})^{4}\approx 4p_{\mathrm{phys}}. Increasing the probability of error by a factor of 4 in turn decreases the pseudothreshold at which a curve with plogpphys2p_{\mathrm{log}}\sim p_{\mathrm{phys}}^{2} crosses the dotted line at plog=pphysp_{\mathrm{log}}=p_{\mathrm{phys}} by a factor of 42=164^{2}=16. Altogether, we find that the MFQEC variant of the Steane code in Figure 1(b) has a pseudothreshold of about 0.7%0.7\% with the CTPnew noise model, in which pphysp_{\mathrm{phys}} is the infidelity of each gate.

IV.3 Identifying conditions for fault tolerance

The results in Section IV.2 show that the MFQEC Steane code in Figure 1(b) is fault-tolerant with respect to the CTP noise models. We now relax the assumptions of the CTP noise models, and identify the conditions that a Pauli noise model must satisfy to preserve the FT of the circuit in Figure 1(b).

Refer to caption
Figure 5: Probability of a logical failure per QEC code cycle (plogp_{\mathrm{log}}) as a function of the physical error rate (pphysp_{\mathrm{phys}}) for the circuit in Figure 1(b) with different noise models. The cyan curve for CTPnew in this figure is the same as that for Cnew-CTPnew in Figure 4. Solid lines in the legend are sorted top-to-bottom in the same order that they appear in the plot.

To illustrate the impact of different errors, we apply the P2 noise model to only the syndrome extraction (SE) subcircuits of Figure 1(b), leaving the error correction (EC) gates noiseless. We denote this hybrid noise model by PSE2{}_{2}^{\texttt{SE}}. We likewise apply the DNM noise model to only the EC subcircuits and leave the SE subcircuits noiseless, and denote this hybrid noise model by DNMEC{}^{\texttt{EC}}. For reference, we additionally consider applying either the CTPnew or DNM noise model to the entire circuit. The results of these simulations are provided in Figure 5.

The primary takeaway from Figure 5 is the that EC subcircuits of Figure 1(b) are robust to all gate errors, but the SE subcircuits are “fragile”: changing from the CTPnew noise model to PSE2{}_{2}^{\texttt{SE}} breaks FT. The important difference between these noise models is that PSE2{}_{2}^{\texttt{SE}} allows for two-qubit errors on the data qubits. The fact that PSE2{}_{2}^{\texttt{SE}} spoils FT should therefore be unsurprising: it allows for precisely the same XXXX and ZZZZ errors that ultimately corrupted the logical state in Figure 1(a). Indeed, an exhaustive search through all possible Pauli gate errors in Figure 1(b) reveals that, when decomposing Pauli strings into a product of XX-type and ZZ-type errors (e.g., Y1Z2Y3X1X3Z1Z2Z3Y_{1}Z_{2}Y_{3}\sim X_{1}X_{3}\cdot Z_{1}Z_{2}Z_{3}), two-qubit XXXX and ZZZZ errors on the data qubits in the SE subcircuits are the only gate errors that irreversibly corrupt a logical state. This finding can be understood by the facts that: (i) tolerating single-qubit errors is a base requirement for FT, (ii) the possible four-qubit XXXXXXXX and ZZZZZZZZ data errors in Figure 1(b) are stabilizers, and (iii) the possible three-qubit XXXXXX and ZZZZZZ data errors are equivalent to single-qubit errors modulo stabilizers.

If a two-qubit XXXX or ZZZZ data error after a CNOT4 gate in Figure 1(b) occurs with probability pfaultp_{\mathrm{fault}}, then the probability of a logical error after running one QEC code cycle is plogpfaultp_{\mathrm{log}}\sim p_{\mathrm{fault}}. As long as pfaultpphysαp_{\mathrm{fault}}\sim p_{\mathrm{phys}}^{\alpha}, where pphysp_{\mathrm{phys}} is the infidelity of the CNOT4 gate, the code will have plogpphysαp_{\mathrm{log}}\sim p_{\mathrm{phys}}^{\alpha}, which implies the existence of a pseudothreshold when α>1\alpha>1. Altogether, we find that the MFQEC Steane code in Figure 1(b) is fault-tolerant as long as the physical implementation of a multi-qubit CNOT4 gate induces two-qubit XXXX and ZZZZ errors on the target qubits (i.e., the qubits hit by NOT4) with probability pphysα\sim p_{\mathrm{phys}}^{\alpha} for some α>1\alpha>1, where pphysp_{\mathrm{phys}} is the infidelity of the CNOT4 gate.

The vulnerability of the MFQEC Steane code to XXXX and ZZZZ errors at the syndrome extraction stage can be generalized as follows. Consider a QEC code with code distance dd and weight-kk stabilizers, and assume that syndromes are extracted using ancilla-controlled CNOTk gates, as in Figure 1(b). If kd/2k\geq d/2, then in principle these multi-qubit gates address a sufficient number of qubits to potentially cause an uncorrectable error. This vulnerability can therefore be avoided by using QEC codes with distance d>2kd>2k, albeit at the cost of a reduced circuit-level code distance, dcirc<dd_{\mathrm{circ}}<d [32]. In the case of the Steane code, there is an added symmetry between XX-type and ZZ-type stabilizers, due to which a weight-\ell bit-flip or phase-flip data error caused by a syndrome extraction gate is equivalent to a weight-(k)(k-\ell) error modulo stabilizers. The highest effective weight of a syndrome extraction gate error is therefore k/2k/2, which leaves the code only vulnerable to weight-\ell errors with d/2k/2d/2\leq\ell\leq k/2. Any code with a similar symmetry is therefore vulnerable to multi-qubit errors at the syndrome extraction step when dkd\leq k, i.e. the code requires d>kd>k for FT.

IV.4 Fault tolerance with neutral atom gates

Past works have proposed implementing multi-qubit gates natively with neutral atoms [16, 17, 18, 19, 20, 21]. It is natural to ask whether these gates satisfy the requirements for FT identified in Section IV.3. As shown by the results for the DNMEC{}^{\texttt{EC}} noise model in Figure 5, the error correction subcircuits in Figure 1(b) are robust to fully depolarizing gate errors. This robustness is likely a generic feature of MFQEC codes with error correction circuits that use CkNOT-like gates in a similar manner, because by construction these gates only address a number of qubits \ell for which weight-\ell errors are correctable by the QEC code in question. The multi-qubit CkNOT-like gates in Refs. [16, 17, 18, 19, 20] are therefore compatible with FT for the circuit in Figure 1(b), and generally likely to be compatible with FT for other MFQEC codes as well.

In contrast, the fragility of syndrome extraction to two-qubit data errors warrants a closer inspection of the CNOTk-like gates in Refs. [19, 21]. To simplify our discussion, we consider a modified version of the protocol in Ref. [21] that Hadamard-transforms target qubits to turn the CNOTk gate into a CZk gate. At its core, this protocol relies on an asymmetry between control-target and target-target atom coupling strengths. If all control-target couplings are equal and the target-target couplings are set to zero, then the protocol in Ref. [21] can implement a CZk gate with high fidelity, and without correlated target-target errors that would spoil FT. However, if target-target couplings are ϵg\epsilon g, where gg is the control-target coupling strength and 0<ϵ10<\epsilon\ll 1, this protocol approximately implements the unitary CZk(CkZ)η\texttt{CZ${}_{k}$}{}\cdot(\texttt{C${}_{k}$Z}{})^{\eta} with exponent ηϵ\eta\gtrsim\epsilon (see simulation details in Appendix B). The additional (CkZ)η gate is a coherent error that contains ZZZZ components when expanded into Pauli strings. This protocol is therefore incompatible with FT for the MFQEC circuit in Figure 1(b).

The CNOTk protocol in Ref. [19] similarly relies on different control-target vs. target-target couplings. However, the relevant couplings in Ref. [19] appear in a dressed basis that allows these couplings to be tuned independently using external control fields. Compatibility with FT is therefore contingent on a guarantee that target-target couplings are zero to first order in any relevant sources of control error. Such a guarantee seems unlikely, due to which we conclude that the protocol in Ref. [19] is likely also incompatible with FT for the MFQEC circuit in Figure 1(b).

As a final comment, we note that multi-qubit errors are equally a problem for FT in measurement-based QEC with multi-qubit gates. Multi-qubit CNOTk gates can be used in a manner similar to that in Figure 1(b) for the syndrome extraction step of a measurement-based QEC code cycle. However, the use of a multi-qubit gate for syndrome extraction precludes the use of flag qubit schemes [33, 34, 35] for diagnosing syndrome extraction errors. In both the measurement-based and measurement-free case, therefore, one must take care to ensure that multi-qubit gates do not induce uncorrectable data-qubit errors. In the case of the Steane code, two-qubit XXXX or ZZZZ errors on the data qubits are uncorrectable, which constrains the CNOTk gate protocols that are compatible with FT. However, this constraint does not preclude the compatibility of the same gate protocols with FT for a higher-distance code as discussed at the end of Section IV.3. The takeaway message is that multi-qubit gates are not guaranteed to be a boon for QEC: one should also make sure that these gates have error characteristics that are compatible with FT for a given QEC code.

IV.5 Decomposing multi-qubit gates

Section IV.3 discusses the conditions for FT with multi-qubit gates, but it leaves open the possibility of achieving FT by decomposing multi-qubit gates down to a two-qubit gate set. In similar spirit to the analysis in Section IV.3 and Figure 5, in this section we consider decomposing either the syndrome extraction (SE) or error correction (EC) subcircuits of Figure 1(b). We decompose single-control, multi-target CNOTk gates into kk CNOT gates, and we decompose multi-control, single-target CkNOT and CkZ gates using the ancilla-free decompositions in Ref. [36]. We then apply a depolarizing (DNM) noise model to the decomposed subcircuits, leaving the other subcircuits noise-free. Note that the CTPfixed, CTPnew, P2, and DNM noise models are equal after decomposing down to a two-qubit gate set. The results of these simulations are provided in Figure 6.

Refer to caption
Figure 6: Probability of a logical failure per QEC code cycle (plogp_{\mathrm{log}}) as a function of the physical error rate (pphysp_{\mathrm{phys}}) for the circuit in Figure 1(b), with either the syndrome extraction (SE) or error correction (EC) subcircuits decomposed down to a two-qubit gate set. In each case, the decomposed subcircuits are subject to depolarizing gate errors (DNM), while the non-decomposed subcircuits are noiseless. Due to the decomposition of multi-controlled gates into a two-qubit gate set, the decomposed EC simulations in this figure do not satisfy the assumptions of the circuit simulation method presented in Section III. Logical failure rates for these circuits were therefore determined by using more computationally intensive tensor network methods to compute a transition matrix for a circuit with fixed mid-circuit errors (see Appendix A).

As far as the existence of a pseudothreshold is concerned, the lesson from Figure 6 is similar to that from noise model comparisons in Figure 5, namely that the syndrome extraction (SE) subcircuits are “fragile”, while the error correction (EC) subcircuits are “robust”. Decomposing EC subcircuits preserves FT, albeit at the cost of a significantly reduced pseudothreshold. This reduction can be accounted for by the large increase in EC gate count when decomposing C4NOT gates: from 14 to 2034. Increasing the opportunities for a single error by a factor of 102\sim 10^{2} should push down the pseudothreshold by a factor of 104\sim 10^{4}. This estimate is consistent with the reduction of the pseudothreshold for DNMEC{}^{\texttt{EC}} in Figure 5 from 4×102\sim 4\times 10^{-2} to 3×106\sim 3\times 10^{-6} in Figure 6, as the only difference between the corresponding simulations is the decomposition of the EC subcircuits.

Refer to caption
Figure 7: Two errors in a decomposed CNOT4 gate that propagate to uncorrectable errors on the data qubits in Figure 1(b). These errors are responsible for spoiling FT in the SE simulations of Figure 6.

Decomposing the SE subcircuit, meanwhile, breaks FT entirely. FT for the decomposed circuit is spoiled by essentially the same mechanism as in Figure 1(a): it opens a location in the circuit at which a single-qubit ancilla error propagates to a two-qubit data error, shown in Figure 7. This decomposition also allows for two-qubit ancilla-data errors that propagate to two-qubit data errors. Analogous faults exist in Figure 1(a) without decomposition, but are excluded by the CTPold noise model. Altogether, decomposing multi-qubit gates down to a two-qubit gate set spoils the FT of the circuit in Figure 1(b).

IV.6 Fault-tolerant MFQEC

The errors spoiling FT in Figures 4, 5, and 6 are generic to syndrome extraction circuits, and in fact occur in measurement-based codes as well. In the measurement-based setting, these errors can be tolerated by the introduction of flag qubits [33, 34, 35] or related schemes [37] to diagnose syndrome errors. However, these techniques require repeated rounds of syndrome extraction and measurement prior to error correction. In contrast, the measurement-free codes must extract syndromes only once before correcting errors.

One way to meet the requirements of MFQEC is through a scheme known in the measurement-based context as “single-shot FT”. An rr-round extract-and-measure protocol can be converted into a single-shot protocol simply by using rr times the ancilla qubits, essentially performing all rr extraction rounds at once prior to measurement and correction. In addition to introducing a large qubit overhead, however, in the MFQEC context this strategy requires more complex multi-qubit logic for decoding, e.g., turning CkNOT gates in the error correction subcircuits into CNOT gates with =k×r\ell=k\times r. As an alternative, single-shot fault-tolerant QEC is known to be possible with, for example, the 4D toric code [38] and 3D gauge color codes [39], which thereby provide a more promising avenue for MFQEC. It may also be possible to engineer syndrome extraction schemes to circumvent the issues that we identified, for example with syndromes that span multiple rounds of error correction, as in Ref. [7]. We note that the discussion concerning fault-tolerant syndrome extraction in the last paragraph of Section IV.3 also applies to the case of two-qubit gates.

Refer to caption
Figure 8: (a) Proposal in Ref. [9] to fault-tolerantly correct bit-flip (XX) errors in MFQEC code. Here SS is the number of syndrome bits, and |+L=|0L+|1L\ket{+}_{L}=\ket{0}_{L}+\ket{1}_{L} is a logical state of the QEC code. A transversal CNOT copies bit-flip errors onto ancilla register A1A_{1}, from which syndromes are extracted (SE) onto register A2A_{2}. These syndromes are then copied with a transversal CNOT from register A2A_{2} onto register A3A_{3} before applying a bit-flip correction (ECj=1) to the data qubits with a multi-qubit CkNOT-like gate. Register A3A_{3} is then reset (RR) and reused similarly for all remaining correctable bit-flip errors (indexed by j=2,3,j=2,3,\cdots). In practice, register A1A_{1} is not needed after syndrome extraction, so its qubits can be subsequently reset and used for register A3A_{3}, i.e., A3A1A_{3}\subseteq A_{1}. A similar circuits corrects phase-flip (ZZ) errors. (b) Fault-tolerant copy-assisted MFQEC code cycle with design-based redundancy. Here SEP and ECP are the syndrome extraction and error correction subcircuits for correcting PP-type errors in Figure 1(b). This circuit does not need repeated reset-copy-correct cycles due to its resilience to syndrome errors.

More recently, Ref. [9] introduced an alternative proposal to achieve FT through the use of additional ancilla registers, as sketched in Figure 8(a). We refer to this as the COPY strategy to achieve fault-tolerant MFQEC. The pattern of interaction in a COPY circuit is carefully designed to limit the propagation of correlated errors to the data qubits. Specifically, in this work we identified syndrome extraction as the “fragile” step at which data qubits can acquire correlated, uncorrectable errors. Fundamentally, this vulnerability comes from the fact that each ancilla qubit interacts with many data qubits for syndrome extraction in Figure 1. A single fault associated with one ancilla can thereby affect multiple data qubits. The scheme in Ref. [9] avoids this problem by making each data qubit interact with only a single ancilla qubit prior to syndrome extraction, through a transversal CNOT. After syndrome extraction in Figure 8(a), resetting register A3A_{3} and copying the syndrome from A2A_{2} before applying each correction ensures that a fault from one correction gate (ECj) does not corrupt the syndrome stored in A2A_{2}, which would propagate forward to corrupt subsequent correction gates (ECk>j).

Refer to caption
Figure 9: Circuit constructed in Ref. [9] to fault-tolerantly prepare a logical |0L\ket{0}_{L} state of the Steane code using two ancilla qubits. A logical |+L\ket{+}_{L} state is obtained from |0L\ket{0}_{L} by applying a transversal Hadamard gate: |+L=H7|0L\ket{+}_{L}=H^{\otimes 7}\ket{0}_{L}.

In fact, the FT strategy in Ref. [9] can be combined with design-based redundancy [24] (i.e., carefully chosen redundant syndrome extraction, DBR) to eliminate the need for multiple correction cycles in Figure 8(a), thereby reducing the total time spent on potentially slow Reset operations. Figure 8(b) sketches out a complete QEC code cycle of the combined DBR+COPY strategy for FT. Both circuits sketched in Figure 8 rely on the fault-tolerant preparation of logical |0L\ket{0}_{L} and |+L\ket{+}_{L} states. A circuit to fault-tolerantly construct |0L\ket{0}_{L} for the Steane code using two ancillas is provided in Figure 9, and |+L\ket{+}_{L} is obtained from |0L\ket{0}_{L} by applying a Hadamard gate to each data qubit. Figure 10 expands the circuits sketched in Figure 8 into explicit gate sequences for the Steane code. We note that Ref. [9] also provides a circuit to correct bit-flip (XX) errors in the Steane code with only a single round of error correction and Reset gates. However, the single-round circuit in Ref. [9] has greater qubit overhead, requiring 35 qubits total, as opposed to 21 qubits with DBR+COPY.

Refer to caption
Figure 10: (a) Full circuit from Ref. [9] for copy-assisted correction of bit-flip (XX-type) errors in the Steane code. This circuit requires repeated reset-copy-correct cycles to prevent multi-qubit errors at one correction gate from spoiling the error syndrome and propagating forward to subsequent correction gates. (b) Full MFQEC code cycle achieving FT with copy-assisted syndrome extraction and design-based redundancy. Redundant syndrome extraction makes this circuit robust to syndrome errors, avoiding the need for repeated reset-copy-correct cycles. Ref. [9] provides circuits to fault-tolerantly prepare |0L\ket{0}_{L} and |+L\ket{+}_{L}.
Refer to caption
Figure 11: Probability of a logical failure per QEC code cycle (plogp_{\mathrm{log}}) as a function of the physical error rate (pphysp_{\mathrm{phys}}) for the DBR, COPY, and DBR+COPY variants of the Steane code with a fully depolarizing (DNM) noise model. The DBR curve in this figure is the same as that for DNM in Figure 5.

Altogether, the probability of logical failure per code cycle as a function of the physical error rate for the DBR, COPY, and DBR+COPY strategies with a depolarizing (DNM) noise model is provided in Figure 11. These simulations use the circuit in Figure 9 to construct logical |0L\ket{0}_{L} and |+L\ket{+}_{L} states as necessary, resetting the ancillas for re-use later in the circuit. In total, we find that the COPY scheme (which uses 17 qubits and 14 C3NOT-like gates) has a pseudothreshold of 0.06%\sim 0.06\%fff This pseudothreshold is higher than that reported for the COPY strategy in Ref. [9] because our use of multi-qubit gates reduces the overall number of gates in a code cycle. , while the DBR+COPY scheme (which uses 21 qubits and 14 C4NOT-like gates) has a pseudothreshold of 0.1%\sim 0.1\%.

V Summary and conclusions

We have revisited the question of FT in a MFQEC variant of the Steane code, finding that previous work overlooked physically relevant errors that spoil FT, but that FT can be recovered by amending the strategy for syndrome extraction. In order to investigate FT systematically, we introduced an efficient method for classically simulating MFQEC circuits, which we hope will find broader use in the study of MFQEC codes. Using our simulation method, we found that the amended MFQEC Steane code has a pseudothreshold of 0.7%\sim 0.7\% with a previously considered noise model that allows for correlated control-target qubit errors.

We then relaxed the assumptions of the noise model and identified general conditions for FT with multi-qubit gates. We discovered that there are no particularly stringent requirements for the multi-control, single-target CkNOT-like gates that are used for error correction, aside from achieving high gate fidelities. However, the single-control, multi-target CNOTk-like gates that are used for syndrome extraction must, in the case of the Steane code, have a vanishing probability at first order in the gate infidelity of inducing target-target XXXX and ZZZZ errors. We generalized these findings to other codes as well. Notably, we found that existing proposals for natively implementing CNOTk-like gates with neutral atoms do not satisfy FT requirements for straightforward implementations of the MFQEC Steane code. This problem applies equally to the measurement-based setting if CNOTk-like gates are used for syndrome extraction. We further found that decomposing CNOTk-like gates down to a two-qubit gate set similarly spoils FT. Finally, we discussed general requirements for fault-tolerant MFQEC with both multi-qubit and two-qubit gate sets, highlighting the role of single-shot FT, as well as a recent proposal to achieve FT by copying errors onto an ancilla register. By combining design-based redundancy, copy-assisted FT, and multi-qubit gates, we constructed a measurement-free variant of the Steane code with a pseudothreshold of 0.1%\sim 0.1\%.

Our study highlights the fact that incorporating multi-qubit gates into QEC circuits has advantages, but does not guarantee improved code performance. It is crucial to thoroughly examine FT conditions for QEC circuits that involve multi-qubit gates. At the same time, proposals for natively implementing multi-qubit gates should be mindful of their potential (in)compatibility with the requirements for fault-tolerant QEC. We hope that these lessons carry through to future studies of MFQEC and native hardware implementations of multi-qubit gates.

Acknowledgements.
We thank D. Crow for helpful discussions. This research was sponsored in part by the Army Research Office (ARO) under Grant Number W911NF-17-1-0274. The views and conclusions contained in this document are those of the authors and should not be interpreted as representing the official policies, either expressed or implied, of the Army Research Office (ARO), or the US Government. The US Government is authorized to reproduce and distribute reprints for Government purposes notwithstanding any copyright notation herein. MS was supported by NSF PHY-1720220.

References

Appendix A Sampling algorithm to compute logical error rates

Section III provides a method to propagate Pauli errors through a MFQEC circuit to determine an overall Pauli error on the data qubits at the end of a MFQEC code cycle. Here, we describe a sampling algorithm that averages over cirucit errors to compute logical error rates plogp_{\mathrm{log}} for a continuous range of physical error rates ppmaxp\leq p_{\mathrm{max}}. The algorithm presented here was used for the FT analysis in Section IV. We note that the key technique in our algorithm – importance sampling [40] – is by no means novel, and is indeed standard practice in the QEC literature [25, 26]. Even so, we describe our algorithm below for completion, with adaptations for our present work.

At a high level, our strategy will be to write the logical error rate plogp_{\mathrm{log}} as a function of a transition matrix TT that captures the essential error correction properties of a MFQEC circuit. If we assume a stochastic noise model in which different circuit errors occur independently with probability pp, we can expand the transition matrix into a series of the form T=w0β(w,p)T¯(w)T=\sum_{w\geq 0}\beta(w,p)\bar{T}(w), where the scalar coefficients β(w,p)pw\beta(w,p)\sim p^{w}, and the matrices T¯(w)\bar{T}(w) can can be estimated by simulating MFQEC circuits with ww randomly chosen circuit errors. Crucially, the matrices T¯(w)\bar{T}(w) are independent of pp, and the series expansion for TT converges rapidly when p1p\ll 1, which means that estimating T¯(w)\bar{T}(w) for a few values of ww allows us to estimate the transition matrix TT, and in turn the logical error rate plogp_{\mathrm{log}}, for a continuous range of physical error rates pp.

We begin by identifying, for a given QEC code that encodes a single logical qubit into the state of many data qubits, the group EE of all data-qubit Pauli strings modulo stabilizers and global phase. That is, two Pauli strings P1P_{1} and P2P_{2} are identified in EE iff P1=eiθP2SP_{1}=e^{\mathrm{i}\mkern 1.0mu\theta}P_{2}S for some real angle θ\theta and stabilizer SS, in which case applying either of P1P_{1} or P2P_{2} to a logical state |ψ\ket{\psi} results in the same state up to global phase: P1|ψ=eiθP2S|ψ=eiθP2|ψP_{1}\ket{\psi}=e^{\mathrm{i}\mkern 1.0mu\theta}P_{2}S\ket{\psi}=e^{\mathrm{i}\mkern 1.0mu\theta}P_{2}\ket{\psi}. For a given MFQEC circuit and fixed noise model, we denote the probability that the circuit converts the error eEe\in E on the data qubits into the error fEf\in E by TfeT_{fe}, and collect these probabilities into the transition matrix T=e,fETfe|fe|T=\sum_{e,f\in E}T_{fe}\outerproduct{f}{e}. We then define the logical error rate of a given MFQEC circuit and noise model as the probability with which a single code cycle irreversibly corrupts a logical state of the data qubits, which can be written as

plog=1fEcorTfe0,\displaystyle p_{\mathrm{log}}=1-\sum_{f\in E_{\mathrm{cor}}}T_{fe_{0}}, (2)

where e0e_{0} is the “trivial” error corresponding to an all-identity Pauli string, and EcorEE_{\mathrm{cor}}\subset E is the set of correctable errors for the code. In the case of the Steane code, EcorE_{\mathrm{cor}} consists of the trivial error e0e_{0} together with the set of single-qubit Pauli errors (modulo stabilizers and global phase).

Given a circuit with nn error sites, we can specify a fixed set of circuit errors by an integer array k=(k1,k2,,kn)k=(k_{1},k_{2},\cdots,k_{n}) in which the value of kjk_{j} uniquely identifies the error at site jj, with kj=0k_{j}=0 indicating no error. Note that a single “site” jj may be identified with several qubits, such that some values of kjk_{j} may correspond to multi-qubit errors. Letting γ(k)\gamma(k) denote the probability of occurrence for the errors specified by kk, we can expand

T=kγ(k)T(k),\displaystyle T=\sum_{k}\gamma(k)T(k), (3)

where T(k)T(k) is the transition matrix for the circuit with a fixed choice of errors, kk. For a circuit and noise model amenable to the simulation method in Section III, each error eEe\in E propagates through the circuit with mid-circuit errors kk to another error e~(k)E\tilde{e}(k)\in E, so the matrix entries of T(k)T(k) are Tfe(k)=δf,e~(k)T_{fe}(k)=\delta_{f,\tilde{e}(k)}, where δ\delta is the Kronecker delta.

The transition matrix TT can be estimated by sampling errors kk according to the probability distribution γ(k)\gamma(k), and averaging over the corresponding matrices T(k)T(k). However, the distribution γ(k)\gamma(k) depends on the probability pp of individual circuit errors, so this procedure requires re-sampling for each value of pp. The remainder of this section is devoted to obtaining a sampling algorithm for computing TT that “recycles” samples of kk in such a way as to allow computing TT for any physical error rate ppmaxp\leq p_{\mathrm{max}}.

To this end, we let γj()\gamma_{j}(\ell) denote the probability of error \ell on site jj, and assume that errors occur independently at each site with probability pp, such that γj()=1\sum_{\ell}\gamma_{j}(\ell)=1 and γj(0)=1p\gamma_{j}(0)=1-p. The probability of occurrence for the errors specified by kk is then

γ(k)=jγj(kj)=p|k|(1p)n|k|q(k),\displaystyle\gamma(k)=\prod_{j}\gamma_{j}(k_{j})=p^{\absolutevalue{k}}(1-p)^{n-\absolutevalue{k}}q(k), (4)

where |k|\absolutevalue{k} is the number of nonzero entries in kk, and

q(k)=j:kj0qj(kj),\displaystyle q(k)=\prod_{j:k_{j}\neq 0}q_{j}(k_{j}), qj()={γj()/p00=0.\displaystyle q_{j}(\ell)=\begin{cases}\gamma_{j}(\ell)/p&\ell\neq 0\\ 0&\ell=0\end{cases}. (5)

Here qj()q_{j}(\ell) is the probability that if an error occurs on site jj, that error is \ell. The expansion of γ(k)\gamma(k) in Eq. (4) motivates collecting together terms in Eq. (3) with w=|k|w=\absolutevalue{k} errors, arriving at the expansion

T=w=0nβ(w,p)T¯(w),\displaystyle T=\sum_{w=0}^{n}\beta(w,p)\bar{T}(w), (6)

where β(w,p)=pw(1p)nw(nw)\beta(w,p)=p^{w}(1-p)^{n-w}{n\choose w} is a binomial distribution, and

T¯(w)\displaystyle\bar{T}(w) =(nw)1k:|k|=wq(k)T(k)\displaystyle={n\choose w}^{-1}\sum_{k:\absolutevalue{k}=w}q(k)T(k) (7)
=𝔼J:|J|=w𝔼k:kJqT(k).\displaystyle=\mathbb{E}_{J:\absolutevalue{J}=w}\mathbb{E}_{k:k\sim J}^{q}T(k). (8)

Here 𝔼J:|J|=w\mathbb{E}_{J:\absolutevalue{J}=w} denotes a (uniform) average over the (nw){n\choose w} possible choices of ww lattice sites, i.e. choices of J{1,2,,n}J\subset\left\{1,2,\cdots,n\right\} with |J|=w\absolutevalue{J}=w, and 𝔼k:kJq\mathbb{E}_{k:k\sim J}^{q} denotes an qq-weighted average over choices of nontrivial errors on the sites in JJ, i.e. over choices of kk with kj0k_{j}\neq 0 iff jJj\in J (denoted by kJk\sim J). If nontrivial errors are chosen uniformly at each error site, as e.g. in the case of a depolarizing noise model (and all noise models considered in Section IV), then q(k)q(k) is a uniform probability distribution over kJk\sim J.

The expression of T¯(w)\bar{T}(w) as a weighted average in Eq. (8) motivates the following algorithm for estimating matrix elements of T¯(w)\bar{T}(w):

  1. A.1.

    Pick a uniformly random choice of ww error sites, JJ.

  2. A.2.

    For each site jJj\in J pick an error kjk_{j} according to the probability distribution qjq_{j}. These choices define a collection of circuit errors, kk.

  3. A.3.

    For each initial error eEe\in E of interest (clarified below), use the algorithm in Section III to propagate the error ee through a circuit with errors kk, thereby obtaining a new error e~(k)E\tilde{e}(k)\in E. Set Tfe(k)=δf,e~(k)T_{fe}(k)=\delta_{f,\tilde{e}(k)}.

  4. A.4.

    Repeat steps A.1A.3 a total of NwN_{w} times, and take the average over computed values of Tfe(k)T_{fe}(k), thereby obtaining an estimate of T¯fe(w)\bar{T}_{fe}(w).

For the purposes of computing the logical error rate plogp_{\mathrm{log}}, the only initial error of interest at Step A.3 is the trivial error e0e_{0}. The only question remaining is that of choosing NwN_{w}, the number of times that one should sample circuit errors to estimate T¯(w)\bar{T}(w).

For a fixed physical error rate pp, the central limit theorem guarantees that drawing NN circuit errors kk according to the probability distribution γ(k)\gamma(k) and averaging the corresponding values of T(k)T(k) provides an estimate of TT with relative error 1/N\sim 1/\sqrt{N}. Eqs. (6) and (8) tell us that we can sample kk with probability γ(k)\gamma(k) by following steps A.1A.3 above. In expectation, this procedure would essentially use N×β(w,p)N\times\beta(w,p) samples to estimate T¯(w)\bar{T}(w). However, the distribution β(w,p)pw\beta(w,p)\sim p^{w} vanishes as p0p\to 0, which means that in practice this procedure would spend most of its time “sampling” the unique (non-)error k0=(0,0,,0)k_{0}=(0,0,\cdots,0) with w=0w=0. A better idea is therefore to compute T¯(0)=T(k0)\bar{T}(0)=T(k_{0}) once, and devote the NN samples to estimating matrices with w>1w>1, which translates to a relative error of 1/N\sim 1/\sqrt{N} in the estimated value of plogp_{\mathrm{log}}. In order to preserve the guarantee on relative error for all physical error rates ppmaxp\leq p_{\mathrm{max}}, we therefore set

Nw=round(N×maxppmaxβ(w,p)perror),\displaystyle N_{w}=\operatorname{round}\left(N\times\max_{p\leq p_{\mathrm{max}}}\frac{\beta(w,p)}{p_{\mathrm{error}}}\right), (9)

where round(x)\operatorname{round}(x) rounds xx to the nearest integer, and perror=w>0β(w,p)=1β(0,p)p_{\mathrm{error}}=\sum_{w>0}\beta(w,p)=1-\beta(0,p) is the probability that at least one circuit error occurs. We set N=104N=10^{4} for the simulations in Section IV.

Appendix B Neutral atom gate simulations

Here we describe our simulations of the CNOTk gate protocol in Ref. [21]. This protocol involves k+1k+1 atoms with four internal states: |0\ket{0}, |1\ket{1}, |r\ket{r}, and |p\ket{p}. Here |0\ket{0} and |1\ket{1} are the computational (qubit) states, |r\ket{r} is a highly-excited Rydberg state, and |p\ket{p} is an auxiliary intermediate state. To simplify our analysis, we consider a modified version of the protocol in Ref. [21], in which the target qubits of the CNOTk gate are Hadamard-transformed, altogether implementing a CZk gate. We also neglect all sources of error, such as control error or decay from the Rydberg state.

B.1 The protocol

The revised protocol that we simulate is as follows:

  1. B.1.

    Apply a π\pi-pulse to swap the |1\ket{1} and |r\ket{r} states of the control atom, leaving the target atoms unaffected.

  2. B.2.

    Evolve for time TT under the time-dependent Hamiltonian

    H(t)=Hint+jtargetsHpulse(j)(t),\displaystyle H(t)=H_{\mathrm{int}}+\sum_{j\in\text{targets}}H_{\mathrm{pulse}}^{(j)}(t), (10)

    where HintH_{\mathrm{int}} is a two-body interaction Hamiltonian, Hpulse(j)H_{\mathrm{pulse}}^{(j)} is the single-atom Hamiltonian HpulseH_{\mathrm{pulse}} applied to atom jj, and the index jj runs over the target atoms of the CZk gate. We define HintH_{\mathrm{int}} and HpulseH_{\mathrm{pulse}} below.

  3. B.3.

    Apply a π\pi-pulse to swap the |1\ket{1} and |r\ket{r} states of the control atom (identically to Step B.1).

  4. B.4.

    Apply corrective RZ gates (clarified below).

The interaction Hamiltonian that appears in Step B.2 is

Hint=atomsi<jgij|rrrr|ij,\displaystyle H_{\mathrm{int}}=\sum_{\text{atoms}\,i<j}g_{ij}\outerproduct{rr}{rr}_{ij}, (11)

where gijg_{ij} is the Rydberg-Rydberg interaction strength between atoms ii and jj. In an ideal case, the inter-atomic coupling strength gij=gg_{ij}=g iff one of i,ji,j is a control atom and the other a target atom, and gij=0g_{ij}=0 otherwise. The single-atom Hamiltonian HpulseH_{\mathrm{pulse}} in Step B.2 is

Hpulse(t)=f(t)Ωpsx(0,p)+Ωcsx(p,r)Δ|pp|,\displaystyle H_{\mathrm{pulse}}(t)=f(t)\Omega_{\mathrm{p}}s_{\mathrm{x}}^{(0,p)}+\Omega_{\mathrm{c}}s_{\mathrm{x}}^{(p,r)}-\Delta\outerproduct{p}{p}, (12)

where f(t)=sin(πt/T)2f(t)=\sin(\pi t/T)^{2}, the operator sx(a,b)=12(|ab|+|ba|)s_{\mathrm{x}}^{(a,b)}=\frac{1}{2}(\outerproduct{a}{b}+\outerproduct{b}{a}) is a spin-xx operator in the {|a,|b}\left\{\ket{a},\ket{b}\right\} subspace of an atom, and the detuning Δ=332πΩp2T\Delta=\frac{3}{32\pi}\Omega_{\mathrm{p}}^{2}Tggg Note that in addition to factoring out the time dependence of Ωp\Omega_{\mathrm{p}} into f(t)f(t), our definition of Ωp\Omega_{\mathrm{p}} is larger than that in Ref. [21] by a factor of 2\sqrt{2}. That is, Ωpours=2×Ωptheirs\Omega_{\mathrm{p}}^{\text{ours}}=\sqrt{2}\times\Omega_{\mathrm{p}}^{\mathrm{theirs}}. . We provide the parameters used in our simulations in Table 1.

Table 1: CZk gate protocol parameters.
TT 1μ1~\mus
Ωp\Omega_{\mathrm{p}} 100×2π100\times 2\pi MHz
Ωc\Omega_{\mathrm{c}} 200×2π200\times 2\pi MHz
gg 500×2π500\times 2\pi MHz

The last point that needs clarification is Step B.4 of the protocol. This step applies the gate

RZ(𝜽)=jRZ(θj)j,\displaystyle\texttt{RZ}{}(\bm{\theta})=\prod_{j}\texttt{RZ}{}_{j}(\theta_{j}), (13)

where

RZ(θj)j=exp(iθjsz(0,1))\displaystyle\texttt{RZ}{}_{j}(\theta_{j})=\exp(-\mathrm{i}\mkern 1.0mu\theta_{j}s_{\mathrm{z}}^{(0,1)}) (14)

is a single-qubit phase gate defined by the spin-zz operator sz(0,1)=12(|00|j|11|j)s_{\mathrm{z}}^{(0,1)}=\frac{1}{2}(\outerproduct{0}{0}_{j}-\outerproduct{1}{1}_{j}) on the {|0,|1}\left\{\ket{0},\ket{1}\right\} subspace of atom jj, and the angles θj\theta_{j} are determined by maximizing the entanglement fidelity [30, 31] of the protocol unitary U(𝜽)U(\bm{\theta}) with a target unitary UtargetU_{\text{target}} in the computational subspace. The entanglement fidelity between U(𝜽)U(\bm{\theta}) and UtargetU_{\text{target}} can be written as

F(𝜽)=(Utarget,U(𝜽))=|1dTrcomp[UtargetU(𝜽)]|2,\displaystyle F(\bm{\theta})=\mathcal{F}(U_{\text{target}},U(\bm{\theta}))=\absolutevalue{\frac{1}{d}\Tr_{\text{comp}}[U_{\text{target}}^{\dagger}U(\bm{\theta})]}^{2}, (15)

where d=2k+1d=2^{k+1} is the dimension of the computational subspace, and Trcomp\Tr_{\text{comp}} denotes a trace over this subspace, i.e. over the subspace of computational states |b{|0,|1}(k+1)\ket{b}\in\left\{\ket{0},\ket{1}\right\}^{\otimes(k+1)}.

B.2 The ideal case: zero inter-target couplings

Using ideal couplings and Utarget=CZkU_{\text{target}}=\texttt{CZ${}_{k}$}{}, we find infidelities I(𝜽)105I(\bm{\theta}_{\star})\sim 10^{-5} for k{1,2,3,4}k\in\left\{1,2,3,4\right\}, where I(𝜽)=1F(𝜽)I(\bm{\theta})=1-F(\bm{\theta}) and 𝜽=argmax𝜽F(𝜽)\bm{\theta}_{\star}=\operatorname{argmax}_{\bm{\theta}}F(\bm{\theta}) is the collection of angles that maximizes F(𝜽)F(\bm{\theta}). To determine the probability of a Pauli error PP, we compute the entanglement fidelity (PUtarget,U(𝜽))\mathcal{F}(PU_{\text{target}},U(\bm{\theta}_{\star})) [41]. We thereby find probabilities on the scale of 107\sim 10^{-7} for ZZZZ errors on control-target qubit pairs, which can be tolerated by the circuit in Figure 1(b).

The infidelity of 105\sim 10^{-5} is mostly attributed to stray (nonzero) populations of atomic Rydberg states at the end of the protocol, i.e. leakage errors. In principle, these leakage errors can be converted into depolarizing errors by letting Rydberg states decay and pumping back into the computational subspace. Assuming perfect conversion of leakage errors to depolarizing errors, after applying corrective RZ gates with angles 𝜽\bm{\theta}_{\star} we find probabilities on the scale of 106\sim 10^{-6} for various single-qubit errors, as well as two-qubit errors on control-target qubit pairs. We also find a net probability pfault109p_{\mathrm{fault}}^{\star}\sim 10^{-9} for the occurrence of an uncorrectable error. Altogether, we conclude that the ideal CZk gate is theoretically compatible with the requirements for FT found in Section IV.3.

B.3 The realistic case: nonzero inter-target couplings

Refer to caption
Figure 12: Infidelity II_{\star}, probability pfaultp_{\mathrm{fault}}^{\star} of a fault (uncorrectable error), and optimized C3Z exponent η\eta_{\star} as a function of the target-target to control-target coupling ratio ϵ\epsilon for a CZ3 gate protocol. Infidelity is minimized over corrective RZ rotation angles 𝜽\bm{\theta}, and simultaneously over the exponent η\eta of a corrective (C3Z)η(\texttt{C${}_{3}$Z})^{\eta} gate when applicable.

We now consider setting the target-target coupling strength to ϵg\epsilon g for 0<ϵ10<\epsilon\ll 1. For simplicity, we restrict our analysis to a four-qubit gate protocol, setting k=3k=3. We also convert leakage errors into depolarizing errors as discussed above, but note that this conversion will have no effect on the following results because leakage will no longer be the dominant source of error. We then plot, for a range of coupling ratios ϵ\epsilon, the infidelity II_{\star} and probability pfaultp_{\mathrm{fault}}^{\star} of a fault (uncorrectable error) after maximizing fidelity over corrective RZ rotation angles 𝜽\bm{\theta} (for each value of ϵ\epsilon). In addition, we consider simultaneously optimizing over the angles 𝜽\bm{\theta} and the exponent η\eta in a net corrective gate RZ(𝜽)(CkZ)η\texttt{RZ}{}(\bm{\theta})\cdot(\texttt{C${}_{k}$Z}{})^{\eta}. We provide infidelities II_{\star}, probabilities of fault pfaultp_{\mathrm{fault}}^{\star}, and optimal exponents η\eta_{\star} as a function of ϵ\epsilon in Figure 12.

Altogether, we find that the optimal CkZ exponents η\eta_{\star} are large compared to the coupling ratio ϵ\epsilon, and that including a corrective (CkZ)η gate generally reduced the infidelity of the protocol by a factor of 3. More strikingly, including a corrective (CkZ)η gate reduces the probability of a fault by orders of magnitude, indicating that this gate is predominantly responsible for faults. In principle, it may be possible to construct a protocol that somehow “echoes out” the undesired (CkZ)η gate while keeping the CZk gate intact. In the absence of such a scheme, however, we conclude that the CZk protocol in Ref. [21] is not compatible with FT. We do note, however, that if (CkZ)η gates are cancelled out, theoretically achievable probabilities of error (pfaultp_{\mathrm{fault}}^{\star}) may be low enough for useful QEC even if the formal conditions for FT are not satisfied.