Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2004/iii/paper-53/2/4/solution

Apply the Hadamard transform to the conditional coset state. The amplitude of a first-register output is
When over , the two terms cancel exactly. When , their squared modulus is . Thus
There are orthogonal outputs, so these probabilities sum to one. The distribution is independent of the particular observed fibre. It is the Single-sample distribution in Simon's algorithm: each run gives a uniform random equation restricting the hidden period to the orthogonal complement over the binary field.

New to topics? Read the docs here!