World Library  
Flag as Inappropriate
Email this Article

Quantum error correction


Quantum error correction

Quantum error correction is used in quantum computing to protect quantum information from errors due to decoherence and other quantum noise. Quantum error correction is essential if one is to achieve fault-tolerant quantum computation that can deal not only with noise on stored quantum information, but also with faulty quantum gates, faulty quantum preparation, and faulty measurements.

Classical error correction employs redundancy. The simplest way is to store the information multiple times, and—if these copies are later found to disagree—just take a majority vote; e.g. Suppose we copy a bit three times. Suppose further that a noisy error corrupts the three-bit state so that one bit is equal to zero but the other two are equal to one. If we assume that noisy errors are independent and occur with some probability p. It is most likely that the error is a single-bit error and the transmitted message is three ones. It is possible that a double-bit error occurs and the transmitted message is equal to three zeros, but this outcome is less likely than the above outcome.

Copying quantum information is not possible due to the no-cloning theorem. This theorem seems to present an obstacle to formulating a theory of quantum error correction. But it is possible to spread the information of one qubit onto a highly entangled state of several (physical) qubits. Peter Shor first discovered this method of formulating a quantum error correcting code by storing the information of one qubit onto a highly entangled state of nine qubits. A quantum error correcting code protects quantum information against errors of a limited form.

Classical error correcting codes use a syndrome measurement to diagnose which error corrupts an encoded state. We then reverse an error by applying a corrective operation based on the syndrome. Quantum error correction also employs syndrome measurements. We perform a multi-qubit measurement that does not disturb the quantum information in the encoded state but retrieves information about the error. A syndrome measurement can determine whether a qubit has been corrupted, and if so, which one. What is more, the outcome of this operation (the syndrome) tells us not only which physical qubit was affected, but also, in which of several possible ways it was affected. The latter is counter-intuitive at first sight: Since noise is arbitrary, how can the effect of noise be one of only few distinct possibilities? In most codes, the effect is either a bit flip, or a sign (of the phase) flip, or both (corresponding to the Pauli matrices X, Z, and Y). The reason is that the measurement of the syndrome has the projective effect of a quantum measurement. So even if the error due to the noise was arbitrary, it can be expressed as a superposition of basis operations—the error basis (which is here given by the Pauli matrices and the identity). The syndrome measurement "forces" the qubit to "decide" for a certain specific "Pauli error" to "have happened", and the syndrome tells us which, so that we can let the same Pauli operator act again on the corrupted qubit to revert the effect of the error.

The syndrome measurement tells us as much as possible about the error that has happened, but nothing at all about the value that is stored in the logical qubit—as otherwise the measurement would destroy any quantum superposition of this logical qubit with other qubits in the quantum computer.


  • The bit flip code 1
  • The sign flip code 2
  • The Shor code 3
  • General codes 4
  • Models 5
  • Experimental realization 6
  • See also 7
  • Notes 8
  • Bibliography 9
  • External links 10

The bit flip code

The repetition code works in a classical channel, because classical bits are easy to measure and to repeat. However, in a quantum channel, it is no longer possible, due to the no-cloning theorem, which forbids the creation of identical copies of an arbitrary unknown quantum state. So a single qubit can not be repeated three times as in the previous example, as any measurement of the qubit will change its wave function. Nevertheless, in a quantum computer, there is another method, which is called the three qubits bit flip code. It uses entanglement and syndrome measurements, and can perform the similar results to the repetition code.

Quantum circuit of the bit flip code

Let |\psi\rangle = \alpha_0|0\rangle + \alpha_1|1\rangle be an arbitrary qubit. The first step of the three qubit bit flip code is to entangle the qubit with two other qubits using two CNOT gates with input |0\rangle.[1] The result will be |\psi'\rangle= \alpha_0 |000\rangle + \alpha_1|111\rangle. This is just a tensor product of three qubits, and different from cloning a state.

Now these qubits will be sent through a channel E_{\text{bit}} where we assume that at most one bit flip may occur. For example, in the case where the first qubit is flipped, the result would be |\psi'_r\rangle=\alpha_0|100\rangle + \alpha_1|011\rangle. To diagnose bit flips in any of the three possible qubits, syndrome diagnosis is needed, which includes four projection operators:





It can be obtained:

\langle\psi'_r|P_0|\psi'_r\rangle = 0

\langle\psi'_r|P_1|\psi'_r\rangle = 1

\langle\psi'_r|P_2|\psi'_r\rangle = 0

\langle\psi'_r|P_3|\psi'_r\rangle = 0

So it will be known that the error syndrome corresponds to P_1. This three qubits bit flip code can correct one error if at most one bit-flip-error occurred in the channel. It is similar to the three bits repetition code in a classical computer.

The sign flip code

Quantum circuit of the phase flip code

Flipped bits are the only kind of error in classical computer, but there is another possibility of an error with quantum computers, the sign flip. Through the transmission in a channel the relative sign between |0\rangle and |1\rangle can become inverted. For instance, a qubit in the state |-\rangle=(|0\rangle-|1\rangle)/\sqrt{2} may have its sign flip to |+\rangle=(|0\rangle+|1\rangle)/\sqrt{2}.

The original state of the qubit

|\psi\rangle = \alpha_0|+\rangle+\alpha_1|-\rangle

will be changed into the state

|\psi'\rangle = \alpha_0|{+}{+}{+}\rangle+\alpha_1|{-}{-}{-}\rangle.

In the Hadamard basis, bit flips become sign flips and sign flips become bit flips. Let E_\text{phase} be a quantum channel that can cause at most one phase flip. Then the bit flip code from above can recover |\psi\rangle by transforming into the Hadamard basis before and after transmission through E_\text{phase}.

The Shor code

The error channel may induce either a bit flip, a sign flip, or both. It is possible to correct for both types of errors using one code, and the Shor code does just that. In fact, the Shor code corrects arbitrary single-qubit errors.

Quantum circuit of the Shor code

Let E be a quantum channel that can arbitrarily corrupt a single qubit. The 1st, 4th and 7th qubits are for the sign flip code, while the three group of qubits (1,2,3), (4,5,6), and (7,8,9) are designed for the bit flip code. With the Shor code, a qubit state |\psi\rangle=\alpha_0|0\rangle+\alpha_1|1\rangle will be transformed into the product of 9 qubits |\psi'\rangle=\alpha_0|0_S\rangle+\alpha_1|1_S\rangle, where

|0_S\rangle=\frac{1}{2\sqrt{2}}(|000\rangle + |111\rangle) \otimes (|000\rangle + |111\rangle) \otimes (|000\rangle + |111\rangle)
|1_S\rangle=\frac{1}{2\sqrt{2}}(|000\rangle - |111\rangle) \otimes (|000\rangle - |111\rangle) \otimes (|000\rangle - |111\rangle)

If a bit flip error happens to a qubit, the syndrome analysis will be performed on each set of states (1,2,3), (4,5,6), and (7,8,9), then correct the error.

If the three bit flip group (1,2,3), (4,5,6), and (7,8,9) are considered as three inputs, then the Shor code circuit can be reduced as a sign flip code. This means that the Shor code can also repair sign flip error for a single qubit.[2]

The Shor code also can correct for any arbitrary errors (both bit flip and sign flip) to a single qubit. If an error is modeled by a unitary transform U, which will act on a qubit |\psi\rangle, then U can be described in the form


where c_0,c_1,c_2, and c_3 are complex constants, I is the identity, and the Pauli matrices are given by

\sigma_x=\biggl( \begin{matrix} 0&1\\1&0 \end{matrix} \biggr);
\sigma_y=\biggl( \begin{matrix} 0&-i\\i&0 \end{matrix} \biggr);
\sigma_z=\biggl( \begin{matrix} 1&0\\0&-1 \end{matrix} \biggr)

If U is equal to I, then no error occurs. If U=\sigma_x, a bit flip error occurs. If U=\sigma_z, a sign flip error occurs. If U=i\sigma_y then both a bit flip error and a sign flip error occur. Due to linearity, it follows that the Shor code can correct arbitrary 1-qubit errors.

General codes

In general, a quantum code for a quantum channel \mathcal{E} is a subspace \mathcal{C} \subseteq \mathcal{H}, where \mathcal{H} is the state Hilbert space, such that there exists another quantum channel \mathcal{R} with

(\mathcal{R} \circ \mathcal{E})(\rho) = \rho \quad \forall \rho = P_{\mathcal{C}}\rho P_{\mathcal{C}},

where P_{\mathcal{C}} is the orthogonal projection onto \mathcal{C}. Here \mathcal{R} is known as the correction operation.


Over time, researchers have come up with several codes:

That these codes allow indeed for quantum computations of arbitrary length is the content of the threshold theorem, found by Michael Ben-Or and Dorit Aharonov, which asserts that you can correct for all errors if you concatenate quantum codes such as the CSS codes—i.e. re-encode each logical qubit by the same code again, and so on, on logarithmically many levels—provided the error rate of individual quantum gates is below a certain threshold; as otherwise, the attempts to measure the syndrome and correct the errors would introduce more new errors than they correct for.

As of late 2004, estimates for this threshold indicate that it could be as high as 1-3% [8], provided that there are sufficiently many qubits available.

Experimental realization

There have been several experimental realizations of CSS-based codes. The first demonstration was with NMR qubits.[3] Subsequently demonstrations have been made with linear optics,[4] trapped ions,[5][6] and superconducting (transmon) qubits.[7]

Other error correcting codes have also been implemented, such as one aimed at correcting for photon loss, the dominant error source in photonic qubit schemes.[8]

See also


  1. ^  
  2. ^  
  3. ^ D. G. Cory, M. D. Price, W. Maas, E. Knill, R. Laflamme, W. H. Zurek, T. F. Havel and S. S. Somaroo, "Experimental Quantum Error Correction," Phys. Rev. Lett. 81, 2152–2155 (1998), doi:10.1103/PhysRevLett.81.2152
  4. ^ T. B. Pittman, B. C. Jacobs and J. D. Franson, "Demonstration of quantum error correction using linear optics," Phys. Rev. A 71, 052332 (2005), doi:10.1103/PhysRevA.71.052332
  5. ^ J. Chiaverini, D. Leibfried, T. Schaetz, M. D. Barrett, R. B. Blakestad, J. Britton, W. M. Itano, J. D. Jost, E. Knill, C. Langer, R. Ozeri and D. J. Wineland, "Realization of quantum error correction," Nature 432, 602-605 (2004), doi:10.1038/nature03074
  6. ^ P. Schindler, J. T. Barreiro, T. Monz, V. Nebendahl, D. Nigg, M. Chwalla, M. Hennrich and R. Blatt, "Experimental Repetitive Quantum Error Correction," Science 332, 1059-1061 (2011), doi:10.1126/science.1203329
  7. ^ M. D. Reed, L. DiCarlo, S. E. Nigg, L. Sun, L. Frunzio, S. M. Girvin and R. J. Schoelkopf, "Realization of Three-Qubit Quantum Error Correction with Superconducting Circuits," Nature 482, 382-385 (2012), doi:10.1038/nature10786, arXiv:1109.4948
  8. ^ M. Lassen, M. Sabuncu, A. Huck, J. Niset, G. Leuchs, N. J. Cerf and U. L. Andersen, "Quantum optical coherence can survive photon losses using a continuous-variable quantum erasure-correcting code," Nature Photonics 4, 700 (2010), doi:10.1038/nphoton.2010.168


  • Freedman, Michael H.; Meyer, David A.; Luo, Feng: Z2-Systolic freedom and quantum codes. Mathematics of quantum computation, 287–320, Comput. Math. Ser., Chapman & Hall/CRC, Boca Raton, FL, 2002.
  • Freedman, Michael H.; Meyer, David A.: Projective plane and planar quantum codes. Found. Comput. Math. 1 (2001), no. 3, 325–332.
  • Mikael Lassen, Metin Sabuncu, Alexander Huck, Julien Niset, Gerd Leuchs, Nicolas J. Cerf, Ulrik L. Andersen, Quantum optical coherence can survive photon losses using a continuous-variable quantum erasure-correcting code , Nature Photonics 4 10 (2010)(this document online)

External links

  • Prospects
  • Error-check breakthrough in quantum computing
  • Quantum error correction on
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.