One Grover iteration returns a marked label with certainty. Prepare ; apply the supplied phase oracle to negate amplitudes on the marked inputs; apply the Grover diffusion operator ; and measure in the computational basis. If F prepares from , the reflection is , requiring no further oracle query.
After the oracle the amplitudes are on the unmarked labels and on the marked labels. Their average is
The reflection performs inversion about the mean, . It therefore sends every unmarked amplitude to zero and every marked amplitude to . The resulting normalized state is
Each marked label has Born rule probability , every unmarked label has probability zero, and the marked probabilities sum to . This is one-step exact Grover search with a quarter of the inputs marked, using one reduced-oracle query. The positive integer N must be divisible by four; a qubit implementation may take , but the stated reflection proof does not assume that register convention.
The algorithm returns a uniformly random marked input with certainty. The Born rule applied to the final state gives, for each individual basis label ,
Summing over the marked inputs gives . The outcome is a marked input label, not merely the bit indicating whether some marked input exists. There is one use of the supplied phase oracle, together with the specified preparation, reflection and measurement.
The exact success relies on the marked fraction . More generally, the mean amplitude immediately after the oracle is . Inversion about the mean sends an unmarked amplitude to and a marked amplitude to . Thus a single iteration has marked success probability . At the unmarked amplitudes vanish and the marked amplitudes become , giving the one-step exact Grover search with a quarter of the inputs marked. No claim of one-query certainty for an arbitrary marked fraction is needed.
Figure 1.
Original amplitude and Born-probability illustration for eight inputs with two marked. The oracle's relative minus signs become exact concentration on the marked inputs after one reflection.
Details.