Skip to content

The role of entropy in topological quantum error correction

M. E. Beverland, B. J. Brown, M. J. Kastoryano, Q. Marolleau

Journal of Statistical Mechanics: Theory and Experiment 2019, 073404 (2019) · 10.1088/1742-5468/ab25de · arXiv:1812.05117

Download .bibRead preprint

Abstract

The performance of a quantum error-correction process is determined by the likelihood that a random configuration of errors introduced to the system will lead to the corruption of encoded logical information. In this work we compare two different variants of the surface code with a comparable number of qubits: the surface code defined on a square lattice and the same model on a lattice that is rotated by π/4. This seemingly innocuous change increases the distance of the code by a factor of √2. However, as we show, this gain can come at the expense of significantly increasing the number of different failure mechanisms that are likely to occur. We use a number of different methods to explore this tradeoff over a large range of parameter space under an independent and identically distributed noise model. We rigorously analyze the leading order performance for low error rates, where the larger distance code performs best for all system sizes. Using an analytical model and Monte Carlo sampling, we find that this improvement persists for fixed sub-threshold error rates and large system sizes, but that the improvement vanishes close to threshold. Remarkably, intensive numerics uncover a region of system sizes and sub-threshold error rates where the square lattice surface code marginally outperforms the rotated model.

Figures9
Two square-lattice diagrams: the standard orientation with a star and a plaquette operator marked and a horizontal error path, and the rotated diamond orientation with colored logical-operator paths crossing a shaded diagonal region.
Figure 1. Square-lattice surface codes on the torus with two different orientations. (Left) The square-lattice surface code with n=72n = 72 and d=6d = 6. A star and plaquette operator are shown at the top of the figure. A least-weight error is shown along the red path at the bottom of the lattice; the red line supports an uncorrectable error of dephasing flips with weight d/2d/2. (Right) The rotated diamond-lattice surface code with n=144n = 144 and d=12d = 12. The colored lines indicate the low-weight support of different low-weight logical operators, and the yellow points indicate right turns in the red path.
Diagram of the (p, sqrt n) parameter plane, colored by which method covers it — a lowest-order approximation, the Bravyi-Vargo splitting method, Monte Carlo sampling, and the generalized path-counting model — with a hatched region marking where the smaller-distance code outperforms the rotated one.
Figure 2. Summary of results. The failure probability P(p,n)\overline{P}(p,n) of the two orientations depends on the number of qubits nn and the physical error rate pp. Surprisingly, we find that at error rates greater than about half the threshold error rate pthp_{\mathrm{th}}, for system sizes n50\sqrt{n} \lesssim 50, the code with smaller distance outperforms the rotated variant due to entropic effects; we hatch this region in parameter space. We use a number of approaches to explore the different parts of parameter space, shown with different colors in the figure: closed expressions for p0p \to 0 (green), with γ0K=21/21.6325\gamma^{\mathrm{K}}_0 = 2^{1/\sqrt{2}} \approx 1.6325 and 3.41422+2γ0W27/23.67423.4142 \approx 2 + \sqrt{2} \le \gamma^{\mathrm{W}}_0 \le \sqrt{27/2} \approx 3.6742 for large nn; Monte Carlo sampling of the finite error rate regime (blue); the splitting method, introduced for topological codes by Bravyi and Vargo, to numerically interpolate between the Monte Carlo studies and the analytic path-counting results (red); and an analytical model generalizing the path-counting method that accurately reproduces a number of features seen in the numerical studies (yellow).
Logarithm of the failure probability against physical error rate for the two lattice models, nearly overlapping, with an inset showing their ratio peaking above unity before decreasing.
Figure 3. The logical failure rate for the square lattice model with nK=1152n^{\mathrm{K}} = 1152 (dK=24d^{\mathrm{K}} = 24), shown in blue, compared with that of the rotated lattice with nW=1156n^{\mathrm{W}} = 1156 (dW=34d^{\mathrm{W}} = 34) in yellow, calculated using η108109\eta \sim 10^8\text{--}10^9 samples. The inset shows the ratio of the failure rates of the two models, where a ratio in excess of unity marks the region where the square lattice model outperforms the rotated model using four fewer qubits.
Logarithm of the failure probability against system size for eight physical error rates, each pair of lines converging as error rate decreases, with an inset of the crossing system size against error rate.
Figure 4. Monte Carlo data comparing large system sizes of the original (blue) and rotated (yellow) lattice for error rates p=4.5%,5%,5.5%,6%,7%,8%,9%,10%p = 4.5\%, 5\%, 5.5\%, 6\%, 7\%, 8\%, 9\%, 10\%, running from the bottom fittings to the top fittings. The inset shows the system size LL^* where the linear fittings of the two models cross, for each value of pp. These crossing points mark the top of the hatched region in Fig. 2, above which the rotated lattice begins to outperform the original square lattice model.
Logarithm of the failure probability against physical error rate for several system sizes, following straight diverging lines, with an inset of the ratio to the low-error-rate bound converging to one.
Figure 5. Logical failure rates obtained using the numerical method due to Bravyi and Vargo, compared with the low physical error rate bound given in Eq. (14), as a function of physical error rate pp, for system sizes n=10,12,,22\sqrt{n} = 10, 12, \dots, 22. The inset shows the ratio of the failure rates obtained numerically to the low error rate bound; the convergence to unity as pp vanishes shows good agreement with the approximation.
The fitted exponent alpha against physical error rate for the two lattice models, nearly flat at low error rate and decreasing near threshold, the two curves crossing around 2 percent.
Figure 6. The function α(p)\alpha(p) from the fitting Ansatz, using Monte Carlo samples for p>0.05p > 0.05 and the splitting method otherwise. We collect data for system sizes 10n2210 \le n \le 22. The square (rotated) lattice model is shown in blue (yellow). We observe slow convergence of α\alpha to 1/23/21/2^{3/2} (1/21/2) for the square (rotated) lattice models, as predicted using the path-counting formulae presented in the previous section. We also observe a crossing in the functions αK(p)\alpha^{\mathrm{K}}(p) and αW(p)\alpha^{\mathrm{W}}(p) at around p2%p \sim 2\%.
System size at which the square lattice begins to outperform the rotated lattice, plotted against error rate and decreasing towards a plateau, with an inset of log A against error rate for both models.
Figure 7. The system sizes at which the square-lattice model begins to outperform the rotated-lattice model as nn increases. We also mark n=10\sqrt{n} = 10 and n=22\sqrt{n} = 22 by black dashed lines, indicating the range of system sizes for which we collect data. These data points mark the lower boundary of the hatched region shown in Fig. 2. The inset shows logA\log A as a function of pp, between the path-counting regime and the threshold error rate, for the square-lattice model (blue) and the rotated-lattice model (yellow).
Normalized logarithm of the path count against normalized path length, with dashed curves for the constrained estimate and solid curves for the exact unconstrained limit, both lattices converging towards a common asymptote.
Figure 8. The logarithm of the number of paths, normalized by n/2\sqrt{n/2} in the limit of large nn. The dashed curves represent our estimates of NconK(l,n)N^{\mathrm{K}}_{\mathrm{con}}(l,n) and NconW(l,n)N^{\mathrm{W}}_{\mathrm{con}}(l,n), and the solid curves are the exact limit of Nunc(l;x,y)N_{\mathrm{unc}}(l;x,y) for (x,y)=(n/2,0)(x,y) = (\sqrt{n/2}, 0) and (x,y)=(n/2,n/2)(x,y) = (\sqrt{n}/2, \sqrt{n}/2), calculated using Eq. (64). The two curves asymptotically approach one another for large l/n/2l/\sqrt{n/2}. The blue and yellow curves are for the square and diamond lattice respectively; the number of constrained and unconstrained paths match at l=dl = d for both orientations. The black line, which both NconK(l,n)N^{\mathrm{K}}_{\mathrm{con}}(l,n) and NconW(l,n)N^{\mathrm{W}}_{\mathrm{con}}(l,n) appear to approach, is N=clN = c^l where c=2.638c = 2.638\dots is the square-lattice connective constant.
The fitted correlation length xi against physical error rate for both lattice models, decreasing smoothly from about 2 to about 1.2 as error rate increases towards threshold.
Figure 9. We identify ξ(p)\xi(p) numerically by fitting the data obtained by Monte Carlo and the splitting method, across a large range of pp, to the model in Eq. (19). We used d=10d = 10 for the rotated lattice and d=14d = 14 for the square lattice. The Nncl(l)N_{\mathrm{ncl}}(l) were estimated to within 2% accuracy for both models by sampling. There are some deviations from the expected behavior, which we expect come from small-size effects: for example, the blue curve appears to be slightly below the expected value of 2 for ξK(0)\xi^{\mathrm{K}}(0), and the values ξK(pth)\xi^{\mathrm{K}}(p_{\mathrm{th}}) and ξW(pth)\xi^{\mathrm{W}}(p_{\mathrm{th}}) appear to differ slightly.
Conclusion

We have taken a number of different approaches to explore the configuration space of errors that can cause logical failure for the surface code with different lattice geometries. We have found that, while it pays to optimize the distance of the code, entropic factors can have a significant effect on the performance of codes at modest physical error rates.

It will be interesting to explore the entropic contribution on other codes with improved encoding rates, such as twisted surface codes, color codes, stellated color codes and hyperbolic codes, to determine how entropic considerations affect logical failure rates there. Indeed, one could imagine that codes that require a reduced number of physical qubits to realize a code of a given distance may suffer adversarially from entropic effects. Further, for the system sizes we have studied, the logical failure rates of the two different codes are almost indistinguishable until the physical error rate is an order of magnitude below threshold. We might like to account for this when we consider the change in distance of fault-tolerant quantum systems as we perform logical operations.

It may also be worthwhile studying entropic effects during fault-tolerant error correction. Correlated errors that occur during syndrome extraction manifest themselves as diagonal bonds during error correction; extensions of the present work may consider choosing circuits to minimize these effects. Recently, flag fault tolerance has been considered in topological codes to minimize these correlated errors. One might view the extra resources used to implement these circuits as an additional hardware expense used to reduce logical failure rates by minimizing the configuration space of errors.

Ultimately, it will be very useful to determine bounds on the extent to which the physics of quantum error-correcting codes will permit us to minimize entropic factors in the logical failure rate, to help design better fault-tolerant quantum-computational protocols in the future.

← All publications