Paper 3, Section I, 10D
Let denote the set of all -bit strings. For any Boolean function on 2 bits consider the linear operation on 3 qubits defined by
for all and denoting addition of bits modulo 2 . Here the first register is a 2-qubit register and the second is a 1-qubit register. We are able to apply only the 1-qubit Pauli and Hadamard gates to any desired qubits, as well as the 3 -qubit gate to any three qubits. We can also perform measurements in the computational basis.
(a) Describe how we can construct the state
starting from the standard 3-qubit state .
(b) Suppose now that the gate is given to us but is not specified. However is promised to be one of two following cases:
(i) is a constant function (i.e. for all , or for all ),
(ii) for any 2-bit string we have (with as above).
Show how we may determine with certainty which of the two cases (i) or (ii) applies, using only a single application of .