The Hadamard test estimates the real part of from one ancilla measurement.
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.
If , the ordinary Hadamard test returns ancilla zero with probability
Adding a phase gate to the Hadamard test rotates the interference signal and measures the imaginary part of .

Articles by others on the same topic (0)

There are currently no matching articles.