Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 53 2 4 Solution 2026-10-14
Apply the Hadamard transform to the conditional coset state. The amplitude of a first-register output isWhen over , the two terms cancel exactly. When , their squared modulus is . ThusThere 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.