Let . After the Hadamards and the oracle, Bernstein-Vazirani phase kickback gives
The Walsh-Hadamard identity
and give
A final oracle call evaluates on the definite input :
Since modulo two is the parity of the Hamming weight of , this form also determines the last-qubit measurement.

Articles by others on the same topic (0)

There are currently no matching articles.