One of the fundamental notions in quantum error correction theory is that it suffices to correct a
discrete error set with
support in the Pauli group \Pi^{n}. Suppose that the errors affecting an encoded quantum state are a subset \mathcal{E} of the Pauli group \Pi^{n}: :\mathcal{E}\subset\Pi^{n}. Because \mathcal{E} and \mathcal{S} are both subsets of \Pi^{n}, an error E\in\mathcal{E} either
commutes or
anti-commutes with any particular element S \in \mathcal{S}. If anti-commutes with an element , then SE|\psi\rangle = -ES|\psi\rangle = -E|\psi\rangle which means that E|\psi\rangle is in the -
eigenspace of rather than the -
eigenspace, and thus is detectable by
measuring . Actually it suffices to measure each stabilizer generator , since if commutes with every , then will also commute with the product of any number of them. In this case E \in C(\mathcal{S}) is a logical operator and thus cannot be detected by the code. However, E \in \mathcal{S} is again a special case, where implements the logical identity operator: Even though it is not detectable, it also does not corrupt the encoded state. This also holds for any scalar multiple of E \in \mathcal{S}, since a
global phase has no physical effect. We define an
undetectable logical error as one that is undetectable but does corrupt the encoded state, i.e., :E \in C(\mathcal{S}) \setminus \{+1, +i, -1, -i\} \otimes \mathcal{S} = C(\mathcal{S}) \setminus C(C(\mathcal{S})). The equality above gives an alternative characterization of an undetectable logical error : must commute with all stabilizers, but not with all logical operators. This characterization is often more convenient since one only need to check commutativity with the generators , instead of solving a system of linear equations to determine if is the product of some subset of {{math|{
gi}}} up to global phase. Operationally, each stabilizer generator can be measured via a
parity measurement without disturbing states in the codespace. The combination of results of measuring each is known as the
syndrome \mathbf{r}, represented as a binary vector \mathbf{r} with length n-k whose elements indicate whether the error commutes or anti-commutes with each stabilizer generator .
Knill–Laflamme conditions When using a stabilizer code as an error
correction code, one must also choose a correction for each syndrome. If there exists another possible error with the same syndrome as , then after correction there may be a residual error . The condition that has the same syndrome as is equivalent to that is undetectable, i.e., E_1^\dagger E_2 \in C(\mathcal{S}). However, if does not corrupt the logical qubits, then the error correction will be successful anyway. Therefore, a stabilizer code can perfectly correct a set of Pauli errors \mathcal{E} as long as there does not exist E_1, E_2 \in \mathcal{E} such that is an undetectable logical error.
Examples The 3-qubit repetition code can correct single-qubit bit-flip errors, which means that it satisfies the error-correction conditions for \mathcal{E} = \{I, X_1, X_2, X_3\}. Indeed, the only undetectable logical error that consists only of and is with weight 3, and the product of two errors in \mathcal{E} . This can also be verified by explicitly checking the corrections corresponding to each syndrome: The five-qubit code can correct any single-qubit error, i.e., it satisfies the error-correction conditions for \mathcal{E} = \{I, X_i, Y_i, Z_i\} ( distinct errors). This can be verified either by showing that all undetectable logical errors of this code has weight at least 3, or by explicitly checking the syndromes. For the five-qubit code again each syndrome corresponds to one error in \mathcal{E}, although this is not typical for stabilizer codes: For codes like the
surface code with high code distances and relatively low-weight stabilizers, one syndrome will usually correspond to many correctable errors that differ from each other by stabilizers. == Relation between Pauli group and binary vectors ==