Hadamard test (source code)

= Hadamard test
{c}
{wiki}

The Hadamard test estimates the real part of $\langle\psi|U|\psi\rangle$ from one ancilla measurement.