Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2020/ii/paper-3/10c/iii/solution

For , put . After the first phase rotation the state is
Since , the requested state is
It is proportional to exactly when , hence when . The state is then , whose global phase has no physical effect.

New to topics? Read the docs here!