- #1
Ricardo Belchior
- 13
- 0
Hello!
So I'm working to try to understand shor algorithm and I have some doubts.
So, after the hadamard gates we apply the unitary gate that construct the function yk mod N. Next we do a measurement in the second register to get some function value. So, when I do this measurement on the second register, I will get, in the first register, only the values of k that correspond to that function value.
My question is, is that right? I'm I thinking straight? If so, who does that happen? Entanglement?
Thanks
So I'm working to try to understand shor algorithm and I have some doubts.
So, after the hadamard gates we apply the unitary gate that construct the function yk mod N. Next we do a measurement in the second register to get some function value. So, when I do this measurement on the second register, I will get, in the first register, only the values of k that correspond to that function value.
My question is, is that right? I'm I thinking straight? If so, who does that happen? Entanglement?
Thanks