We will consider a generalization of Grovers algorithm. Suppose that we are given the following.
- A, a quantum circuit.
- Basis vector |starti and quantum state |endi (i.e. norm 1) with A|starti = |end
- |endi = |Ai + |Bi with hA | Bi = 0, hA | Ai = a, and hB | Bi = b = 1 a.
Let us consider |Ai as consisting of a superposition of correct outcomes of algorithm A.
Upon measuring |endi, the probability of observing |Ai is a.
We assume that we have a basis (i)iI such that I = AB and a function : I {0,1} such that (A) = 1 and (B) = 0. Define
|(,)i = |Ai + |Bi
and note that |(1,1)i = |endi. Define G = A Ds A DA where DA is a reflection operator for |Ai and Ds is a reflection operator for |starti (use the phase shift ei for both).
- Draw the circuits for both reflection operators and also write out the operators for them (e.g. D0 = (ei 1)|0ih0| + I as in the usual Grovers algorithm).
- Calculate G |(1,1)i and write your answer in the form |(x,y)i for some x,y (you should specify their values).
- Suppose that A works with probability 1/4 (i.e. a = 1/4). Show that taking = (as in the usual Grovers circuit) makes G A acting on |starti exact (i.e. it produces a correct answer with probability 1).
- Show that when A works with probability 1/2 there is a choice of so that G A acting on |starti is exact. What is the value of ei in this case?
Reviews
There are no reviews yet.