Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2008/iii/paper-57/2/b/solution

Measuring the state from part (a) in the computational basis succeeds with probability . In the sparse-solution regime , one has . The first success interval with is . Entering it requires , so the first half-probability Grover iterate is
For this integer, the angle is at least and less than , so the rounding cannot skip the required interval. Every smaller nonnegative integer has angle below and hence success below , proving minimality. For , the leading size is . If , the initial measurement already succeeds with probability at least one half and the smallest count is zero; if no search can succeed.

New to topics? Read the docs here!