Five-qubit error correcting code (source code)

= Five-qubit error correcting code
{wiki=Five-qubit_error_correcting_code}

The five-qubit error-correcting code, also known as the "perfect code," is a quantum error correction code that can correct arbitrary errors on a single qubit within a five-qubit quantum state. It is a fundamental example of how quantum information can be protected from decoherence and other types of noise that can occur in quantum systems.