Apply a Pauli X gate and then a Hadamard gate to the third qubit, and apply Hadamard gates to the first two. This prepares
One application of the Boolean quantum oracle now gives, by quantum phase kickback,
The answer qubit is unentangled and may be ignored. If all three qubits must be restored to the displayed register form, applying and then to the answer qubit maps back to . Thus the first register is exactly after one use of .

Articles by others on the same topic (0)

There are currently no matching articles.