Apply a Pauli X gate and then a Hadamard gate to the third qubit, and apply Hadamard gates to the first two. This preparesOne 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 .
In either promised case, construct by the one-query procedure in part (a), apply the Walsh-Hadamard transform to its two qubits, and perform a quantum measurement in the computational basis. The outcome is certainly for case (i) and certainly for case (ii). ThereforeThis is a two-bit instance of Bernstein-Vazirani phase kickback, and also a promised Deutsch-Jozsa test.
Articles by others on the same topic
There are currently no matching articles.