- #1
Peter_Newman
- 155
- 11
Hi everybody,
I've read some pages in Nielsens "Quantum Computing" book, it's very interesting, but especially at Grover's algorithm, there occurs a question for me. It is said that a phase shift is performed, which is defined as follows:
##|0\rangle \rightarrow |0\rangle \\ |x\rangle \rightarrow -|x\rangle \\ \text{for } x>0##
But now I'm wondering why the phase shift is applied to all elements except 0. Why is that, what effect does that have? I have already read something, but so far no one could answer me why you omit the 0.
I would be glad, if someone can tell me why this is how it does it.
I've read some pages in Nielsens "Quantum Computing" book, it's very interesting, but especially at Grover's algorithm, there occurs a question for me. It is said that a phase shift is performed, which is defined as follows:
##|0\rangle \rightarrow |0\rangle \\ |x\rangle \rightarrow -|x\rangle \\ \text{for } x>0##
But now I'm wondering why the phase shift is applied to all elements except 0. Why is that, what effect does that have? I have already read something, but so far no one could answer me why you omit the 0.
I would be glad, if someone can tell me why this is how it does it.