0

I am looking at Quantum Physics solution for the Simon's problem.

In there there is equation for hadamard gate:

Blockquote

I have trouble understanding the step: $(-1)^{(x⊕a)∙y)}=1+(-1)^{a∙y)}$

I was wondering if someone can point to general property of Modulo 2 that allows for the above equality.

1 Answers1

1

There is a typo in the attached picture. The third line should have been written as:

$$\frac{1}{\sqrt{2^{n+1}}}\sum_{y=0}^{2^n-1} (-1)^{x'\bullet y} \color{red}{\cdot}(1+(-1)^{a\bullet y})|y\rangle$$

The above comes from the fact that the binary dot product distributes over the bitwise sum modulo $2$.