For the Hadamard test with a density operator in the auxiliary register, the output control qubit has Pauli Z gate expectation and Pauli Y gate expectation , where . The minus sign comes from the final Hadamard gate, since . Measuring in therefore estimates the imaginary part using the minus-outcome frequency minus the plus-outcome frequency.
Prepare the auxiliary register in the maximally mixed state and estimate both mixed-state Hadamard-test quadratures. Multiplying the normalized expectation by estimates the trace of . A uniformly randomized preparation of any orthonormal basis produces ; the eigenvectors of need not be known.
Articles by others on the same topic
There are currently no matching articles.