Grover rotation angle (source code)

= Grover rotation angle
{c}

If $M$ of $N$ items are marked and $\sin\theta=\sqrt{M/N}$, each Grover iteration rotates the state by $2\theta$ in the marked--unmarked plane, so after $r$ iterations the marked amplitude is $\sin((2r+1)\theta)$.