Solution

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

For , use the orthonormal basis from the preceding part. Both reflection operators preserve , because their reflected vectors belong to it. With and , their restricted matrices are
Multiplying in the specified order, including the overall minus sign, gives
Equivalently,
In particular, sends to . This proves the Grover rotation angle description with the signs appropriate to these reflection operators.

New to topics? Read the docs here!