Grover search rotates a uniform state toward a marked subspace and finds one of marked entries using order oracle calls.
For a permutation of an -element set and a known marked output subset of size , exactly inputs have marked outputs. The uniform quantum superposition thus has good probability , independent of which permutation the oracle represents. This allows a known-angle amplitude amplification schedule without counting unknown preimages.
To find an input of a permutation whose output lies in a known -element subset, compute the output, apply its marked-state phase oracle, and use uncomputation. A modular-addition quantum oracle costs two forward queries per marked reflection, because modular-oracle inversion by negation supplies its inverse. Amplitude amplification then uses queries for fixed success probability. Positive-square outputs have and hence query cost .
For a known finite set , prepare the uniform superposition state and implement its reflection operator . If exactly basis states in are marked, the same two-dimensional Grover rotation angle argument uses phase queries. Preparation and reflection are known operations with no calls to the unknown predicate. Their gate cost must be accounted for separately. The success guarantee requires , and choosing the optimal iteration number uses a known .
For , the diffusion operator is , where .
The diffusion operator sends every computational-basis amplitude to , where is their arithmetic mean.
If of items are marked and , each Grover iteration rotates the state by in the marked--unmarked plane, so after iterations the marked amplitude is .
For and one marked item, . One Grover iteration gives marked amplitude , so measurement returns the target with certainty.

Articles by others on the same topic (0)

There are currently no matching articles.