Solution

ID: past-exam-of-the-laser-science-and-quantum-information-processing-course-of-the-university-of-oxford/2022/5/e/solution

Yes. Replace the target qubit by a register of qubits and implement the controlled unitary gate
The algebra in c uses only normalization and unitarity, so for an arbitrary pure register quantum state it still gives . For a mixed register quantum state , linearity gives . With ,
Only the control qubit needs to be pure. A uniformly randomized computational basis preparation supplies the target maximally mixed state. This is the principle of trace estimation by a maximally mixed Hadamard test. The extension is algebraic; efficiently implementing controlled- still requires a known suitable gate construction. Moreover, estimating the unnormalized trace to fixed additive precision requires increasingly precise estimation of the normalized signal as grows. There is no automatic efficient reconstruction of all entries of .

New to topics? Read the docs here!