Solution

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

Use the bit-query Boolean quantum oracle , where denotes workspace. Initially every probability amplitude is independent of , hence is a constant polynomial. An input-independent unitary gate only forms linear combinations of probability amplitudes, so it does not increase their polynomial degree.
If is an amplitude before a query, its new value is
One query increases polynomial degree by at most one. Inductively, after queries each amplitude has polynomial degree at most . The acceptance probability is a sum of squared absolute values of the accepting amplitudes, so it is a real polynomial of degree at most . Intermediate quantum measurements and classical adaptation can be retained coherently, or handled by summing unnormalized branch probabilities; either approach yields the same degree bound.
An exact algorithm has acceptance probability precisely at every Boolean input. The multilinear reduction on the Boolean cube replaces positive powers of each by , preserving these values without increasing polynomial degree. Therefore the polynomial method for quantum query lower bounds gives
Here is the degree of the unique multilinear polynomial representing the Boolean function, and is its exact quantum query complexity. Uniqueness follows, for example, by evaluating successively on the indicator vectors of subsets: the value on a subset determines its coefficient once all smaller-subset coefficients are known.

New to topics? Read the docs here!