Suppose I want to estimate $Im(\langle \psi_1\lvert \sigma_x\lvert \psi_2\rangle)$ by using quantum circuit.
At first, I thought of using the Swap test, but since it gives $|\langle \psi_1|\psi_2\rangle|^2$, it won't give the imaginary part.
Then, I thought of Hadamard test + phase gate, which gives $Im(\langle \psi \lvert U |\psi \rangle)$, so that I have to find $U = \sigma_x U'$ where $U'|\psi_2\rangle = |\psi_1\rangle$. However, what if finding $U'$ is very complicated so that I want to avoid? Is there any clever way to estimate $Im(\langle \psi_1\lvert \sigma_x\lvert \psi_2\rangle)$?