Five-qubit error correcting code

From HandWiki
Quantum circuit that measures stabilizers in the five qubit error correcting code

The five-qubit error correcting code is the smallest quantum error correcting code that can protect a logical qubit from any arbitrary single qubit error.[1] In this code, 5 physical qubits are used to encode the logical qubit.[2] With [math]\displaystyle{ X }[/math] and [math]\displaystyle{ Z }[/math] being Pauli matrices and [math]\displaystyle{ I }[/math] the Identity matrix, this code's generators are [math]\displaystyle{ \langle XZZXI, IXZZX, XIXZZ,ZXIXZ \rangle }[/math]. Its logical operators are [math]\displaystyle{ \bar{X} = XXXXX }[/math] and [math]\displaystyle{ \bar{Z} = ZZZZZ }[/math].[3] Once the logical qubit is encoded, errors on the physical qubits can be detected via stabilizer measurements. A lookup table that maps the results of the stabilizer measurements to the types and locations of the errors gives the control system of the quantum computer enough information to correct errors.[4]

Measurements

[math]\displaystyle{ \bar{Z} }[/math] Parity measurement circuit

Stabilizer measurements are parity measurements that measure the stabilizers of physical qubits.[5] For example, to measure the first stabilizer ([math]\displaystyle{ XZZXI }[/math]), a parity measurement of [math]\displaystyle{ X }[/math] of the first qubit, [math]\displaystyle{ Z }[/math] on the second, [math]\displaystyle{ Z }[/math] on the third, [math]\displaystyle{ X }[/math] on the fourth , and [math]\displaystyle{ I }[/math] on the fifth is performed. Since there are four stabilizers, 4 ancillas will be used to measure them. The first 4 qubits in the image above are the ancillas. The resulting bits from the ancillas is the syndrome; which encodes the type of error that occurred and its location.

A logical qubit can be measured in the computational basis by performing a parity measurement on [math]\displaystyle{ \bar{Z} }[/math]. If the measured ancilla is [math]\displaystyle{ 0 }[/math], the logical qubit is [math]\displaystyle{ |0_{\rm L}\rangle }[/math]. If the measured ancilla is [math]\displaystyle{ 1 }[/math], the logical qubit is [math]\displaystyle{ |1_{\rm L}\rangle }[/math].[6]

Error correction

It is possible to compute all the single qubit errors that can occur and how to correct them. This is done by calculating what errors commute with the stabilizers.[4] For example, if there is an [math]\displaystyle{ X }[/math] error on the first qubit and no errors on the others ([math]\displaystyle{ X_{1} = XIIII }[/math]), it commutes with the first stabilizer [math]\displaystyle{ [XIIII, XZZXI] = 0 }[/math]. This means that if an X error occurs on the first qubit, the first ancilla qubit will be 0. The second ancilla qubit: [math]\displaystyle{ [XIIII, IXZZX] = 0 }[/math], the third: [math]\displaystyle{ [XIIII, XIXZZ] = 0 }[/math] and the fourth [math]\displaystyle{ [XIIII, ZXIXZ] \neq 0 }[/math]. So if an X error occurs on the first qubit, the syndrome will be [math]\displaystyle{ 0001 }[/math]; which is shown in the table below, to the right of [math]\displaystyle{ X_{1} }[/math]. Similar calculations are realized for all other possible errors to fill out the table.

[math]\displaystyle{ X_{1} }[/math] 0001 [math]\displaystyle{ Z_{1} }[/math] 1010 [math]\displaystyle{ Y_{1} }[/math] 1011
[math]\displaystyle{ X_{2} }[/math] 1000 [math]\displaystyle{ Z_{2} }[/math] 0101 [math]\displaystyle{ Y_{2} }[/math] 1101
[math]\displaystyle{ X_{3} }[/math] 1100 [math]\displaystyle{ Z_{3} }[/math] 0010 [math]\displaystyle{ Y_{3} }[/math] 1110
[math]\displaystyle{ X_{4} }[/math] 0110 [math]\displaystyle{ Z_{4} }[/math] 1001 [math]\displaystyle{ Y_{4} }[/math] 1111
[math]\displaystyle{ X_{5} }[/math] 0011 [math]\displaystyle{ Z_{5} }[/math] 0100 [math]\displaystyle{ Y_{5} }[/math] 0111

To correct an error, the same operation is performed on the physical qubit based on its syndrome. If the syndrome is [math]\displaystyle{ 0001 }[/math], an [math]\displaystyle{ X }[/math] gate is applied to the first qubit to reverse the error.

Encoding

The first step in executing error corrected quantum computation is to encode the computer's initial state by transforming the physical qubits into logical codewords. The logical codewords for the five qubit code are

[math]\displaystyle{ |0_{\rm L} \rangle = \frac{1}{4}[|00000\rangle + |10010\rangle + |01001\rangle + |10100\rangle + |01010\rangle - |11011\rangle - |00110\rangle - |11000\rangle - |11101\rangle - |00011\rangle - |11110\rangle - |01111\rangle - |10001\rangle - |01100\rangle - |10111\rangle + |00101\rangle], }[/math]
[math]\displaystyle{ |1_{\rm L} \rangle=\frac{1}{4}[|11111\rangle + |01101\rangle + |10110\rangle + |01011\rangle + |10101\rangle - |00100\rangle - |11001\rangle - |00111\rangle - |00010\rangle - |11100\rangle - |00001\rangle - |10000\rangle - |01110\rangle - |10011\rangle - |01000\rangle + |11010\rangle ]. }[/math]

stabilizer measurements followed by a [math]\displaystyle{ \bar{Z} }[/math] measurement can be used to encode a logical qubit into 5 physical qubits.[7] To prepare [math]\displaystyle{ |0_{\rm L}\rangle }[/math], perform stabilizer measurements and apply error correction. After error correction, the logical state is guaranteed to be a logical codeword. If the result of measuring [math]\displaystyle{ \bar{Z} }[/math] is [math]\displaystyle{ 0 }[/math], the logical state is [math]\displaystyle{ |0_{\rm L}\rangle }[/math]. If the result is [math]\displaystyle{ 1 }[/math], the logical state is [math]\displaystyle{ |1\rangle }[/math] and applying [math]\displaystyle{ \bar{X} }[/math] will transform it into [math]\displaystyle{ |0_{\rm L}\rangle }[/math].

References

  1. Gottesman, Daniel (2009). "An Introduction to Quantum Error Correction and Fault-Tolerant Quantum Computation". arXiv:0904.2557 [quant-ph].
  2. Knill, E.; Laflamme, R.; Martinez, R.; Negrevergne, C. (2001). "Benchmarking Quantum Computers: The Five-Qubit Error Correcting Code". Phys. Rev. Lett. (American Physical Society) 86 (25): 5811–5814. doi:10.1103/PhysRevLett.86.5811. PMID 11415364. Bibcode2001PhRvL..86.5811K. 
  3. D. Gottesman (1997). "Stabilizer Codes and Quantum Error Correction". arXiv:quant-ph/9705052.
  4. 4.0 4.1 Roffe, Joschka (2019). "Quantum error correction: an introductory guide". Contemporary Physics (Taylor & Francis) 60 (3): 226–245. doi:10.1080/00107514.2019.1667078. Bibcode2019ConPh..60..226R. https://doi.org/10.1080/00107514.2019.1667078. 
  5. Devitt, Simon J; Munro, William J; Nemoto, Kae (2013). "Quantum error correction for beginners". Reports on Progress in Physics 76 (7): 076001. doi:10.1088/0034-4885/76/7/076001. PMID 23787909. Bibcode2013RPPh...76g6001D. https://doi.org/10.1088/0034-4885/76/7/076001. 
  6. Ryan-Anderson, C.; Bohnet, J. G.; Lee, K.; Gresh, D.; Hankin, A.; Gaebler, J. P.; Francois, D.; Chernoguzov, A. et al. (2021). "Realization of real-time fault-tolerant quantum error correction". Physical Review X 11 (4): 041058. doi:10.1103/PhysRevX.11.041058. Bibcode2021PhRvX..11d1058R. 
  7. Gong, Ming; Yuan, Xiao; Wang, Shiyu; Wu, Yulin; Zhao, Youwei; Zha, Chen; Li, Shaowei; Zhang, Zhen et al. (2021). "Experimental exploration of five-qubit quantum error correcting code with superconducting qubits". National Science Review 9 (1): nwab011. doi:10.1093/nsr/nwab011. PMID 35070323.