Grover search algorithm (source code)

= Grover search algorithm
{c}
{wiki=Grover's_algorithm}

Grover search rotates a uniform state toward a marked subspace and finds one of $M$ marked entries using order $\sqrt{N/M}$ oracle calls.