If is constant, then
The sign is a physically irrelevant global phase.
If , then
so
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). Therefore
This is a two-bit instance of Bernstein-Vazirani phase kickback, and also a promised Deutsch-Jozsa test.

Articles by others on the same topic (0)

There are currently no matching articles.