Classical Error Correction → Errors flip bits.
Quantum Error Correction:
→ No cloning theorem;
→ Errors are continuous;
→ Measurements destroy information.
The code:
Syndrome detection:
Example:
Suppose there is an error at qubit one.
Then:
$$ \braket{\psi \ | \ P_1 \ | \ \psi}= \\(\overline a \ket{100} + \overline b \ket{011})(\ket{100}\bra{100}+\ket{011}\bra{011})(a\ket{100}+b\ket{011})= \\(\overline a \bra{100}+\overline b \bra{011})(a\ket{100}+b\ket{011})=\overline aa+ \overline bb = 1 $$
Checkpoint: Verify that $\braket{\psi | P_0|\psi} = \braket{\psi|P_2|\psi} =\braket{\psi|P_3|\psi} = 0$
After the measurement the state remains the same: $P_1\ket \psi = \ket \psi$.
Recovery: use the value of the error syndrom eto apply the appropriate recovering procedure: