หน้านี้ยังไม่ได้รับการแปล คุณกำลังดูเวอร์ชันต้นฉบับภาษาอังกฤษ
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