[Jump to code hierarchy]

\([[7,3,2]]\) \(X/Z\)-error-correcting code[1]

Description

A seven-qubit pure CSS code that corrects a single \(X\) or a single \(Z\) error, but not a single \(Y\) error.

A stabilizer tableau for the code is given by [1; Table 8.6][2; ID 475] \begin{align} \begin{array}{ccccccc} Z & Z & Z & Z & Z & Z & Z \\ Y & Y & Y & Y & I & I & I \\ Y & Y & I & I & Y & Y & I \\ Y & I & Y & I & Y & I & Y \end{array}~. \tag*{(1)}\end{align} The code is CSS, but the above non-CSS form is required to correct a single \(X\) or a single \(Z\) error.

Cousins

  • \([7,4,3]\) Hamming code— The \([[7,3,2]]\) \(X/Z\)-error-correcting code \(H_X\) check matrix is the parity-check matrix of the \([7,4,3]\) Hamming code, while its \(H_Z\) matrix is that of the SPC code.
  • \([n,n-1,2]\) Single parity-check (SPC) code— The \([[7,3,2]]\) \(X/Z\)-error-correcting code \(H_X\) check matrix is the parity-check matrix of the \([7,4,3]\) Hamming code, while its \(H_Z\) matrix is that of the SPC code.

References

[1]
D. Gottesman, “Stabilizer Codes and Quantum Error Correction”, (1997) arXiv:quant-ph/9705052
[2]
Qiskit Community. Qiskit QEC framework. https://github.com/qiskit-community/qiskit-qec
Page edit log

Your contribution is welcome!

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

edit on this site

Zoo Code ID: xz_7_3_2

Cite as:
\([[7,3,2]]\) \(X/Z\)-error-correcting code”, The Error Correction Zoo (V. V. Albert & P. Faist, eds.), 2026. https://errorcorrectionzoo.org/c/xz_7_3_2
BibTeX:
@incollection{eczoo_xz_7_3_2, title={\([[7,3,2]]\) \(X/Z\)-error-correcting code}, booktitle={The Error Correction Zoo}, year={2026}, editor={Albert, Victor V. and Faist, Philippe}, url={https://errorcorrectionzoo.org/c/xz_7_3_2} }
Share via:
Twitter | Mastodon |  | E-mail
Permanent link:
https://errorcorrectionzoo.org/c/xz_7_3_2

Cite as:

\([[7,3,2]]\) \(X/Z\)-error-correcting code”, The Error Correction Zoo (V. V. Albert & P. Faist, eds.), 2026. https://errorcorrectionzoo.org/c/xz_7_3_2

Github: https://github.com/errorcorrectionzoo/eczoo_data/edit/main/codes/quantum/qubits/small_distance/small/7/xz_7_3_2.yml.