I am reading this paper by Mahadev. In going from (19) to (20) the author does a Hadamard measurement on two registers. I don't understand what exactly the Hadamard measurement does.
The (simplified) claim is as follows. Let's start with the following state
$$\vert 0\rangle\vert x_0\rangle + \vert1\rangle\vert x_1\rangle.$$
If one applies the Hadamard measurement to the second register, one obtains
$$\vert 0\rangle + (-1)^{d(x_0\oplus x_1)}\vert 1\rangle,$$
where $d$ is the "measurement outcome".
I've removed some other terms that exist in the original paper but I beleive the above is correct. Is there a way to see why this claim holds? I see it for the case where $x_0$ and $x_1$ are bits but the argument is for bit strings too and I'm not sure why.
- For the general case, is $|d|=|x_i|$ i.e. if $x_i$ are $k$-bit strings, then we have $k$ possible measurement outcomes?
- If 1. is true, why does the phase $d.(x_o\oplus x_1)$ emerge?
This is also discussed in this video.