[Jump to code hierarchy]

Toric code[1,2]

Description

Version of the Kitaev surface code on the two-dimensional torus, encoding two logical qubits. Being the first manifestation of the surface code, "toric code" is often an alternative name for the general construction. Twisted toric code [3; Fig. 8] refers to the construction on a torus with twisted (a.k.a. shifted) boundary conditions.

The stabilizers of the toric code are generated by star operators \(A_v\) and plaquette operators \(B_p\). Each star operator is a product of four Pauli-\(X\) operators on the edges adjacent to a vertex \(v\) of the lattice; each plaquette operator is a product of four Pauli-\(Z\) operators applied to the edges adjacent to a face, or plaquette, \(p\) of the lattice (Figure I).

Figure I: Stabilizer generators and logical operators of the toric code. The star operators \(A_v\) and the plaquette operators \(B_p\) generate the stabilizer group. The logical operators are strings that wrap around the torus.

We denote by \(\overline{X}_i,\overline{Z}_i\) the logical Pauli-\(X\) and Pauli-\(Z\) operator of the \(i\)-th logical qubit (with \(i\in\{1,2\}\)). They are represented by strings of Pauli-\(X\) operators or Pauli-\(Z\) operators that wrap around the torus, as shown in Figure I.

Protection

Toric code on an \(L\times L\) torus is a \([[2L^2,2,L]]\) CSS code. The number of error patterns can be used to bound the ground-state energy of a \(\pm J\) Ising model [4].

Coherent physical errors are expected to become incoherent logical errors under syndrome measurement; see corroborating numerical studies performed via the Majorana mapping [5] as well as analytical bounds [6].

Encoding

Lindbladian-based dissipative encoding for the toric code [7] that does not give a speedup relative to circuit-based encoders [8].

Transversal Gates

Transversal logical Pauli gates correspond to Pauli strings on non-trivial loops of the torus.

Code Capacity Threshold

Independent \(X,Z\) noise: \(p_X = 10.31\%\) under MWPM decoding [9] (see also Ref. [10]), \(9.9\%\) under BP-OSD decoding [11], and \(8.9\%\) under GBP decoding [12]. The threshold under ML decoding corresponds to the value of a critical point of a two-dimensional random-bond Ising model (RBIM) on the Nishimori line [13,14], calculated to be \(10.94 \pm 0.02\%\) in Ref. [15], \(10.93(2)\%\) in Ref. [16], \(10.9187\%\) in Ref. [17], \(10.917(3)\%\) in Ref. [18], \(10.939(6)\%\) in Ref. [19], and estimated to be between \(10.9\%\) and \(11\%\) in Ref. [10]. The Bravyi-Suchara-Vargo (BSV) tensor network decoder [10] exactly solves the ML decoding problem under independent \(X,Z\) noise for the surface code and has complexity of order \(O(n^2)\); the decoder provides an efficient tensor-network contraction for the partition function resulting from the statistical mechanical mapping, which is known to be solvable for an Ising model on a planar graph [20]. ML decoding [14] is \(\#P\)-hard in general for the surface code [21]. Above values are for one type of noise only, and the ML threshold for combined \(X\) and \(Z\) noise is \(2p_X - p_X^2 \approx 20.6\%\) [12; Table 1]. Thresholds for various lattices have been obtained in Refs. [22,23]. Depolarizing noise: between \(17\%\) and \(18.5\%\) under BSV tensor-network decoding [10], \(14\%\) under GBP decoding [12], \(16.5\%\) under recursive MWPM [24], between \(16\%\) and \(17.5\%\) under AMBP4 (depending on whether surface or toric code is considered) [25], and between \(15\%\) and \(16\%\) under RG [26], Markov-chain [27], or MWPM [28] decoding. The threshold under ML decoding corresponds to the value of a critical point of the disordered eight-vertex Ising model, calculated to be \(18.9(3)\%\) [29] (see also APS Physics viewpoint [30]).Erasure noise: \(50\%\) for square tiling [31,32]. There is an inverse relationship between coordination number of the syndrome graph, with the threshold corresponding to a percolation transition [33].AD noise: \(39\%\) [34].Correlated noise: the threshold under ML decoding corresponds to the value of a critical point of a particular random-bond Ising model (RBIM) [35,36]. A threshold of \(10.04(6)\%\) under mildly correlated bit-flip noise is obtained in Ref. [37].The toric code has a measurement threshold of one [38].Coherent noise: the threshold under ML decoding corresponds to the value of a critical point of a particular random-bond Ising model (RBIM) called the complex-coupled Ashkin-Teller model [39,40]. Another statistical mechanical mapping has been studied for \(X\)-type noise channels interpolating between coherent and incoherent noise [41].

Threshold

The threshold under ML decoding with measurement errors corresponds to the value of a critical point of a three-dimensional random plaquette model [9,14].\(0.133\%\) for independent \(X,Z\) noise and faulty syndrome measurements using a local automaton decoder [42].Toric-code thresholds for post-selected QEC can be studied with statistical mechanical models [43].

Realizations

One cycle of syndrome readout on 19-qubit planar and 24-qubit toric codes realized in two-dimensional Rydberg atomic arrays [44].

Cousins

  • Balanced product (BP) code— Twisted toric codes can be obtained from balanced products of cyclic graphs over a cyclic group [3; Fig. 8].
  • Repetition code— The toric code can be obtained from a hypergraph product of two repetition codes [45; Exam. 6].
  • Hansen toric code— The toric code is not to be confused with the CSS code constructed from a polynomial evaluation code on a toric variety [46].
  • GKP-surface code— GKP codes have been concatenated with toric codes [47].
  • Double-semion stabilizer code— The double semion phase also has a realization in terms of qubits [48] that can be compared to the toric code. There is a logical basis for both the toric and double-semion codes where each codeword is a superposition of states corresponding to all noncontractible loops of a particular homotopy type. The superposition is equal for the toric code, whereas an odd number of loops appear with a \(-1\) coefficient for the double semion.

References

[1]
A. Y. Kitaev, “Quantum computations: algorithms and error correction”, Russian Mathematical Surveys 52, 1191 (1997) DOI
[2]
A. Yu. Kitaev, “Quantum Error Correction with Imperfect Gates”, Quantum Communication, Computing, and Measurement 181 (1997) DOI
[3]
N. P. Breuckmann and J. N. Eberhardt, “Balanced Product Quantum Codes”, IEEE Transactions on Information Theory 67, 6653 (2021) arXiv:2012.09271 DOI
[4]
H. Nishimori and P. Sollich, “Error Counting in a Quantum Error-correcting Code and the Ground-State Energy of a Spin Glass”, Journal of the Physical Society of Japan 73, 2701 (2004) arXiv:cond-mat/0405313 DOI
[5]
S. Bravyi, M. Englbrecht, R. König, and N. Peard, “Correcting coherent errors with surface codes”, npj Quantum Information 4, (2018) arXiv:1710.02270 DOI
[6]
J. K. Iverson and J. Preskill, “Coherence in logical quantum channels”, New Journal of Physics 22, 073066 (2020) arXiv:1912.04319 DOI
[7]
J. Dengis, R. König, and F. Pastawski, “An optimal dissipative encoder for the toric code”, New Journal of Physics 16, 013023 (2014) arXiv:1310.1036 DOI
[8]
R. König and F. Pastawski, “Generating topological order: No speedup by dissipation”, Physical Review B 90, (2014) arXiv:1310.1037 DOI
[9]
C. Wang, J. Harrington, and J. Preskill, “Confinement-Higgs transition in a disordered gauge theory and the accuracy threshold for quantum memory”, Annals of Physics 303, 31 (2003) arXiv:quant-ph/0207088 DOI
[10]
S. Bravyi, M. Suchara, and A. Vargo, “Efficient algorithms for maximum likelihood decoding in the surface code”, Physical Review A 90, (2014) arXiv:1405.4883 DOI
[11]
J. Roffe, D. R. White, S. Burton, and E. Campbell, “Decoding across the quantum low-density parity-check code landscape”, Physical Review Research 2, (2020) arXiv:2005.07016 DOI
[12]
J. Old and M. Rispler, “Generalized Belief Propagation Algorithms for Decoding of Surface Codes”, Quantum 7, 1037 (2023) arXiv:2212.03214 DOI
[13]
H. Nishimori, “Geometry-Induced Phase Transition in the ±JIsing Model”, Journal of the Physical Society of Japan 55, 3305 (1986) DOI
[14]
E. Dennis, A. Kitaev, A. Landahl, and J. Preskill, “Topological quantum memory”, Journal of Mathematical Physics 43, 4452 (2002) arXiv:quant-ph/0110143 DOI
[15]
A. Honecker, M. Picco, and P. Pujol, “Universality Class of the Nishimori Point in the 2D±JRandom-Bond Ising Model”, Physical Review Letters 87, (2001) arXiv:cond-mat/0010143 DOI
[16]
F. Merz and J. T. Chalker, “Two-dimensional random-bond Ising model, free fermions, and the network model”, Physical Review B 65, (2002) arXiv:cond-mat/0106023 DOI
[17]
M. Ohzeki, “Locations of multicritical points for spin glasses on regular lattices”, Physical Review E 79, (2009) arXiv:0811.0464 DOI
[18]
F. Parisen Toldin, A. Pelissetto, and E. Vicari, “Strong-Disorder Paramagnetic-Ferromagnetic Fixed Point in the Square-Lattice ±J Ising Model”, Journal of Statistical Physics 135, 1039 (2009) arXiv:0811.2101 DOI
[19]
S. L. A. de Queiroz, “Location and properties of the multicritical point in the Gaussian and±JIsing spin glasses”, Physical Review B 79, (2009) arXiv:0902.4153 DOI
[20]
M. Kac and J. C. Ward, “A Combinatorial Solution of the Two-Dimensional Ising Model”, Physical Review 88, 1332 (1952) DOI
[21]
A. Fischer and A. Miyake, “Hardness results for decoding the surface code with Pauli noise”, Quantum 8, 1511 (2024) arXiv:2309.10331 DOI
[22]
B. Röthlisberger, J. R. Wootton, R. M. Heath, J. K. Pachos, and D. Loss, “Incoherent dynamics in the toric code subject to disorder”, Physical Review A 85, (2012) arXiv:1112.1613 DOI
[23]
K. Fujii and Y. Tokunaga, “Error and loss tolerances of surface codes with general lattice structures”, Physical Review A 86, (2012) arXiv:1202.2743 DOI
[24]
A. deMarti iOlius, J. E. Martinez, P. Fuentes, and P. M. Crespo, “Performance enhancement of surface codes via recursive minimum-weight perfect-match decoding”, Physical Review A 108, (2023) arXiv:2212.11632 DOI
[25]
K.-Y. Kuo and C.-Y. Lai, “Exploiting degeneracy in belief propagation decoding of quantum codes”, npj Quantum Information 8, (2022) arXiv:2104.13659 DOI
[26]
G. Duclos-Cianci and D. Poulin, “Fast Decoders for Topological Quantum Codes”, Physical Review Letters 104, (2010) arXiv:0911.0581 DOI
[27]
A. Hutter, J. R. Wootton, and D. Loss, “Efficient Markov chain Monte Carlo algorithm for the surface code”, Physical Review A 89, (2014) arXiv:1302.2669 DOI
[28]
D. S. Wang, A. G. Fowler, A. M. Stephens, and L. C. L. Hollenberg, “Threshold error rates for the toric and surface codes”, (2009) arXiv:0905.0531
[29]
H. Bombin, R. S. Andrist, M. Ohzeki, H. G. Katzgraber, and M. A. Martin-Delgado, “Strong Resilience of Topological Codes to Depolarization”, Physical Review X 2, (2012) arXiv:1202.1852 DOI
[30]
D. Gottesman, “Keeping One Step Ahead of Errors”, Physics 5, (2012) DOI
[31]
T. M. Stace, S. D. Barrett, and A. C. Doherty, “Thresholds for Topological Codes in the Presence of Loss”, Physical Review Letters 102, (2009) arXiv:0904.3556 DOI
[32]
T. M. Stace and S. D. Barrett, “Error correction and degeneracy in surface codes suffering loss”, Physical Review A 81, (2010) arXiv:0912.1159 DOI
[33]
N. Nickerson and H. Bombín, “Measurement based fault tolerance beyond foliation”, (2018) arXiv:1810.09621
[34]
A. S. Darmawan and D. Poulin, “Tensor-Network Simulations of the Surface Code under Realistic Noise”, Physical Review Letters 119, (2017) arXiv:1607.06460 DOI
[35]
E. Novais and E. R. Mucciolo, “Surface Code Threshold in the Presence of Correlated Errors”, Physical Review Letters 110, (2013) arXiv:1209.2157 DOI
[36]
P. Jouzdani, E. Novais, and E. R. Mucciolo, “Fidelity of the surface code in the presence of a bosonic bath”, Physical Review A 88, (2013) arXiv:1304.2975 DOI
[37]
C. T. Chubb and S. T. Flammia, “Statistical mechanical models for quantum codes with correlated noise”, Annales de l’Institut Henri Poincaré D, Combinatorics, Physics and their Interactions 8, 269 (2021) arXiv:1809.10704 DOI
[38]
D. Lee and B. Yoshida, “Randomly Monitored Quantum Codes”, (2024) arXiv:2402.00145
[39]
J. Behrends and B. Béri, “Statistical mechanical mapping and maximum-likelihood thresholds for the surface code under generic single-qubit coherent errors”, (2024) arXiv:2410.22436
[40]
Y. Bao and S. Anand, “Phases of decodability in the surface code with unitary errors”, (2024) arXiv:2411.05785
[41]
J. Behrends and B. Béri, “The surface code under generic \(X\)-error channels: Statistical mechanics, error thresholds, and errorfield double phenomenology”, (2024) arXiv:2412.21055
[42]
N. P. Breuckmann, K. Duivenvoorden, D. Michels, and B. M. Terhal, “Local Decoders for the 2D and 4D Toric Code”, (2016) arXiv:1609.00510
[43]
L. H. English, D. J. Williamson, and S. D. Bartlett, “Thresholds for post-selected quantum error correction from statistical mechanics”, (2024) arXiv:2410.07598
[44]
D. Bluvstein et al., “A quantum processor based on coherent transport of entangled atom arrays”, Nature 604, 451 (2022) arXiv:2112.03923 DOI
[45]
A. A. Kovalev and L. P. Pryadko, “Improved quantum hypergraph-product LDPC codes”, 2012 IEEE International Symposium on Information Theory Proceedings 348 (2012) arXiv:1202.0928 DOI
[46]
J. P. Hansen, “Toric Codes, Multiplicative Structure and Decoding”, (2017) arXiv:1702.06569
[47]
C. Vuillot, H. Asasi, Y. Wang, L. P. Pryadko, and B. M. Terhal, “Quantum error correction with the toric Gottesman-Kitaev-Preskill code”, Physical Review A 99, (2019) arXiv:1810.00047 DOI
[48]
M. A. Levin and X.-G. Wen, “String-net condensation: A physical mechanism for topological phases”, Physical Review B 71, (2005) arXiv:cond-mat/0404617 DOI
[49]
P. Panteleev and G. Kalachev, “Asymptotically Good Quantum and Locally Testable Classical LDPC Codes”, (2022) arXiv:2111.03654
Page edit log

Your contribution is welcome!

on github.com (edit & pull request)— see instructions

edit on this site

Zoo Code ID: toric

Cite as:
“Toric code”, The Error Correction Zoo (V. V. Albert & P. Faist, eds.), 2024. https://errorcorrectionzoo.org/c/toric
BibTeX:
@incollection{eczoo_toric, title={Toric code}, booktitle={The Error Correction Zoo}, year={2024}, editor={Albert, Victor V. and Faist, Philippe}, url={https://errorcorrectionzoo.org/c/toric} }
Share via:
Twitter | Mastodon |  | E-mail
Permanent link:
https://errorcorrectionzoo.org/c/toric

Cite as:

“Toric code”, The Error Correction Zoo (V. V. Albert & P. Faist, eds.), 2024. https://errorcorrectionzoo.org/c/toric

Github: https://github.com/errorcorrectionzoo/eczoo_data/edit/main/codes/quantum/qubits/stabilizer/topological/surface/2d_surface/toric/toric.yml.