\([[5,1,3]]\) perfect code[1]


Five-qubit stabilizer code with generators that are symmetric under cyclic permutation of qubits, \begin{align} \begin{split} S_1 &= IXZZX \\ S_2 &= XZZXI \\ S_3 &= ZZXIX \\ S_4 &= ZXIXZ. \end{split} \end{align}


Smallest stabilizer code that protects against a single error on any one qubit. Detects two-qubit errors.


Four CNOT and five CPHASE gates [2].

Transversal Gates

Pauli gates are transversal.


Pieceable fault-tolerant CZ and CCZ gates [3].


Combined dynamical decoupling and error correction protocol on individually-controlled qubits with always-on Ising couplings [2].Symmetric decoder correcting all weight-one Pauli errors. The resulting logical error channel after coherent noise has been explicitly derived [4].

Fault Tolerance

Pieceable fault-tolerant CZ and CCZ gates [3].Syndrome measurement can be done with two ancillary flag qubits [5].


First realized in NMR [6].Demonstration with superconducting qubits [7].



Zoo code information

Internal code ID: stab_5_1_3

Your contribution is welcome!

on github.com (edit & pull request)

edit on this site

Zoo Code ID: stab_5_1_3

Cite as:
“\([[5,1,3]]\) perfect code”, The Error Correction Zoo (V. V. Albert & P. Faist, eds.), 2022. https://errorcorrectionzoo.org/c/stab_5_1_3
@incollection{eczoo_stab_5_1_3, title={\([[5,1,3]]\) perfect code}, booktitle={The Error Correction Zoo}, year={2022}, editor={Albert, Victor V. and Faist, Philippe}, url={https://errorcorrectionzoo.org/c/stab_5_1_3} }
Permanent link:


Raymond Laflamme et al., “Perfect Quantum Error Correction Code”. quant-ph/9602019
A. De and L. P. Pryadko, “Universal set of dynamically protected gates for bipartite qubit networks: Soft pulse implementation of the [[5,1,3]] quantum error-correcting code”, Physical Review A 93, (2016). DOI; 1509.01239
T. J. Yoder, R. Takagi, and I. L. Chuang, “Universal Fault-Tolerant Gates on Concatenated Stabilizer Codes”, Physical Review X 6, (2016). DOI; 1603.03948
Chaobin Liu, “Exact performance of the five-qubit code with coherent errors”. 2203.01706
R. Chao and B. W. Reichardt, “Quantum Error Correction with Only Two Extra Qubits”, Physical Review Letters 121, (2018). DOI; 1705.02329
E. Knill et al., “Benchmarking Quantum Computers: The Five-Qubit Error Correcting Code”, Physical Review Letters 86, 5811 (2001). DOI
M. Gong et al., “Experimental exploration of five-qubit quantum error-correcting code with superconducting qubits”, National Science Review 9, (2021). DOI; 1907.04507
Aleksander Kubica, private communication, 2019
F. Pastawski et al., “Holographic quantum error-correcting codes: toy models for the bulk/boundary correspondence”, Journal of High Energy Physics 2015, (2015). DOI; 1503.06237
Daniel Gottesman, “Stabilizer Codes and Quantum Error Correction”. quant-ph/9705052

Cite as:

“\([[5,1,3]]\) perfect code”, The Error Correction Zoo (V. V. Albert & P. Faist, eds.), 2022. https://errorcorrectionzoo.org/c/stab_5_1_3

Github: https://github.com/errorcorrectionzoo/eczoo_data/tree/main/codes/quantum/qubits/small/stab_5_1_3.yml.