원시데이터 수집 시스템
선정목록으로

Accommodating Fabrication Defects on Floquet Codes with Minimal Hardware Requirements

관련 화학·수지 · (20) 페놀수지

기본 정보

저자
  1. Campbell McLauchlan — Department of Physics and Astronomy, University College London, London, WC1E 6BT, United Kingdom|||Riverlane, St Andrews House, 59 St Andrews Street, Cambridge, CB2 3BZ, United Kingdom
  2. György Pál Gehér — Riverlane, St Andrews House, 59 St Andrews Street, Cambridge, CB2 3BZ, United Kingdom
  3. Alexandra E. Moylett — Riverlane, St Andrews House, 59 St Andrews Street, Cambridge, CB2 3BZ, United Kingdom
DOI
10.22331/q-2024-12-12-1562
저널
Quantum
발행년도
2024
발행기관
Verein zur Förderung des Open Access Publizierens in den Quantenwissenschaften
피인용수
5
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.22331/q-2024-12-12-1562
토픽
Advancements in Photolithography Techniques
OpenAlex ID
W4405323942

평가 내용

관련도
관련
사업분야
화학·수지 · (20) 페놀수지
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '화학·수지 > 페놀수지' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Floquet codes are an intriguing generalisation of stabiliser and subsystem codes, which can provide good fault-tolerant characteristics while benefiting from reduced connectivity requirements in hardware. A recent question of interest has been how to run Floquet codes on devices which have defective – and therefore unusable – qubits. This is an under-studied issue of crucial importance for running such codes on realistic hardware. To address this challenge, we introduce a new method of accommodating defective qubits on a wide range of two-dimensional Floquet codes, which requires no additional connectivity in the underlying quantum hardware, no modifications to the original Floquet code's measurement schedule, can accommodate boundaries, and is optimal in terms of the number of qubits and stabilisers removed. We numerically demonstrate that, using this method, the planar honeycomb code is fault tolerant up to a fabrication defect probability of <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mo>&amp;#x2248;</mml:mo><mml:mn>12</mml:mn><mml:mi mathvariant="normal">&amp;#x0025;</mml:mi></mml:math>. We find the fault-tolerant performance of this code under defect noise is competitive with that of the surface code, despite its sparser connectivity. We finally propose multiple ways this approach can be adapted to the underlying hardware, through utilising any additional connectivity available, and treating defective auxiliary qubits separately to defective data qubits. Our work therefore serves as a guide for the implementation of Floquet codes in realistic quantum hardware.

본문 118,890자

본문 펼치기
# Accommodating Fabrication Defects on Floquet Codes with Minimal Hardware Requirements Campbell McLauchlan <sup>_∗†_</sup> <sup>1,2</sup>, Gy¨orgy P. Geh´er <sup>1</sup>, and Alexandra E. Moylett <sup>_∗‡_</sup> <sup>1</sup> 1Riverlane, St Andrews House, 59 St Andrews Street, Cambridge, CB2 3BZ, United Kingdom 2Department of Physics and Astronomy, University College London, London, WC1E 6BT, United Kingdom 8th December 2024 Floquet codes are an intriguing generalisation of stabiliser and subsystem codes, which can provide good fault-tolerant characteristics while benefiting from reduced connectivity requirements in hardware. A recent question of interest has been how to run Floquet codes on devices which have defective—and therefore unusable—qubits. This is an under-studied issue of crucial importance for running such codes on realistic hardware. To address this challenge, we introduce a new method of accommodating defective qubits on a wide range of two-dimensional Floquet codes, which requires no additional connectivity in the underlying quantum hardware, no modifications to the original Floquet code’s measurement schedule, can accommodate boundaries, and is optimal in terms of the number of qubits and stabilisers removed. We numerically demonstrate that, using this method, the planar honeycomb code is fault tolerant up to a fabrication defect probability of _≈_ 12%. We find the fault-tolerant performance of this code under defect noise is competitive with that of the surface code, despite its sparser connectivity. We finally propose multiple ways this approach can be adapted to the underlying hardware, through utilising any additional connectivity available, and treating defective auxiliary qubits separately to defective data qubits. Our work therefore serves as a guide for the implementation of Floquet codes in realistic quantum hardware. ### 1 Introduction Floquet codes are a relatively new and exciting area in quantum error correction (QEC). From a theoretical perspective, they have a mathematical structure which is distinct from other families of codes such as stabiliser and subsystem codes, which lends them some interesting and unique properties [1]. In addition, from a more practical perspective, Floquet codes benefit from considerably reduced connectivity requirements in hardware, Campbell McLauchlan <sup>_∗†_</sup> : [campbell.mclauchlan@gmail.com](mailto:campbell.mclauchlan@gmail.com) Gy¨orgy P. Geh´er: gehergyuri@gmail.com, [george.geher@riverlane.com](mailto:gehergyuri@gmail.com, george.geher@riverlane.com) Alexandra E. Moylett <sup>_∗‡_</sup> : [alex.moylett@gmail.com](mailto:alex.moylett@gmail.com) *These authors contributed equally to this work. _†_ Current address: Centre for Engineered Quantum Systems, School of Physics, The University of Sydney, Sydney, NSW 2006, Australia _‡_ Current address: Nu Quantum, 21 JJ Thompson Avenue, Cambridge, CB3 0FA, United Kingdom Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 1 compared to the surface or colour codes, while maintaining a reasonably high threshold under Pauli noise and a low tera-quop footprint for certain noise models [2–4]. Finally, from a computational perspective, they provide simple constructions for implementing logical operations from the Clifford group [5]. While Pauli noise is the commonly studied error model in QEC, there are many other forms of noise beyond Pauli errors which appear when developing quantum devices in practice, such as qubit loss [6, 7], erasure [8, 9], leakage [10–13] and cosmic ray events [14, 15]. Fabrication defects, where an error in the fabrication of a quantum device renders some of the qubits so noisy as to be effectively useless, is a more permanent form of error which must be dealt with. These defective qubits can be identified in advance through device calibration. One instance of such an error appearing in real devices can be found in the Sycamore processor used in Google’s 2019 quantum computational supremacy experiment [16]. It is worth avoiding defective components when running a QEC code, as they can introduce types of noise that are harmful to the overall performance of the code [11, 17]. Several works have already shown how to accommodate fabrication defects on other QEC codes. For the surface code, code deformation is used to isolate the defects from the rest of the lattice, resulting in a code that maintains a threshold under Pauli noise at finite defect rates [18–24]. As for the case of Floquet codes, Aasen _et_ _al._ [25] have initiated the study by proposing methods for accommodating fabrication defects on the 4.8.8 [4] and honeycomb [1] Floquet codes. This leaves room for substantial further work in finding improvements to these methods and benchmarking Floquet code performance in defective hardware, to help determine how promising a candidate for large-scale QEC this type of code is. In particular, it is crucial to consider methods that make no additional assumptions about the device connectivity, since low connectivity requirements are one of the main benefits of Floquet codes. Moreover, the ability to generalise strategies to a large array of Floquet codes would be very useful. In this paper we present a new way of accommodating fabrication defects on Floquet codes that respects hardware constraints and is highly generalisable. We present our method as an iteratively applicable algorithm which provides a new Floquet code given a set of defective qubits. It removes at most two qubits per defect—which is optimal when preserving important properties of the lattice—requires no additional connectivity in the hardware, and can accommodate boundaries. We also require no modifications to the original measurement schedule of the Floquet code, which ultimately means that our method is suitable for use in a wide range of Floquet codes (specifically, all such codes definable on a colour code lattice [1, 4, 26, 27]). We numerically benchmark the performance of our method by implementing circuits for a planar honeycomb code memory experiment (specifically considering the model of Gidney _et al._ [3]) in Stim [28], a fast Clifford circuit simulator, and correcting for Pauli errors on the adapted code using PyMatching, a matching decoder [29]. We find considerable robustness to fabrication defects using our method: we determine a defect threshold of approximately 13%, and numerically demonstrate that Pauli error thresholds exist for defect probabilities close to this threshold. Hence, the region of parameter space in which the code remains fault-tolerant is large and comparable to that of the surface code [18]. The reduction in Pauli error threshold with defect probability is also quantitatively similar to previous findings for the surface code [20]. This is quite surprising, as the honeycomb code achieves this with more restrictive constraints on the connectivity of the device. We further introduce two methods which take advantage of the underlying hardware. First, we propose even better methods for accommodating defects in hardware in which Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 2 extra connectivity is present, such as on square lattices [30–32]. And secondly, we propose a method for better accommodating defective auxiliary qubits in lattices in which those are present—or, more generally, defective connections between data qubits—such as the heavy hex lattice [33]. The rest of this paper is laid out as follows. In Sec. 2 we provide some background on the honeycomb code (as a prototypical example from the family of Floquet codes we consider) and fabrication defects. In Sec. 3 we describe our strategy for removing defective qubits from the code lattice. Results from simulations are described in Sec. 4. We propose some improvements that can be made depending on the hardware of the quantum processor in Sec. 5. Finally, we conclude with some future research directions in Sec. 6. ### 2 Background A Floquet code is defined by a series of check measurements and a sequence in which they are measured <sup>∗</sup> . Many Floquet codes are definable on the lattice of a colour code [26]. We focus here on the honeycomb code [1, 2], however this example can be easily generalised. 2.1 Honeycomb code The honeycomb code is a Floquet code defined on a honeycomb lattice <sup>†</sup> . Each vertex represents a physical qubit, and each edge represents a two-qubit Pauli measurement between neighbouring qubits. An example lattice is presented in Fig. 1, with the plaquettes coloured red, blue and green in such a way that no neighbouring plaquettes share the same colour (the lattice is _3-face-colourable_ ). Edges are also assigned colours according to the plaquettes they connect; for example a red edge connects a pair of red plaquettes. A key benefit that this code has over other error-correcting codes, such as the surface code, is the low connectivity requirements of the code: each qubit only needs to be connected to three nearest neighbours (the lattice is _tri-valent_ ), and each measurement is only between pairs of adjacent qubits. This makes Floquet codes appealing for architectures with low connectivity, such as IBM’s heavy hex lattice [33], as well as devices with native two-body measurements such as Majorana devices [4, 35]. A QEC round using the periodic honeycomb code works by implementing two-body Pauli measurements between adjacent qubits according to the following measurement schedule: first, _XX_ measurements are applied to red edges, then _Y Y_ measurements are applied to green edges, and finally _ZZ_ measurements are applied to blue edges [2]. If periodic boundary conditions are used, we then repeat the measurement schedule. Floquet codes may not store logical operators, or have stabiliser groups, when viewed as subsystem (i.e., static) codes [1, 26], however this does not preclude them from having these properties when viewed dynamically. We can understand this through the instantaneous stabiliser groups, which depend on the measurement sub-round (i.e., the edge type just measured). For the honeycomb code, the instantaneous stabiliser group after each sub-round of QEC consists of six-body Pauli operators on each plaquette (these commute with all edge measurements), plus the two-body Pauli operators measured in the last subround. Each plaquette of a given colour is made up of the product of edges encircling that plaquette, which will be of the other two colours. For example, a red plaquette is made up ∗For our purposes, we do not distinguish between finite or infinite-period dynamical codes, as other authors do [5, 34]; they will both be, in principle, amenable to our techniques. †This can be generalised to any lattice that is 3-face-colourable and tri-valent, i.e., where each vertex is adjacent to three edges. Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 3 Figure 1: An example of the planar honeycomb code, with qubits on vertices and with plaquettes coloured according to their Pauli type (red for _X_, green for _Y_ and blue for _Z_ ). In the periodic honeycomb code, the horizontal and vertical boundaries wrap around on a torus. In the planar case shown, boundary “edges” involve single-qubit measurements [3]. These form plaquettes that have nondeterministic outcomes at certain points in the measurement schedule. Logical strings at each point in the period-six measurement schedule are shown. Vertices coloured red/green/blue indicate where logicals have support as Pauli _X_ / _Y_ / _Z_ operators respectively. Arrows indicate the checks measured at that point in the sequence (red for _X_ checks, green for _Y_ checks and blue for _Z_ checks). Logical strings are only updated after _Y_ and _Z_ check measurements. of three green edges and three blue edges that encircle the plaquette. The _X_ <sup>_⊗_</sup> <sup>6</sup> stabiliser that this red plaquette corresponds to is the product of these _Y Y_ and _ZZ_ edge operators, and the plaquette’s measurement outcome can therefore be inferred from the two previous sub-rounds in which green and blue edges were measured, respectively. This process can also be followed for the green _Y_ <sup>_⊗_</sup> <sup>6</sup> and blue _Z_ <sup>_⊗_</sup> <sup>6</sup> plaquettes. The logical operators of the honeycomb code have to change in each sub-round in order to ensure that they commute with measurements in future QEC sub-rounds. Specifically, some edge measurements on horizontal and vertical cycles across the code need to be multiplied in to the logical observables [1, 2]. The logical operators change each subround, repeating with period six. The measurement schedule is crucial for ensuring that the stabilisers can be measured while at the same time ensuring that these observables are preserved; if one were to instead implement measurements such that all stabilisers (of the subsystem code) were measured simultaneously, a code with no logical qubits would be formed [1]. The planar honeycomb code functions in a similar way. Boundaries can be formed without increasing the connectivity requirements by cutting along edges of the same colour of a larger honeycomb lattice [3]. The cut edges correspond to single-qubit Pauli measurements in the same basis as before. Note that if we use the same measurement schedule as before, the result will be that some measurements will anti-commute with the observable. Instead, the schedule is modified to measure edges in an _R_ _→_ _G_ _→_ _B_ _→_ _R_ _→_ _B_ _→_ _G_ pattern [36, 37]. The transformations of the logical operators through this measurement schedule are shown in Fig. 1. Note that logical operators are not updated after red edges are measured. The single-qubit measurements anti-commute with plaquettes along the boundary. The result of this is that some stabilisers are non-deterministic at times and therefore cannot detect errors at those times. However, this does not seem to significantly affect the code’s performance when compared to the periodic honeycomb code [3]. We form detectors—sets of measurements whose joint parities are deterministic when no errors have occurred—from two measurements of plaquette operators. For example, Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 4 after the sequence _B_ _→_ _R_ _→_ _B_, we measure all bulk green plaquettes twice (once after _B_ _→_ _R_, and a second time after _R →_ _B_ ); therefore detectors can be formed for each green plaquette by comparing the two measured values. An _X_ or _Z_ error occurring on a qubit in the plaquette’s support between the first and last of these three measurement sub-rounds will trigger the detector. Meanwhile, measurement results from detectors are deterministic in the presence of zero noise. A decoder can use these results to identify and correct errors when noise is present. Boundary plaquettes are measured non-deterministically when the single-qubit edge measurements precede the two-qubit edge measurements. However, they are re-measured deterministically (assuming no error has occurred) when the twoqubit edge measurements precede the single-qubit measurements. For example, a green boundary plaquette in Fig. 1 is first measured non-deterministically when the blue edge measurements immediately precede the red edge measurements ( _B_ _→_ _R_ ). It is then measured deterministically for a second time after the sequence _R_ _→_ _B_, at which point we can form a detector comparing these two measurement outcomes. 2.2 Fabrication defects In this work we address the challenge of implementing Floquet codes when there are fabrication defects on the hardware device. A fabrication defect is a qubit which at the time of running the computation is known to be highly prone to errors, or otherwise unusable. Such faults are common in quantum processors: Google’s 54-qubit Sycamore processor for example featured one qubit which did not function properly and therefore could not be used in their 2019 quantum computational supremacy experiment [16]. Fabrication defects have been studied extensively in the context of surface codes, and can be accommodated by merging adjacent stabilisers together into “super-stabilisers” in order to remove the defective qubit(s) [18–21, 23, 24]. These super-stabilisers are measured by introducing “gauge operators” around a defect, such that the super-stabiliser measurements can be formed by taking products of gauge measurements. This is similar to how edge measurements combine to form plaquette measurements in the honeycomb code, with the difference being that there is no dependency on the order in which gauge measurements are performed. However, translating this procedure to the honeycomb code is non-trivial: the adaptation of the lattice and the measurement schedule of the Floquet code must be performed carefully to make sure that detectors can still be formed near the defect locations. Meanwhile, although each sub-round of the honeycomb code can be mapped to an instance of a surface code [1], there are several impediments and disadvantages to directly adapting the surface code strategy, including that gauge operators of the surface code would not always correspond to edge measurements in the honeycomb code, and that the surface code mapped to from the honeycomb code evolves with each sub-round. Meanwhile, the resulting honeycomb code strategy may not be optimal, and the applicability of this strategy beyond the honeycomb code may also be limited. Hence, we must go beyond a simple adaptation of existing strategies to accommodate fabrication defects in Floquet codes. Aasen _et_ _al._ have investigated ways of accommodating fabrication defects on honeycomb and 4.8.8 Floquet codes [25]. They propose several strategies, two of which involve removing all qubits in a plaquette adjacent to a defect. An important consideration for such methods is whether the device has extra connectivity available for the formation of new plaquettes, which is required for some methods proposed [25]. Respecting the constraints of hardware while removing the smallest number of qubits and edges from the lattice possible is important for maintaining a high percolation threshold, and presumably Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 5 a high Pauli noise threshold under finite fabrication defect rates <sup>∗</sup> . ### 3 Strategy for removing defective qubits from the lattice Here we outline the strategy for removing defective qubits from the honeycomb code’s underlying lattice. The main idea is to create “super-plaquettes” which avoid using the defective qubits, thereby removing them from the lattice. We do this by merging some plaquettes in the original lattice together, while other existing plaquettes are replaced by two-body plaquettes. We will do all this while retaining the 3-face-colourability and tri-valence of the graph, for ease of defining the updated code and ease of generalisation to other Floquet codes. To achieve this, we need to remove a pair of qubits along an edge, as described below. There is some subtlety around choosing the extra removed qubit (or qubits if there is more than one defect) in such a way that maximises the distance of the resulting code—we shall refer to this as the “edge choice”, since choosing a qubit to remove is the same as choosing an edge adjacent to the given fabrication defect. We also do not allow for extra connectivity between qubits in the updated Floquet code. In Appendix A, we describe how improved results can be obtained in the presence of extra connections in the underlying hardware. Below, we will outline the algorithm for generating the new code with super-plaquettes given a pattern of fabrication defects and an edge choice for each defect. There are certain situations in which the edge choice is obvious, but otherwise we need to use heuristics to make an edge choice. We discuss some heuristics for choosing suitable edges to remove in Sec. 3.4. 3.1 The super-plaquette algorithm We begin with a single fabrication defect in the bulk of the lattice and explain how the algorithm runs for this case. Let us denote an edge as ( _E, B_ ) where _E_ is a set of one or two qubits and _B_ is a Pauli basis. A plaquette will be a set of edges, each of which has basis not equal to the plaquette basis. The measurement outcome of this plaquette will be the product of measured values of all edge operators—the measurement of the qubit(s) in the basis specified—in its corresponding set. As mentioned above, the first step of the algorithm is to make an edge choice, giving us another qubit to remove from the lattice. We will call this selected edge the “defect edge”, although note that there is not necessarily anything defective about this edge. Hence we begin with the following step: 1. Choose a defect edge. We call the basis of this defect edge the “defect edge basis” ( _D_ ). An example is illustrated in Fig. 2a. The defective qubit is the red vertex and the other removed qubit is the blue vertex—the defect edge is the edge in orange connecting these two qubits. Note that this edge connects two red _X_ <sup>_⊗_</sup> <sup>6</sup> plaquettes, so the defect edge basis is _D_ = _X_ . We then proceed through the list of plaquettes and find all plaquettes that contain the defect edge—we will refer to these as the “shrink plaquettes.” For a single defect edge there will only be two such plaquettes and they will be of different types. ∗One of the methods proposed in Ref. [25], while requiring extra connectivity, only necessitates the removal of a single qubit, which could be useful for honeycomb code implementations. However, the properties of the resulting graph and the updated measurement schedule make this strategy potentially hard to generalise to other Floquet codes (including the honeycomb code with boundaries) or to multiple defects in the lattice. Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 6 (a) (b) (c) Figure 2: Removing a defective qubit from the bulk of the honeycomb code. (a) A defective qubit is highlighted in red, along with a neighbouring qubit in blue and the defect edge between them in orange. In this example, one green plaquette and one blue plaquette around the defect are selected as shrink plaquettes, and four surrounding red plaquettes are selected as merge plaquettes. These plaquettes have been highlighted. (b) The shrink plaquettes are replaced with weight-2 plaquettes, formed using newly-added _Y Y_ and _ZZ_ edges highlighted in green and blue, respectively. (c) The merge plaquettes are combined into a single super-plaquette. The super-stabiliser is supported on 22 qubits, and it is composed of 9 blue and 9 green edges that were originally involved in one of the merge plaquettes, plus 2 blue edges and 2 green edges which were added in Step 4. Removed edges are shown in white, the defective qubit and its pair on the defect edge no longer contribute to any stabilisers and can be removed. 2. Find the shrink plaquettes adjacent to the defect edge. In Fig. 2a, there is one green and one blue shrink plaquette incident to the defect edge. The green (resp. blue) shrink plaquette in this example corresponds to a _Y_ <sup>_⊗_</sup> <sup>6</sup> (resp. _Z_ <sup>_⊗_</sup> <sup>6</sup> ) stabiliser. We then find all plaquettes of type _D_ that are adjacent to a shrink plaquette—we call these the “merge plaquettes”. 3. Find the merge plaquettes. In Fig. 2a, there are four red merge plaquettes. In this example, the merge plaquettes correspond to _X_ <sup>_⊗_</sup> <sup>6</sup> stabilisers. Now we form the super-plaquette and adjacent two-body plaquettes. For each shrink plaquette _S_, let _ES,D_ be the set of edges in _S_ which are the same basis as the defect edge— in this case, the _XX_ edges—but do not contain the defect. We first add the two-body plaquettes to the list of plaquettes: 4. For each shrink plaquette _S_ (suppose it has Pauli type _P_ ) and for each edge ( _E, D_ ) _∈_ _ES,D_, add a plaquette that involves two edges: ( _E, D_ ) and ( _E, T_ ), where _T_ _∈{/_ _D, P_ _}_ . Add edge ( _E, T_ ) to the list of edges and to a set of newly-added edges _C_ . 5. Delete all shrink plaquettes from the list of plaquettes. In Fig. 2b, we show how Step 4 is applied to the example in Fig. 2a, with the new _Y Y_ and _ZZ_ edges in _C_ coloured green and blue, respectively. The green (resp. blue) weight-6 plaquettes have now been split into two weight-2 green (resp. blue) plaquettes. Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 7 Note that the set of newly-added edges _C_ connect the merge plaquettes in a cycle. We use _C_ to combine the merge plaquettes into a single new super-plaquette: 6. Include all edges in _C_ in the super-plaquette. For every merge plaquette _M_ and every edge ( _E, B_ ) in _M_, add ( _E, B_ ) to the super-plaquette if ( _E, B_ ) is not an element of any shrink plaquette. 7. Delete all merge plaquettes from the list of plaquettes. The final result of this process is shown in Fig. 2c. Note that the defective qubit and its neighbour are no longer connected to any other qubits, nor do they contribute to any plaquettes in the code. This means that they can now be removed from the code. The resulting super-plaquette is of the same type as the merge plaquettes: it is formed from a cycle of edges of alternating type not equal to _D_ (alternating _Y Y_ and _ZZ_ measurements for the example in Fig. 2). This follows from the fact that the cycle of edges that wraps around the super-plaquette is formed of edges from the set _C_ and edges from merge plaquettes, none of which have basis equal to the merge plaquette type. To see that the cycle of bases is alternating, consider the edges adjacent to ( _E, B_ ) _∈_ _C_ in Fig. 2b. There are five edges adjacent to _E_ . One edge is ( _E, D_ ), the edge connecting these two vertices in the original Floquet code. This edge is of type _D_ —the defect edge basis—and will not be included in the super-plaquette. Of the remaining four, two are of type _B_ ; these two will contribute to one of the shrink plaquettes, and will therefore be removed from the lattice during Steps 6 and 7. This leaves two edges incident to edge ( _E, B_ ), which by construction have to be a different type to _B_ or _D_, and these are the two edges that are included in the super-plaquette. Therefore the super-plaquette alternates before and after each edge in _C_ . Furthermore, the cycle continues to alternate around the merge plaquette, by construction of the original code. In this way we see that the entire super-plaquette is formed from alternating edges of two bases. 3.1.1 Remarks on super-plaquette algorithm It can be seen that the algorithm introduced above results in an updated lattice with the required properties of tri-valence and 3-face-colourability. It does so while (at least for a defect within the bulk of the lattice) removing the smallest number of qubits, edges and plaquettes from the lattice possible. In Appendix B, we prove the following: Theorem 1. _The_ _algorithm_ _above_ _produces_ _a_ _tri-valent,_ _3-face-colourable_ _lattice._ _It_ _does_ _so_ _while_ _removing_ _the_ _minimal_ _number_ _of_ _qubits,_ _edges_ _and_ _plaquettes_ _from_ _the_ _lattice_ _(assuming_ _a_ _lattice_ _without_ _boundaries)._ We also note that while there are new edges added to the graph, these edges are between vertices which were adjacent in the original graph. This means that all the new two-body measurements are performed between qubits which are already connected on the quantum processor, implying that no additional hardware connectivity is required. This algorithm can also be run using the same measurement schedule as the original code, as the new measurements and plaquettes follow the same rules of tri-valence and 3-facecolourability as the original Floquet code. Hence, assuming the need to create a static lattice with the same properties as the original, and which is a sub-lattice of the original, our algorithm results in optimal qubit, edge and plaquette removal. While the example above is specific to the honeycomb code, we can see that the algorithm is generalisable to other two-dimensional Floquet codes. In Appendix C, we Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 8 discuss how this algorithm can be extended to Floquet codes on other tri-valent and 3face-colourable graphs, and provide an explicit example of applying this strategy to the 4.8.8 Floquet code [4, 25]. An important consideration for maintaining a high threshold under fabrication defect noise is the number of _connections_ removed from the lattice: that is, some qubits are connected by edges in the original lattice but not in the updated lattice. These removed connections are shown in white in Fig. 2c. For uniform lattices (i.e., honeycomb, 4.8.8 or 4.6.12), the super-plaquette algorithm (again, applied in the bulk), results in the minimal removal of such connections without requiring additional connectivity in hardware. In Appendix B, we prove the following: Theorem 2. _Consider_ _a_ _defective_ _qubit_ _in_ _the_ _bulk_ _of_ _a_ _Floquet_ _code_ _defined_ _on_ _a_ _honey-_ _comb,_ _4.8.8_ _or_ _4.6.12_ _lattice_ _(without_ _boundary);_ _i.e.,_ _a_ _uniform_ _tiling_ _of_ _the_ _plane._ _Under_ _the_ _constraint_ _that_ _we_ _cannot_ _form_ _an_ _edge_ _between_ _any_ _two_ _qubits_ _not_ _connected_ _by_ _an_ _edge_ _in_ _the_ _original_ _lattice,_ _the_ _algorithm_ _above_ _(with_ _a_ _certain_ _choice_ _of_ _defect_ _edge),_ _minimises_ _the_ _number_ _of_ _removed_ _edges_ _from_ _the_ _original_ _lattice._ There are a few further remarks we can note about this strategy. First of all, we can verify that no additional logical degrees of freedom have been created. To see this, note that two physical qubits are removed for the defect. After applying the strategy in the example of Fig. 2, four merge plaquettes are combined into a single super-plaquette, but two shrink plaquettes are split into two weight-2 plaquettes, meaning that the number of plaquettes has only decreased by one. We have also removed seven edges (one red, three blue, three green) and added four new edges (two blue, two green). Overall this means that we have removed one edge of each type from the graph, so after each sub-round the number of stabilisers formed by the edges of that sub-round also decreases by one. As a result, the size of the instantaneous stabiliser group after each sub-round has decreased by two generators, meaning that the number of logical qubits—the number of physical qubits minus the size of the instantaneous stabiliser group during each sub-round—remains unchanged. We can also see that for multiple defects this algorithm can be implemented iteratively, by choosing a defect edge for each defective qubit. If multiple defects are close to each other, this can mean the super-plaquettes are themselves merged together to create even larger plaquettes. An example of two super-plaquettes merged together is shown in Fig. 3. Note that in this example the two defect edges selected are in the same basis, however this does not need to be true in general, and in certain cases it can be beneficial to choose different bases (see Appendix D). It is interesting to note the similarities between the resulting weight-two stabilisers shown in Fig. 2c and the two-gon method for applying boundaries to the honeycomb code presented in Refs. [4, 36]. Hastings and Haah showed that implementing a boundary in this way provides a non-trivial cycle of two types of edge, meaning that the measurement schedule needs to be modified in order to avoid measuring the logical observable [1, 36]. Here, however, we _do_ want to measure the cycle generated by this algorithm, in order to measure a super-stabiliser around the defective qubit(s). Note also that these weight-two plaquettes can be measured directly, in addition to the way they are measured in the Floquet code (through two rounds of edge check measurements). Doing so would require an extra idling layer for the remaining qubits in the code, which would likely reduce the overall logical performance, at least for low defect densities. However, experimenting with this could result in useful improvements, and we leave this to future work. Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 9 (a) (b) (c) Figure 3: Removing two defective qubits from the bulk of the honeycomb code. (a) Defective qubits are in red, defect edges in orange and the neighbouring qubits to remove in blue. Merge and shrink plaquettes are highlighted for both defects, with shrink plaquettes in blue & green and merge plaquettes in red. (b) The modified lattice after the bottom defect edge is removed, cf. Fig. 2. (c) The modified lattice after both defect edges are removed. 3.2 Defective qubits on the boundary So far we have only considered fabrication defects which appear in the bulk of the code. Whilst this will work for periodic boundary conditions, we also need to consider what happens to defects which lie on the boundary of the code in order for this technique to be practical to implement on current quantum hardware. In [3], Gidney _et_ _al._ showed how boundaries for the honeycomb code can be formed by cutting a planar patch out of a larger honeycomb lattice. We can also use this technique to handle fabrication defects on the planar honeycomb code: first, we embed the patch back into the larger lattice; second, we apply the algorithm described in Sec. 3.1 to modify the honeycomb code; and third, we cut the patch out along the same boundaries again. We give some examples of applying this method to defects on the horizontal and vertical boundaries of the code in Fig. 4. Just like the periodic boundary conditions case, this approach requires no extra connectivity and can be implemented using the same measurement schedule as the defect-free planar honeycomb code. It is worth noting that in this situation there are constraints on which edge we can choose to be the defect edge. In particular, the defect edge basis must not match the basis of the boundary. As shown in Fig. 4c, choosing the boundary edge as the defect edge leads to weight-one plaquettes being defined on the boundary. These plaquettes are formed by two non-commuting single-qubit measurements, and are therefore nondeterministic throughout the whole computation. Introducing these non-deterministic plaquettes will create additional logical operators, potentially reducing the code distance or logical fidelity. Similar behaviour can be seen in the corner plaquettes on the defect-free planar honeycomb code [3]. The fact that boundary plaquettes on planar Floquet codes are non-deterministic also leads to other considerations we might want to take into account when selecting a defect edge. This is because while detectors can be formed for plaquettes in the bulk on average Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 10 (a) (b) (c) Figure 4: Removing defective qubits on the (a) horizontal and (b) vertical boundaries of the honeycomb code. (c) A boundary edge is selected as a defect edge, which has the unintended effect of introducing two corner plaquettes (of weight 1) in red and green. Thus choosing this edge as the defective edge is not possible. every three sub-rounds, detectors for plaquettes on the boundaries can only be formed once every six rounds, and can never be formed for plaquettes on the corners. As a result, our choice of defect edge could mean introducing a large super-plaquette that is only deterministically measured once every six sub-rounds, or even not measured at all. We describe the means of avoiding such cases, when possible, in Appendix D. 3.3 Changing the logical operators The planar honeycomb code with the boundaries indicated above stores a single logical qubit, with logical operators (evolving in time) shown in Fig. 1. Strings that cross the lattice non-trivially, between vertically or horizontally opposite boundaries, serve as our logical operators [3, 4, 36]. In the periodic honeycomb code there are two logical qubits, with each having logical operators made up of one horizontal cycle and one vertical cycle such that the two anti-commute [1, 2]. If the super-plaquettes formed by the algorithm in Sec. 3.1 are not incident to these strings then we do not need to make any changes to the logical operators. However, if the strings use an edge removed by the algorithm, or if the strings cross a defective qubit, then we can use a path-finding algorithm to construct alternative logical operators. If we cannot find strings that connect opposite boundaries in the modified graph, the defects cannot be resolved using the above algorithm because the graph does not percolate. It is important to ensure that the new operators commute with the measurements as they evolve, in the same way that the logical operators in the original code transform in order to commute with each round of measurements. We give examples of how the logical operators can evolve around a newly formed super-plaquette on both the periodic and planar honeycomb codes in Appendix E. 3.4 Choosing a defect edge In order to run the algorithm described in Sec. 3.1, we need to pick suitable defect edges incident to the defective qubits. For _n_ defective qubits, the number of possible defect edge assignments scales as _O_ (3 <sup>_n_</sup> ), making it infeasible to exhaustively search over all possible edges to find an optimal selection. Instead we use a number of heuristics to find a good set of defect edges. Our aim with these heuristics are two-fold. First, we want to keep super-plaquettes small, to ensure that removing the defects does not reduce the distance too significantly. And second, Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 11 we want to keep super-plaquettes in the bulk of the code where possible, to ensure they are deterministically measured throughout the whole experiment. These heuristics were employed for the numerical simulations described in Sec. 4. We give full details on the heuristics used in Appendix D. ### 4 Simulation results We shall now discuss our simulations of the planar honeycomb code with fabrication defects. Our simulations used multi-qubit Pauli product measurement (MPP) gates, which are native to Majorana devices [4, 35], as well as single-qubit reset and measurement gates. For a Pauli noise parameter _p_ Pauli, we assume two-qubit depolarising noise with probability _p_ Pauli after each MPP gate, single-qubit depolarising noise with probability _p_ Pauli _/_ 10 after each single-qubit reset or measurement gate, and that a measurement result flips with probability _p_ Pauli. This is similar to the standard depolarising with entangling measurements (SDEM3) noise model considered by Gidney _et_ _al._ [3]. Our simulations are run as follows. For each “target distance” _d_ (the code distance for that lattice size in the absence of defects) we construct a 2 _d ×_ 3 _d_ planar honeycomb patch (see Fig. 1 for a _d_ = 4 example). We then sample defective data qubits from this patch with probability _p_ defect, and adapt the honeycomb code according to the algorithm discussed above. We then generate Stim circuits for running a 3 _d_ -sub-round quantum memory experiment using this code for both logical observables [28]. Finally, the measurement results for these experiments are decoded using PyMatching [29]. Because each sample of fabrication defects requires a different Stim circuit, providing a complete set of Stim circuits generated in these experiments would be impractical. Instead, we provide some example Stim circuits in Ref. [38]. 4.1 Percolation threshold First, we benchmark how well this method preserves a logical qubit under fabrication defects. As a reminder, the logical observable on the honeycomb code is a product of Pauli operators on qubits in a non-trivial cycle for the periodic case, or in a path between two boundaries of the same type for the planar case. Such a cycle or path can still be created when using this method to account for fabrication defects as long as a super-plaquette does not form a non-trivial cycle or path between two boundaries itself. Hence we are interested in the probability for the modified graph to percolate at various fabrication defect probabilities. We estimate the probability of successfully preserving the logical observables using Monte Carlo sampling. First, we generate instances of the honeycomb code lattice for target code distances ranging from _d_ = 3 to _d_ = 7. We then select fabrication defect probabilities up to 14%. For each distance and defect rate, we generate up to 10,000 lattice samples, and use the method described in Sec. 3 to adjust the code for them. We then estimate the probability that, when the algorithm is applied, the resulting graph does not percolate. Finally, we estimate a percolation threshold using second-order approximation methods, as described in Chapter 4 of Ref. [39]. Since this is only a property of the graph and the algorithm described above, the resulting percolating probabilities should apply to all Floquet codes defined on this lattice, not just the honeycomb code. The results are presented in Fig. 5, with close-to-threshold data in Fig. 5b. We find that applying these techniques to the honeycomb code achieves a percolation threshold of approximately 13 _._ 1 _±_ 0 _._ 1%, which is comparable to the percolation threshold found for Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 12 10 <sup>0</sup> 6 × 10 1 4 × 10 1 3 × 10 1 Target distance 3 Target distance 4 Target distance 5 Target distance 6 Target distance 7 0.00 0.02 0.04 0.06 0.08 0.10 0.12 0.14 Defect probability (a) 0.5 0.4 0.3 Threshold d=3 d=4 d=5 d=6 d=7 0.110 0.115 0.120 0.125 0.130 0.135 Defect probability (b) Figure 5: Probabilities for the graph to percolate when the super-plaquette strategy is used to remove fabrication defects for varying defect probabilities and target distances _d_ . Error bars indicate standard error of the mean. (a) Unfitted data averaged over 10,000 realisations. (b) Curve fits to the close-tothreshold data (averaged over 6,000 realisations) are shown. The critical defect probability is around 13 _._ 1 _±_ 0 _._ 1%, as indicated by the red lines. the surface code of just under 16% [20]. 4.2 Average effective Pauli distance Next, we benchmark the effective Pauli distance for each sample. As before, we start with target Pauli distances ranging from 3 to 7, defect probabilities ranging from 1% to 14%, and generate up to 10,000 defect samples for each target distance and defect probability. Each circuit is then implemented in Stim with Pauli noise inserted, and the distances for both the horizontal and vertical observables are estimated using Stim’s functionality for finding the shortest graph-like error [28]. Note that if a code graph fails to percolate, then the effective distance is taken to be zero. The results are presented in Fig. 6. By plotting the average effective distance on a log scale we find that for a code with a fixed target distance, the effective distance decreases exponentially with the defect probability up to the percolation threshold. However, for small defect probabilities the expected distance grows linearly with the target distance, indicating the possibility of a non-zero Pauli threshold. We will show below that such a threshold exists for defect probabilities up to roughly the percolation threshold in Sec. 4.3. This means that if the probability of a qubit being defective is sufficiently small, achieving a desired Pauli distance is simply a case of creating a sufficiently large patch. 4.3 Pauli error threshold Finally, we investigate how the Pauli error threshold changes depending on the fabrication defect probability. For each target distance _d_ and fabrication defect probability _p_ defect, we generate 1,000 defect samples and adapt the code to these defects. For each code instance, if the resulting graph percolates, we next generate Stim [28] circuits for a 3 _d_ -sub-round quantum memory experiment and insert Pauli noise with varying error probabilities _p_ Pauli. We then collect 100,000 quantum memory experiment samples, for each code instance and for each observable (both horizontal and vertical). We then decode each experiment. For horizontal and vertical logical error probabilities _pH_ and _pV_ we estimate an overall logical Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 13 7.0 6.0 5.0 4.0 3.0 2.0 1.0 0.5 0.3 Target distance 3 Target distance 4 Target distance 5 Target distance 6 Target distance 7 0.00 0.02 0.04 0.06 0.08 0.10 0.12 0.14 Defect probability Figure 6: Average effective Pauli distance found for given target distances and defect probabilities. Error bars indicate standard error of the mean. error probability for a given experiment as _pL_ = 1 _−_ (1 _−_ _pH_ )(1 _−_ _pV_ ) _,_ which is the estimated probability of either logical error occuring. We average _pL_ across all generated defect samples whose resulting code graphs percolate. Since this results in an estimate to the logical failure probability given that the graph percolates, we can use this to estimate the overall failure probability _pF_ for a given defect probability and target distance as _pF_ = _p_ perc _pL_ + (1 _−_ _p_ perc) _,_ where _p_ perc is the probability that the code manages to successfully percolate. In the above, we consider any non-percolating case as a logical failure. Finally, from these logical error probabilities a threshold is estimated. This is done by approximating logical error rates close to threshold as quadratically dependent on _x_ = ( _p_ Pauli _−_ _p_ 0) _d_ <sup>1</sup> <sup>_/ν_</sup> <sup>0</sup>, where _p_ 0 is the Pauli error threshold and _ν_ 0 is a critical exponent for the transition (see Chapter 4 of Ref. [39]). An example fit at _p_ defect = 6% is shown in Fig. 7a, with the resulting threshold presented alongside Pauli error rates in Fig. 7b. Further data at other defect probabilities are provided in Appendix F. The results are presented in Fig. 8. We fit the Pauli error threshold to an exponential function of _p_ defect, where _p_ defect is the independent probability of a qubit being defective. This exponential function provides a reliable fit up to a defect probability of 9%. At _p_ defect _≥_ 10%, all target distances simulated had an effective Pauli distance ≲ 1 (see Fig. 6), which is likely contributing to this drop-off in threshold. However, note that the exponential fit is guaranteed to be inaccurate around the percolation threshold, where the Pauli error threshold goes to zero exactly. The performance found is similar to that seen in the surface code, where Pauli thresholds have been shown to scale as 7 _×_ 10 <sup>_−_</sup> <sup>3</sup> exp( _−_ 22 _p_ defect) [20]. Note that the surface code simulations in Auger _et al._ [20] use a slightly different circuit-level noise model to that used here. The parameters we find for the exponential fit may change if one were to replace MPP gates with measurement circuits. It is notable, however, that for hardware with Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 14 0.35 0.30 0.25 0.20 Fit d=3 d=4 d=5 d=6 d=7 6 4 2 0 2 4 x 1e 3 (a) 0.3 0.2 Threshold d=3 d=4 d=5 d=6 d=7 1.00 1.25 1.50 1.75 2.00 2.25 2.50 2.75 Noise parameter 1e 3 (b) Figure 7: Estimating a Pauli error threshold at _p_ defect = 6%. (a) Rescaled data _x_ = ( _p −_ _p_ 0) _d_ <sup>1</sup> <sup>_/ν_</sup> <sup>0</sup> is plotted against average logical error probability, along with a quadratic best fit. Error bars indicate standard error of the mean for the 1,000 _pL_ values sampled; the errors associated with each _pL_ estimate, taken from 100,000 quantum memory experiment samples, is comparatively negligible. (b) Average logical error probability for various Pauli noise parameters, with estimated Pauli threshold (and error) in red. 0.8% 0.4% 0.2% 0.1% 0.05% 0.00 0.02 0.04 0.06 0.08 0.10 0.12 Defect probability Figure 8: Pauli error thresholds for varying qubit defect probabilities. The points are fitted to the exponential function _A_ exp( _Bp_ defect), where _p_ defect is the defect probability, _A_ = (8 _._ 1 _±_ 0 _._ 2) _×_ 10 <sup>_−_</sup> <sup>3</sup> and _B_ = _−_ 21 _._ 4 _±_ 0 _._ 9. As can be seen, the accuracy of the exponential fit is significantly reduced close to the percolation threshold. At _p_ defect _≈_ 13%, no Pauli error threshold exists. Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 15 native MPP gates, such as Majorana Fermions [4, 35], the code performance with finite _p_ defect is very close to that of the surface code. Despite the small average effective distances for _p_ defect _≥_ 10%, we find clear evidence for sub-threshold behaviour at _p_ defect = 10% (see Appendix F). The evidence for _p_ defect _>_ 10% is less clear, although our fits, and the increase in effective distance with target distance for _p_ defect _>_ 10% (Fig. 6), indicate a positive threshold. ### 5 Hardware-specific improvements Throughout this paper, we have made minimal assumptions about the underlying hardware: the constraints we have for implementing our modified Floquet codes are the same as the constraints for implementing the original codes in a defect-free lattice. In this section we will now discuss what extensions can be made when we know more about the quantum hardware. First, we propose an improvement that can be made if the Floquet code is being implemented on a square lattice—which is common in superconducting quantum computers [30–32]—by taking advantage of extra connectivity which is not used in the original code. And second, we propose an improvement that can be made on the heavy hex lattice used in IBM quantum processors [33], by treating defective auxiliary qubits as a defective connection rather than a defective data qubit. Further details on using additional connectivity and accommodating defective connections can be found in Appendices A and G, respectively. 5.1 Accommodating defective qubits on a square lattice One key benefit of Floquet codes compared to other error-correcting codes is the low connectivity requirements: each data qubit only needs to be connected to three other data qubits, and each measurement involves only two data qubits. But what if the device does have extra connectivity? Many quantum devices, for instance, have connections based on a square lattice rather than a hexagonal lattice [30–32]. It is possible to implement Floquet codes such as the honeycomb code on a square lattice, through only using a subset of available connections on the device. An example of this is given in Fig. 9a, with unused connections shown in white. We are also therefore able to accommodate defective qubits without these additional connections using the strategy described in Sec. 3, as shown in Fig. 9b. As before, this techique involves reducing the shrink plaquettes to weight-2 and combining four merge plaquettes into one super-plaquette. However, we can improve on this strategy by using these additional connections in the quantum hardware. In Fig. 9c, we instead reduce the shrink plaquettes to weight-4, and combine only two merge plaquettes together. This can be done by using two additional connections available on the square lattice. The result is a smaller super-plaquette, leading to a higher distance: the horizontal distance is reduced by one and the vertical distance is unchanged, compared to both being reduced by one when not using extra connectivity. It is worth noting that this ability to take advantage of additional connectivity is not unique to the square lattice, and can in fact be used to better accommodate defects in a number of different hardware layouts. We provide further details on how to take advantage of extra connections in hardware in Appendix A. Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 16 (a) (b) (c) Figure 9: Removing a defective qubit from a Floquet code implemented on a square lattice. (a) An implementation of the honeycomb code on a square lattice. White lines denote connections which are not used in the experiment. A defective qubit is shown in red. (b) Removing the defective qubit using the algorithm described in Sec. 3. This method uses the same connections as used by the original honeycomb code. (c) Removing the defective qubit using two edges which are not used in the honeycomb code but are available in the square lattice to reduce the size of the super-plaquette. 5.2 Accommodating defective qubits on a heavy hex lattice So far we have only considered defective data qubits on the honeycomb code. But what if a device has faulty connections rather than defective qubits? This is especially relevant for implementing Floquet codes on, for example, the heavy hex lattice used in IBM quantum processors [33]. The heavy hex lattice is similar to the hexagonal lattice used for the honeycomb code, but with “auxiliary qubits” on the edges of the lattice. An example of a heavy hex lattice with the honeycomb code colouring is presented in Fig. 10a. Twobody measurements between “data qubits” on the vertices can then be measured using an auxiliary syndrome extraction circuit [40], thus allowing us to implement the honeycomb code on the heavy hex lattice [2, 3]. Defective data qubits can be removed using the same strategy as in Sec. 3, and therefore will not be the focus of this section. If an auxiliary qubit is found to be defective, we can accommodate this by treating the neighbouring data qubits as defective and removing them using the algorithm in Sec. 3.1. The result of this approach is presented in Fig. 10b. This involves removing two data qubits and seven auxiliary qubits. We also split two plaquettes into weight-two plaquettes and merge four plaquettes into one super-plaquette. Alternatively, we are able to treat the defective auxiliary qubit as a defective connection. In Appendix G, we present an approach for removing defective connections from Floquet codes while maintaining the same properties of tri-valence and 3-face-colourability. Our strategy works by selecting one plaquette incident to the defective connection to be the shrink plaquette, and the other to be a merge plaquette. Other plaquettes which are adjacent to the shrink plaquette and of the same colour as the merge plaquette are also selected to be merge plaquettes. With the shrink plaquette and merge plaquettes chosen, Steps 4-7 of the algorithm in Sec. 3.1 can then be followed, with _D_ being the basis of the defective edge. In Appendix G, we prove the following: Theorem 3 (for defective auxiliary qubits) . _The_ _above_ _process_ _produces_ _a_ _lattice_ _such_ _that_ _(a)_ _each_ _data_ _qubit_ _is_ _incident_ _to_ _three_ _auxiliary_ _qubits,_ _(b)_ _each_ _auxiliary_ _qubit_ _is_ _incident_ _to_ _two_ _data_ _qubits,_ _and_ _(c)_ _the_ _lattice_ _is_ _3-face-colourable._ Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 17 (a) (b) (c) Figure 10: Removing a defective auxiliary qubit from a Floquet code implemented on a heavy hex lattice. (a) An implementation of the honeycomb code on the heavy hex lattice. Auxiliary qubits on the edges of the hexagonal lattice are shown in grey, with one defective auxiliary qubit shown in red. (b) Removing the defective auxiliary qubit by using the algorithm described in Sec. 3.1 to remove the two adjacent data qubits. (c) Removing the defective auxiliary qubit by treating it as a defective connection and following the approach described in Appendix G. Removed qubits alongside the qubit are shown in blue, with their connections shown in orange. For weight-2 plaquettes, the auxiliary qubits are placed in the middle of the plaquettes to indicate that the same auxiliary qubit can be used to measure both edges; this requires no modifications to the heavy hex lattice. By using this approach to remove just the defective connection rather than the data qubits incident to that connection, we are able to create the Floquet code shown in Fig. 10c. This approach removes no data qubits, and only removes two additional auxiliary qubits alongside the defective one. In Appendix G, we show that this is also optimal for uniform heavy lattices without requiring additional connectivity: Theorem 4 (for defective auxiliary qubits) . _Consider_ _a_ _defective_ _auxiliary_ _qubit_ _in_ _the_ _bulk_ _of_ _a_ _Floquet_ _code_ _defined_ _on_ _a_ _heavy_ _hex,_ _heavy_ _4.8.8_ _or_ _heavy_ _4.6.12_ _lattice_ _(without_ _boundary);_ _i.e.,_ _a uniform tiling of the plane._ _Under the constraint that we cannot form an_ _edge_ _between_ _any_ _two_ _qubits_ _not_ _connected_ _by_ _an_ _edge_ _in_ _the_ _original_ _lattice,_ _the_ _algorithm_ _described_ _above_ _removes_ _the_ _defective_ _auxiliary_ _qubit_ _with_ _the_ _minimal_ _number_ _of_ _removed_ _auxiliary_ _qubits_ _from_ _the_ _original_ _lattice._ This technique can also be used to accommodate a defective connection between a data qubit and an auxiliary qubit, by treating the auxiliary qubit incident to the connection as defective. It is interesting to compare this to the surface code, where defective connections are mapped to a defective data qubit rather than a defective auxiliary qubit [20]. ### 6 Conclusion In this work, we have provided new methods for accommodating fabrication defects on the honeycomb code. In doing so, we do not require any additional connectivity beyond what is required for the original code, nor do we require any modifications to the measurement schedule. We have also shown that our method is optimal in terms of the number of Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 18 qubits, stabilisers, and connections removed from the lattice. Through simulations, we have shown the code to be scalable up to a defect probability of 13%. Finally, we have shown that further improvements can be made depending on the underlying hardware, by taking advantage of extra connectivity or defective connections. Our work is generalisable beyond the honeycomb code, owing to the adapted lattices maintaining tri-valence and 3-face-colourability and imposing no additional requirements on the measurement schedule of a Floquet code implemented. Thus, any Floquet code which can be implemented on such a lattice can be adapted for implementation on a lattice with defects removed (see Appendix C). However, moving beyond these codes considered would require adapting our method. Examples of Floquet codes outside of this class are the 2-D “Floquet colour code” of Ref. [37], all 3-D Floquet codes [27, 37, 41] and Floquet codes with twist defects [42]. There are also other static codes which can be defined on a tri-valent, 3-face-colourable graph, with the best-known example being the colour code [43, 44]. It is likely possible to adapt our method to such static codes. We assumed the need to create a fixed lattice with key properties on which the updated Floquet code is defined. There may be improvements to be obtained by relaxing this assumption [25]. In particular, the adaptation of surface code techniques [19, 21, 24, 45] to Floquet codes may prove possible. However, there are difficulties associated with this. The equivalence between a Floquet code at a single time step and the surface code does not allow one to easily determine how to form detectors, or how to define the measurement schedule to allow for boundaries and a low logical error rate. There are significant challenges to adapting surface code techniques that our strategy sidesteps, allowing for easy application to a range of Floquet codes. While we have discussed how to implement this strategy when there are hardware defects known at the start of the experiment, one area that needs further work is accommodating defects which occur in the middle of an experiment, such as via high-energy radiation, qubit loss or erasure noise. Qubit loss in the middle of the experiment is common in both photonic and neutral atom systems [6, 7, 9, 46]. Different proposals for correcting erasure events (which can also model qubit loss) in Floquet codes have been studied, through either modifying the stabilisers around the erased qubits [47], or through introducing additional Pauli error mechanisms [48]. A comparison of these methods to our code modifications around defects would be useful for Floquet code implementation in hardware. Aasen _et_ _al._ also have proposals for identifying defective qubits mid-experiment [25]. We believe our work can also be adapted to accommodate defects which occur midexperiment, but leave this for future work. There are also other more damaging noise models one can consider. Two such models are leakage, where a qubit enters a state outside of the computational subspace [12], and high-energy events where large numbers of qubits can be impacted at the same time [15]. Both of these forms of error can be accommodated through a combination of identifying the error locations and adapting the codes accordingly, for which our method could be applied [13, 45]. Leakage can also be tackled using dedicated operations known as leakage reduction units [10, 49]. Future work could adapt these techniques to correct for leakage in Floquet codes. ### Acknowledgements We thank Matthew P. Stafford, whose helpful explanations of how fabrication defects are handled on the surface code inspired this work. We also thank Setiawan for helpful feedback on an earlier version of this manuscript. We thank Benjamin B´eri, Dan Browne Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 19 and our colleagues at Riverlane for insightful discussions. Finally, we thank the reviewers and editor at Quantum for helpful comments during the review process. ### References [1] Matthew B. Hastings and Jeongwan Haah. “Dynamically Generated Logical Qubits”. [Quantum](https://dx.doi.org/10.22331/q-2021-10-19-564) 5, 564 (2021). [2] Craig Gidney, Michael Newman, Austin Fowler, and Michael Broughton. “A Fault Tolerant Honeycomb Memory”. [Quantum](https://dx.doi.org/10.22331/q-2021-12-20-605) 5, 605 (2021). [3] Craig Gidney, Michael Newman, and Matt McEwen. “Benchmarking the Planar Honeycomb Code”. [Quantum](https://dx.doi.org/10.22331/q-2022-09-21-813) 6, 813 (2022). [4] Adam Paetznick, Christina Knapp, Nicolas Delfosse, Bela Bauer, Jeongwan Haah, Matthew B. Hastings, and Marcus P. da Silva. “Performance of planar floquet codes with Majorana-based qubits”. PRX [Quantum](https://dx.doi.org/10.1103/PRXQuantum.4.010310) 4, 010310 (2023). [5] Margarita Davydova, Nathanan Tantivasadakarn, Shankar Balasubramanian, and [David Aasen. “Quantum computation from dynamic automorphism codes”. Quantum](https://dx.doi.org/10.22331/q-2024-08-27-1448) 8, [1448](https://dx.doi.org/10.22331/q-2024-08-27-1448) (2024). [6] Sean D. Barrett and Thomas M. Stace. “Fault tolerant quantum computation with very high threshold for loss errors”. Phys. Rev. [Lett.](https://dx.doi.org/10.1103/PhysRevLett.105.200502) 105, 200502 (2010). [7] Adam C. Whiteside and Austin G. Fowler. “Upper bound for loss in practical topological-cluster-state quantum computing”. Phys. Rev. [A](https://dx.doi.org/10.1103/PhysRevA.90.052316) 90, 052316 (2014). [8] M. Grassl, Th. Beth, and T. Pellizzari. “Codes for the quantum erasure channel”. Phys. Rev. [A](https://dx.doi.org/10.1103/PhysRevA.56.33) 56, 33–38 (1997). [9] Kaavya Sahay, Junlan Jin, Jahan Claes, Jeff D. Thompson, and Shruti Puri. “High threshold codes for neutral-atom qubits with biased erasure errors”. Phys. [Rev.](https://dx.doi.org/10.1103/PhysRevX.13.041013) X 13, [041013](https://dx.doi.org/10.1103/PhysRevX.13.041013) (2023). [10] Austin G. Fowler. “Coping with qubit leakage in topological codes”. Phys. [Rev.](https://dx.doi.org/10.1103/PhysRevA.88.042308) A 88, [042308](https://dx.doi.org/10.1103/PhysRevA.88.042308) (2013). [11] Joydip Ghosh, Austin G. Fowler, John M. Martinis, and Michael R. Geller. “Under standing the effects of leakage in superconducting quantum-error-detection circuits”. Phys. Rev. [A](https://dx.doi.org/10.1103/PhysRevA.88.062329) 88, 062329 (2013). [12] Natalie C Brown, Michael Newman, and Kenneth R Brown. “Handling leakage with subsystem codes”. New Journal of [Physics](https://dx.doi.org/10.1088/1367-2630/ab3372) 21, 073055 (2019). [13] Kevin C. Miao, Matt McEwen, et al. “Overcoming leakage in quantum error correc tion”. Nature [Physics](https://dx.doi.org/10.1038/s41567-023-02226-w) 19, 1780–1786 (2023). [14] Antti P. Veps¨al¨ainen et al. “Impact of ionizing radiation on superconducting qubit coherence”. Nature [584](https://dx.doi.org/10.1038/s41586-020-2619-8), 551–556 (2020). [15] Matt McEwen, Lara Faoro, Kunal Arya, et al. “Resolving catastrophic error bursts from cosmic rays in large arrays of superconducting qubits”. Nature [Physics](https://dx.doi.org/10.1038/s41567-021-01432-8) 18, [107–111](https://dx.doi.org/10.1038/s41567-021-01432-8) (2022). [16] Frank Arute, Kunal Arya, Ryan Babbush, et al. “Quantum supremacy using a pro grammable superconducting processor”. Nature [574](https://dx.doi.org/10.1038/s41586-019-1666-5), 505–510 (2019). [17] Google Quantum AI. “Exponential suppression of bit or phase errors with cyclic error correction”. Nature [595](https://dx.doi.org/10.1038/s41586-021-03588-y), 383–387 (2021). [18] Thomas M. Stace and Sean D. Barrett. “Error correction and degeneracy in surface codes suffering loss”. Phys. Rev. [A](https://dx.doi.org/10.1103/PhysRevA.81.022317) 81, 022317 (2010). [19] Shota Nagayama, Austin G Fowler, Dominic Horsman, Simon J Devitt, and Rod ney Van Meter. “Surface code error correction on a defective lattice”. New [Journal](https://dx.doi.org/10.1088/1367-2630/aa5918) of Physics [19](https://dx.doi.org/10.1088/1367-2630/aa5918), 023050 (2017). Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 20 [20] James M. Auger, Hussain Anwar, Mercedes Gimeno-Segovia, Thomas M. Stace, and Dan E. Browne. “Fault-tolerance thresholds for the surface code with fabrication errors”. Phys. Rev. [A](https://dx.doi.org/10.1103/PhysRevA.96.042316) 96, 042316 (2017). [21] Armands Strikis, Simon C. Benjamin, and Benjamin J. Brown. “Quantum computing is scalable on a planar array of qubits with fabrication defects”. [Phys. Rev. Appl.](https://dx.doi.org/10.1103/PhysRevApplied.19.064081) 19, [064081](https://dx.doi.org/10.1103/PhysRevApplied.19.064081) (2023). [22] Yasunari Suzuki, Takanori Sugiyama, Tomochika Arai, Wang Liao, Koji Inoue, and Teruo Tanimoto. “Q3de: A fault-tolerant quantum computer architecture for multibit burst errors by cosmic rays”. In 2022 55th IEEE/ACM International Symposium on Microarchitecture (MICRO). Pages [1110–1125.](https://dx.doi.org/10.1109/MICRO56248.2022.00079) (2022). [23] Linnea Grans-Samuelsson, Ryan V. Mishmash, David Aasen, Christina Knapp, Bela Bauer, Brad Lackey, Marcus P. da Silva, and Parsa Bonderson. “Improved Pairwise Measurement-Based Surface Code”. [Quantum](https://dx.doi.org/10.22331/q-2024-08-02-1429) 8, 1429 (2024). [24] Dripto M. Debroy, Matt McEwen, Craig Gidney, Noah Shutty, and Adam Zalcman. “Luci in the surface code with dropouts” (2024). [arXiv:2410.14891.](http://arxiv.org/abs/2410.14891) [25] David Aasen, Jeongwan Haah, Parsa Bonderson, Zhenghan Wang, and Matthew Hastings. “Fault-tolerant Hastings-Haah codes in the presence of dead qubits” (2023). [arXiv:2307.03715.](http://arxiv.org/abs/2307.03715) [26] Markus S. Kesselring, Julio C. Magdalena de la Fuente, Felix Thomsen, Jens Eisert, Stephen D. Bartlett, and Benjamin J. Brown. “Anyon condensation and the color code”. PRX [Quantum](https://dx.doi.org/10.1103/PRXQuantum.5.010342) 5, 010342 (2024). [27] Margarita Davydova, Nathanan Tantivasadakarn, and Shankar Balasubramanian. “Floquet codes without parent subsystem codes”. PRX [Quantum](https://dx.doi.org/10.1103/PRXQuantum.4.020341) 4, 020341 (2023). [28] Craig Gidney. “Stim: a fast stabilizer circuit simulator”. [Quantum](https://dx.doi.org/10.22331/q-2021-07-06-497) 5, 497 (2021). [29] Oscar Higgott and Craig Gidney. “Sparse blossom: correcting a million errors per core second with minimum-weight matching” (2023). [arXiv:2303.15933.](http://arxiv.org/abs/2303.15933) [30] Sebastian Krinner et al. “Realizing repeated quantum error correction in a distance three surface code”. Nature [605](https://dx.doi.org/10.1038/s41586-022-04566-8), 669–674 (2022). [31] Google Quantum AI. “Suppressing quantum errors by scaling a surface code logical qubit”. Nature [614](https://dx.doi.org/10.1038/s41586-022-05434-1), 676–681 (2023). [32] “Rigetti Systems: Ankaa-2 Quantum Processor”. `[https://qcs.rigetti.com/qpus](https://qcs.rigetti.com/qpus)` . Accessed: 2024-12-08. [33] “The IBM Quantum heavy hex lattice”. `[https://research.ibm.com/blog/](https://research.ibm.com/blog/heavy-hex-lattice)` `[heavy-hex-lattice](https://research.ibm.com/blog/heavy-hex-lattice)` . Accessed: 2024-12-08. [34] Alex Townsend-Teague, Julio Magdalena de la Fuente, and Markus Kesselring. “Flo quetifying the colour code”. Electronic Proceedings in [Theoretical](https://dx.doi.org/10.4204/eptcs.384.14) Computer Science 384, [265–303](https://dx.doi.org/10.4204/eptcs.384.14) (2023). [35] Torsten Karzig, Christina Knapp, Roman M. Lutchyn, Parsa Bonderson, Matthew B. Hastings, Chetan Nayak, Jason Alicea, Karsten Flensberg, Stephan Plugge, Yuval Oreg, Charles M. Marcus, and Michael H. Freedman. “Scalable designs for quasiparticle-poisoning-protected topological quantum computation with Majorana zero modes”. Phys. Rev. [B](https://dx.doi.org/10.1103/PhysRevB.95.235305) 95, 235305 (2017). [36] Jeongwan Haah and Matthew B. Hastings. “Boundaries for the Honeycomb Code”. [Quantum](https://dx.doi.org/10.22331/q-2022-04-21-693) 6, 693 (2022). [37] Arpit Dua, Nathanan Tantivasadakarn, Joseph Sullivan, and Tyler D. Ellison. “En gineering 3d floquet codes by rewinding”. PRX [Quantum](https://dx.doi.org/10.1103/prxquantum.5.020305) 5, 020305 (2024). [38] Campbell McLauchlan, Gy¨orgy P. Geh´er, and Alexandra E. Moylett. “Stim circuits for “Accommodating Fabrication Defects on Floquet Codes with Minimal Hardware Requirements””. `[https://doi.org/10.5281/zenodo.11241875](https://doi.org/10.5281/zenodo.11241875)` . Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 21 [39] James William Harrington. “Analysis of quantum error-correcting codes: symplec tic lattice codes and toric codes”. PhD [thesis.](https://dx.doi.org/10.7907/AHMQ-EG82) California Institute of Technology. Pasadena, California (2004). [40] P.W. Shor. “Fault-tolerant quantum computation”. In Proceedings of 37th Confer ence on Foundations of Computer Science. Pages 56–65. (1996). [41] Zhehao Zhang, David Aasen, and Sagar Vijay. “ _x_ -cube floquet code: A dynamical quantum error correcting code with a subextensive number of logical qubits”. [Phys.](https://dx.doi.org/10.1103/PhysRevB.108.205116) Rev. B [108](https://dx.doi.org/10.1103/PhysRevB.108.205116), 205116 (2023). [42] Tyler D. Ellison, Joseph Sullivan, and Arpit Dua. “Floquet codes with a twist” (2023). [arXiv:2306.08027.](http://arxiv.org/abs/2306.08027) [43] H. Bombin and M. A. Martin-Delgado. “Topological quantum distillation”. [Phys.](https://dx.doi.org/10.1103/PhysRevLett.97.180501) Rev. Lett. 97, 180501 (2006). [44] Craig Gidney and Cody Jones. “New circuits and an open source decoder for the color code” (2023). [arXiv:2312.08813.](http://arxiv.org/abs/2312.08813) [45] Adam Siegel, Armands Strikis, Thomas Flatters, and Simon Benjamin. “Adaptive surface code for quantum error correction in the presence of temporary or permanent defects”. [Quantum](https://dx.doi.org/10.22331/q-2023-07-25-1065) 7, 1065 (2023). [46] James M. Auger, Hussain Anwar, Mercedes Gimeno-Segovia, Thomas M. Stace, and Dan E. Browne. “Fault-tolerant quantum computation with nondeterministic entangling gates”. Phys. Rev. [A](https://dx.doi.org/10.1103/PhysRevA.97.030301) 97, 030301 (2018). [47] Stefano Paesani and Benjamin J. Brown. “High-threshold quantum computing by fusing one-dimensional cluster states”. Phys. Rev. [Lett.](https://dx.doi.org/10.1103/PhysRevLett.131.120603) 131, 120603 (2023). [48] Shouzhen Gu, Alex Retzker, and Aleksander Kubica. “Fault-tolerant quantum archi tectures based on erasure qubits” (2023). [arXiv:2312.14060.](http://arxiv.org/abs/2312.14060) [49] Panos Aliferis and Barbara M. Terhal. “Fault-tolerant quantum computation for local leakage faults”. Quantum Info. [Comput.](https://dx.doi.org/10.26421/QIC7.1-2-9) 7, 139–156 (2007). [50] Oscar Higgott and Nikolas P. Breuckmann. “Constructions and performance of hy perbolic and semi-hyperbolic floquet codes”. PRX [Quantum](https://dx.doi.org/10.1103/prxquantum.5.040327) 5, 040327 (2024). [51] Ali Fahimniya, Hossein Dehghani, Kishor Bharti, Sheryl Mathew, Alicia J. Koll´ar, Alexey V. Gorshkov, and Michael J. Gullans. “Fault-tolerant hyperbolic floquet quantum error correcting codes” (2023). [arXiv:2309.10033.](http://arxiv.org/abs/2309.10033) ### A Improvements with extra connectivity We now demonstrate the improvements that are possible given extra connectivity in the quantum processor: that is, given the ability to measure check operators between pairs of qubits not connected in the honeycomb lattice. We show how extra connectivity allows us to achieve optimal edge removal for a single defect. This is interesting as the underlying quantum hardware on which one intends to perform a honeycomb code experiment, for example, may be a square grid [30–32]. Figure 11 shows how the size of super-plaquettes can be reduced when extra connectivity is usable. In Fig. 11a, we shrink the green and blue hexagonal plaquettes to the weight-4 plaquettes shown and merge two red plaquettes into a weight-10 plaquette. This is possible with a square-grid-connected hardware. Alternatively, as shown in Fig. 11b, we can form the same plaquettes around the defect but choose a vertical defect edge. With the above strategy, a single defect reduces _either_ the horizontal or vertical Pauli distance by one, while leaving the other unchanged. Moreover, we can accommodate the defect while removing five connections from the code lattice, and adding two, resulting in Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 22 (a) (b) Figure 11: Super-plaquettes and weight-4 plaquettes for a single defect when extra connectivity (dashed lines) is present in the quantum hardware. (a) A horizontal defect edge is chosen. The resulting check operators are measurable for a square-grid connectivity. (b) A vertical defect edge is chosen. a net loss of three connections. We show in Appendix B that any strategy for removing a defective qubit must remove at least three edges, meaning that this approach is optimal in this regard. Given these improvements, we therefore expect that the performance of Floquet codes with defective qubits, given this extra connectivity, would be improved: the percolation threshold would likely be higher, and the performance under Pauli noise likely better. ### B Super-plaquette algorithm and minimal removal of qubits, plaquettes and edges In this Appendix we prove certain features of the algorithm presented in Sec. 3.1. We begin by commenting on why the algorithm preserves the important features of the lattice for defining the updated Floquet code: tri-valence and 3-face-colourability. We do this for the bulk of the code and note that the tri-valence and 3-face-colourability result follows for the boundary by cutting out the patch used, as explained in the main text. We also prove optimality, in terms of removed qubits, edges and plaquettes, in the bulk. There may be subtleties associated with optimality at the boundary (e.g., one could redefine the boundary around the defect), which we do not deal with here. _Proof_ _of_ _Theorem_ _1._ The first three steps of the algorithm simply involve selecting the defect edge, and the shrink and merge plaquettes. There will be exactly two shrink plaquettes <sup>∗</sup> . Now notice that the edges in shrink plaquettes of type _T̸_ = _D_ (where _D_ is the defect edge basis) do not feature in any plaquette after the algorithm is applied: they are removed from the lattice (see Fig. 2). However, every qubit incident to such an edge in the original lattice (apart from the two removed qubits) is incident to an _additional_ edge introduced in Step 4 of the algorithm. Hence, each vertex in the updated lattice remains incident to three edges as required. ∗If _K_ 1 (resp. _K_ 2) is the weight of the first (resp. second) shrink plaquette, then the total number of merge plaquettes is ( _K_ 1 + _K_ 2) _/_ 2 _−_ 2. The first (resp. second) shrink plaquette is adjacent to _K_ 1 _/_ 2 (resp. _K_ 2 _/_ 2) merge plaquettes, with two merge plaquettes being incident to both shrink plaquettes. Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 23 Now, for 3-face-colourability, note that the two-body plaquettes are guaranteed to be adjacent to the super-plaquette, call it _S_ 1, and one other plaquette from the original lattice, call it _S_ 2. By 3-face-colourability of the original lattice, since a two-body plaquette inherits the colouring of the parent shrink plaquette, it is coloured differently to _S_ 1 (which, by construction, is the same colour as a merge plaquette—the merge plaquettes are coloured differently to both shrink plaquettes) and to _S_ 2 (which was also adjacent to the parent shrink plaquette). Meanwhile, the super-plaquette is adjacent to two-body plaquettes (which we have seen must be coloured differently to it) and to plaquettes of the original lattice adjacent to a merge plaquette, which we assume are coloured differently to it. Hence both types of newly added plaquette are adjacent to no other plaquettes of the same colour in the updated lattice. This is sufficient to conclude that the resulting lattice remains 3-face-colourable. We will now show that the algorithm in Sec. 3.1 is optimal in terms of qubits, plaquettes and edges removed. We assume (as above) that the lattice has periodic boundary conditions. Since our scheme maintains tri-valence and 3-face-colourability, the number of removed plaquettes and edges are constrained by the number of removed qubits. Trivalence on the torus requires that _E_ = 3 _V/_ 2, where _E_ is the number of edges and _V_ is the number of vertices in the graph. This constraint is incompatible with an odd number of vertices, and hence we cannot remove just a single qubit. Our algorithm is therefore optimal in terms of the number of removed qubits, removing as it does two qubits. The rest follows by necessity. If two qubits are removed, the number of vertices becomes _V_ <sup>˜</sup> = _V_ _−_ 2, and tri-valence dictates that the number of edges becomes _E_ <sup>˜</sup> = 3 _V /_ <sup>˜</sup> 2 = 3 _V/_ 2 _−_ 3. Removing more vertices results in more edges being removed: hence our algorithm is optimal in terms of the number of removed edges as well. If the removal of the defect does not change the number of logical qubits then the Euler characteristic of the graph must not change. The Euler characteristic on a torus is _χ_ = _V_ _−_ _E_ + _F_ = 0, where _F_ is the number of plaquettes. Having removed two qubits and three edges, the Euler characteristic becomes _χ_ ˜ = _V_ <sup>˜</sup> _−_ _E_ <sup>˜</sup> + _F_ <sup>˜</sup> = ( _V_ _−_ 2) _−_ ( _E −_ 3) + _F_ <sup>˜</sup> = _V_ _−_ _E_ + _F_ <sup>˜</sup> + 1 _,_ (1) meaning that in order to maintain _χ_ ˜ = 0, we must have _F_ <sup>˜</sup> = _F −_ 1. Once again, removing more vertices requires the removal of more faces. In summary, a scheme for removing a defective vertex from the lattice while maintaining 3-face-colourability and tri-valence must remove at least two vertices, three edges and one face. Therefore, the algorithm outlined in Sec. 3.1 is optimal in terms of qubit, edge and plaquette removal. In our scheme, we remove certain edges from the honeycomb lattice and add extra edges along existing connections in the hardware, meaning that we effectively remove some connections from the lattice (see white highlighted edges in Fig. 2c). This is necessary if we do not rely on extra connectivity in the hardware (i.e., we do not have edges between qubits that are not connected in the honeycomb lattice). Indeed, our scheme is also optimal in terms of the connections that are removed from the lattice, at least when considering a single defect removed from the honeycomb, 4.8.8 or 4.6.12 lattices (the tri-valent, 3-facecolourable lattices based on a uniform tiling of the plane by regular polygons). _Proof_ _of_ _Theorem_ _2._ From the above, we must remove two qubits per defect in the lattice. We first note that we must remove edges that are adjacent to these two removed qubits. An Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 24 (a) (b) Figure 12: Vertices which violate the tri-valence requirements of Floquet codes when removing a defective qubit. (a) After removing edges incident to the defective qubit and its neighbour, four nonadjacent vertices are degree-2, thus requiring additional edges. These vertices are coloured green. These are connected in pairs by shortest paths in the lattice (coloured dark green and light blue respectively). (b) After adding more edges to correct the degree-2 vertices, four vertices in blue are degree-4, meaning that edges incident to these vertices must be removed. example is shown in Fig. 12a. Note that we now have four vertices of degree two (coloured green in Fig. 12a). There are four of these because there are exactly five removed edges (one of which is the defect edge) and each pair of qubits is connected by at most one edge in the original lattice. Call the set of these degree-2 vertices _S_ . To maintain tri-valence after this edge removal, we must include extra edges incident to these vertices in _S_ . We assume the edges in the original lattice, before the defect removal, account for all possible available connections in the device. Hence, the extra edges we add must lie along existing connections in the lattice in order to avoid requiring additional connections in hardware. In order to avoid introducing any vertices of degree-4 upon adding extra edges (see the blue vertices in Fig. 12b), we need to remove some more edges from the graph. The way this must work is as follows. Firstly, without loss of generality, let the defect edge be coloured red. Then two of the vertices in _S_ were adjacent to a green removed edge and two were adjacent to a blue removed edge (see Fig. 12a; the former lie on green plaquettes in the figure and the latter on blue plaquettes). Let these pairs of vertices belong to subsets _SG_ and _SB_ respectively. Notice that the vertices in _SG_ ( _SB_ ) are not incident to any green (blue) edge (see Fig. 12a). Thus we must add more green (blue) edges to the graph. To do so while maintaining tri-valence and 3-face-colourability (and to avoid self-loops in the graph), we must draw a path of edges between vertices in _SG_ ( _SB_ ), where the path passes through non-green (non-blue) then green (blue) edges in an alternating fashion. We will add extra edges to the non-green (non-blue) parts of this path, while the green (blue) edges in this path will need to be removed in order to maintain tri-valence. For example, in Fig. 12a, the dark green path connects vertices in _SG_ and the light blue path connects vertices in _SB_ . The vertices in _SG_ are not adjacent to a green edge, and hence we must add in green edges at these vertices, shown in Fig. 12b. But this necessitates removing a green edge, and so on. The paths drawn in this figure are of length three: they each pass Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 25 through two added edges and one removed edge. Finding the shortest such path minimises the number of removed connections. Now consider how the algorithm from Sec. 3.1 forms such a path: it constructs it from the edges around a shrink plaquette. The two vertices in _SG_ ( _SB_ ) will be separated by 3 edges that pass through the removed qubits. Hence, the length of the path constructed by the algorithm will be _K_ _−_ 3 for a shrink plaquette of weight _K_ . Hence the number of removed edges along the path will be ( _K_ _−_ 4) _/_ 2. In the honeycomb lattice, both shrink plaquettes will be weight 6, so the total number of additional removed edges (on top of the five adjacent to a removed qubit pair) will be 2. In the 4.8.8 lattice we also achieve 2 additional removed edges by choosing a defect edge such that one shrink plaquette has weight _K_ 1 = 8 and another has weight _K_ 2 = 4 (see Figs. 13b and 13c in Appendix C). In the 4.6.12 lattice we can achieve only 1 additional removed edge ( _K_ 1 = 6, _K_ 2 = 4). In all cases it is obvious that there is no shorter path of edges (that does not pass through the removed qubits) that connects the vertices in _SG_ and similarly for _SB_ . For example, in Fig. 12a, a more optimal path would involve a direct connection between a pair of valence-2 vertices: no such edge can be formed. In the 4.8.8 case, a shorter path would imply a length-6 cycle of edges, which does not exist in the original lattice (assuming it is large enough that the non-trivial cycles are longer than six edges). In the above proof we have focused on uniform tilings on the plane, however this work can apply more generally to other surfaces as well. Below we remark how this optimality can also be shown for the 8.8.8 lattice, which is used in hyperbolic Floquet codes [50, 51]. Remark 1. _Consider_ _a_ _defective_ _qubit_ _in_ _the_ _bulk_ _of_ _a_ _Floquet_ _code_ _defined_ _on_ _an_ _8.8.8_ _lattice_ _(without_ _boundary),_ _which_ _is_ _a_ _particular_ _uniform_ _tiling_ _of_ _a_ _hyperbolic_ _surface._ _Under_ _the_ _constraint_ _that_ _we_ _cannot_ _form_ _an_ _edge_ _between_ _any_ _two_ _qubits_ _not_ _connected_ _by_ _an_ _edge_ _in_ _the_ _original_ _lattice,_ _the_ _algorithm_ _described_ _in_ _Sec._ _3.1_ _removes_ _the_ _defective_ _qubit_ _with_ _the_ _minimal_ _number_ _of_ _removed_ _edges_ _from_ _the_ _original_ _lattice._ _Proof._ This proof follows from the fact that the proof for Theorem 2 does not rely on the lattice being on a plane. In the 8.8.8 lattice, the two shrink plaquettes will always be of weight-8, meaning that there will be 5 vertices in the paths connecting the vertices in _SG_ and _SB_, and a total of 4 edges are removed from the lattice (in addition to the five incident to the removed qubit pair). A more optimal path in the 8.8.8 lattice would require two degree-2 vertices being connected by a path shorter than length 5 (that does not pass through the removed qubits). This is not possible under the constraint that additional edges between non-connected vertices cannot be formed. Hence, our scheme is also optimal in terms of the connections that are removed from the lattice. Note that we do not claim optimality for non-trivial combinations of defects, since then one must, for example, carefully choose the defect edges to achieve the optimal result. We do not have an optimal algorithm for such a choice, rather we use simplifying heursitics towards optimality (see Appendix D). Moreover, it may be true that there exists a path between vertices in _SG_ or _SB_ that is shorter than that constructed from the corresponding shrink plaquette, if that shrink plaquette is very large-weight (see Fig. 14c in Appendix D). We expect that finding optimality for non-trivial combinations of defects would not greatly improve code performance for small values of the defect probability. It is worth noting that the method in Sec. IIC of Ref. [25] does correct for a defective qubit on the honeycomb code while only removing one vertex, one edge, and no faces. This is achieved by violating the tri-valence requirement. The resulting Floquet code requires both extra connectivity and a more complex measurement schedule. This is an intriguing Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 26 method, but the necessary modifications of the lattice and measurement schedule make its applicability to other Floquet codes, or to the planar honeycomb code, non-trivial. It is also unclear how to accommodate multiple defects using that method. ### C Applicability to other Floquet codes In this appendix, we discuss how the techniques described in Sec. 3 can be applied to other 2-D Floquet codes. Many 2-D Floquet codes can be defined on a colour code lattice, including the 4.8.8 Floquet code, the hyperbolic Floquet codes and the CSS Floquet code [4, 26, 27, 50, 51]. These codes can be adapted to accommodate defective qubits by selecting a defect edge incident to the defective qubit, along with selecting the merge and shrink plaquettes in the same way as in Steps 2 and 3 as described in Sec. 3.1, with the rest of the super-plaquette algorithm following naturally. An example of applying this approach to the 4.8.8 Floquet code is given in Fig. 13. The only step that may change is Step 4, wherein we choose bases for the added edges. However, if one can make an identification of edge basis with edge colour at any given measurement sub-round (see, e.g., Ref. [26]), then this modification is simple. For example, in the CSS Floquet code, one measures operators along coloured edges in the cyclical pattern _R →_ _G →_ _B_ with the basis of the measurement operator alternating cyclically as _X_ _→_ _Z_ . Hence, if we use our algorithm to adapt this Floquet code, the measurement schedule remains unchanged since we can consistently colour the newly added edges in the lattice. In cases where edge measurements are defined using an orientation rather than a colouring (see Ref. [1]), one simply needs to define the orientation of the newly added lattice edges consistently such that the formed super-plaquette commutes with all edge measurements. This can involve edges of a mixed Pauli basis (e.g., _XY_ measurements), but the code adaptation in such cases is not complicated; just as in the original algorithm, there will only be one possible choice for these edge bases. For the schedule of the modified code, we assume again that there is an identification between the edges measured in each sub-round and the colour of those edges (e.g., red _XX_ edge measurements performed in the first sub-round of the honeycomb code [2]). This ensures that qubits are only involved in one measurement during each sub-round. If this assumption holds, adapting the schedule to the new lattice is straight-forward. Even if the bulk of the lattice does not change there are different ways of implementing the boundaries of Floquet codes. In this paper we have focused on the boundary method described by Gidney, Newman and McEwen [3]. However, there is also an alternative method for implementing boundaries used in Refs. [4, 36], by introducing additional weight-2 plaquettes. The strategy can be similarly employed to accommodate defects on these instances of the planar honeycomb code through the same process as before: embedding the patch in the bulk of a larger honeycomb code, removing the defects via the algorithm in Sec. 3.1, and then re-introducing the boundaries to the code. ### D Details on defect edge selection We will now provide further details on our choice of heuristics for the defect edge selection and why they are beneficial. As a reminder, our aim with these heuristics is to keep the super-plaquettes small and in the bulk of the code where possible. The first and simplest heuristic is that if two defective qubits are adjacent to each other, it is worth choosing the defect edge to be the edge connecting them. This allows us to remove two defective qubits with the same overhead as just removing a single defect. Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 27 (a) (b) (c) Figure 13: Applying the algorithm in Sec. 3.1 to remove a (a) red, (b) green, and (c) blue defect edge incident to a defective qubit in the bulk of the 4.8.8 Floquet code. Our second heuristic concerns defective qubits which lie on already-formed superplaquettes. An example of such a defect is provided in Fig. 14a. In Fig. 14b, the red edge incident to the defective qubit is selected, meaning that the super-plaquette is selected as a merge plaquette. If instead the green edge incident to the defective qubit is selected, as in Fig. 14c, the original super-plaquette is selected as a shrink plaquette. The result is a green super-plaquette which is larger than the red super-plaquette formed in Fig. 14b, as well as several pairs of functioning qubits which are now disconnected from the rest of the code. As a result, if a defective qubit is on an already-formed super-plaquette we choose the defect edge to be the same colour as said super-plaquette. Our next heuristic concerns defective qubits which lie near but not directly on alreadyformed super-plaquettes. In Fig. 15a, a defective qubit is directly below an already-formed super-plaquette. In Fig. 15b, we have selected the defect edge to not be incident to the already-formed super-plaquette, resulting in two super-plaquettes being formed in blue and green. Compare with Fig. 15c, where the defect edge selected is incident to the already-formed super-plaquette. This results in the blue super-plaquette being selected as a merge plaquette, leading to a single larger super-plaquette. A small number of larger super-plaquettes will reduce the code distance faster than a large number of smaller superplaquettes, hence we prioritise selecting edges which are not incident to already-formed super-plaquettes. If none of the previous cases apply, we consider the orientation of the defect edge. Figure 16 shows two examples of removing defective qubits by selecting an incident red edge as the defect edge. In Fig. 16a, the red edge is a vertical edge, whereas in Fig. 16b, the red edge is a horizontal edge. Also shown in red are edges which denote the lowestweight horizontal and vertical logical errors: if two-qubit _ZZ_ or _Y Y_ errors were to occur on these edges after measuring the red edges, the result could be a logical error (see Fig. 1 for the positions in the measurement schedule at which these errors would be logical). We can note that the horizontal Pauli distance is reduced by one in both cases. However, Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 28 (a) (b) (c) Figure 14: Removing a defective qubit which is on an already-formed super-plaquette. (a) The initial layout, with the left defective qubit already removed, and the right defective qubit on the resulting super-plaquette. (b) The defect edge is selected to be an edge that connects two red plaquettes, matching the colour of the already formed super-plaquette. (c) The defect edge is selected to be an edge that connects two green plaquettes, meaning that the previously formed red super-plaquette now needs to be shrunk. (a) (b) (c) Figure 15: Removing a defective qubit near an already-formed super-plaquette. (a) The initial layout, with the top defective qubit already removed from the code. (b) A defect edge is selected which is not incident to the already-formed super-plaquette, leading to one blue super-plaquette and one green super-plaquette being formed. (c) A defect edge is selected which is incident to the already-formed super-plaquette, resulting in a single larger blue super-plaquette. Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 29 (a) (b) Figure 16: Super-plaquettes formed by selecting a (a) vertical or (b) horizontal defect edge. Red lines denote two-qubit Pauli errors which, depending on the basis of the error and the measurement sub-round, could cause a logical error. (a) (b) Figure 17: Removing a defective qubit close to the boundary. (a) The defect edge is pointing away from the boundary, resulting in a super-plaquette formed in the bulk of the code. (b) The defect edge is pointing towards the boundary, resulting in a super-plaquette on the boundary which is nondeterministic during certain QEC sub-rounds. if a vertical edge is selected, as in Fig. 16a, the vertical Pauli distance is only reduced by one. On the other hand, if a horizontal edge is selected, as in Fig. 16b, the vertical Pauli distance is reduced by two. This is because when a horizontal defect edge is selected the merge plaquettes align with the vertical logical operators, whereas if a vertical defect edge is selected the merge plaquettes lie diagonally across the code. As a result, we prefer selecting vertical edges over horizontal edges where possible. Our final heuristic concerns defects which are close to boundaries. Figure 17 illustrates two examples of removing a defect close to a horizontal boundary of the honeycomb code. In Fig. 17a, the defect edge is selected such that the resulting super-plaquette is in the bulk of the code. As this super-plaquette is in the bulk of the code, it commutes with the measurements in every round and is therefore deterministically measured twice every six sub-rounds. In comparison, Fig. 17b shows a defect edge selected such that the super-plaquette lies on the boundary of the code. The single-qubit measurements on the boundary anti-commute with the stabiliser formed by this plaquette, meaning that for this stabiliser is deterministically measured only once every six sub-rounds. To avoid having large non-deterministic stabiliser measurements, we prioritise selecting defect edges which are pointing away from the nearest code boundaries where possible. Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 30 Figure 18: Evolution of the logical operators around a defective qubit in the periodic honeycomb code. White lines denote the logical strings. The vertical string uses a newly-added edge incident to a weight-2 plaquette, whilst the horizontal string uses an edge that existed in the original code. Circles denote qubits that form the logical operators, with the colour indicating basis. Arrows denote the next round of measurements (red for _X_ edges, green for _Y_ and blue for _Z_ ). Note that there are two other logical operators along the same paths but offset by three sub-rounds, these have not been drawn here for simplicity. ### E Evolution of the logical operators As mentioned in Sec. 3.3, the logical operators are multi-qubit Pauli operators along nontrivial strings in the lattice. If a qubit or edge along a string is removed because of the algorithm in Sec. 3.1, a path-finding algorithm can be used to find an alternative string. An important aspect of Floquet codes is that with each sub-round of measurements, the results of measurements between pairs of qubits on an observable string are multiplied in to the result of the logical observable [1, 2]. This is to ensure that the logical observable commutes with each subsequent QEC sub-round. Figure 18 shows how the operator strings evolve around a defective qubit in the periodic honeycomb code. This allows us to verify that during each QEC sub-round the logical operators commute with the measurements in the next sub-round and anti-commute with each other. The operators in the honeycomb code with planar boundary conditions evolve differently compared to the honeycomb code with periodic boundary conditions, as the introduction of boundaries leads to measurements which anti-commute with the observable Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 31 Figure 19: Evolution of the logical operators around a defective qubit in the planar honeycomb code. The horizontal string uses a newly-added edge incident to a weight-2 plaquette, whilst the vertical string uses an edge that existed in the original code. Measurements along red edges do not contribute to the logical operators in the planar case. if the periodic schedule is followed [1]. To avoid this, two modifications are made to the code: first, the measurement schedule is modified to become a period-6 schedule of _R →_ _G →_ _B_ _→_ _R →_ _B_ _→_ _G_ ; and second, the results of red measurements are not multiplied in to the logical operators [3, 4, 36]. Figure 19 illustrates how the logical operators evolve on a planar honeycomb code with a defective qubit on the boundary. Again, we can note that the operators commute with each QEC sub-round, and that the two operators anti-commute with each other. It is curious to note in Figs. 18 and 19 that when the strings are incident to a weight-2 plaquette there is a choice in which edge to include, as both edges connect the same pair of qubits. For instance, in Fig. 18 (resp. Fig. 19), the vertical (resp. horizontal) logical operator includes one of the newly added edges. As long as measurement results from only one of the two edges is included in the operator, the logical qubit can be preserved. Indeed, the two operator strings that can be formed based on edge choice are equivalent up to the weight-2 stabiliser. This shows that the path-finding algorithm can use both edges in the original code and newly-added edges when constructing the new logical strings. ### F Additional numerical results In this Appendix we present additional data from which we extracted the Pauli thresholds presented in Fig. 8. In Fig. 20, we display close-to-threshold average logical failure probabilities, averaged over 1,000 realisations with defects randomly sampled, for _p_ defect _>_ 0%, and 100,000 error correction shots for each realisation. We display both the raw data and the scaling collapse of the data. For the latter, we plot _x_ = ( _p_ Pauli _−_ _p_ 0) _d_ <sup>1</sup> <sup>_/ν_</sup> <sup>0</sup> against the (average) logical failure probability, where _p_ 0 and _ν_ 0 are the threshold and critical exponent taken from a best fit. We also plot a quadratic best fit for each of these scaling collapse plots [39]. The scaling collapse plots indicate the presence of some finite-size effects—evident from systematic deviations from the best fit lines—which become particularly noticeable close to the percolation threshold of _p_ defect _≈_ 13%. As such, the standard errors on the thresholds indicated may under-estimate the true error, owing to our inability to simulate larger code distances, since the error incorporates the errors on the data points but not a systematic error due to limited applicability of the scaling assumptions. However, it is clear that thresholds exist up to at least _p_ defect = 10% (see Fig. 20k), where a monotonic decrease in average logical failure probability with distance is seen at low _p_ Pauli. For _p_ defect = 12%, we do not see such a clean demonstration of sub-threshold behaviour: larger system sizes and/or more realisations would likely be required to clearly demonstrate the existence of a threshold. However, we do see some increase in the code performance with target distance. Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 32 Fit d=3 d=4 d=5 d=6 d=7 6 4 2 0 2 4 x 1e 3 (d) Fit d=3 d=4 d=5 d=6 d=7 3 2 1 0 1 2 3 4 x 1e 3 (h) Fit d=3 d=4 d=5 d=6 d=7 1.25 1.00 0.75 0.50 0.25 0.00 0.25 0.50 0.75 x 1e 2 (l) Threshold d=3 d=4 d=5 d=6 d=7 6.0 6.2 6.4 6.6 6.8 7.0 7.2 7.4 Noise parameter 1e 3 (c) Threshold d=3 d=4 d=5 d=6 d=7 2.75 3.00 3.25 3.50 3.75 4.00 4.25 Noise parameter 1e 3 (g) Threshold d=3 d=4 d=5 d=6 d=7 0.2 0.4 0.6 0.8 1.0 Noise parameter 1e 3 (k) 0.35 0.30 0.25 0.20 0.15 0.10 0.05 0.24 0.22 0.20 0.18 0.16 0.14 0.12 0.10 0.475 0.450 0.425 0.400 0.375 0.350 0.325 0.63 0.62 0.61 0.6 0.59 0.58 0.57 0.56 Fit d=3 d=4 d=5 d=6 d=7 1.5 1.0 0.5 0.0 0.5 1.0 1.5 x 1e 2 (b) Fit d=3 d=4 d=5 d=6 d=7 8 6 4 2 0 2 4 x 1e 3 (f) Fit d=3 d=4 d=5 d=6 d=7 4 2 0 2 4 6 x 1e 3 (j) Threshold d=3 d=4 d=5 d=6 d=7 0.24 0.22 0.20 0.18 0.16 0.14 0.30 0.28 0.26 0.24 0.22 0.20 0.18 0.16 0.550 0.525 0.500 0.475 0.450 0.425 0.400 0.375 0.350 0.24 0.22 0.2 0.18 0.16 0.14 0.3 0.2 0.5 0.4 0.63 0.62 0.61 0.60 0.59 0.58 0.57 0.56 0.3 0.1 0.05 0.26 0.24 0.22 0.2 0.18 0.16 0.14 0.12 0.1 0.475 0.45 0.425 0.4 0.375 0.35 0.325 Threshold d=3 d=4 d=5 d=6 d=7 0.6 0.7 0.8 0.9 1.0 Noise parameter 1e 2 (a) Threshold d=3 d=4 d=5 d=6 d=7 4.0 4.5 5.0 5.5 6.0 Noise parameter 1e 3 (e) Threshold d=3 d=4 d=5 d=6 d=7 1.0 1.2 1.4 1.6 1.8 2.0 Noise parameter 1e 3 (i) Fit d=3 d=4 d=5 d=6 d=7 6 4 2 0 2 4 6 8 x 1e 3 (n) 0.5 1.0 1.5 2.0 2.5 3.0 3.5 Noise parameter 1e 4 (m) Figure 20: Close-to-threshold data of average logical failure probability for fabrication defect probabilities: (a)-(b) 0%, (c)-(d) 1%, (e)-(f) 2%, (g)-(h) 4%, (i)-(j) 8%, (k)-(l) 10% and (m)-(n) 12%. Thresholds are indicated with red vertical lines, with light red lines indicating the standard error of the fitted threshold. Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 33 (a) (b) (c) Figure 21: Strategy for removing defective connections from the bulk of the honeycomb code. (a) A defective connection between two otherwise functioning qubits is shown in orange. Merge and split plaquettes around the defective connection are highlighted. In this example there is one split plaquette in blue, and three merge plaquettes in green. (b) The shrink plaquette is replaced with three weight-2 plaquettes, formed using newly-added edges highlighted in red. (c) The merge plaquettes are combined into a single super-stabiliser. Newly added edges are highlighted in red, while functioning edges which have been removed are shown in white. The defective connection, now light orange, no longer contributes to any stabilisers and can be removed. ### G Strategy for removing defective connections We shall now discuss how to adapt a Floquet code when the qubits themselves are functioning properly but there are defective connections between pairs of qubits. As before, we assume that these defective connections are identified in advance through calibration of the device. In the surface code, a defective connection between a data qubit and a measurement qubit can be removed by treating the data qubit as defective [20]. One can apply the same technique to Floquet codes (see Sec. 5.2), but improvements on this strategy are possible. With an improved strategy, one can remove defective connections from a Floquet code with no additional connections, no schedule modifications, and without removing _any_ data qubits. We will focus on removing a single defective connection in this example, but note that as before this approach can be used iteratively to accommodate multiple defective connections. We also note that this approach can be used in combination with the strategy in Sec. 3 to correct for a combination of defective qubits and connections. Finally, while this example will focus on the honeycomb code, we note that it can also be applied to Floquet codes defined on other tri-valent and 3-face-colourable lattices. Our strategy for accommodating defective connections is shown in Fig. 21. Initially, the defective connection is shown in orange in Fig. 21a. This edge connects two red plaquettes, and is incident to one green plaquette and one blue plaquette. The main difference between this strategy and the strategy in Sec. 3.1 is the choice of merge and split plaquettes. Using the algorithm in Sec. 3.1, we would choose to split the blue and green plaquettes incident to the defect edge and merge surrounding red plaquettes. Instead, we choose one plaquette incident to the defective edge to be the split plaquette. The other plaquette incident to the defect edge is chosen to be a merge plaquette, with the other merge plaquettes being the plaquettes of the same type which are adjacent to the split plaquette. In Fig. 21a, we have chosen to split the blue plaquette Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 34 incident to the defective connection and merge the three green plaquettes adjacent to this blue plaquette. Having chosen our merge and split plaquettes, we then proceed using Steps 4-7 of the algorithm in Sec. 3.1. First, in Fig. 21b, we split the blue plaquette into weight-2 plaquettes by introducing additional red edges, akin to Steps 4 and 5. Then, in Fig. 21c we use the newly-added red edges to merge the green plaquettes into a super-plaquette, using the same process as in Steps 6 and 7. The theorem below is equivalent to Theorem 3, but looking at standard colour code lattices rather than the “heavy” lattices considered in Sec. 5.2. This difference does not affect the proof. Theorem 3 (for defective connections) . _The_ _above_ _process_ _produces_ _a_ _tri-valent_ _3-face-_ _colourable_ _lattice._ _Proof._ Our proof will follow a similar structure to the proof for Theorem 1. We will prove this for removing a single defective edge, whose basis is denoted as _D_ . Note that edges removed from the lattice are edges which contribute to the shrink plaquette and whose basis is _D_ . The shrink plaquette consists of a cycle of edges whose bases alternate between _D_ and one other basis _T_ . This means that each vertex in the shrink plaquette is incident to one edge which is removed from the lattice. However, each vertex in the shrink plaquette is _also_ incident to a newly-added edge of type _D_, therefore vertices in the shrink plaquette are still of degree three. Vertices wich are not in the shrink plaquette are not affected by this, therefore tri-valence is still preserved. 3-face-colourability follows the same proof as in Theorem 1. The newly-added weight-2 plaquettes are assigned the same colour as the shrink plaquette, and the super-plaquette is assigned the same colour as the merge plaquette. Because the merge plaquettes are adjacent to the shrink plaquette, they must be different colours. The weight-2 plaquettes are adjacent to the super-plaquette and one plaquette which was adjacent to the shrink plaquette in the original graph, both of which must be coloured differently because of the remarks above. The super-plaquette on the other hand is adjacent to weight-2 plaquettes— which are of the same colour as the shrink plaquette—and plaquettes which were incident to a merge plaquette in the original graph, and must therefore also be a different colour. This means that the newly-added plaquettes are guaranteed to not share the same colour as any adjacent plaquette, thus preserving 3-face-colourability. Note that unlike the strategy for qubit removal, the total number of vertices, edges and plaquettes remains unchanged compared to the original lattice when removing a defective edge. We can also see that our scheme is optimal in the number of edges removed from the lattice, again considering honeycomb, 4.8.8, or 4.6.12 lattices. This is a rephrasing of Theorem 4, with a focus on the standard honeycomb, 4.8.8 and 4.6.12 lattices rather than their heavy equivalents. This modification does not affect the proof. Theorem 4 (for defective connections) . _Consider_ _a_ _defective_ _edge_ _in_ _the_ _bulk_ _of_ _a_ _Floquet_ _code_ _defined_ _on_ _a_ _honeycomb,_ _4.8.8_ _or_ _4.6.12_ _lattice_ _(without_ _boundary);_ _i.e.,_ _a_ _uniform_ _tiling_ _of_ _the_ _plane._ _Under_ _the_ _constraint_ _that_ _we_ _cannot_ _form_ _an_ _edge_ _between_ _any_ _two_ _qubits_ _not_ _connected_ _by_ _an_ _edge_ _in_ _the_ _original_ _lattice,_ _the_ _algorithm_ _described_ _above_ _re-_ _moves_ _the_ _defective_ _edge_ _with_ _the_ _minimal_ _number_ _of_ _removed_ _edges_ _from_ _the_ _original_ _lattice._ _Proof._ Our proof will follow a similar form to that of Theorem 2. The defective edge _E_ is incident to two vertices _v_ 1 _, v_ 2. Removing _E_ will result in _v_ 1 and _v_ 2 both being of degree-2. In order to maintain tri-valence we must introduce additional edges incident to _v_ 1 and Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 35 _v_ 2. Again, we assume the edges in the original lattice, with the exception of the defective edge, account for all possible available connections in hardware, and any new edges must lie along the same connections. Without loss of generality, let _E_ be coloured red, as in Fig. 21. With the defective edge removed, _v_ 1 and _v_ 2 are not incident to any red edge, meaning that red edges must be added to the graph. To maintain tri-valence and three-face-colourability, we must do this by drawing a path of edges between _v_ 1 and _v_ 2 which (a) alternates between red and nonred edges, (b) begins and ends with non-red edges, and (c) does not traverse _E_ . Using this path, a new tri-valent graph can be constructed by removing red edges along the path and introducing new red edges parallel to the non-red edges along the path. The number of edges removed from the original lattice will therefore be ( _n −_ 2) _/_ 2, where _n_ is the number of vertices in the path. Therefore choosing the shortest path will minimise the number of edges removed. In the approach described above, we construct this path out of the shrink plaquette. _v_ 1 and _v_ 2 are incident to an edge which is part of the shrink plaquette, meaning that the length of the path will be the weight of the shrink plaquette. Therefore the number of removed edges along the path will be ( _K_ _−_ 2) _/_ 2, where _K_ is the weight of the shrink plaquette. This leads to 2 additional edges being removed in the honeycomb lattice, as all plaquettes are of weight 6. This path has length 5. A shorter path would have to have length 3, implying the existence of a length-4 cycle in the original graph (since _v_ 1 and _v_ 2 are connected by an edge in the original graph). This does not exist in the honeycomb lattice. In the 4.8.8 lattice, the number of additional edges removed will either be 1 if the defective edge is part of a weight-4 plaquette, or 3 otherwise. In the latter case, there is no shorter path between _v_ 1 and _v_ 2 other than along an arbitrarily chosen shrink plaquette (both having weight 8). Finally, for the 4.6.12 lattice, the number of additional edges removed will either by 1 if the defective edge is part of a weight-4 plaquette, or 2 if the edge is incident to a weight-6 plaquette <sup>∗</sup> . In this case as well, it is obvious that a shorter path which connects _v_ 1 and _v_ 2 while meeting the requirements above cannot exist. It can also be easily seen that this optimality is not constrained to planar surfaces. Below, we show a simple remark found by applying this proof to the 8.8.8 lattice used in hyperbolic Floquet codes [50, 51]: Remark 2. _Consider_ _a_ _defective_ _edge_ _in_ _the_ _bulk_ _of_ _a_ _Floquet_ _code_ _defined_ _on_ _an_ _8.8.8_ _lattice_ _(without_ _boundary),_ _which_ _is_ _a_ _particular_ _uniform_ _tiling_ _of_ _a_ _hyperbolic_ _surface._ _Under_ _the_ _constraint_ _that_ _we_ _cannot_ _form_ _an_ _edge_ _between_ _any_ _two_ _qubits_ _not_ _connected_ _by_ _an_ _edge_ _in_ _the_ _original_ _lattice,_ _the_ _algorithm_ _described_ _above_ _removes_ _the_ _defective_ _edge_ _with_ _the_ _minimal_ _number_ _of_ _removed_ _edges_ _from_ _the_ _original_ _lattice._ _Proof._ Our proof will follow from the proof of Theorem 4, noting that the proof does not rely on the lattice being a plane. In the 8.8.8 lattice, the shrink plaquette will always be of weight-8, meaning that there will be 8 vertices in the path connecting the vertices incident to the defective edge, and a total of 3 edges are removed from the lattice. It is impossible to construct a shorter path in the 8.8.8 lattice satisfying the requirements stated in Theorem 4, therefore this edge removal is optimal. Note that we do not claim optimality for the scenario for non-trivial combinations of defective connections. As with Theorem 2, an optimal edge removal in the case of multiple ∗Note that the structure of the 4.6.12 lattice ensures that any edge is incident to either a weight-4 or weight-6 plaquette, so we do not have to consider choosing a weight-12 plaquette as the shrink plaquette. Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 36 (a) (b) (c) Figure 22: Removing defective connections on the (a) horizontal and (b) vertical boundaries of the honeycomb code. (c) A plaquette on the boundary is chosen as the split plaquette, which has the unintended effect of introducing two green weight-1 plaquettes. These weight-1 plaquettes will be nondeterministic throughout the whole experiment, thus choosing to split the green boundary plaquette is not possible in this case. defective edges would depend on the choice of shrink and merge plaquettes. In particular, if the shrink plaquette is of large weight then there might be a shorter path between the two vertices incident to the defective edge. In general, for _n_ defective connections the number of possible sets of shrink plaquettes grows as _O_ (2 <sup>_n_</sup> ), so it is likely that one will need to rely on heuristics to make suitable choices. If a defective connection is incident to a qubit on the boundary, we can apply the same strategy as in Sec. 3.2 of embedding the patch into a larger Floquet code, applying the connection removal strategy, and then cutting the boundary out again. We give examples of applying this method to defective connections on the horizontal and vertical boundaries in Fig. 22. Note however that some care must be taken when choosing merge and split plaquettes. For example, in Fig. 22c, a plaquette on the boundary has been selected as the split plaquette. This has the unintended consequence of creating two weightone corner plaquettes. These plaquettes are inherently non-deterministic throughout the whole computation, potentially reducing the code distance and logical fidelity, and should therefore be avoided. Accepted in 2024-12-08, click title to verify. Published under CC-BY 4.0. 37

섹션 본문 131문단 · 77,805자

(제목 없음)

1Floquet codes are an intriguing generalisation of stabiliser and subsystem codes, which can provide good fault-tolerant characteristics while benefiting from reduced connectivity requirements in hardware.A recent question of interest has been how to run Floquet codes on devices which have defective-and therefore unusable-qubits.This is an under-studied issue of crucial importance for running such codes on realistic hardware.To address this challenge, we introduce a new method of accommodating defective qubits on a wide range of two-dimensional Floquet codes, which requires no additional connectivity in the underlying quantum hardware, no modifications to the original Floquet code's measurement schedule, can accommodate boundaries, and is optimal in terms of the number of qubits and stabilisers removed.We numerically demonstrate that, using this method, the planar honeycomb code is fault tolerant up to a fabrication defect probability of ≈ 12%.We find the fault-tolerant performance of this code under defect noise is competitive with that of the surface code, despite its sparser connectivity.We finally propose multiple ways this approach can be adapted to the underlying hardware, through utilising any additional connectivity available, and treating defective auxiliary qubits separately to defective data qubits.Our work therefore serves as a guide for the implementation of Floquet codes in realistic quantum hardware.

Introduction

2Floquet codes are a relatively new and exciting area in quantum error correction (QEC).From a theoretical perspective, they have a mathematical structure which is distinct from other families of codes such as stabiliser and subsystem codes, which lends them some interesting and unique properties [1].In addition, from a more practical perspective, Floquet codes benefit from considerably reduced connectivity requirements in hardware, compared to the surface or colour codes, while maintaining a reasonably high threshold under Pauli noise and a low tera-quop footprint for certain noise models [2][3][4].

3While Pauli noise is the commonly studied error model in QEC, there are many other forms of noise beyond Pauli errors which appear when developing quantum devices in practice, such as qubit loss [5,6], erasure [7,8], leakage [9][10][11][12] and cosmic ray events [13,14].Fabrication defects, where an error in the fabrication of a quantum device renders some of the qubits so noisy as to be effectively useless, is a more permanent form of error which must be dealt with.These defective qubits can be identified in advance through device calibration.One instance of such an error appearing in real devices can be found in the Sycamore processor used in Google's 2019 quantum computational supremacy experiment [15].It is worth avoiding defective components when running a QEC code, as they can introduce types of noise that are harmful to the overall performance of the code [10,16].

4Several works have already shown how to accommodate fabrication defects on other QEC codes.For the surface code, code deformation is used to isolate the defects from the rest of the lattice, resulting in a code that maintains a threshold under Pauli noise at finite defect rates [17][18][19][20][21].As for the case of Floquet codes, Aasen et al. [22] have initiated the study by proposing methods for accommodating fabrication defects on the 4.8.8 [4] and honeycomb [1] Floquet codes.This leaves room for substantial further work in finding improvements to these methods and benchmarking Floquet code performance in defective hardware, to help determine how promising a candidate for large-scale QEC this type of code is.In particular, it is crucial to consider methods that make no additional assumptions about the device connectivity, since low connectivity requirements are one of the main benefits of Floquet codes.Moreover, the ability to generalise strategies to a large array of Floquet codes would be very useful.

5In this paper we present a new way of accommodating fabrication defects on Floquet codes that respects hardware constraints and is highly generalisable.We present our method as an iteratively applicable algorithm which provides a new Floquet code given a set of defective qubits.It removes at most two qubits per defect-which is optimal when preserving important properties of the lattice-requires no additional connectivity in the hardware, and can accommodate boundaries.We also require no modifications to the original measurement schedule of the Floquet code, which ultimately means that our method is suitable for use in a wide range of Floquet codes (specifically, all such codes definable on a colour code lattice [1,4,23,24]).

6We numerically benchmark the performance of our method by implementing circuits for a planar honeycomb code memory experiment (specifically considering the model of Gidney et al. [3]) in Stim [25], a fast Clifford circuit simulator, and correcting for Pauli errors on the adapted code using PyMatching, a matching decoder [26].We find considerable robustness to fabrication defects: we determine a defect threshold of approximately 13%, and numerically demonstrate that Pauli error thresholds exist for defect probabilities close to this threshold.Hence, the region of parameter space in which the code remains faulttolerant is large and comparable to that of the surface code [17].The reduction in Pauli error threshold with defect probability is also quantitatively similar to previous findings for the surface code [19].This is quite surprising, as the honeycomb code achieves this with more restrictive constraints on the connectivity of the device.

7We further introduce two methods which take advantage of the underlying hardware.First, we propose even better methods for accommodating defects in hardware in which extra connectivity is present, such as on square lattices [27][28][29].And secondly, we propose a method for additionally accommodating defective auxiliary qubits in lattices in which those are present-or, more generally, defective connections between data qubits-such as the heavy hex lattice [30].

8The rest of this paper is laid out as follows.In Sec. 2 we provide some background on the honeycomb code and fabrication defects.In Sec. 3 we describe our strategy for removing defective qubits from the code lattice.Results from simulations are described in Sec. 4. We propose some improvements that can be made depending on the hardware of the quantum processor in Sec. 5. Finally, we conclude with some future research directions in Sec. 6.

Background

9A Floquet code is defined by a series of check measurements and a sequence in which they are measured * .Many Floquet codes are definable on the lattice of a colour code [23].We focus here on the honeycomb code [1,2], however this example can be easily generalised.

Honeycomb code

10The honeycomb code is a Floquet code defined on a honeycomb lattice † .Each vertex represents a physical qubit, and each edge represents a two-qubit Pauli measurement between neighbouring qubits.An example lattice is presented in Fig. 1, with the plaquettes coloured red, blue and green in such a way that no neighbouring plaquettes share the same colour.Edges are also assigned colours according to the plaquettes they connect; for example a red edge connects a pair of red plaquettes.A key benefit that this code has over other error-correcting codes, such as the surface code, is the low connectivity requirements of the code: each qubit only needs to be connected to three nearest neighbours, and each measurement is only between pairs of adjacent qubits.This makes Floquet codes appealing for architectures with low connectivity, such as IBM's heavy-hex lattice [30], as well as devices with native two-body measurements such as Majorana devices [4,33].

11A QEC round using the periodic honeycomb code works by implementing two-body Pauli measurements between adjacent qubits according to the following measurement schedule: first, XX measurements are applied to red edges, then Y Y measurements are applied to green edges, and finally ZZ measurements are applied to blue edges [2].If periodic boundary conditions are used, we then repeat the measurement schedule.Floquet codes may not store logical operators, or have stabiliser groups, when viewed as subsystem (i.e., static) codes [1,23], however this does not preclude them from having these properties when viewed dynamically.We can understand this through the instantaneous stabiliser groups, which depend on the measurement sub-round (i.e., the edge type just measured).For the honeycomb code, the instantaneous stabiliser group after each sub-round of QEC consists of six-body Pauli operators on each plaquette (these commute with all edge measurements), plus the two-body Pauli operators measured in the last subround.Each plaquette of a given colour is made up of the product of edges encircling that plaquette, which will be of the other two colours.For example, a red plaquette is made up of three green edges and three blue edges that encircle the plaquette.The X ⊗6 stabiliser that this red plaquette corresponds to is the product of these Y Y and ZZ edge operators, and the plaquette's measurement outcome can therefore be inferred from the two previous sub-rounds in which green and blue edges were measured, respectively.This process can also be followed for the green Y ⊗6 and blue Z ⊗6 plaquettes.Figure 1: An example of the planar honeycomb code, with qubits on vertices and with plaquettes coloured according to their Pauli type (red for X, green for Y and blue for Z).In the periodic honeycomb code, the horizontal and vertical boundaries wrap around on a torus.In the planar case shown, boundary "edges" involve single-qubit measurements [3].These form plaquettes that have nondeterministic outcomes at certain points in the measurement schedule.Logical strings at each point in the period-six measurement schedule are shown.Vertices coloured red/green/blue indicate where logicals have support as Pauli X/Y /Z operators respectively.Arrows indicate the checks measured at that point in the sequence (red for X checks, green for Y checks and blue for Z checks).Logical strings are only updated after Y and Z check measurements.

12The logical operators of the honeycomb code have to change in each sub-round in order to ensure that they commute with measurements in future QEC sub-rounds.Specifically, some edge measurements on horizontal and vertical cycles across the code need to be multiplied in to the logical observables [1,2].The logical operators change each subround, repeating with period six.The measurement schedule is crucial for ensuring that the stabilisers can be measured while at the same time ensuring that these observables are preserved; if one were to instead implement measurements such that all stabilisers (of the subsystem code) were measured simultaneously, a code with no logical qubits would be formed [1].

13The planar honeycomb code functions in a similar way.Boundaries can be formed without increasing the connectivity requirements by cutting along edges of the same colour of a larger honeycomb lattice [3].The cut edges correspond to single-qubit Pauli measurements in the same basis as before.Note that if we use the same measurement schedule as before, the result will be that some measurements will anti-commute with the observable.Instead, the schedule is modified to measure edges in an R → G → B → R → B → G pattern [34,35].The transformations of the logical operators through this measurement schedule are shown in Fig. 1.Note that logical operators are not updated after red edges are measured.

14The single-qubit measurements anti-commute with plaquettes along the boundary.The result of this is that some stabilisers are non-deterministic at times and therefore cannot form detectors.However, this does not seem to significantly affect the code's performance when compared to the periodic honeycomb code [3].

15We form detectors from two measurements of plaquette operators.For example, after the sequence B → R → B, we measure all bulk green plaquettes twice (once during B → R, and a second time during R → B), therefore detectors can be formed for each green plaquette by comparing the two measured values.Measurement results from detectors are deterministic in the presence of zero noise, meaning that a decoder can use these results to identify and correct errors when noise is present.Boundary plaquettes are measured non-deterministically when the single-qubit edge measurements precede the two-qubit edge measurements.However, they are re-measured deterministically (assuming no error has occurred) when the two-qubit edge measurements precede the single-qubit measurements.For example, a green boundary plaquette in Fig. 1 is first measured nondeterministically when the blue edge measurements immediately precede the red edge measurements (B → R).It is then measured deterministically for a second time after the sequence R → B, at which point we can form a detector comparing these two measurement outcomes.

Fabrication defects

16In this work we address the challenge of implementing Floquet codes when there are fabrication defects on the hardware device.A fabrication defect is a qubit which at the time of running the computation is known to be highly prone to errors, or otherwise unusable.Such faults are common in quantum processors: Google's 54-qubit Sycamore processor for example featured one qubit which did not function properly and therefore could not be used in their 2019 quantum computational supremacy experiment [15].

17Fabrication defects have been studied extensively in the context of surface codes, and can be accommodated by merging adjacent stabilisers together into "super-stabilisers" in order to remove the defective qubit(s) [17][18][19][20].These super-stabilisers are measured by introducing "gauge operators" around a defect, such that the super-stabiliser measurements can be formed by taking products of gauge measurements.This is similar to how edge measurements combine to form plaquette measurements in the honeycomb code, with the difference being that there is no dependency on the order in which gauge measurements are performed.However, translating this procedure to the honeycomb code is non-trivial; while each sub-round of the honeycomb code can be mapped to an instance of a surface code [1], the surface codes evolve with each sub-round.

18Aasen et al. have investigated ways of accommodating fabrication defects on honeycomb and 4.8.8Floquet codes [22].They propose several strategies, two of which involve removing all qubits in a plaquette adjacent to a defect.An important consideration for such methods is whether the device has extra connectivity available for the formation of new plaquettes, which is required for some methods proposed [22].Respecting the constraints of hardware while removing the smallest number of qubits and edges from the lattice possible is important for maintaining a high percolation threshold, and presumably a high Pauli noise threshold under finite fabrication defect rates * .

Strategy for removing defective qubits from the lattice

19Here we outline the strategy for removing defective qubits from the lattice.The main idea is to create "super-plaquettes" which avoid using the defective qubits, thereby removing them from the lattice.We do this by merging some plaquettes in the original lattice together, while other existing plaquettes are replaced by two-body plaquettes.We will do all this while retaining the 3-face-colourability and tri-valence of the graph, for ease of generalisation to other Floquet codes.To achieve this, we need to remove a pair of qubits along an edge, as described below.There is some subtlety around choosing the extra removed qubit (or qubits if there is more than one defect) in such a way that maximises the distance of the resulting code-we shall refer to this as the "edge choice", since choosing a qubit to remove is the same as choosing an edge adjacent to the given fabrication defect.We also do not allow for extra connectivity between qubits in the updated Floquet code.In Appendix A, we describe how improved results can be obtained in the presence of extra connections in the underlying hardware.

20Below, we will outline the algorithm for generating the new code with super-plaquettes given a pattern of fabrication defects and an edge choice for each defect.There are certain situations in which the edge choice is obvious, but otherwise we need to use heuristics to make an edge choice.We discuss some heuristics for choosing suitable edges to remove in Sec.3.4.

The super-plaquette algorithm

21We begin with a single fabrication defect in the bulk of the lattice and explain how the algorithm runs for this case.Let us denote an edge as (E, B) where E is a set of one or two qubits and B is a Pauli basis.A plaquette will be a set of edges, each of which has basis not equal to the plaquette basis.The measurement outcome of this plaquette will be the product of measured values of all edge operators-the measurement of the qubit(s) in the basis specified-in its corresponding set.As mentioned above, the first step of the algorithm is to make an edge choice, giving us another qubit to remove from the lattice.We will call this selected edge the "defect edge", although note that there is not necessarily anything defective about this edge.Hence we begin with the following step:

221. Choose a defect edge.

23We call the basis of this defect edge the "defect edge basis" (D).An example is illustrated in Fig. 2a.The defective qubit is the red vertex and the other removed qubit is the blue vertex-the defect edge is the edge in orange connecting these two qubits.Note that this edge connects two red X ⊗6 plaquettes, so the defect edge basis is D = X.

24We then proceed through the list of plaquettes and find all plaquettes that contain the defect edge-we will refer to these as the "shrink plaquettes."For a single defect edge there will only be two such plaquettes and they will be of different types.

252. Find the shrink plaquettes adjacent to the defect edge.

26In Fig. 2a, there is one green and one blue shrink plaquette incident to the defect edge.The green (resp.blue) shrink plaquette in this example corresponds to a Y ⊗6 (resp.Z ⊗6 ) stabiliser.

27We then find all plaquettes of type D that are adjacent to a shrink plaquette-we call these the "merge plaquettes".

Find the merge plaquettes.

28In Fig. 2a, there are four red merge plaquettes.In this example, the merge plaquettes correspond to X ⊗6 stabilisers.Now we form the super-plaquette and adjacent two-body plaquettes.For each shrink plaquette S, let E S,D be the set of edges in S which are the same basis as the defect edgein this case, the XX edges-but do not contain the defect.We first add the two-body plaquettes to the list of plaquettes:

29Figure 2: Removing a defective qubit from the bulk of the honeycomb code.(a) A defective qubit is highlighted in red, along with a neighbouring qubit in blue and the defect edge between them in orange.

30In this example, one green plaquette and one blue plaquette around the defect are selected as shrink plaquettes, and four surrounding red plaquettes are selected as merge plaquettes.These plaquettes have been highlighted.(b) The shrink plaquettes are replaced with weight-2 plaquettes, formed using newly-added Y Y and ZZ edges highlighted in green and blue, respectively.(c) The merge plaquettes are combined into a single super-plaquette.The super-stabiliser is supported on 22 qubits, and it is composed of 9 blue and 9 green edges that were originally involved in one of the merge plaquettes, plus 2 blue edges and 2 green edges which were added in Step 4. Removed edges are shown in white, the defective qubit and its pair on the defect edge no longer contribute to any stabilisers and can be removed.

4.

31For each shrink plaquette S (suppose it has Pauli type P ) and for each edge (E, D) ∈ E S,D , add a plaquette that involves two edges: (E, D) and (E, T ), where T / ∈ {D, P }.Add edge (E, T ) to the list of edges and to a set of newly-added edges C.

325. Delete all shrink plaquettes from the list of plaquettes.

33In Fig. 2b, we show how Step 4 is applied to the example in Fig. 2a, with the new Y Y and ZZ edges in C coloured green and blue, respectively.The green (resp.blue) weight-6 plaquettes have now been split into two weight-2 green (resp.blue) plaquettes.

34Note that the set of newly-added edges C connect the merge plaquettes in a cycle.We use C to combine the merge plaquettes into a single new super-plaquette:

356. Include all edges in C in the super-plaquette.For every merge plaquette M and every edge (E, B) in M , add (E, B) to the super-plaquette if (E, B) is not an element of any shrink plaquette.

367. Delete all merge plaquettes from the list of plaquettes.

37The final result of this process is shown in Fig. 2c.Note that the defective qubit and its neighbour are no longer connected to any other qubits, nor do they contribute to any plaquettes in the code, therefore they can now be removed.

38The resulting super-plaquette is of the same type as the merge plaquettes: it is formed from a cycle of edges of alternating type not equal to D (alternating Y Y and ZZ measurements for the example in Fig. 2).This follows from the fact that the cycle of edges that wraps around the super-plaquette is formed of edges from the set C and edges from merge plaquettes, none of which have basis equal to the merge plaquette type.To see that the cycle of bases is alternating, consider the edges adjacent to (E, B) ∈ C in Fig. 2b.There are five edges adjacent to E. One edge is (E, D), the edge connecting these two vertices in the original Floquet code.This edge is of type D-the defect edge basis-and will not be included in the super-plaquette.Of the remaining four, two are of type B; these two will contribute to one of the shrink plaquettes, and will therefore be removed from the lattice during Steps 6 and 7.This leaves two edges incident to edge (E, B), which by construction have to be a different type to B or D, and these are the two edges that are included in the super-plaquette.Therefore the super-plaquette alternates before and after each edge in C. Furthermore, the cycle continues to alternate around the merge plaquette, by construction of the original code.In this way we see that the entire super-plaquette is formed from alternating edges of two bases.It can also be seen that this algorithm results in an updated lattice with the required properties of tri-valence and 3-face-colourability.We explain this in detail in Appendix B.

39There are a few remarks we can note about this strategy.First of all, we can verify that no additional logical degrees of freedom have been created.To see this, note that two physical qubits are removed for the defect.After applying the strategy in the example of Fig. 2, four merge plaquettes are combined into a single super-plaquette, but two shrink plaquettes are split into two weight-2 plaquettes, meaning that the number of plaquettes has only decreased by one.We have also removed seven edges (one red, three blue, three green) and added four new edges (two blue, two green).Overall this means that we have removed one edge of each type from the graph, so after each sub-round the number of stabilisers formed by the edges of that sub-round also decreases by one.As a result, the size of the instantaneous stabiliser group after each sub-round has also decreased by two, meaning that the number of logical qubits-the number of physical qubits minus the size of the instantaneous stabiliser group during each sub-round-remains unchanged.As we show in Appendix B, this strategy is in fact optimal in minimising the number of physical qubits, plaquettes and connections removed while meeting the requirements for constructing a 3-face-colourable, tri-valent lattice.

40We can also note that while there are new edges added to the graph, these edges are between vertices which were adjacent in the original graph.This means that all the new two-body measurements are performed between qubits which are already connected on the quantum processor, implying that no additional hardware connectivity is required.This algorithm can also be run using the same measurement schedule as the original code, as the new measurements and plaquettes follow the same rules of tri-valence and 3-face-colourability as the original Floquet code.

41We can see that for multiple defects this algorithm can be implemented iteratively, by choosing a defect edge for each defective qubit.If multiple defects are close to each other, this can mean the super-plaquettes are themselves merged together to create even larger plaquettes.An example of two super-plaquettes merged together is shown in Fig. 3.Note that in this example the two defect edges selected are in the same basis, however this does not need to be true in general, and in certain cases it can be beneficial to choose different bases.

42While the example above is specific to the honeycomb code, we can see that the algorithm is generalisable to other two-dimensional Floquet codes.In Appendix C, we discuss how this algorithm can be extended to Floquet codes on other tri-valent and 3face-colourable graphs, and provide an explicit example of applying this strategy to the 4.8.8Floquet code [4,22].

43It is interesting to note the similarities between the resulting weight-two stabilisers shown in Fig. 2c and the two-gon method for applying boundaries to the honeycomb code presented in Refs.[4,34].Hastings and Haah showed that implementing a boundary in this way provides a non-trivial cycle of two types of edge, meaning that the measurement schedule needs to be modified in order to avoid measuring the logical observable [1,34].

44Here, however, we do want to measure the cycle generated by this algorithm, in order to measure a super-stabiliser around the defective qubit(s).

Defective qubits on the boundary

45So far we have only considered fabrication defects which appear in the bulk of the code.Whilst this will work for periodic boundary conditions, we also need to consider what happens to defects which lie on the boundary of the code in order for this technique to be practical to implement on current quantum hardware.

46In [3], Gidney et al. showed how boundaries for the honeycomb code can be formed by cutting a planar patch out of a larger honeycomb lattice.We can also use this technique to handle fabrication defects on the planar honeycomb code: first, we embed the patch back into the larger lattice; second, we apply the algorithm described in Sec.3.1 to modify the honeycomb code; and third, we cut the patch out along the same boundaries again.We give some examples of applying this method to defects on the horizontal and vertical boundaries of the code in Fig. 4. Just like the periodic boundary conditions case, this approach requires no extra connectivity and can be implemented using the same measurement schedule as the defect-free planar honeycomb code.

47It is worth noting that in this situation there are constraints on which edge we can choose to be the defect edge.In particular, the defect edge basis must not match the basis of the boundary.As shown in Fig. 4c, choosing the boundary edge as the defect edge leads to weight-one plaquettes being defined on the boundary.These plaquettes are formed by two non-commuting single-qubit measurements, and are therefore nondeterministic throughout the whole computation.Introducing these non-deterministic plaquettes will create additional logical operators, potentially reducing the code distance or logical fidelity.Similar behaviour can be seen in the corner plaquettes on the defect-free planar honeycomb code [3].

48The fact that boundary plaquettes on planar Floquet codes are non-deterministic also leads to other considerations we might want to take into account when selecting a defect edge.This is because while detectors can be formed for plaquettes in the bulk on average every three sub-rounds, detectors for plaquettes on the boundaries can only be formed once every six rounds, and can never be formed for plaquettes on the corners.As a result, our choice of defect edge could mean introducing a large super-plaquette that is only deterministically measured once every six sub-rounds, or even not measured at all.We describe the means of avoiding such cases, when possible, in Appendix D.

Changing the logical operators

49The planar honeycomb code with the boundaries indicated above stores a single logical qubit, with logical operators (evolving in time) shown in Fig. 1.Strings that cross the lattice non-trivially, between vertically or horizontally opposite boundaries, serve as our logical operators [3,4,34].In the periodic honeycomb code there are two logical qubits, with each having logical operators made up of one horizontal cycle and one vertical cycle such that the two anti-commute [1,2].

50If the super-plaquettes formed by the algorithm in Sec.3.1 are not incident to these strings then we do not need to make any changes to the logical operators.However, if the strings use an edge removed by the algorithm, or if the strings cross a defective qubit, then we can use a path-finding algorithm to construct alternative logical operators.If we cannot find strings that connect opposite boundaries in the modified graph, the defects cannot be resolved using the above algorithm because the graph does not percolate.

51It is important to ensure that the new operators commute with the measurements as they evolve, in the same way that the logical operators in the original code transform in order to commute with each round of measurements.We give examples of how the logical operators can evolve around a newly formed super-plaquette on both the periodic and planar honeycomb codes in Appendix E.

Choosing a defect edge

52In order to run the algorithm described in Sec.3.1, we need to pick suitable defect edges incident to the defective qubits.For n defective qubits, the number of possible defect edge assignments scales as O(3 n ), making it infeasible to exhaustively search over all possible edges to find an optimal selection.

53Instead we use a number of heuristics to find a good set of defect edges.Our aim with these heuristics are two-fold.First, we want to keep super-plaquettes small, to ensure that removing the defects does not reduce the distance too significantly.And second, we want to keep super-plaquettes in the bulk of the code where possible, to ensure they are deterministically measured throughout the whole experiment.These heuristics were employed for the numerical simulations described in Sec. 4. We give full details on the heuristics used in Appendix D.

Simulation results

54We shall now discuss our simulations of the planar honeycomb code with fabrication defects.Our simulations used multi-qubit Pauli product measurement (MPP) gates, which are native to Majorana devices [4,33], as well as single-qubit reset and measurement gates.For a Pauli noise parameter p Pauli , we assume two-qubit depolarising noise with probability p Pauli after each MPP gate, single-qubit depolarising noise with probability p Pauli /10 after each single-qubit reset or measurement gate, and that a measurement result flips with probability p Pauli .This is similar to the standard depolarising with entangling measurements (SDEM3) noise model considered by Gidney et al. [3].

55Our simulations are run as follows.For each "target distance" d (the code distance for that lattice size in the absence of defects) we construct a 2d × 3d planar honeycomb patch (see Fig. 1 for a d = 4 example).We then sample defective data qubits from this patch with probability p defect , and adapt the honeycomb code according to the algorithm discussed above.We then generate Stim circuits for running a 3d-sub-round quantum memory experiment using this code for both logical observables [25].Finally, the measurement results for these experiments are decoded using PyMatching [26].

56Because each sample of fabrication defects requires a different Stim circuit, providing a complete set of Stim circuits generated in these experiments would be impractical.Instead, we provide some example Stim circuits in Ref. [36].

Percolation threshold

57First, we benchmark how well this method preserves a logical qubit under fabrication defects.As a reminder, the logical observable on the honeycomb code is a product of Pauli operators on qubits in a non-trivial cycle for the periodic case, or in a path between two boundaries of the same type for the planar case.Such a cycle or path can still be created when using this method to account for fabrication defects as long as a super-plaquette does not form a non-trivial cycle or path between two boundaries itself.Hence we are interested in the probability for the modified graph to percolate at various fabrication defect probabilities.

58We estimate the probability of successfully preserving the logical observables using Monte Carlo sampling.First, we generate instances of the honeycomb code lattice for target code distances ranging from d = 3 to d = 7.We then select fabrication defect probabilities up to 14%.For each distance and defect rate, we generate up to 10,000 samples of defective qubits, and used the method described in Sec. 3 to adjust the code for them.We then estimate the probability that, when the algorithm was applied, the resulting graph did not percolate.Finally, we estimate a percolation threshold using second-order approximation methods, as described in Chapter 4 of Ref. [37].Since this is only a property of the graph and the algorithm described above, the resulting percolating probabilities should apply to all Floquet codes defined on this lattice, not just the honeycomb code.

59The results are presented in Fig. 5, with close-to-threshold data in Fig. 5b.We find that applying these techniques to the honeycomb code achieves a percolation threshold of approximately 13.1 ± 0.1%, which is comparable to the percolation threshold found for the surface code of just under 16% [19].

Average effective Pauli distance

60Next, we benchmark the effective Pauli distance for each sample.As before, we start with target Pauli distances ranging from 3 to 7, defect probabilities ranging from 1% to 14%, and generate up to 10,000 defect samples for each target distance and defect probability.Each circuit is then implemented in Stim with Pauli noise inserted, and the distances for both the horizontal and vertical observables are estimated using Stim's functionality for finding the shortest graph-like error [25].Note that if a code graph fails to percolate, then the effective distance is taken to be zero.

61The results are presented in Fig. 6.By plotting the average effective distance on a log scale we find that for a code with a fixed target distance, the effective distance decreases exponentially with the defect probability up to the percolation threshold.However, for small defect probabilities the expected distance grows linearly with the target distance, indicating the possibility of a non-zero Pauli threshold.We will show below that such a threshold exists for defect probabilities up to roughly the percolation threshold in Sec.4.3.This means that if the probability of a qubit being defective is sufficiently small, achieving a desired Pauli distance is simply a case of creating a sufficiently large patch.

Pauli error threshold

62Finally, we investigate how the Pauli error threshold changes depending on the fabrication defect probability.For each target distance d and fabrication defect probability p defect , we generate 1,000 defect samples and adapt the code to these defects.For each code instance, if the resulting graph percolates, we next generate Stim [25] circuits for a 3d-sub-round quantum memory experiment and insert Pauli noise with varying error probabilities p Pauli .We then collect 100,000 quantum memory experiment samples, for each code instance and for each observable (both horizontal and vertical).We then decode each experiment.For horizontal and vertical logical error probabilities p H and p V we estimate an overall logical error probability for a given experiment as

63which is the estimated probability of either logical error occuring.We average p L across all generated defect samples whose resulting code graphs percolate.Since this results in an estimate to the logical failure probability given that the graph percolates, we can use this to estimate the overall failure probability p F for a given defect probability and target distance as

64where p perc is the probability that the code manages to successfully percolate.In the above, we consider any non-percolating case as a logical failure.Finally, from these logical error probabilities a threshold is estimated.This is done by approximating logical error rates close to threshold as quadratically dependent on x = (p Pauli − p 0 )d 1/ν 0 , where p 0 is the Pauli error threshold and ν 0 is a critical exponent for the transition (see Chapter 4 of Ref. [37]).An example fit at p defect = 6% is shown in Fig. 7a, with the resulting threshold presented alongside Pauli error rates in Fig. 7b.Further data at other defect probabilities are provided in Appendix F.

65The results are presented in Fig. 8.We fit the Pauli error threshold to an exponential function of p defect , where p defect is the independent probability of a qubit being defective.This exponential function provides a reliable fit up to a defect probability of 9%.At p defect ≥ 10%, all target distances simulated had an effective Pauli distance ≲ 1 (see Fig. 6), which is likely contributing to this drop-off in threshold.However, note that the exponential fit is guaranteed to be inaccurate around the percolation threshold, where the Pauli error threshold goes to zero exactly.

66The performance found is similar to that seen in the surface code, where Pauli thresholds have been shown to scale as 7 × 10 −3 exp(−22p defect ) [19].Note that the surface code simulations in Auger et al. [19] use a slightly different circuit-level noise model to that used here.The parameters we find for the exponential fit may change if one were to replace MPP gates with measurement circuits.It is notable, however, that for hardware with native MPP gates, such as Majorana Fermions [4,33], the code performance with finite p defect is very close to that of the surface code.

67Despite the small average effective distances for p defect ≥ 10%, we find clear evidence for sub-threshold behaviour at p defect = 10% (see Appendix F).The evidence for p defect > 10% is less clear, although our fits indicate a positive threshold.

Hardware-specific improvements

68Throughout this paper, we have made minimal assumptions about the underlying hardware: the constraints we have for implementing our modified Floquet codes are the same as the constraints for implementing the original codes in a defect-free lattice.

69In this section we will now discuss what extensions can be made when we know more about the quantum hardware.First, we propose an improvement that can be made if the Floquet code is being implemented on a square lattice-which is common in superconducting quantum computers [27][28][29]-by taking advantage of extra connectivity which is not used in the original code.And second, we propose an improvement that can be made on the heavy hex lattice used in IBM quantum processors [30], by treating defective auxiliary qubits as a defective connection rather than a defective data qubit.Further details on using additional connectivity and accommodating defective connections can be found in Appendices A and G, respectively.

Accommodating defective qubits on a square lattice

70One key benefit of Floquet codes compared to other error-correcting codes is the low connectivity requirements: each data qubit only needs to be connected to three other data qubits, and each measurement involves only two data qubits.But what if the device does have extra connectivity?Many quantum devices, for instance, have connections based on a square lattice rather than a hexagonal lattice [27][28][29].

71It is possible to implement Floquet codes such as the honeycomb code on a square lattice, through only using a subset of available connections on the device.An example of this is given in Fig. 9a, with unused connections shown in white.We are also therefore able to accommodate defective qubits without these additional connections using the strategy described in Sec. 3, as shown in Fig. 9b.As before, this techique involves reducing the shrink plaquettes to weight-2 and combine four merge plaquettes into one super-plaquette.

72However, there is nothing stopping us from using these additional connections in the quantum hardware.In Fig. 9c, we instead reduce the shrink plaquettes to weight-4, and combine only two merge plaquettes together.This can be done by using two additional connections available on the square lattice.The result is a smaller super-plaquette, leading to a higher distance: the horizontal distance is reduced by one and the vertical distance is unchanged, compared to both being reduced by one when not using extra connectivity.It is worth noting that this ability to take advantage of additional connectivity is not unique to the square lattice, and can in fact be used to better accommodate defects in a number of different hardware layouts.We provide further details on how to take advantage of extra connections in hardware in Appendix A.

Accommodating defective qubits on a heavy hex lattice

73So far we have only considered defective data qubits on the honeycomb code.But what if a device has faulty connections rather than defective qubits?This is especially relevant for implementing Floquet codes on, for example, the heavy hex lattice used in IBM quantum processors [30].The heavy hex lattice is similar to the hexagonal lattice used for the honeycomb code, but with "auxiliary qubits" on the edges of the lattice.An example of a heavy hex lattice with the honeycomb code colouring is presented in Fig. 10a.Twobody measurements between "data qubits" on the vertices can then be measured using an auxiliary syndrome extraction circuit [38], thus allowing us to implement the honeycomb code on the heavy hex lattice [2,3].Defective data qubits can be removed using the same strategy as in Sec. 3, and therefore will not be the focus of this section.

74If an auxiliary qubit is found to be defective, we can accommodate this by treating the neighbouring data qubits as defective and removing them using the algorithm in Sec.3.1.The result of this approach is presented in Fig. 10b.This involves removing two data qubits and seven auxiliary qubits.We also split two plaquettes into weight-two plaquettes and merge four plaquettes into one super-plaquette.

75Alternatively, we are able to treat the defective auxiliary qubit as a defective connection.In Appendix G, we present an approach for removing defective connections from Floquet codes while maintaining the same properties of tri-valence and 3-face-colourability.By using this approach to remove just the defective connection rather than the data qubits incident to that connection, we are able to create the Floquet code shown in Fig. 10c.This approach removes no data qubits, and only removes three auxiliary qubits.It also only requires one plaquette to be split into three weight-2 plaquettes, and only three plaquettes Removing the defective auxiliary qubit by using the algorithm described in Sec.3.1 to remove the two adjacent data qubits.(c) Removing the defective auxiliary qubit by treating it as a defective connection and following the approach described in Appendix G. Removed qubits alongside the qubit are shown in blue, with their connections shown in orange.For weight-2 plaquettes, the auxiliary qubits are placed in the middle of the plaquettes to indicate that the same auxiliary qubit can be used to measure both edges; this requires no modifications to the heavy hex lattice.

76need to be merged into a super-plaquette.It reduces both horizontal and vertical distances by one, whereas the code shown in Fig. 10b has vertical distance reduced by two.This technique can also be used to accommodate a defective connection between a data qubit and an auxiliary qubit, by treating the auxiliary qubit incident to the connection as defective.It is interesting to compare this to the surface code, where defective connections are mapped to a defective data qubit rather than a defective auxiliary qubit [19].

Conclusion

77In this work, we have provided new methods for accommodating fabrication defects on the honeycomb code.In doing so, we do not require any additional connectivity beyond what is required for the original code, nor do we require any modifications to the measurement schedule.We have also shown that our method is optimal in terms of the number of qubits, stabilisers, and connections removed from the lattice.Through simulations, we have shown the code to be scalable up to a defect probability of 13%.Finally, we have shown that further improvements can be made depending on the underlying hardware, by taking advantage of extra connectivity or defective connections.

78Our work is generalisable beyond the honeycomb code, owing to the adapted lattices maintaining tri-valence and 3-face-colourability and imposing no additional requirements on the measurement schedule of a Floquet code implemented.Thus, any Floquet code which can be implemented on such a lattice can be adapted for implementation on a lattice with defects removed (see Appendix C).However, moving beyond these codes considered would require adapting our method.Examples of Floquet codes outside of this class are the 2-D "Floquet colour code" of Ref. [35], all 3-D Floquet codes [24,35,39] and Floquet codes with twist defects [40].There are also other static codes which can be defined on a tri-valent, 3-face-colourable graph, with the best-known example being the colour code [41,42].It is likely possible to adapt our method to such static codes.

79While we have discussed how to implement this strategy when there are hardware defects known at the start of the experiment, one area that needs further work is accommodating defects which occur in the middle of an experiment, such as via high-energy radiation, qubit loss or erasure noise.Qubit loss in the middle of the experiment, are common in both photonic and neutral atom systems [5,6,8,43].Different proposals for correcting erasure events (which can also model qubit loss) in Floquet codes have been studied, through either modifying the stabilisers around the erased qubits [44], or through introducing additional Pauli error mechanisms [45].A comparison of these methods to our code modifications around defects would be useful for Floquet code implementation in hardware.Aasen et al. also have proposals for identifying defective qubits mid-experiment [22].We believe our work can also be adapted to accommodate defects which occur midexperiment, but leave this for future work.

80There are also other more damaging noise models one can consider.Two such models are leakage, where a qubit enters a state outside of the computational subspace [11], and high-energy events where large numbers of qubits can be impacted at the same time [14].Both of these forms of error can be accommodated through a combination of identifying the error locations and adapting the codes accordingly, for which our method could be applied [12,46].Leakage can also be tackled using dedicated operations known as leakage reduction units [9,47].Future work could adapt these techniques to correct for leakage in Floquet codes.[47] Panos Aliferis and Barbara Maria Terhal."Fault-tolerant quantum computation for local leakage faults".Quantum Inf.Comput.

A Improvements with extra connectivity

81We now demonstrate the improvements that are possible given extra connectivity in the quantum processor: that is, given the ability to measure check operators between pairs of qubits not connected in the honeycomb lattice.We show how extra connectivity allows us to achieve optimal edge removal for a single defect.This is interesting as the underlying quantum hardware on which one intends to perform a honeycomb code experiment, for example, may be a square grid [27][28][29].Figure 11 shows how the size of super-plaquettes can be reduced when extra connectivity is usable.In Fig. 11a, we shrink the green and blue hexagonal plaquettes to the weight-4 plaquettes shown and merge two red plaquettes into a weight-10 plaquette.This is possible with a square-grid-connected hardware.Alternatively, as shown in Fig. 11b, we can form the same plaquettes around the defect but choose a vertical defect edge.With the above strategy, a single defect reduces either the horizontal or vertical Pauli distance by one, while leaving the other unchanged.Moreover, we can accommodate the defect while removing five connections from the code lattice, and adding two, resulting in a net loss of three connections.We show in Appendix B that any strategy for removing a defective qubit must removal at least three connections, meaning that this approach is optimal in this regard.Given these improvements, we therefore expect that the performance of Floquet codes with defective qubits, given this extra connectivity, would be improved: the percolation threshold would likely be higher, and the performance under Pauli noise likely better.

B Super-plaquette algorithm and minimal removal of qubits, plaquettes and edges

82We begin this Appendix by commenting on why the algorithm presented in Sec.3.1 preserves the important features of the lattice for defining the updated Floquet code: trivalence and 3-face-colourability.We do this for the bulk of the code and note that the result follows for the boundary by cutting out the patch used, as explained in the main text.The first three steps of the algorithm simply involve selecting shrink and merge plaquettes.There will be exactly two shrink plaquettes.Let K 1 (resp.K 2 ) be the weight of the first (resp.second) shrink plaquette.The first (resp.second) shrink plaquette is adjacent to K 1 /2 (resp.K 2 /2) merge plaquettes, with two merge plaquettes being incident to both shrink plaquettes.Therefore the total number of merge plaquettes is

83Now notice that the edges in shrink plaquettes of type T ̸ = D (where D is the defect edge basis) do not feature in any plaquette after the algorithm is applied: they are removed from the lattice (see Fig. 2).However, every qubit adjacent to such an edge in the original lattice (apart from the two removed qubits) is adjacent to an additional edge introduced in Step 4 of the algorithm.Hence, each vertex in the updated lattice remains adjacent to three edges as required.Now, for 3-face-colourability, note that the two-body plaquettes are guaranteed to be adjacent to the super-plaquette, call it S 1 , and one other plaquette from the original lattice, call it S 2 .By 3-face-colourability of the original lattice, since a two-body plaquette inherits the colouring of the parent shrink plaquette, it is coloured differently to S 1 (which by construction is the same colour as a merge plaquette) and to S 2 .Meanwhile, the super-plaquette is adjacent to two-body plaquettes (which we have seen must be coloured differently to it) or to plaquettes of the original lattice adjacent to a merge plaquette, which we assume are coloured differently to it.Hence both types of newly added plaquette are adjacent to no other plaquettes of the same colour in the updated lattice.This is sufficient to conclude that the resulting lattice remains 3-face-colourable.

84We will now show that the algorithm in Sec.3.1 is optimal in terms of qubits, plaquettes and edges removed.As before, we will focus on the issue of removing a defective qubit in the bulk of the code.For the purpose of this proof, we will assume that code has periodic boundary conditions, meaning that the underlying graph is on a torus.Note that a code with planar boundary conditions can be embedded within a larger code with periodic boundary conditions [3].This means that an optimal strategy for accommodating defects in the bulk of a planar Floquet code cannot perform better than an optimal strategy for accommodating defects in a Floquet code with periodic boundary conditions.

85Tri-valence on the torus requires that E = 3V /2, where E is the number of edges and V is the number of vertices in the graph.This constraint is incompatible with an odd number of vertices, and hence we cannot remove just a single qubit.If two qubits are removed, the number of vertices becomes Ṽ = V − 2, and tri-valence dictates that the number of edges becomes Ẽ = 3 Ṽ /2 = 3V /2 − 3.

86The Euler characteristic on a torus is χ = V − E + F = 0, where F is the number of plaquettes.Having removed two qubits and three edges, the Euler characteristic becomes Figure 12: Vertices which violate the tri-valence requirements of Floquet codes when removing a defective qubit.(a) After removing edges incident to the defective qubit and its neighbour, four nonadjacent vertices in green are degree-2, thus requiring additional edges.(b) After adding more edges to correct the degree-2 vertices, four vertices in blue are degree-4, meaning that edges incident to these vertices must be removed.

87meaning that in order to maintain χ = 0, we must have F = F − 1.In summary, a scheme for removing a defective vertex from the lattice while maintaining 3-face-colourability and tri-valence must remove at least two vertices, three edges and one face.Therefore, the algorithm outlined in Sec.3.1 is optimal in terms of qubit, edge and plaquette removal.

88In our scheme, we remove certain edges from the honeycomb lattice and add extra edges along existing connections in the hardware, meaning that we effectively remove some connections from the lattice (see white highlighted edges in Fig. 2c).This is necessary if we do not rely on extra connectivity in the hardware (i.e., we do not have edges between qubits that are not connected in the honeycomb lattice).Indeed, our scheme is also optimal in terms of the connections that are removed from the lattice.

89To see this, we first note that we must remove edges that are adjacent to removed qubits (there are five of these).An example is shown in Fig. 12a.Note that we now have four vertices of degree two, which are coloured in green.To maintain tri-valence after this removal, we must include at least four extra edges, since there are four degree-2 vertices in the resulting lattice, and none of these vertices are adjacent to each other.Indeed these extra edges must lie along existing connections in the lattice in order to avoid requiring additional connections in hardware.Adding these extra edges makes these vertices degree-3, but now leads to four vertices of degree four.One instance is shown in Fig. 12b, with the degree-4 vertices in blue.

90In order to reduce these vertices to degree-3, we need to remove at least two edges from the original graph, as each edge removed will reduce the degree of the vertices it is incident to by one * .Hence, our scheme is also optimal in terms of the connections that are removed from the lattice.Note that we do not claim optimality for non-trivial combinations of defects, since then one must, for example, carefully choose the defect edges to achieve the optimal result.We do not have an optimal algorithm for such a choice, rather we use simplifying heursitics towards optimality (see Appendix D).

91It is worth noting that the method in Sec.IIC of Ref. [22] does correct for a defective qubit on the honeycomb code while only removing one vertex, one edge, and no faces.This is achieved by violating the tri-valence requirement.The resulting Floquet code requires both extra connectivity and a more complex measurement schedule.This is an intriguing method, but the necessary modifications of the lattice and measurement schedule make its applicability to other Floquet codes, or to the planar honeycomb code, non-trivial.It is also unclear how to accommodate multiple defects using that method.

C Applicability to other Floquet codes

92In this appendix, we discuss how the techniques described in Sec. 3 can be applied to other 2-D Floquet codes.Many 2-D Floquet codes can be defined on a colour code lattice, including the 4.8.8Floquet code, the hyperbolic Floquet codes and the CSS Floquet code [4,23,24,48,49].These codes can be adapted to accommodate defective qubits by selecting a defect edge incident to the defective qubit, along with selecting the merge and shrink plaquettes in the same way as in Steps 2 and 3 as described in Sec.3.1, with the rest of the super-plaquette algorithm following naturally.The only step that may change is Step 4, wherein we choose bases for the added edges.However, if one can make an identification of edge basis with edge colour (see, e.g., Ref. [23]), then this modification is simple.

93In cases where edge measurements are defined using an orientation rather than a colouring (see Ref. [1]), one simply needs to define the orientation of the newly added lattice edges consistently such that the formed super-plaquette commutes with all edge measurements.This can involve edges of a mixed Pauli basis (e.g., XY measurements), but the code adaptation in such cases is not complicated; just as in the original algorithm, there will only be one possible choice for these edge bases.For the schedule of the modified code, we assume again that there is an identification between the edges measured in each sub-round and the colour of those edges (e.g., red XX edge measurements performed in the first sub-round of the honeycomb code [2]).This ensures that qubits are only involved in one measurement during each sub-round.If this assumption holds, adapting the schedule to the new lattice is straight-forward.

94Even if the bulk of the lattice does not change there are different ways of implementing the boundaries of Floquet codes.In this paper we have focused on the boundary method described by Gidney, Newman and McEwen [3].However, there is also an alternative method for implementing boundaries used in Refs.[4,34], by introducing additional weight-2 plaquettes.The strategy can be similarly employed to accommodate defects on these instances of the planar honeycomb code through the same process as before: embedding the patch in the bulk of a larger honeycomb code, removing the defects via the

D Details on defect edge selection

95We will now provide further details on our choice of heuristics for the defect edge selection and why they are beneficial.As a reminder, our aim with these heuristics is to keep the super-plaquettes small and in the bulk of the code where possible.The first and simplest heuristic is that if two defective qubits are adjacent to each other, it is worth choosing the defect edge to be the edge connecting them.This allows us to remove two defective qubits with the same overhead as just removing a single defect.

96Our second heuristic concerns defective qubits which lie on already-formed superplaquettes.An example of such a defect is provided in Fig. 14a.In Fig. 14b, the red edge incident to the defective qubit is selected, meaning that the super-plaquette is selected as a merge plaquette.If instead the green edge incident to the defective qubit is selected, as in Fig. 14c, the original super-plaquette is selected as a shrink plaquette.The result is a green super-plaquette which is larger than the red super-plaquette formed in Fig. 14b, as well as several pairs of functioning qubits which are now disconnected from the rest of the code.As a result, if a defective qubit is on an already-formed super-plaquette we choose the defect edge to be the same colour as said super-plaquette.

97Our next heuristic concerns defective qubits which lie near but not directly on alreadyformed super-plaquettes.In Fig. 15a, a defective qubit is directly below an already-formed super-plaquette.In Fig. 15b, we have selected the defect edge to not be incident to the already-formed super-plaquette, resulting in two super-plaquettes being formed in blue and green.Compare with Fig. 15c, where the defect edge selected is incident to the already-formed super-plaquette.This results in the blue super-plaquette being selected as a merge plaquette, leading to a single larger super-plaquette.A small number of larger super-plaquettes will reduce the code distance faster than a large number of smaller super- The defect edge is selected to be an edge that connects two red plaquettes, matching the colour of the already formed super-plaquette.(c) The defect edge is selected to be an edge that connects two green plaquettes, meaning that the previously formed red super-plaquette now needs to be shrunk.

98plaquettes, hence we prioritise selecting edges which are not incident to already-formed super-plaquettes.

99If none of the previous cases apply, we consider the orientation of the defect edge.Figure 16 shows two examples of removing defective qubits by selecting an incident red edge as the defect edge.In Fig. 16a, the red edge is a vertical edge, whereas in Fig. 16b, the red edge is a horizontal edge.Also shown in red are edges which denote the lowestweight horizontal and vertical logical errors: if two-qubit ZZ or Y Y errors were to occur on these edges after measuring the red edges, the result could be a logical error (see Fig. 1 for the positions in the measurement schedule at which these errors would be logical).We can note that the horizontal Pauli distance is reduced by one in both cases.However, if a vertical edge is selected, as in Fig. 16a, the vertical Pauli distance is only reduced by one.On the other hand, if a horizontal edge is selected, as in Fig. 16b, the vertical Pauli distance is reduced by two.This is because when a horizontal defect edge is selected the merge plaquettes align with the vertical logical operators, whereas if a vertical defect edge is selected the merge plaquettes lie diagonally across the code.As a result, we prefer selecting vertical edges over horizontal edges where possible.

100Our final heuristic concerns defects which are close to boundaries. Figure 17 illustrates two examples of removing a defect close to a horizontal boundary of the honeycomb code.In Fig. 17a, the defect edge is selected such that the resulting super-plaquette is in the bulk of the code.As this super-plaquette is in the bulk of the code, it commutes with the measurements in every round and is therefore deterministically measured twice every six sub-rounds.In comparison, Fig. 17b shows a defect edge selected such that the super-plaquette lies on the boundary of the code.The single-qubit measurements on the boundary anti-commute with the stabiliser formed by this plaquette, meaning that for this stabiliser is deterministically measured only once every six sub-rounds.To avoid having large non-deterministic stabiliser measurements, we prioritise selecting defect edges which are pointing away from the nearest code boundaries where possible.Figure 18: Evolution of the logical operators around a defective qubit in the periodic honeycomb code.White lines denote the logical strings.The vertical string uses a newly-added edge incident to a weight-2 plaquette, whilst the horizontal string uses an edge that existed in the original code.Circles denote qubits that form the logical operators, with the colour indicating basis.Arrows denote the next round of measurements (red for X edges, green for Y and blue for Z).Note that there are two other logical operators along the same paths but offset by three sub-rounds, these have not been drawn here for simplicity.

E Evolution of the logical operators

101As mentioned in Sec.3.3, the logical operators are multi-qubit Pauli operators along nontrivial strings in the lattice.If a qubit or edge along a string is removed because of the algorithm in Sec.3.1, a path-finding algorithm can be used to find an alternative string.An important aspect of Floquet codes is that with each sub-round of measurements, the results of measurements between pairs of qubits on an observable string are multiplied in to the result of the logical observable [1,2].This is to ensure that the logical observable commutes with each subsequent QEC sub-round.

102Figure 18 shows how the operator strings evolve around a defective qubit in the periodic honeycomb code.This allows us to verify that during each QEC sub-round the logical operators commute with the measurements in the next sub-round and anti-commute with each other.

103The operators in the honeycomb code with planar boundary conditions evolve differently compared to the honeycomb code with periodic boundary conditions, as the introduction of boundaries leads to measurements which anti-commute with the observable The horizontal string uses a newly-added edge incident to a weight-2 plaquette, whilst the vertical string uses an edge that existed in the original code.Measurements along red edges do not contribute to the logical operators in the planar case.

104if the periodic schedule is followed [1].To avoid this, two modifications are made to the code: first, the measurement schedule is modified to become a period-6 schedule of R → G → B → R → B → G; and second, the results of red measurements are not multiplied in to the logical operators [3,4,34].Figure 19 illustrates how the logical operators evolve on a planar honeycomb code with a defective qubit on the boundary.Again, we can note that the operators commute with each QEC sub-round, and that the two operators anti-commute with each other.

105It is curious to note in Figs.18 and 19 that when the strings are incident to a weight-2 plaquette there is a choice in which edge to include, as both edges connect the same pair of qubits.For instance, in Fig. 18 (resp.Fig. 19), the vertical (resp.horizontal) logical operator includes one of the newly added edges.As long as measurement results from only one of the two edges is included in the operator, the logical qubit can be preserved.Indeed, the two operator strings that can be formed based on edge choice are equivalent up to the weight-2 stabiliser.This shows that the path-finding algorithm can use both edges in the original code and newly-added edges when constructing the new logical strings.

F Additional numerical results

106In this Appendix we present additional data from which we extracted the Pauli thresholds presented in Fig. 8.In Fig. 20, we display close-to-threshold average logical failure probabilities, averaged over 1,000 realisations with defects randomly sampled, for p defect > 0%, and 100,000 error correction shots for each realisation.We display both the raw data and the scaling collapse of the data.For the latter, we plot x = (p Pauli − p 0 )d 1/ν 0 against the (average) logical failure probability, where p 0 and ν 0 are the threshold and critical exponent taken from a best fit.We also plot a quadratic best fit for each of these scaling collapse plots [37].The scaling collapse plots indicate the presence of some finite-size effects-evident from systematic deviations from the best fit lines-which become particularly noticeable close to the percolation threshold of p defect ≈ 13%.As such, the standard errors on the thresholds indicated may under-estimate the true error, owing to our inability to simulate larger code distances, since the error incorporates the errors on the data points but not a systematic error due to limited applicability of the scaling assumptions.

107However, it is clear that thresholds exist up to at least p defect = 10% (see Fig. 20k), where a monotonic decrease in average logical failure probability with distance is seen at low p Pauli .For p defect = 12%, we do not see such a clean demonstration of sub-threshold behaviour: larger system sizes and/or more realisations would likely be required to clearly demonstrate the existence of a threshold.However, we do see some increase in the code performance with target distance.

G Strategy for removing defective connections

108We shall now discuss how to adapt a Floquet code when the qubits themselves are functioning properly but there are defective connections between pairs of qubits.As before, we assume that these defective connections are identified in advance through calibration of the device.

109In the surface code, a defective connection between a data qubit and a measurement qubit can be removed by treating the data qubit as defective [19].One can apply the same technique to Floquet codes (see Sec. 5.2), but improvements on this strategy are possible.With an improved strategy, one can remove defective connections from a Floquet code with no additional connections, no schedule modifications, and without removing any data qubits.

110Our strategy for accommodating defective connections is shown in Fig. 21.Initially, the defective connection is shown in orange in Fig. 21a.This edge connects two red plaquettes, and is incident to one green plaquette and one blue plaquette.

111The main difference between this strategy and the strategy in Sec.3.1 is the choice of merge and split plaquettes.Using the algorithm in Sec.3.1, we would choose to split the blue and green plaquettes incident to the defect edge and merge surrounding red plaquettes.Instead, we choose one plaquette incident to the defective edge to be the split plaquette.The other plaquette incident to the defect edge is chosen to be a merge plaquette, with the other merge plaquettes being the plaquettes of the same type which are adjacent to the split plaquette.In Fig. 21a, we have chosen to split the blue plaquette incident to the defective connection and merge the three green plaquettes adjacent to this blue plaquette.

112Having chosen our merge and split plaquettes, we then proceed using Steps 4-7 of the algorithm in Sec.3.1.First, in Fig. 21b, we split the blue plaquette into weight-2 plaquettes by introducing additional red edges.Then, in Fig. 21c we use the newly-added (c) A plaquette on the boundary is chosen as the split plaquette, which has the unintended effect of introducing two green weight-1 plaquettes.These weight-1 plaquettes will be nondeterministic throughout the whole experiment, thus choosing to split the green boundary plaquette is not possible in this case.

113red edges to merge the green plaquettes into a super-plaquette.The resulting graph is tri-valent and three-face-colourable, meaning that a valid Floquet code can be constructed from it, without needing to remove any data qubits.

114The result has some similarities with the strategy for removing defective qubits outlined in Sec. 3. First, any newly-added edges are between qubits which are already connected, so no additional hardware connections or measurement schedule modifications are required.We can also see that this strategy can be run iteratively to accommodate multiple defective connections.Finally, this strategy can be applied not just to the honeycomb code, but to other Floquet codes defined on the 2-D colour code lattice.

115If a defective connection is incident to a qubit on the boundary, we can apply the same strategy as in Sec.3.2 of embedding the patch into a larger Floquet code, applying the connection removal strategy, and then cutting the boundary out again.We give examples of applying this method to defective connections on the horizontal and vertical boundaries in Fig. 22.Note however that some care must be taken when choosing merge and split plaquettes.For example, in Fig. 22c, a plaquette on the boundary has been selected as the split plaquette.This has the unintended consequence of creating two weightone corner plaquettes.These plaquettes are inherently non-deterministic throughout the whole computation, potentially reducing the code distance and logical fidelity, and should therefore be avoided.

Figure 3 :

116Figure 3: Removing two defective qubits from the bulk of the honeycomb code.(a) Defective qubits are in red, defect edges in orange and the neighbouring qubits to remove in blue.Merge and shrink plaquettes are highlighted for both defects, with shrink plaquettes in blue & green and merge plaquettes in red.(b) The modified lattice after the bottom defect edge is removed, cf.Fig. 2. (c) The modified lattice after both defect edges are removed.

Figure 4 :

117Figure 4: Removing defective qubits on the (a) horizontal and (b) vertical boundaries of the honeycomb code.(c) A boundary edge is selected as a defect edge, which has the unintended effect of introducing two corner plaquettes (of weight 1) in red and green.Thus choosing this edge as the defective edge is not possible.

Figure 5 :

118Figure 5: Probabilities for the graph to percolate when the super-plaquette strategy is used to remove fabrication defects for varying defect probabilities and target distances d.Error bars indicate standard error of the mean.(a) Unfitted data averaged over 10,000 realisations.(b) Curve fits to the close-tothreshold data (averaged over 6,000 realisations) are shown.The critical defect probability is around 13.1 ± 0.1%, as indicated by the red lines.

Figure 6 :

119Figure 6: Average effective Pauli distance found for given target distances and defect probabilities.Error bars indicate standard error of the mean.

Figure 7 :

120Figure 7: Estimating a Pauli error threshold at p defect = 6%.(a) Rescaled data x = (p − p 0 )d 1/ν0 is plotted against average logical error probability, along with a quadratic best fit.(b) Average logical error probability for various Pauli noise parameters, with estimated Pauli threshold (and error) in red.

Figure 8 :

121Figure 8: Pauli error thresholds for varying qubit defect probabilities.The points are fitted to the exponential function A exp(Bp defect ), where p defect is the defect probability, A = (8.1 ± 0.2) × 10 −3 and B = −21.4± 0.9.As can be seen, the accuracy of the exponential fit is significantly reduced close to the percolation threshold.At p defect ≈ 13%, no Pauli error threshold exists.

Figure 9 :

122Figure9: Removing a defective qubit from a Floquet code implemented on a square lattice.(a) An implementation of the honeycomb code on a square lattice.White edges denote edges which are not used in the experiment.A defective qubit is shown in red.(b) Removing the defective qubit using the algorithm described in Sec. 3.This method uses the same connections as used by the original honeycomb code.(c) Removing the defective qubit using two edges which are not used in the honeycomb code but are available in the square lattice to reduce the size of the super-plaquette.

Figure 10 :

123Figure 10: Removing a defective auxiliary qubit from a Floquet code implemented on a heavy hex lattice.(a) An implementation of the honeycomb code on the heavy hex lattice.Auxiliary qubits on the edges of the hexagonal lattice are shown in grey, with one defective auxiliary qubit shown in red.(b)Removing the defective auxiliary qubit by using the algorithm described in Sec.3.1 to remove the two adjacent data qubits.(c) Removing the defective auxiliary qubit by treating it as a defective connection and following the approach described in Appendix G. Removed qubits alongside the qubit are shown in blue, with their connections shown in orange.For weight-2 plaquettes, the auxiliary qubits are placed in the middle of the plaquettes to indicate that the same auxiliary qubit can be used to measure both edges; this requires no modifications to the heavy hex lattice.

Figure 11 :

124Figure 11: Super-plaquettes and weight-4 plaquettes for a single defect when extra connectivity (dashed lines) is present in the quantum hardware.(a) A horizontal defect edge is chosen.The resulting check operators are measurable for a square-grid connectivity.(b) A vertical defect edge is chosen.

Figure 13 :

125Figure 13: Applying the algorithm in Sec.3.1 to remove a (a) red, (b) green, and (c) blue defect edge incident to a defective qubit in the bulk of the 4.8.8Floquet code.

Figure 14 :

126Figure 14: Removing a defective qubit which is on an already-formed super-plaquette.(a) The initial layout, with the left defective qubit already removed, and the right defective qubit on the resulting super-plaquette.(b)The defect edge is selected to be an edge that connects two red plaquettes, matching the colour of the already formed super-plaquette.(c) The defect edge is selected to be an edge that connects two green plaquettes, meaning that the previously formed red super-plaquette now needs to be shrunk.

Figure 15 :Figure 16 :

127Figure15: Removing a defective qubit near an already-formed super-plaquette.(a) The initial layout, with the top defective qubit already removed from the code.(b) A defect edge is selected which is not incident to the already-formed super-plaquette, leading to one blue super-plaquette and one green super-plaquette being formed.(c) A defect edge is selected which is incident to the already-formed super-plaquette, resulting in a single larger blue super-plaquette.

Figure 17 :

128Figure 17: Removing a defective qubit close to the boundary.(a) The defect edge is pointing away from the boundary, resulting in a super-plaquette formed in the bulk of the code.(b) The defect edge is pointing towards the boundary, resulting in a super-plaquette on the boundary which is nondeterministic during certain QEC sub-rounds.

Figure 19 :

129Figure 19: Evolution of the logical operators around a defective qubit in the planar honeycomb code.The horizontal string uses a newly-added edge incident to a weight-2 plaquette, whilst the vertical string uses an edge that existed in the original code.Measurements along red edges do not contribute to the logical operators in the planar case.

Figure 21 :

130Figure 21: Strategy for removing defective connections from the bulk of the honeycomb code.(a)A defective connection between two otherwise functioning qubits is shown in orange.Merge and split plaquettes around the defective connection are highlighted.In this example there is one split plaquette in blue, and three merge plaquettes in green.(b) The shrink plaquette is replaced with three weight-2 plaquettes, formed using newly-added edges highlighted in red.(c) The merge plaquettes are combined into a single super-stabiliser.Newly added edges are highlighted in red, while functioning edges which have been removed are shown in white.The defective connection, now light orange, no longer contributes to any stabilisers and can be removed.

Figure 22 :

131Figure 22: Removing defective connections on the (a) horizontal and (b) vertical boundaries of the honeycomb code.(c)A plaquette on the boundary is chosen as the split plaquette, which has the unintended effect of introducing two green weight-1 plaquettes.These weight-1 plaquettes will be nondeterministic throughout the whole experiment, thus choosing to split the green boundary plaquette is not possible in this case.

참고문헌 45건

  1. Upper bound for loss in practical topological-cluster-state quantum computing Physical Review A · American Physical Society · 2014 10.1103/physreva.90.052316
  2. Fault Tolerant Quantum Computation with Very High Threshold for Loss Errors Physical Review Letters · American Physical Society · 2010 10.1103/physrevlett.105.200502
  3. Codes for the quantum erasure channel Physical Review A · American Physical Society · 1997 10.1103/physreva.56.33
  4. Topological Quantum Distillation Physical Review Letters · American Physical Society · 2006 10.1103/physrevlett.97.180501
  5. Coping with qubit leakage in topological codes Physical Review A · American Physical Society · 2013 10.1103/physreva.88.042308
  6. Error correction and degeneracy in surface codes suffering loss Physical Review A · American Physical Society · 2010 10.1103/physreva.81.022317
  7. Fault-tolerant quantum computation 2002 10.1109/sfcs.1996.548464
  8. Understanding the effects of leakage in superconducting quantum-error-detection circuits Physical Review A · American Physical Society · 2013 10.1103/physreva.88.062329
  9. Surface code error correction on a defective lattice New Journal of Physics · IOP Publishing · 2017 10.1088/1367-2630/aa5918
  10. Scalable designs for quasiparticle-poisoning-protected topological quantum computation with Majorana zero modes Physical review. B./Physical review. B · American Physical Society · 2017 10.1103/physrevb.95.235305
  11. Fault-tolerance thresholds for the surface code with fabrication errors Physical review. A/Physical review, A · American Physical Society · 2017 10.1103/physreva.96.042316
  12. Handling leakage with subsystem codes New Journal of Physics · IOP Publishing · 2019 10.1088/1367-2630/ab3372
  13. Fault-tolerant quantum computation for local leakage faults Quantum Information and Computation · Rinton Press · 2007 10.26421/qic7.1-2-9
  14. Quantum supremacy using a programmable superconducting processor Nature · Nature Portfolio · 2019 10.1038/s41586-019-1666-5
  15. Impact of ionizing radiation on superconducting qubit coherence Nature · Nature Portfolio · 2020 101038s4158602026198
  16. Surface code error correction on a defective lattice New Journal of Physics · IOP Publishing · 2017 10.1088/1367-2630/aa5918
  17. Fault-tolerant quantum computation with nondeterministic entangling gates Physical review. A/Physical review, A · American Physical Society · 2018 10.1103/physreva.97.030301
  18. Impact of ionizing radiation on superconducting qubit coherence Nature · Nature Portfolio · 2020 10.1038/s41586-020-2619-8
  19. Stim: a fast stabilizer circuit simulator Quantum · Verein zur Förderung des Open Access Publizierens in den Quantenwissenschaften · 2021 1022331q20210706497
  20. Resolving catastrophic error bursts from cosmic rays in large arrays of superconducting qubits Nature Physics · Nature Portfolio · 2021 10.1038/s41567-021-01432-8
  21. Exponential suppression of bit or phase errors with cyclic error correction Nature · Nature Portfolio · 2021 10.1038/s41586-021-03588-y
  22. Stim: a fast stabilizer circuit simulator Quantum · Verein zur Förderung des Open Access Publizierens in den Quantenwissenschaften · 2021 10.22331/q-2021-07-06-497
  23. Dynamically Generated Logical Qubits Quantum · Verein zur Förderung des Open Access Publizierens in den Quantenwissenschaften · 2021 10.22331/q-2021-10-19-564
  24. A Fault-Tolerant Honeycomb Memory Quantum · Verein zur Förderung des Open Access Publizierens in den Quantenwissenschaften · 2021 10.22331/q-2021-12-20-605
  25. Boundaries for the Honeycomb Code Quantum · Verein zur Förderung des Open Access Publizierens in den Quantenwissenschaften · 2022 10.22331/q-2022-04-21-693
  26. Quantum Computing is Scalable on a Planar Array of Qubits with Fabrication Defects Physical Review Applied · American Physical Society · 2023 10.1103/physrevapplied.19.064081
  27. Realizing repeated quantum error correction in a distance-three surface code Nature · Nature Portfolio · 2022 10.1038/s41586-022-04566-8
  28. Benchmarking the Planar Honeycomb Code Quantum · Verein zur Förderung des Open Access Publizierens in den Quantenwissenschaften · 2022 10.22331/q-2022-09-21-813
  29. Q3DE: A fault-tolerant quantum computer architecture for multi-bit burst errors by cosmic rays 2022 10.1109/micro56248.2022.00079
  30. Performance of Planar Floquet Codes with Majorana-Based Qubits PRX Quantum · American Physical Society · 2023 10.1103/prxquantum.4.010310
  31. Suppressing quantum errors by scaling a surface code logical qubit Nature · Nature Portfolio · 2023 10.1038/s41586-022-05434-1
  32. Floquet Codes without Parent Subsystem Codes PRX Quantum · American Physical Society · 2023 10.1103/prxquantum.4.020341
  33. Adaptive surface code for quantum error correction in the presence of temporary or permanent defects Quantum · Verein zur Förderung des Open Access Publizierens in den Quantenwissenschaften · 2023 10.22331/q-2023-07-25-1065
  34. Floquetifying the Colour Code Electronic Proceedings in Theoretical Computer Science · Open Publishing Association · 2023 10.4204/eptcs.384.14
  35. High-Threshold Quantum Computing by Fusing One-Dimensional Cluster States Physical Review Letters · American Physical Society · 2023 10.1103/physrevlett.131.120603
  36. Overcoming leakage in quantum error correction Nature Physics · Nature Portfolio · 2023 10.1038/s41567-023-02226-w
  37. High-Threshold Codes for Neutral-Atom Qubits with Biased Erasure Errors Physical Review X · American Physical Society · 2023 10.1103/physrevx.13.041013
  38. <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>X</mml:mi></mml:math> -cube Floquet code: A dynamical quantum error correcting code with a subextensive number of logical qubits Physical review. B./Physical review. B · American Physical Society · 2023 10.1103/physrevb.108.205116
  39. Anyon Condensation and the Color Code PRX Quantum · American Physical Society · 2024 10.1103/prxquantum.5.010342
  40. Engineering 3D Floquet Codes by Rewinding PRX Quantum · American Physical Society · 2024 10.1103/prxquantum.5.020305
  41. Improved Pairwise Measurement-Based Surface Code Quantum · Verein zur Förderung des Open Access Publizierens in den Quantenwissenschaften · 2024 10.22331/q-2024-08-02-1429
  42. Quantum computation from dynamic automorphism codes Quantum · Verein zur Förderung des Open Access Publizierens in den Quantenwissenschaften · 2024 10.22331/q-2024-08-27-1448
  43. Constructions and Performance of Hyperbolic and Semi-Hyperbolic Floquet Codes PRX Quantum · American Physical Society · 2024 10.1103/prxquantum.5.040327
  44. Analysis of Quantum Error-Correcting Codes: Symplectic Lattice Codes and Toric Codes CaltechTHESIS (California Institute of Technology) · California Institute of Technology · 2019 10.7907/ahmq-eg82
  45. Stim circuits for 'Accommodating Fabrication Defects on Floquet Codes with Minimal Hardware Requirements' manuscript Zenodo (CERN European Organization for Nuclear Research) · European Organization for Nuclear Research · 2024 105281zenodo11241875