Analytical percolation theory for topological color codes under qubit loss
David Amaro, Jemma Bennett, Davide Vodola, Markus M\"uller

TL;DR
This paper analytically investigates the tolerance of topological color codes to qubit loss by connecting quantum error correction thresholds with classical percolation theory, providing a deeper understanding of their robustness.
Contribution
It introduces an analytical method to determine the qubit loss threshold in color codes using percolation theory, advancing the understanding of their error correction capabilities.
Findings
The threshold $p_c$ equals the bond-percolation threshold of the lattice.
The protocol erases a fraction $r(p)$ of edges to correct loss.
Logical information is protected if lost qubits do not fully support any logical operator.
Abstract
Quantum information theory has shown strong connections with classical statistical physics. For example, quantum error correcting codes like the surface and the color code present a tolerance to qubit loss that is related to the classical percolation threshold of the lattices where the codes are defined. Here we explore such connection to study analytically the tolerance of the color code when the protocol introduced in [Phys. Rev. Lett. , 060501 (2018)] to correct qubit losses is applied. This protocol is based on the removal of the lost qubit from the code, a neighboring qubit, and the lattice edges where these two qubits reside. We first obtain analytically the average fraction of edges that the protocol erases from the lattice to correct a fraction of qubit losses. Then, the threshold below which the logical information is protected corresponds…
| Geometry | Shrunk | Geometry | an. | num. | |||
|---|---|---|---|---|---|---|---|
| Red | square | ||||||
| 4.8.8 | Blue | d.b. square | |||||
| Green | d.b. square | ||||||
| Red | triangular | ||||||
| 6.6.6 | Blue | triangular | |||||
| Green | triangular | ||||||
| Red | kagome | ||||||
| 4.6.12 | Blue | d.b. triangular | |||||
| Green | d.b. hexagonal | ||||||
| Geometry | Shrunk | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Red | |||||||||||||
| 4.8.8 | Blue | ||||||||||||
| Green | |||||||||||||
| Red | |||||||||||||
| 6.6.6 | Blue | ||||||||||||
| Green | |||||||||||||
| Red | |||||||||||||
| 4.6.12 | Blue | ||||||||||||
| Green |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Analytical Percolation Theory for Topological Color Codes under Qubit Loss
David Amaro
Department of Physics, Swansea University, Singleton Park, Swansea SA2 8PP, United Kingdom.
Jemma Bennett
Department of Physics, Swansea University, Singleton Park, Swansea SA2 8PP, United Kingdom.
Department of Physics, Durham University, South Road, Durham DH1 3LE, United Kingdom.
Davide Vodola
Department of Physics, Swansea University, Singleton Park, Swansea SA2 8PP, United Kingdom.
Markus Müller
Department of Physics, Swansea University, Singleton Park, Swansea SA2 8PP, United Kingdom.
Abstract
Quantum information theory has shown strong connections with classical statistical physics. For example, quantum error correcting codes like the surface and the color code present a tolerance to qubit loss that is related to the classical percolation threshold of the lattices where the codes are defined. Here we explore such connection to study analytically the tolerance of the color code when the protocol introduced in [Phys. Rev. Lett. 121, 060501 (2018)] to correct qubit losses is applied. This protocol is based on the removal of the lost qubit from the code, a neighboring qubit, and the lattice edges where these two qubits reside. We first obtain analytically the average fraction of edges that the protocol erases from the lattice to correct a fraction of qubit losses. Then, the threshold below which the logical information is protected corresponds to the value of at which equals the bond-percolation threshold of the lattice. Moreover, we prove that the logical information is protected if and only if the set of lost qubits does not include the entire support of any logical operator. The results presented here open a route to an analytical understanding of the effects of qubit losses in topological quantum error codes.
I Introduction
Quantum information aims to process information by means of quantum systems in order to address problems that are hard to tackle for classical processors. It has shown strong connections with various fields like atomic, molecular and optical (AMO) physics Ladd et al. (2010), condensed matter Lewenstein et al. (2007); Amico et al. (2008), computer science Nielsen and Chuang (2000), and also classical statistical mechanics. The connection between quantum information and classical statistical mechanics has proven to be fruitful in both directions G. De las Cuevas (2013); Chubb and Flammia (2019); Zarei and Montakhab (2019). On the one hand a connection between measurement-based quantum computation and classical spin models has been used to show that the partition function of the 2D Ising model can generate the partition functions of all classical spin models Van den Nest et al. (2008); De las Cuevas et al. (2009); Xu et al. (2011); De las Cuevas and Cubitt (2016). Furthermore, some quantum algorithms have proven to efficiently approximate the partition function of classical spin models den Nest et al. (2007); G. De las Cuevas et al. (2011); Geraci and Lidar (2008); Lidar and Biham (1997); Somma et al. (2007). On the other hand, problems in quantum information have found a solution through their connection with solvable classical statistical problems, for instance, to determine which quantum circuits can be efficiently simulated classically Geraci and Lidar (2010), or to provide the critical loss threshold of topological quantum error correction (QEC) codes.
To date, topological QEC codes represent one of the most promising routes towards fault-tolerant quantum computation Browne (2014); Terhal (2015). The logical information is encoded in the joint state of multiple qubits, where information can be protected by applying QEC protocols against noise sources that introduce errors. These QEC protocols consist in the extraction of an error syndrome and the consequent application of a correction. Each QEC code has parameter regimes where errors can or can not be corrected and it was shown that the error threshold that separates those phases is related to the critical point of the order/disorder phase-transition of a statistical physics model Jahromi et al. (2013); Zarei and Montakhab (2018). For instance, the 2D surface code Kitaev (2003) and the color code Bombin and Martin-Delgado (2006, 2007) under computational (single-qubit bit and phase-flip) errors can be mapped to a 2D random-bond Ising model with two-body Dennis et al. (2002) and three-body interactions Katzgraber et al. (2009), respectively. Under computational errors and faulty stabilizer measurements the surface code maps to a 3D random-plaquette lattice gauge model Ohno et al. (2004), while the color code maps to a 3D Ising lattice gauge theory Andrist et al. (2011). In Chubb and Flammia (2019) the mapping was was recently extended to account for circuit-level noise in the surface code.
Another particularly damaging noise source is the loss of qubits. A qubit is lost when the information encoded in it can no longer be accessed due to the leakage of the qubit population out of the computational space, or due to the actual loss of particles or photons encoding the qubit. From the theoretical point of view, the loss of information carried by the lost qubits is related to the no-cloning theorem Bennett et al. (1997), and motivated the proposal of holographic QEC codes Almheiri et al. (2015); Pastawski et al. (2015). Here, the correspondence between the AdS and the CFT spacetimes is identified with the encoding of logical qubits into the multipartite state of the physical qubits. Moreover, in the existing experimental platforms for quantum computation, like trapped ions Brown et al. (2016), photons Barz (2015), cold atoms Bloch et al. (2008), or superconducting qubits Clarke and Wilhelm (2008), qubit loss comes in various incarnations like leakage from the computational space or the loss of particles hosting qubits from their traps. A number of protocols to remedy the effect of qubit loss have been proposed and put in practice for trapped ions Sherman et al. (2013), superconducting qubits Ghosh et al. (2013); Galiautdinov (2018); Strikis et al. (2019); Rol et al. (2019), photons Ralph et al. (2005); Yang et al. (2008), or quantum dots Mehl et al. (2015); Andrews et al. (2019); Chan and Wang (2019).
At the level of QEC codes, there are protocols Grassl et al. (1997); Suchara et al. (2015) to correct for the erasure channel, an error model where the position of the lost qubits is known. Some protocols Delfosse and Zémor (2017); Delfosse and Nickerson (2017) correct the erasure channel by reinitializing the lost qubits in their computational space and then measuring the stabilizers, producing computational errors at known locations. Another approach consists of removing the lost qubits from the lattice and redefining the code space without the removed qubits. For the surface code, this protocol, which also extends to computational errors, was proposed in Stace et al. (2009); Stace and Barrett (2010). By mapping the loss events to a percolation problem, it was shown that the surface code presents a tolerance against qubit loss of up to in the absence of other sources of error. The correction of qubit losses in the color code has the additional difficulty, compared to the surface code, that the lattice must preserve its trivalence and face-colorability after the code space redefinition. The determination of loss tolerance is of a practical importance for actual and future quantum processors as qubit loss is one of the noise sources of the existing physical platforms.
In Vodola et al. (2018) some of us proposed a protocol to correct qubit losses in the color code that achieved a tolerance of the and we showed that, similarly to the surface code, the tolerance of the color code to qubit loss is directly related to a generalized percolation process on the lattice of the color code. More recently, a protocol that consists of mapping the color code to the surface code was proposed in Aloshious et al. (2018).
In this work we argue that, given that some logical operators span the three so-called shrunk lattices, the critical qubit loss rate below which the logical information is still protected is directly related to the bond-percolation threshold of the shrunk lattices of the color code. Here is the critical value of the qubit loss rate at which the average fraction of edges erased from a shrunk lattice to correct a fraction of lost qubits equals the bond-percolation threshold of of the corresponding shrunk lattice. Then, by obtaining analytically, we are able to obtain analytically by solving , as is shown in Fig. 6. We apply this prescription to the three regular geometries of the color code and corroborate our results with numerical analysis. We also detail an algebraic technique described in Vodola et al. (2018) and apply it to the three lattices in order to obtain their fundamental qubit loss thresholds . As an additional result, we prove that the logical information is preserved by the loss of qubits if and only if the set of qubits removed from the lattice does not contain the support of any logical operator.
The paper is organized as follows. We start in Sec. II by introducing some key concepts about color codes and the notation required for the rest of the paper. Then, in Sec. III we review the protocol to correct color codes from qubit losses that was proposed in Vodola et al. (2018), highlight the connection between the tolerance to qubit loss of the color code with this protocol and the percolation of the color code lattice, and provide detail on the computation of the number of edges erased to correct a qubit loss instance with the protocol. In Sec. IV we analytically derive the relation between the average fraction of edges erased and the qubit loss rate . The Sec. V summarizes the results for the three regular geometries of the color code. In Sec. VI we provide an explicit recipe to compute up to any order in . Then, in Sec. VII we describe in detail the algebraic technique proposed in Vodola et al. (2018) to obtain the fundamental qubit loss rate , and provide the necessary and sufficient conditions for the existence of the logical information under qubit loss. The values of and are summarized in Table 1. Finally, we end with the conclusions and outlook in Sec. VIII.
II The color code
The color code Bombin and Martin-Delgado (2006) is a topological QEC code that protects the logical quantum information by encoding it into a subspace (the code space) of a multi-qubit system. The qubits sit on the nodes of a trivalent and face-three-colorable lattice. In these lattices, the faces have an even number of nodes, they share two nodes with the adjacent faces, and can be colored with three colors (red, blue, green) such that any two adjacent faces have different color. Similarly, edges can be colored with these three colors such that edges sharing a node have different color, and the color of every edge is different from the color of the faces that it belongs to. The regular lattices that satisfy those properties can be described in vertex notation as a.b.c that indicates that every node in the bulk is shared by three regular polygons with a, b and c vertices. The original and the shrunk lattices of the three regular geometries of the color code, namely the 4.8.8, the 6.6.6, and the 4.6.12 lattices, are depicted in Fig. 1.
The code space of this stabilizer code Gottesman (1997) is the common eigenspace of independent and commuting generators . A generator is a Pauli operator of type with support on the set of qubits contained by a face of the lattice
[TABLE]
A code with qubits and independent generators encodes logical qubits. The -th logical qubit is defined by two logical generators for . These operators can be string operators, which are defined as
[TABLE]
on sets of qubits that take the form of homologically non-trivial strings in the lattice. For example, on the torus, they can be strings wrapping around the “hole” and the “handle”. In a planar code they are strings going from one border to another.
These strings span the three shrunk lattices of the color code. The nodes of the, say, red shrunk lattice are centered on the red plaquettes, and the edges connecting these nodes are the red edges of the color code lattice.
III The protocol
The protocol proposed in Vodola et al. (2018) to correct the color code from qubit losses consists in choosing, for every lost qubit, a neighboring sacrificed qubit to be removed together with the loss. The steps of the protocol are depicted in Fig. 2. (i) Detect the lost qubits. In this work we will assume that the positions of the lost qubits are known. (ii) Choose the order in which the losses are going to be corrected, and for each loss , select randomly one of the three neighboring qubits to the loss as the sacrificed qubit . (iii) For each loss, remove the lost qubit and the sacrificed qubit and modify the faces so they do not have support on them: shrink the two faces that contain both removed qubits into faces and respectively, and merge the two faces that have support on only one of the qubits into a face . In this redefinition step the five edges connecting the removed qubits have been erased and two new edges have been added to the lattice. At the same time, a face where two generators are defined is also removed. The new code has two physical qubits and two generators less, so the number of encoded qubits is preserved.
(iv) Check whether the logical information exists or not after the removal of the lost and sacrificed qubits. to this end, a key observation is that logical operators are not uniquely defined. Two logical operators belong to the same class , i.e., they have the same effect on the encoded information, if and only if they differ in a multiplication with a subset of generators
[TABLE]
The logical information still exists in the code if for every class there is a well defined logical operator , meaning that it does not have support on the removed qubits (lost and sacrificed). For example, in Fig. 2 we show two logical operators that belong to the same class because they differ in the multiplication by the generator : one is well defined, while the other is not. We check the existence of well defined logical operators in two different ways:
(1) Searching in the shrunk lattices for the existence of a percolating string without support on the removed qubits. If such strings exists, it corresponds to a logical operator that does not have support on the removed qubits, thus, it is a well defined logical operator. For example, in Fig. 2(iv) the blue operator , which is not well defined, can be deformed into the well defined logical operator by multiplying it with a generator of the same type but defined on a face of a different color (red face). In the same way, finding a percolating string is equivalent to finding a subset of generators such that the logical operator in Eq. (3) does not have support on the removed qubits, with the restriction that these generators have a color different from the color of . This method defines the critical qubit loss rate below which the logical information is preserved. The main result of this paper is the analytical computation of (see Table 1 for the values obtained), as described in Section IV.
(2) The second method consists of directly checking, without any color restriction, the existence of such that in Eq. (3) does not have support on the removed qubits. As this method includes the most general form of a logical operator, it provides the fundamental threshold of the color code affected by qubit loss (see Table 1 for the values of obtained). The solution provided by this method includes in particular the logical operators generated by multiplication with generators of the same color as . These logical operators branch from one shrunk lattice into the other two, as illustrated in Fig. 3. There a blue string operator, multiplied by a blue generator, branches into the red and the green shrunk lattices and then recombines back to the blue shrunk lattice, taking the form of a string-net operator. Therefore, this method is equivalent to a generalized percolation problem where the three shrunk lattices are coupled. Despite the exponential number of possible subsets of generators, a solution can be found efficiently, as discussed in Section VII. Furthermore, in that section we prove that given a set of removed qubits , the logical information is protected if and only if does not contain the support of any logical operator.
(v) If the logical information is preserved, the last step of the protocol consists of projecting the state into the common eigenspace of the redefined generators by generator measurement. As the system is not initially defined in the eigenspace of the redefined generators, excitations may appear when measured, i.e., the system might be projected into the eigenspace of these generators. These excitations do not need to be removed. Instead, one can define the new code space as determined by the measured eigenvalues of the new generators.
III.1 Average number of edges erased
In order to compute analytically the critical loss rate at which percolating strings disappear from the shrunk lattices (method (1) of the Sec. III), we need to determine the number of edges erased from the original shrunk lattice that we introduce in the following.
Let us define a qubit loss instance as a set containing the positions of the qubits lost. In step (ii) of the protocol, both the order in which qubit losses are corrected, and the sacrificed qubits must be chosen to correct . In our protocol these selections are made randomly in order to keep the protocol simple and local. Then, every possible correction of a loss instance is represented by an ordered list , where the order corresponds to the order in which the sacrificed qubits are selected. If we select with equal probability each of the orderings and select with equal probability each of the three neighbors of a loss that is corrected, the probability of a correction is , where is the size of .
In step (iii) the lattice is modified according to the loss instance that occurred and the correction selected. In this correction the number of edges erased from the original shrunk lattice is , and the number of edges erased averaged over the set of all possible corrections of is:
[TABLE]
We notice that, as we are interested in the percolation of the original lattice, in Eq. (4) only the links belonging to the original shrunk lattice will be counted.
As we show in Fig. 4, for a loss instance with only one qubit lost , there are three possible corrections happening with a probability , one for every selection of a sacrificed qubit . The corrections erase , , and red edges, so the average number of edges erased from the original red shrunk lattice to correct is:
[TABLE]
is the same for every loss instance containing only one loss and it is also the same for every shrunk lattice. Moreover, since every color code is trivalent, will be the same for every (also irregular) geometry.
In Fig. 5 we show two possible corrections of a two-qubit loss instance . In the correction depicted in (b.1), the qubit sacrificed to correct the loss coincides with the second loss , so no second qubit needs to be sacrificed in order to correct . The probability of this correction is then . This correction shows that the set of lost and sacrificed qubits can overlap. In the correction depicted in (b.2.1) two qubits and have been sacrificed, so the probability is . Note that the edges erased are counted only from the original shrunk lattice.
IV Analytical results for percolating strings
The main result of this paper is the analytical computation of the critical loss rate below which there are well defined string operators that percolate through a shrunk lattice. This critical point corresponds to the qubit loss rate at which the shrunk lattice does no longer percolate. This happens when the average fraction of edges erased from the original lattice equals the bond-percolation threshold Stauffer (1985) of the shrunk lattice
[TABLE]
Therefore, can be obtained analytically from the knowledge of and as shown in Fig. 6 where we plot the curve and the critical loss rates obtained from the intersection of with the values of for the three shrunk lattices of the 4.6.12 geometry of the color code. In Table 1 we summarize the values of and also for the other geometries.
Note that strings live only on one shrunk lattice, so we can treat the percolation of the three shrunk lattices independently. A value of is then obtained for each of the three shrunk lattices in each of the three regular geometries of the color code depicted in Fig. 1.
We study the bond-percolation problem of the shrunk lattice instead of the site-percolation problem because the erased edges of the lattice of the color code coincide with the erased edges of the shrunk lattices, while the removed qubits do not sit on the nodes of the shrunk lattice (recall that the nodes of the shrunk lattices are centered on the plaquettes).
We would like to point out that in the bond-percolation problem the edges erased are uniformly distributed in the graph. However, this is not the case in the color code, given that the edges removed to correct a qubit loss are generally erased in groups, like in Fig. 4, where in the last two corrections the two red edges erased are close to each other. However, we assume a uniform distribution of qubit losses without any spatial correlation, so the edges erased will be approximately uniformly distributed, and therefore, we can safely identify with .
IV.1 Average fraction of edges erased
The average fraction of edges erased is the average number of edges erased divided by the total number of edges in the shrunk lattice that is being studied, where is the total number of qubits. In the following, the error model we consider is the erasure channel which assumes local and uncorrelated losses, each of them happening with probability . In this noise model is also the loss density, so the average number of qubits lost is . If the density is low, qubit losses predominantly occur far apart from each other, so they can be treated independently, and therefore, the average number of edges erased by each loss is , giving an average fraction of edges erased of . Then, the average fraction of edges erased grows linearly with for low densities:
[TABLE]
Our goal is to systematically compute the coefficients up to a given desired order . These coefficients are corrections to the linear behavior and they are determined by the interaction that takes place between losses that are close to each other. We say that losses interact if the number of edges erased from the original lattice to correct those losses is less than , which is the number of edges erased if these losses are far apart from each other. Given that the interaction between losses reduces the number of edges erased, and that the number of interacting instances increases with the density of losses, the erasure of edges slows down as increases.
The interaction may come in different fashions as depicted in Fig. 5. For example, in the correction (b.1) when the sacrificed qubit coincides with a lost qubit, or in the correction (b.2.1), where one of the edges erased to correct the qubit loss is not an edge from the original shrunk lattice but a new edge added from the correction of the first loss , and therefore, it is not counted in . If we compute the number of edges erased for this loss instance as specified by Eq. (4) we will obtain that .
The interaction between losses can be understood by thinking about the number of edges erased as a sum of energies. An instance containing a single loss erases an average of edges as explained in Fig. 4, so let us define as the internal energy of every single loss. As mentioned, an instance with two losses erases a number of edges that might be smaller than , so in this case, there is a non-vanishing interaction energy that makes smaller than . We define this two-body interaction energy from the energy sum . Note that if the losses do not interact. Analogously, an instance of three losses erases a number of edges that can be expressed as:
[TABLE]
where are the two-body instances contained in .
Following this idea, one can write the number of edges erased by any instance as a sum of energies:
[TABLE]
where the sum is performed over all subsets of the set . For the empty set we define the interaction energy as zero, while for all the subsets with one loss the energies are equal: . Eq. (9) can be represented by a full-rank linear system between and . By inverting it, we obtain the energies defined by the number of edges erased:
[TABLE]
where and for all with . See Appendix A for the proof of this relation.
Now we can show that the coefficients are given by the fully-interacting energies. In our model every loss happens with probability , so the probability of a loss instance is . If the average number of edges erased to correct is , the average fraction of edges erased can be written as:
[TABLE]
where is the set of all possible loss instances. By expanding in powers of as done in Appendix B and using Eq. (10) we can identify the coefficients of Eq. (7) with the energies:
[TABLE]
However, many energies are zero. For example, as mentioned earlier, the interaction energy of two losses that are far apart from each other vanishes. Analogously, if an instance can be split into two disjoint, non-empty subsets such that the interaction energy vanishes (proof in Appendix C), and we call a separable instance. This happens because the parts are too far from each other to interact. On the contrary, the instances that can not be divided in this way are called fully-interacting instances, and their energy is non-zero. Therefore the sum over in Eq. (12) can be reduced to the sum over the fully-interacting instances .
We also observe that the values of many energies are repeated given that in there are loss instances that are equal up to the symmetries of the lattice of the color code. In the regular geometries of the color code, every node is indistinguishable under the symmetries of the lattice, so we can represent the set of all fully-interacting instances by the set of all fully-interacting instances that have the qubit loss in common. Then, every instance is repeated times in . Therefore, Eq. (12) can be reduced to:
[TABLE]
where we used that in the thermodynamic limit.
For a concrete example, in Fig. 8, on the horizontal axis we show the values of the energies of the interacting instances and, on the vertical axis, the number of instances that have the same energy. These energies are the ones that appear in Eq. (13). By recalling that, from Eq. (10), the energy is given by the difference between the number of edges erased by the two-loss instance and the number of edges erased separately by each of the single loss , it is clear that the instance that has the biggest energy (in absolute value) corresponds to the couple of qubits residing at the smallest possible distance, as depicted in panel (a). Likewise, the instance that has the smallest energy (in absolute value) is the one where the qubits have a larger distance that still allows for some corrections to erase a common link (panel (b)).
Note that to be fully-interacting, all the losses in an instance must be within a finite distance from . Then, the number of instances in that have up to a certain number of losses does not depend on the lattice size . From the number of instances in with losses we can compute the following averages, that are independent of the system size :
[TABLE]
Note that there is only one instance of one loss, so . Given that interaction does not increase the number of edges erased, the following hierarchy of inequalities is expected:
[TABLE]
By using these definitions we finally obtain that the coefficients in the power expansion of in Eq. (7)
[TABLE]
can be seen as the total energy per loss inside the fully-interacting instances. Clearly, given that and do not depend on the system size , the coefficients are also independent of the system size. This confirms that the average fraction of edges erased from a shrunk lattice depends only on the density of losses , which is a clear signature of the connection with the percolation theory.
The algorithm that we used to obtain is described in Section VI, and the values obtained are summarized in Table 3.
V Summary of results
We compute the tolerance of the color code under qubit loss in two different ways: (1) searching for percolating strings in the shrunk lattices, and (2) searching for a subset such that the logical operator in Eq. (3) does not have support on the removed qubits.
Regarding (1) we present the main results of this paper: (1.a) we obtain analytically the average fraction of edges erased as a function of the qubit loss rate , and (1.b) from we compute analytically the critical loss rate below which the logical information is protected. (1.c) We also compare with numerical simulations. (1.d) Moreover, is also computed numerically by an scaling analysis.
In relation to (2), we provide in Section VII an algebraic technique that efficiently finds a solution . (2.a) This technique is used in a scaling analysis to obtain numerically the fundamental qubit loss threshold of the color code. (2.b) Finally we compare the values of and obtained.
(1.a) Using the analysis in Section IV and the algorithm in Section VI we compute the first three expansion coefficients of in Eq. (7) for the three shrunk lattices of the three regular geometries of the color code (values are summarized in Table 3). Then (1.b), using the bond-percolation thresholds , we obtain analytically by solving Eq. (6) up to third order:
[TABLE]
The values of and are summarized in Table 1. At the critical point crosses the value of the bond-percolation threshold as we show in Figs. 6 for the 4.6.12 lattice, and in Fig. 7 for each of the three shrunk lattices of the three regular geometries of the color code. As one can see in Fig. 6, the curves for the three shrunk lattices of the 4.6.12 color code lattice are almost superposed. Indeed, the curves of all shrunk lattices of all the geometries of the color code depicted in Fig. 7 are almost superposed (not shown). This indicates that does not depend strongly on the geometry of the shrunk lattice. Therefore, the differences between the values of in the shrunk lattices depend mostly on their bond-percolation threshold . This shows the strong connection between percolation theory and the tolerance of the color code to qubit loss.
(1.c) We also estimate numerically by performing a Monte Carlo sampling of qubit loss instances for various values of the qubit loss rate , and estimate the average number of edges erased to correct every instance with a randomly chosen correction. We consider lattices with the three geometries and with a number of qubits close to . The numerical points obtained are compared with the analytical in Figs. 6 and 7. The error bars are comparable with the point size. In the range that is relevant to obtain the maximum difference between the analytical (up to third order) and the numerical values of is below . In Fig. 9 we compare the numerical data with the first three orders of to show how the curves approximate the numerical data as more expansion terms are added. Limitations of the numerical analysis like the finite-size effects, or the difficulty of sampling instances with a low number of qubits lost are the main sources of discrepancy between the analytical and the numerical analyses.
(1.d) We also obtain by means of the scaling analysis depicted in the first column of Fig. 10 in the following way: In a code of distance , we compute the critical fraction of losses at which, for the first time, a percolating string ceases to exist. It is known that percolation theory predicts Stauffer (1985) the scaling of as to be , with the scaling exponent . This scaling law is followed also by our data. From it, we obtain numerically the value of the critical qubit loss rate in the thermodynamic limit (when ). The values of obtained numerically by this scaling method are in great accordance with the values obtained by the analytical analysis as can be seen in Table 1: the maximum difference is below .
(2.a) The same scaling analysis is performed in order to obtain the fundamental loss threshold (second column of Fig. 10). The only difference is that the percolation check is replaced by checking the existence of subset of generators that are a solution of Eq. (3). This subset transforms the original logical operator into a well-defined new logical operator as described in Section VII. The resulting values of show the robustness of color codes under qubit loss: for example, the 4.8.8 geometry can tolerate the loss of the of the qubits before the first class of logical operators becomes ill defined, which is close to the limit imposed by the non-cloning theorem.
(2.b) The differences between the values of and , which are easy to visualize in Fig. 10, can be understood by the relation between the two percolation problems that we consider: the percolation of the three decoupled shrunk lattices (provides ), and the generalized percolation of the coupled shrunk lattices (provides ). Intuitively, is higher than because the shrunk lattices with a low bond-percolation threshold can branch into the other shrunk lattices to increase their tolerance to the erase of edges. For example in the 4.8.8 lattice the red shrunk lattice has a bond-percolation threshold of while the bond-percolation threshold of the blue and the green shrunk lattices is higher: . Then, the possibility of branching increases the critical qubit loss rate of the red shrunk lattice of the 4.8.8 geometry from to the fundamental threshold . On the other hand, given that a shrunk lattice needs the two other lattices to branch, the maximum that can reach is given by the smallest threshold of the other two shrunk lattices. For example, the red shrunk lattice of the 4.6.12 geometry does not improve its tolerance by much (from to ) by branching into the blue and the green shrunk lattices (despite that the bond-percolation threshold of the blue shrunk lattice is high: and ) because the green shrunk lattice has a low bond-percolation threshold: and . The relations between and for the different shrunk lattices can be easily visualized in Fig. 10.
VI Computation of the coefficients
In this Section we provide an algorithm to compute the expansion coefficients of in Eq. (7). The computation of the first coefficients as in Eq. (13) requires the energies of all the fully-interacting loss instances that have the loss in common and that contain from to losses. We explain the algorithm for the case of losses, and provide the pseudo-code in Table 2 for any . The steps of the algorithm are the following:
Place the central loss on a qubit in the lattice and extract a set of qubits (we call it a patch) at a finite distance from . By the distance between two nodes we mean the number of edges in the shortest path that connects these nodes. In order to consider all fully-interacting instances in that contain up to losses it is enough to set a maximum distance of from . For , the patch contains the qubits that are at a distance or less from .
Initialize an empty list that will contain the instances from the patch, the number of edges that they erase and the associated energies.
For every instance with two different losses one has to compute from Eq. (4) by averaging the number of edges erased over all possible corrections. Then, with the obtained , one has to compute the energy of the instance that from Eq. (10) takes the form:
[TABLE]
Recall that for all instances with only one loss, as explained in Section III.1. Append the element to the list .
For every instance with three different losses (one of them the central loss ) one has to compute from Eq. (4), then compute the energy of the instance from Eq. (10), that takes the form:
[TABLE]
where we used again that for all instances with only one loss, . Note that the values of , , are stored in for every . Append the element to the list .
Finally, from the list , extract only those instances that contain the central loss and have non-zero energy. These constitute the set that can be used to compute the coefficients and with Eq. (13).
VII Fundamental threshold for qubit loss
In this section we describe the algebraic technique employed to determine the existence of well-defined logical operators that do not have support on the set of removed qubits. This technique, which can be used to compute the fundamental qubit loss threshold , determines efficiently if there exists a subset of generators such that the logical operator in Eq. (3) does not have support on the set of removed qubits by mapping this problem to a system of linear binary equations. Furthermore, we prove the following statement: given a set of removed qubits , the logical information is protected if and only if does not contain the support of any logical operator.
VII.1 Algebraic technique
Here we map the problem of finding to a system of linear binary equations. Without loss of generality we can choose the logical operator in Eq. (3) as composed of Pauli operators of just one type , like in Eq. (2), where is the set of qubits where has support. When a logical operator composed by Pauli operators of just one type is multiplied by generators of another type , the support of the new operator contains the support of : , so if a removed qubit is in it will also be in and the multiplication with generators of other type will be ineffective.
As a consequence, we can restrict the subsets that multiply in Eq. (3) to those subsets that only contain generators of the same type . If the subset of faces where the generators of are defined is , the support of is then given by:
[TABLE]
where the symbol indicates the symmetric difference between sets: . The symmetric difference comes from the fact that for odd and (the identity operator) for even . For simplicity, from now on we drop the indices .
Given a set of removed qubits , a logical operator , defined on the string , has non-empty support on if intersects , i.e., if . Therefore, the logical information still exists if there is a subset of faces for which:
[TABLE]
In order to map Eq. (22) to a system of linear equations let us first define the binary vectors and matrices that represent the sets appearing in the equation. Recall that is the number of qubits and the number of faces. Then:
- •
The set of all faces is represented by a matrix whose elements are if the qubit is in the face and [math] otherwise.
- •
A string is represented by a column vector whose elements are if the qubit is in and [math] otherwise.
- •
The subset of faces is represented by a column matrix whose elements are if the face is in and [math] otherwise.
The symmetric difference between sets is mapped to the summation modulo 2 of binary vectors and matrices. Then, Eq. (21) is mapped to the following binary matrix operations:
[TABLE]
where is the usual matrix product performed modulo 2.
The intersection between sets is mapped to the element-wise product of binary vectors, i.e., another column vector where the -th element is the product . Then, Eq. (22) is mapped to
[TABLE]
which can be written in the standard form of a system of linear equations as:
[TABLE]
Here is a matrix whose elements are the product .
Finally, the search of a logical operator without support on the removed qubits is equivalent to finding a solution of the linear system in Eq. (25). This system can be efficiently solved by Gauss elimination, in a time that scales as or better.
VII.2 Necessary and sufficient condition for the existence of the logical information
Here we prove that given a set of removed qubits , there exists a logical operator for every class without support on the removed qubits if and only if does not contain the support of a logical operator. We use the notation defined after Eq. (22).
Let us start by assuming that includes the support of a logical operator and prove that all the logical operators of other type have non-empty support on . The logical operator anticommutes with all logical operators of the class . Consequently the support of and the support of every logical operator have some qubits in common. As a consequence, all logical operators have non-empty support on the set of removed qubits, and therefore, the class is not well defined.
Now we assume that the logical information does no longer exist, i.e., the system of Eq. (25) does not have a solution, and prove that the set of removed qubits represented by includes a logical operator. If the system has no solution, the rank of the augmented matrix is bigger than the rank of the matrix :
[TABLE]
By the rank-nullity theorem, the rank of any matrix is the number of rows minus the number of linearly independent column vectors that cancel it from the left: . From Eq. (26) this means that the matrix has at least one more vector that cancels it from the left than the matrix . Note that every vector that cancels from the left also cancels from the left. Then, this vector satisfies that:
[TABLE]
or equivalently:
[TABLE]
By using the commutation of the element-wise product with the usual matrix product, we get that:
[TABLE]
which means that the vector has an even number of qubits in common with the support of all generators represented by , but an odd number in common with the support of the logical operator represented by . The only possibility is that is the support of a logical operator of the class .
Given that if , then , the column vector represents a set of qubits that contains the support of the logical operator . Hence, we prove the statement in both logical directions.
VIII Conclusions and outlook
In this work we have explored a connection between statistical mechanics and QEC arising from the study of qubit loss in the topological color code. Here the problem of determining the robustness of the code to qubit loss is mapped to a novel classical percolation problem on coupled lattices as recently proposed in Vodola et al. (2018). By exploring this connection we have determined analytically the tolerance of the color code to qubit loss.
The main goal of this paper is to obtain analytically the critical qubit loss rate below which the logical information in the color code is still protected. We have shown that is related to the bond-percolation threshold of the shrunk lattices of the color code through the equation , where is the average fraction of edges erased at a qubit loss rate . We have developed a technique to systematically obtain the expansion coefficients of , and we have presented an algorithm to calculate the values of these coefficients. We have computed the first three of these coefficients and found agreement with the numerical estimations.
Moreover, the fundamental loss threshold of the three regular geometries of the color code has been computed numerically. Our results confirm the high robustness to qubit loss of the color code together with the protocol to correct qubit losses Vodola et al. (2018), which is of practical relevance for actual and future quantum processors. Furthermore, in this paper we have proven that the logical information still exists after correcting the qubit losses if and only if the set of lost and sacrificed qubits together does not include the support of a logical operator.
Our work establishes the theoretical framework that might serve as a basis for future extensions of the protocol to correct losses. For example, the sacrificed qubits could be selected following global criteria that take into account the positions of all losses. Other extensions of the protocol could involve addressing more complex error models, e.g. taking into account possible (spatial) correlations between loss events, the imperfect identification of their positions, and the combined presence of qubit loss, computational, and measurement errors.
Acknowledgements.
We acknowledge support by U.S. A.R.O. through Grant No. W911NF-14-1-010. The research is also based upon work supported by the Office of the Director of National Intelligence (ODNI), Intelligence Advanced Research Projects Activity (IARPA), via the U.S. Army Research Office Grant No. W911NF-16-1-0070. The views and conclusions contained herein are those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of the ODNI, IARPA, or the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints for Governmental purposes notwithstanding any copyright annotation thereon. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the view of the U.S. Army Research Office. We acknowledge the resources and support of High Performance Computing Wales, where all the simulations were performed.
Appendix A Proof of Eq. (10)
In this Appendix we prove that the energy of a loss instance can be expressed in terms of the average number of edges as expressed in Eq. (10).
Let us rewrite Eqs. (9) and (10) by using a delta function that equals if and zero otherwise:
[TABLE]
Here is the set of all loss instances. Substituting the first equation into the second one yields:
[TABLE]
Instead of summing over we sum over the set difference , that contains all the subsets of . Then, we have that:
[TABLE]
where indicates that all the terms vanish if . The sum over equals zero unless , thus the number of elements of the sets and needs to be equal, i.e. :
[TABLE]
Then, the sum over is reduced to a sign and two deltas:
[TABLE]
The condition imposed by the two deltas is satisfied if the sets and are equal so the only term surviving in the sum over is . Hence the proof of Eq. (10).
Appendix B Proof of Eq. (12)
In this Appendix we prove that the -th coefficient in the expansion of the average fraction of edges erased in powers of is given by the sum of energies of loss instances that contain losses.
By substituting the number of edges erased in Eq. (11) by its expression in terms of energies in Eq. (9) one gets that the average fraction of edges erased is:
[TABLE]
The condition in the second sum can be dropped by introducing a delta function that equals 1 if and 0 otherwise:
[TABLE]
For a fixed the instances for which the delta does not vanish are of the form where is a subset of the rest of qubits . Here is the set of all qubits. Then and the sum on can be substituted by a sum over :
[TABLE]
The second sum equals one because it is a sum of the probabilities of every loss instance constrained to the qubits in . This finalizes the proof of Eq. (12).
Appendix C Separable instances have zero energy
In this Appendix we prove that the energy for a separable instance the energy vanishes. If two disjoint parts of an instance are far enough from each other, the number of edges erased is the sum of the edges erased by the two parts: . This is defined as a separable instance.
In this situation, every loss in is far from every loss in , so every subset that contains some losses from and some losses from :
[TABLE]
is also a separable instance:
[TABLE]
In particular, for the subsets with just two losses, . So from Eq. (10) we get that the energy of these subsets vanishes .
For separable subsets containing three losses . These subsets contain two subsets, whose energy vanishes. Then, using Eq. (10) and canceling the vanishing energies at both two sides we have that the left and the right side of the previous equation are
[TABLE]
respectively. This results in a vanishing energy .
Applying this derivation iteratively from subsets of a separable instance we obtain that all energies vanish. In particular, for the last iteration, when , the energy of vanishes , proving the initial statement.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Ladd et al. (2010) T. D. Ladd, F. Jelezko, R. Laflamme, Y. Nakamura, C. Monroe, and J. L. O’Brien, Nature 464 , 45 (2010) . · doi ↗
- 2Lewenstein et al. (2007) M. Lewenstein, A. Sanpera, V. Ahufinger, B. Damski, A. Sen(De), and U. Sen, Adv. Phys. 56 , 243 (2007) . · doi ↗
- 3Amico et al. (2008) L. Amico, R. Fazio, A. Osterloh, and V. Vedral, Rev. Mod. Phys. 80 , 517 (2008) . · doi ↗
- 4Nielsen and Chuang (2000) M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information (Cambridge University Press, 2000).
- 5G. De las Cuevas (2013) G. De las Cuevas, J. Phys. B 46 , 243001 (2013) . · doi ↗
- 6Chubb and Flammia (2019) C. T. Chubb and S. T. Flammia, (2019), ar Xiv:1809.10704 v 2 .
- 7Zarei and Montakhab (2019) M. H. Zarei and A. Montakhab, Phys. Rev. A 99 , 052312 (2019) . · doi ↗
- 8Van den Nest et al. (2008) M. Van den Nest, W. Dür, and H. J. Briegel, Phys. Rev. Lett. 100 , 110501 (2008) . · doi ↗
