Quantum Computing, Quantum Error Correction.
leave the third qubit in the state 0 when the pair are 00 or 11, but to put it in the state 1 when the pair are 01 or 10. If this process is done carefully, it will not change the superpositions at all. However, measuring the third qubit allows us to know whether we are in the 00/11 superposition