BUILD A PARITY CHECKER โ
CNOT qubit 0 โ qubit 2, then CNOT qubit 1 โ qubit 2. Qubit 2 now answers one question: is the number of 1s odd?
Test it on all four inputs. Parity checks like this are the atoms of quantum error correction.
CNOT qubit 0 โ qubit 2, then CNOT qubit 1 โ qubit 2. Qubit 2 now answers one question: is the number of 1s odd?
Test it on all four inputs. Parity checks like this are the atoms of quantum error correction.
๐ค 0
๐ฌ 0
๐ฌ Comments (0)