First successful Grover iterate

ID: first-successful-grover-iterate

For one marked element among candidates, set . The first nonnegative Grover search algorithm iteration count attaining marked probability at least is the displayed integer. Before the first success interval, the angle is below ; entering that interval requires . Rounding up gives an angle less than , so it cannot skip the interval. Moreover . For , the known candidate is already the answer and no iteration is needed; the two-dimensional marked--unmarked plane degenerates.

New to topics? Read the docs here!