Grover search with a nonzero reflection label

ID: grover-search-with-a-nonzero-reflection-label

Let , let be the marked-state phase oracle, and replace reflection about by reflection about a known computational basis vector . Define , so and . The resulting Grover iterate obeys
because the two diagonal operators commute. Thus the good and bad uniform vectors are replaced by their signed vectors , with exactly the same Grover rotation angle. Initializing in gives . Computational-basis measurement probabilities are unchanged because only multiplies amplitudes by signs.

New to topics? Read the docs here!