Write and . The initial Hadamard gates prepare in the search register and in the final quantum ancilla. Since the Pauli X gate satisfies , the Boolean quantum oracle acts by quantum phase kickback:
For a single marked entry this is the marked-state phase oracle on the search register. The ancilla stays separate and unchanged throughout.
The Grover diffusion operator is , because . The PDF circuit places one diffusion after each oracle call, so the state before measurement is
In the supplied amplitude amplification theorem, take and . Their overlap has modulus , so the Grover rotation angle is . A quantum measurement in the computational basis therefore gives
The inverse sine here is applied to the overlap of the two different states. The converted TeX's self-overlap in the angle definition is a transcription error; the original PDF has .
If there is no marked entry, the Boolean quantum oracle is the identity. The uniform superposition state is a positive eigenstate of the Grover diffusion operator:
Thus every iteration leaves the full state unchanged. The measured search bits have the uniform distribution
Only the first qubits are measured in the printed circuit. If the untouched ancilla were also measured in the computational basis, its bit would be an independent fair bit, giving probability for each joint outcome.
Use a verified Grover promise test. Since , . Choose
This is a nearest integer to , so . Run the Grover search algorithm for iterations and measure the candidate . Make one further oracle query with input and measure the answer bit . Declare that a marked entry exists exactly when this bit is one.
In the zero case the verification always returns zero, so the decision is correct with certainty. In the single-marked-entry case, verification returns one exactly when the candidate is , and
Finally, on gives . Hence
The verification query is necessary for this decision rule: an unverified search-register label does not itself say whether it is marked.

Articles by others on the same topic (0)

There are currently no matching articles.