Grover's Algorithm
1. Universality & Efficiency
A quantum computer that can imlement any unitary operation on
Quantum algorithms usually start from
2. General Computational Problem
Goal is to determine a property of a black-box function using the least number of queries. For example, searching would have black box function
3. Quantum Parallelism
for generla case . For example, . - By linearity of
, , .
We have computed
3.1 Challenges & No-Clone
However, if we measure we project onto
We could do better if we can copy this state
This is impossible (No-cloning theorem!)!
PROOF
Suppose
s.t. and for all and . Then:
- Also,
Hence, only equal if
, , . This is only possible for or . Hence, no such exists.
4. Grover's Algorithm
Problem: given black box
Let
. which can be shown by enumeration to be equal to .
We can now derive the following identity:
We can say that
Now we introduce matrix
Given a vector
, with mean , then :
Hence,
inverts each amplitude about the mean.
Grover's algorithm says if we do
We can define the 2D space by orthogonal
We can then see that
flips component, fixes component (reflect about ). flips component, fixes component (reflect about ).
We can graphically see that as
The probability of measuring
So, Grover's algorithm.