Goal
We want to protect our Qubits against Decoherences and changes due to Quantum Gate errors and environmental noise
Solution
We implement and using three physical qubits, by setting
We apply the Measurements and to get information about the system’s state :
Having gotten these Measurements, we can correct any changes to go back to the valid states of , by flipping the appropriate Qubits. This fails if we had or more errors, which happens with probability , where is the probability of a Qubit being flipped by error.
The probability of error can be taken to be arbitrary close to zero, using enough ancillary qubits. This is known as the quantum threshold theorem