Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2009/iii/paper-51/2/a/solution

Write . For , the unmarked computational basis vectors in give the normalized vector
Its norm is one and , so these two vectors form an orthonormal basis for . Splitting the uniform superposition state into its marked and unmarked terms gives
The nonnegative coefficients select the specified angle in .
There is one degenerate boundary case: if , then and is one-dimensional. No vector in can complete to a two-element orthonormal basis. Thus the printed two-dimensional description needs . For the search itself is already solved, with and no query.

New to topics? Read the docs here!