gulsen
- 215
- 0
I'm wondering how it really is useful.
The input for the, say 2-qubit, quantum computer that is running Grover's algoritm is
|\Psi \rangle = (|1 \rangle + |2 \rangle + |3 \rangle + |4 \rangle) / \sqrt{4}
And let us say we're looking the 3rd element in the so-called database.
Now, Grover operator involves the Oracle operator, which basically negates the sign of the element we're looking for, i.e. sign of |3 \rangle, which means O=I-2 |3 \rangle \langle 3 |. The operator can be written in the obvious basis as
O = \[ \left( \begin{array}{cccc}<br /> 1 & 0 & 0 & 0 \\<br /> 0 & 1 & 0 & 0 \\<br /> 0 & 0 & -1 & 0 \\<br /> 0 & 0 & 0 & 1 \\<br /> \end{array} \right)\]
And the Grover operator is G = (2 |\Psi \rangle \langle \Psi | - I) O
Anyway, upon acting "enough" on the input state, our output is roughy |3 \rangle, i.e.
|3 \rangle \approx G^n |\Psi \rangle
How is this output useful? Other than this, if this is the big result, how come do we use the state |3 \rangle in reaching this result (it was a part of Oracle operator, right?)
I've suddenly started to think it was some sort of a hoax but then it's not, and now I think I'm missing some crucial point, something I fail to see. Please show me how this is a "(unordered) database search"...
The input for the, say 2-qubit, quantum computer that is running Grover's algoritm is
|\Psi \rangle = (|1 \rangle + |2 \rangle + |3 \rangle + |4 \rangle) / \sqrt{4}
And let us say we're looking the 3rd element in the so-called database.
Now, Grover operator involves the Oracle operator, which basically negates the sign of the element we're looking for, i.e. sign of |3 \rangle, which means O=I-2 |3 \rangle \langle 3 |. The operator can be written in the obvious basis as
O = \[ \left( \begin{array}{cccc}<br /> 1 & 0 & 0 & 0 \\<br /> 0 & 1 & 0 & 0 \\<br /> 0 & 0 & -1 & 0 \\<br /> 0 & 0 & 0 & 1 \\<br /> \end{array} \right)\]
And the Grover operator is G = (2 |\Psi \rangle \langle \Psi | - I) O
Anyway, upon acting "enough" on the input state, our output is roughy |3 \rangle, i.e.
|3 \rangle \approx G^n |\Psi \rangle
How is this output useful? Other than this, if this is the big result, how come do we use the state |3 \rangle in reaching this result (it was a part of Oracle operator, right?)
I've suddenly started to think it was some sort of a hoax but then it's not, and now I think I'm missing some crucial point, something I fail to see. Please show me how this is a "(unordered) database search"...