TOPICS
Search

Quantum Hamming Bound


The quantum Hamming bound is a sphere-packing inequality for a quantum error-correcting code. Let K be the dimension of the code subspace in n quantum systems of local dimension q, and let d be its minimum distance. The bound is

 Ksum_(j=0)^t(n; j)(q^2-1)^j<=q^n,

where t=|_(d-1)/2_| and |_x_| is the floor function. The sum is the size of a radius-t Hamming ball over an alphabet of q^2 symbols. For a nondegenerate code, the errors of weight at most t send the code into mutually orthogonal subspaces of dimension K, so their dimensions sum to at most q^n (Nielsen and Chuang 2000). For a degenerate code, different errors can act identically on the code, so this counting argument requires the nondegeneracy hypothesis.

Zhang and Chen (2026a) proved the bound for exact binary quantum subspace codes with K>1, including degenerate and nonadditive codes. They compared overlaps of quaternary Hamming balls with quantities obtained from Krawtchouk polynomials, using the length inequality 6t<=n+1 from Rains (1999). Zhang and Chen (2026b) give a separate proof for q>=3 and K>1.

Sugui (2026) formalized the binary overlap inequality and the deduction of the dimension bound from normalized Shor-Laflamme weight enumerators, K>1, and 2t<d. The all-radius Lean result assumes the Rains length bound. For t<=4, a separate Lean result derives the inequality from the enumerator, dimension, and distance hypotheses alone. Sugui reports AI assistance with the formalization and verification.


See also

Hamming Ball, Quantum Error-Correcting Code, Weight Enumerator

Explore with Wolfram|Alpha

References

Nielsen, M. and Chuang, I. Quantum Computation and Quantum Information. Cambridge, England: Cambridge University Press, 2000.Rains, E. M. "Quantum Shadow Enumerators." IEEE Trans. Inform. Theory 45, 2361-2366, 1999. https://doi.org/10.1109/18.796376.Sugui, M. A. P. "The Binary Quantum Hamming Bound from Weight Enumerators in Lean." Palomar Registry, Dec. 3, 2026. https://palomar-registry.org/entry.html?id=PALOMAR-2026-12-03-000090&version=1.Zhang, Y.-X. and Chen, J.-L. "Degeneracy Cannot Violate the Quantum Hamming Bound." 14 Jun 2026a. https://arxiv.org/abs/2606.15558.Zhang, Y.-X. and Chen, J.-L. "The Quantum Hamming Bound in Arbitrary Local Dimension." 21 Jun 2026b. https://arxiv.org/abs/2606.22538.

Cite this as:

Weisstein, Eric W. "Quantum Hamming Bound." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/QuantumHammingBound.html

Subject classifications