Die Seide is noch nich ibersetzt worn. Se guggen de englsche Originalversion.
Description of Grover's algorithm
In this section, we'll describe Grover's algorithm. We'll begin by discussing phase query gates and how to build them, followed by the description of Grover's algorithm itself. Finally, we'll briefly discuss how this algorithm is naturally applied to searching.
Phase query gates
Grover's algorithm makes use of operations known as phase query gates. In contrast to an ordinary query gate defined for a given function in the usual way described previously, a phase query gate for the function is defined as
for every string
The operation can be implemented using one query gate as this diagram suggests:
This implementation makes use of the phase kickback phenomenon, and requires that one workspace qubit, initialized to a state, is made available. This qubit remains in the state after the implementation has completed, and can be reused (to implement subsequent gates, for instance) or simply discarded.
In addition to the operation we will also make use of a phase query gate for the -bit OR function, which is defined as follows for each string
Explicitly, the phase query gate for the -bit OR function operates like this:
To be clear, this is how operates on standard basis states; its behavior on arbitrary states is determined from this expression by linearity.
The operation can be implemented as a quantum circuit by beginning with a Boolean circuit for the OR function, then constructing a operation (that is, a standard query gate for the -bit OR function) using the procedure described in the Quantum algorithmic foundations lesson, and finally a operation using the phase kickback phenomenon as described above. Notice that the operation