선정목록으로
A More General Quantum Searching Algorithm And the Precise Formula of the Amplitude and the Non-symmetric Effects of Different Rotating Angles
필름·전자재료 · (13) 프리즘 필름
기본 정보
- 저자
- DOI
- 10.48550/arxiv.quant-ph/0105035
- 저널
- arXiv (Cornell University)
- 발행년도
- 2022
- 발행기관
- Cornell University
- 피인용수
- 0
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.48550/arxiv.quant-ph/0105035
- 토픽
- Chemical and Physical Properties of Materials
- OpenAlex ID
- W6929354904
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (13) 프리즘 필름
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
This paper presented two general quantum search algorithms. We derived the iterated formulas and the simpler approximate formulas and the precise formula for the amplitude in the desired state. A mathematical proof of Grover's algorithm being optimal among the algorithms with arbitrary phase rotations was given in this paper. This first reported the non-symmetric effects of different rotating angles, and gave the first-order approximate phase condition when rotating angles are different.
본문 51,476자
본문 펼치기
1
## More General Quantum Search Algorithm Q = −IγV Iτ U And the Precise Formula for the Amplitude and the Non-symmetric Effects of Different Rotating Angles
Dafa Li
Dept. of Mathematical Sciences
National Lab. for AI at Tsinghua University
Tsinghua University Beijing 100084 CHINA
email: dli@math.tsinghua.edu.cn
Xinxin Li
Dept. of Computer Science
Wayne State University, Detroit, MI 48202, USA
Abstract
This paper presented two general quantum search algorithms. We derived the iterated
formulas and the simpler approximate formulas and the precise formula for the amplitude
in the desired state. A mathematical proof of Grover’s algorithm being optimal among the
algorithms with arbitrary phase rotations was given in this paper. This first reported the
non-symmetric effects of different rotating angles, and gave the first-order approximate phase
condition when rotating angles are different.
PACS:03.67,-a;03.67,lx;03.65,-w;89.70,+c
Keywords: Quantum searching; Phase matching.
## 1 Introduction
Shor reported his prime factoring algorithm in [8]. Then Grover gave his quantum search
algorithm [2][3]. In [2] Grover’s quantum search algorithm consists of a sequence of unitary
0 WIτ <sup>(π)</sup> W,where Ix <sup>(π)</sup>
operations on a pure state. The algorithm is Q = −I <sup>(π)</sup> = I - 2|x ⟩|⟨ x| and
0 WIτ <sup>(π)</sup>
<sup>(π)</sup>
τ <sup>(π)</sup> W,where Ix <sup>(π)</sup>
0 WIτ <sup>(π)</sup> W,where Ix <sup>(π)</sup>
operations on a pure state. The algorithm is Q = −I <sup>(π)</sup> = I - 2|x ⟩|⟨ x| and
inverts the amplitude in the state |x⟩, W is Walsh-Hadamard transformation. It would carry
0 WIτ <sup>(π)</sup> 0 WIτ <sup>(π)</sup> 0 WIτ <sup>(π)</sup> W )...
out repeated operations of Q,that is, ...(−I <sup>(π)</sup> W )(−I <sup>(π)</sup> W )(−I <sup>(π)</sup>
τ <sup>(π)</sup> 0
..., where (−WI <sup>(π)</sup>
τ <sup>(π)</sup> 0
W )(−I <sup>(π)</sup>
0 WIτ <sup>(π)</sup> 0 WIτ <sup>(π)</sup> 0 WIτ <sup>(π)</sup> W )...
repeated operations of Q,that is, ...(−I <sup>(π)</sup> W )(−I <sup>(π)</sup> W )(−I <sup>(π)</sup>
0 W )Iτ <sup>(π)</sup> 0 W )Iτ <sup>(π)</sup> 0 W )Iτ <sup>(π)</sup> 0 W ) is just the inversion
= ...(−WI <sup>(π)</sup> (−WI <sup>(π)</sup> (−WI <sup>(π)</sup> ..., where (−WI <sup>(π)</sup>
0 W ),
<sup>(π)</sup>
0 W )Iτ <sup>(π)</sup>
<sup>(π)</sup>
τ <sup>(π)</sup> 0
(−WI <sup>(π)</sup>
0 W )Iτ <sup>(π)</sup>
<sup>(π)</sup>
τ <sup>(π)</sup> 0
(−WI <sup>(π)</sup>
0 WIτ <sup>(π)</sup>
<sup>(π)</sup>
0 W )Iτ <sup>(π)</sup>
<sup>(π)</sup>
τ <sup>(π)</sup> 0
W )(−I <sup>(π)</sup>
0 WIτ <sup>(π)</sup>
<sup>(π)</sup>
0 WIτ <sup>(π)</sup>
<sup>(π)</sup>
0 W )Iτ <sup>(π)</sup> 0 W )Iτ <sup>(π)</sup> 0 W )Iτ <sup>(π)</sup> 0 W ) is just the inversion
= ...(−WI <sup>(π)</sup> (−WI <sup>(π)</sup> (−WI <sup>(π)</sup> ..., where (−WI <sup>(π)</sup>
0
about-average operation. Therefore Grover’s algorithm consists of alternating iteration of (−WI <sup>(π)</sup>
1 The paper was supported by NSFC and partially by Lab. of computer science, ISCAS
1
inversion about the average, and Iτ <sup>(π)</sup>
inversion about the average, and Iτ <sup>(π)</sup>
,inversion of the amplitude in the desired state |τ ⟩. Then
in [4] Grover showed how to replace Walsh-Hadamard transformation in his original algorithm with an arbitrary quantum mechanical operation, obtained the quantum search algorithm
Q = −Iγ <sup>(π)U −1I</sup> τ <sup>(π)</sup> U,where U is an arbitrary unitary operation and U <sup>−1</sup> is the adjoint (the com
Q = −Iγ <sup>(π)U −1I</sup> τ <sup>(π)</sup> U,where U is an arbitrary unitary operation and U <sup>−1</sup> is the adjoint (the com
plex conjugate of the transpose) of U . Grover thinks that it leads to several new applications and
broadens the scope for implementation. When the amplitudes are rotated by arbitrary phases,
instead of being inverted, that is, Q = −Iγ <sup>(θ)U −1I</sup> τ <sup>(φ)</sup> U,where Ix <sup>(θ)</sup> = I − (−e <sup>iθ</sup> + 1)|x ⟩|⟨ x|, Long
γ <sup>(π)U −1I</sup> τ <sup>(π)</sup>
instead of being inverted, that is, Q = −Iγ <sup>(θ)U −1I</sup> τ <sup>(φ)</sup> U,where Ix <sup>(θ)</sup> = I − (−e <sup>iθ</sup> + 1)|x ⟩|⟨ x|, Long
et al. first found θ and φ must satisfy a matching condition: θ = φ, and derived an approximate
formula for the amplitude in the desired state[5] and studied the effects of using arbitrary phases
in amplitude amplification [7]. In [9] the phase condition that tan(ϕ/2) = tan(φ/2)(1 − a) was
presented. In [10] the recursion equations were used to study the quantum search algorithm.
Here, this paper presented two general quantum search algorithms, derived the iterated
formulas and the simpler approximate formulas of the amplitudes in the desired state. We
showed that the amplitude in the desired state can be precisely written as a polynomial in
(βλ) for any quantum search algorithms which preserve a two-dimensional vector space. This
is the first precise formula of the amplitude amplification in the desired state for the general
quantum search algorithms including Grover’ and Long et al.’ and Hoyer’s ones. The precise
formula for the amplitude can help derive a precise phase condition. A mathematical proof was
given in this paper for that Grover’s algorithm is optimal among the quantum search algorithms
with arbitrary phase rotations. We first found that the effects of rotating angles in the initial
state and the desired state on the amplitude of the desired state are not symmetric. We also
discussed the amplitude amplifications, and gave the first-order approximate phase condition
when rotating angles are different.
## 2 More general quantum search algorithm Q = −IγV Iτ U
Let Ix <sup>(θ)</sup>
= I - (−e <sup>iθ</sup> + 1)|x ⟩|⟨ x|. Grover studied the quantum search algorithm in [3]: Q =
−Iγ <sup>(π)U −1I</sup> τ <sup>(π)</sup> U, where U is an arbitrary unitary operator and U <sup>−1</sup> is the adjoint (the complex
γ <sup>(θ)U −1I</sup> τ <sup>(φ)</sup>
τ <sup>(φ)</sup> U,where Ix <sup>(θ)</sup>
Let Ix <sup>(θ)</sup>
−Iγ <sup>(π)U −1I</sup> τ <sup>(π)</sup> U, where U is an arbitrary unitary operator and U <sup>−1</sup> is the adjoint (the complex
conjugate of the transpose) of U and Ix <sup>(π)</sup>
inverts the amplitude in the state |x⟩. Generally let
γ <sup>(π)U −1I</sup> τ <sup>(π)</sup>
conjugate of the transpose) of U and Ix <sup>(π)</sup>
inverts the amplitude in the state |x⟩. Generally let
Ix = I −ae <sup>iθ</sup> |x ⟩|⟨ x|. Then Ix is unitary if and only if (1−ae <sup>iθ</sup> )(1−ae <sup>−iθ</sup> ) = 1. That is, a = 2 cos θ.
x <sup>.</sup> <sup>If</sup> <sup>let</sup> <sup>I</sup> <sup>′</sup>
Then Ix = I - 2 cos θe <sup>iθ</sup> |x ⟩|⟨ x|.When θ = 0, I′ x = I <sup>(π)</sup> x <sup>=</sup> <sup>I</sup> <sup>−</sup> <sup>(ae</sup> ( <sup>iθ</sup> π+ <sup>+ 1)</sup> θ) <sup>|x ⟩|⟨</sup> <sup>x|,</sup> <sup>then</sup>
x <sup>.</sup> <sup>If</sup> <sup>let</sup> <sup>I</sup> <sup>′</sup>
ThenI <sup>′</sup> Ix = I - 2 cos θe <sup>iθ</sup> |x ⟩|⟨ x|.When θ = 0, Ix′ x <sup>=</sup> = <sup>I</sup> Ix <sup>(θ(π)</sup> <sup>)</sup> or Ix <sup>(π+θ)</sup> x. <sup>=</sup> Clearly <sup>I</sup> <sup>−</sup> <sup>(ae</sup> Ix( <sup>iθ</sup> π+ <sup>+ 1)</sup> θ) = <sup>|x</sup> I <sup>⟩|⟨</sup> x <sup>(π)Ix</sup> x <sup>(|θ,)</sup> <sup>then</sup> and
x <sup>is</sup> <sup>unitary</sup> <sup>if</sup> <sup>and</sup> <sup>only</sup> <sup>if</sup> <sup>a</sup> <sup>=</sup> <sup>±1.That</sup> <sup>is,</sup> <sup>I</sup>
x <sup>.</sup> <sup>If</sup> <sup>let</sup> <sup>I</sup> <sup>′</sup>
<sup>(π)</sup> x
x <sup>(θ)</sup> = Ix <sup>(π)</sup>
I <sup>′</sup> x <sup>=</sup> <sup>I</sup> x <sup>(θ)</sup> or Ix <sup>(π+θ)</sup> . Clearly Ix = Ix <sup>(π)I</sup> x <sup>(θ)</sup> and
x <sup>is</sup> <sup>unitary</sup> <sup>if</sup> <sup>and</sup> <sup>only</sup> <sup>if</sup> <sup>a</sup> <sup>=</sup> <sup>±1.That</sup> <sup>is,</sup> <sup>I</sup>
Ix <sup>(π+θ)</sup> = I - 2 cos 2 <sup>θ</sup> <sup>eiθ|x ⟩|⟨</sup> <sup>x|</sup> <sup>and</sup> <sup>Ix</sup> <sup>=</sup> <sup>I</sup> <sup>−</sup> <sup>2 cos θeiθ|x ⟩|⟨</sup> <sup>x|</sup> <sup>=</sup> <sup>I</sup> x <sup>(π+θ)</sup> Ix <sup>(θ)</sup> = Ix <sup>(π)(I</sup> x <sup>(θ))2.</sup> <sup>Long</sup> <sup>et</sup>
x <sup>′</sup> <sup>is</sup> <sup>unitary</sup> <sup>if</sup> <sup>and</sup> <sup>only</sup> <sup>if</sup> <sup>a</sup> <sup>=</sup> <sup>±1.That</sup> <sup>is,</sup> <sup>I</sup>
′
x <sup>=</sup> <sup>I</sup> x <sup>(θ)</sup>
x <sup>(θ)</sup> or Ix <sup>(π+θ)</sup>
x <sup>(π+θ)</sup> . Clearly I
x(π+θ) = Ix <sup>(π)</sup>
x <sup>(π)I</sup> x <sup>(θ)</sup>
x Ix <sup>(θ)</sup>
2 <sup>θ</sup> <sup>eiθ|x ⟩|⟨</sup> <sup>x|</sup> <sup>and</sup> <sup>Ix</sup> <sup>=</sup> <sup>I</sup> <sup>−</sup> <sup>2 cos θeiθ|x ⟩|⟨</sup> <sup>x|</sup> <sup>=</sup> <sup>I</sup> <sup>(π+θ)</sup>
x <sup>(π)(I</sup> x <sup>(θ)</sup>
x <sup>(θ))2.</sup> <sup>Long</sup> <sup>et</sup>
x <sup>(π+θ)</sup>
= I - 2 cos 2 <sup>θ</sup>
2
al. studied the phase matching condition for the algorithm [5] Q = −Iγ <sup>(θ)</sup>
γ <sup>(θ)U −1I</sup> τ <sup>(φ)</sup>
al. studied the phase matching condition for the algorithm [5] Q = −Iγ <sup>(θ)U −1I</sup> τ <sup>(φ)</sup> U .
Let’s study the quantum search algorithm Q = −IγV Iτ U, where V and U are arbitrary
unitary N × N matrices, where N = 2 <sup>n</sup> for n qubits, and Iγ = I - 2 cos θe <sup>iθ</sup> |γ ⟩|⟨ γ| and
Iτ = I − 2 cos φe <sup>iφ</sup> |τ ⟩|⟨ τ |.
Since V and U are unitary, (V U ) is also unitary, where (V U ) is the product of V by U .
Then by the definition (V U ) <sup>−1</sup> = (V U ) <sup>+</sup> [1] which is the adjoint (the complex conjugate of
the transpose) of (V U ). Assume that (V U ) is hermitian. By the definition (V U ) = (V U ) <sup>+</sup>
[1], therefore (V U )(V U ) = (V UV U ) = I, where (V UV U ) is the product of the matrices. In
fact, given that (V U ) is unitary then (V U ) is hermitian if and only if (V UV U ) = I. We give
a proof as follows. Since (V U ) is unitary and hermitian, (V U )(V U ) = (V U )(V U ) <sup>+</sup> = I.
Conversely, from that (V UV U ) = I, we obtain (V U )(V U ) = (V U )(V U ) <sup>+</sup> since V U is unitary,
then (V U ) = (V U ) <sup>+</sup> . Therefore by the definition V U is hermitian.
For Grover’s algorithm V = U <sup>−1</sup> clearly (V U ) is hermitian. Here we give a sufficient condition in which (V U ) is hermitian as follows. If V and U are hermitian and V and U are commutative, then (V U ) is hermitian since by the definition V = V <sup>+</sup> and U = U <sup>+</sup> and (V U ) <sup>+</sup> =
U <sup>+</sup> V <sup>+</sup> = UV = V U.
On the assumption that (V U ) is hermitian we will show that Q preserves the four - dimensional vector space spanned by |γ⟩, (V U )|γ⟩, V |τ ⟩ and U <sup>−1</sup> |τ ⟩. After obtain V |τ ⟩ and
U <sup>−1</sup> |τ ⟩, we apply V <sup>−1</sup> to V |τ ⟩ or U to U <sup>−1</sup> |τ ⟩, then obtain the desired state |τ ⟩. Let’s calculate the amplitude in the desired state V |τ ⟩ and U <sup>−1</sup> |τ ⟩. We will use the notations in [4],
⟨τ |U |γ⟩ = Uτγ, ⟨γ|V |τ ⟩ = Vγτ, ⟨τ |V <sup>−1</sup> |γ⟩ = Vγτ <sup>∗</sup> <sup>,</sup> <sup>⟨τ</sup> <sup>|(UV )|τ</sup> <sup>⟩</sup> <sup>=</sup> <sup>(UV )ττ</sup> <sup>,</sup> <sup>⟨γ|(V U</sup> <sup>)|γ⟩</sup> <sup>=</sup> <sup>(V U</sup> <sup>)γγ.</sup>
⟨τ |U |γ⟩ = Uτγ, ⟨γ|V |τ ⟩ = Vγτ, ⟨τ |V <sup>−1</sup> |γ⟩ = Vγτ <sup>∗</sup> <sup>,</sup> <sup>⟨τ</sup> <sup>|(UV )|τ</sup> <sup>⟩</sup> <sup>=</sup> <sup>(UV )ττ</sup> <sup>,</sup> <sup>⟨γ|(V U</sup> <sup>)|γ⟩</sup> <sup>=</sup> <sup>(V U</sup> <sup>)γγ.</sup>
After calculating Q|γ⟩,Q((V U )|γ⟩), Q(V |τ ⟩) and Q(U <sup>−1</sup> |τ ⟩) we obtain the following express.
<sup>,</sup> <sup>where</sup>
<sup>=M</sup>
|γ⟩
(V U )|γ⟩
V |τ ⟩
U <sup>−1</sup> |τ ⟩
|γ⟩
(V U )|γ⟩
V |τ ⟩
U <sup>−1</sup> |τ ⟩
Q
<sup>.</sup>
2 cos θe <sup>iθ</sup> ((V U )γγ - 2 cos φe <sup>iφ</sup> UτγVγτ ) −1 2 cos φe <sup>iφ</sup> Uτγ 0
0 2 cos φe <sup>iφ</sup> Vγτ <sup>∗</sup> 0
−1 + 2 cos θe <sup>iθ</sup> - 4 cos θe <sup>iθ</sup> cos φe <sup>iφ</sup> |Vγτ | <sup>2</sup>
2 cos θe <sup>iθ</sup> Uτγ <sup>∗</sup> <sup>−</sup> <sup>4 cos θeiθ cos φeiφVγτ</sup> <sup>(UV )ττ</sup> 0 2 cos φe <sup>iφ</sup> (UV )ττ −1
2 cos θe <sup>iθ</sup> (1 − 2 cos φe <sup>iφ</sup> )Vγτ 0 2 cos φe <sup>iφ</sup> - 1 0
M =
2.1 The iterated formula for the amplitude
Next we derive the iterated formula for the amplitudes in the states |γ⟩, (V U )|γ⟩,V |τ ⟩ and
U <sup>−1</sup> |τ ⟩ for Q <sup>k</sup> |γ⟩ after k operations of Q.
3
Let Q|γ⟩ = l1|γ⟩− (V U )|γ⟩ + p1(V |τ ⟩),
Q((V U )|γ⟩) = l2|γ⟩ + p2(V |τ ⟩,
Q(V |τ ⟩) = l3|γ⟩ + p3(V |τ ⟩) − U <sup>−1</sup> |τ ⟩,
Q(U <sup>−1</sup> |τ ⟩) = l4|γ⟩ + p4(V |τ ⟩).
Let Q <sup>k</sup> |γ⟩ = ak|γ⟩ + bk((V U )|γ⟩) + ck(V |τ ⟩) + dk(U <sup>−1</sup> |τ ⟩), where ak,bk, ck and dk are the
amplitudes in the states |γ⟩, ((V U )|γ⟩), (V |τ ⟩) and (U <sup>−1</sup> |τ ⟩), respectively. Then Q <sup>k+1</sup> |γ⟩ =
Q(Q <sup>k</sup> |γ⟩) = akQ|γ⟩ + bkQ((V U )|γ⟩) + ckQ(V |τ ⟩) + dkQ(U <sup>−1</sup> |τ ⟩). Then we obtain the following
iterated formula:ak+1 = l1ak + l2bk + l3ck + l4dk, bk+1 = −ak, ck+1 = p1ak + p2bk + p3ck + p4dk
, dk+1 = −ck .
2.2 The first-order approximate formula for the amplitude
From the iterated formula we will approximate ck+1 using the first-order Taylor formula of
Uτγ. That is, in ck+1 we only keep the first-order of Uτγ and omit the high order of Uτγ. Let
Vγτ = Uτγ <sup>∗</sup> <sup>,</sup> <sup>(V U</sup> <sup>)γγ</sup> <sup>=</sup> <sup>(UV )ττ</sup> <sup>=</sup> <sup>0</sup> <sup>to</sup> <sup>approximate</sup> <sup>ck+1.</sup> Let’s give a brief justification as
Vγτ = Uτγ <sup>∗</sup> <sup>,</sup> <sup>(V U</sup> <sup>)γγ</sup> <sup>=</sup> <sup>(UV )ττ</sup> <sup>=</sup> <sup>0</sup> <sup>to</sup> <sup>approximate</sup> <sup>ck+1.</sup> Let’s give a brief justification as
follows. Clearly if V = ±U <sup>−1</sup>, then (V U ) = ±I, then (V U )γγ = (UV )ττ = ±1. Therefore
assume that V̸ = ±U <sup>−1</sup> .Let wij be any term of a unitary matrix W. Then by the definition
wik ¯wjk = δij,where δij is the Kronecker deta and w¯kj
k k
is the complex conjugate of wkj. That is, each row(column) of W has length one and any two
WW <sup>+</sup> = W <sup>+</sup> W = I[1], <sup>�</sup> wki ¯wkj = <sup>�</sup>
k
̸
k
wkj. That
wki ¯wkj = <sup>�</sup>
k
̸
wik ¯wjk = δij,where δij is the Kronecker deta and w¯kj
is the complex conjugate of wkj. That is, each row(column) of W has length one and any two
rows(columns) of W are orthogonal. Clearly |wij| ≤ 1. If |wij| = 1, then all terms of the ith row
and the jth column of W are zero except the ij term. The results above hold for V, U, (V U )
and (UV ) since they are unitary. Specially |(V U )γγ| ≤ 1 and |(UV )ττ | ≤ 1.
If W is assumed to be hermitian [1], then by the definition W = W <sup>+</sup>,that is, wij = w¯ji, then
all the diagonal terms ii of W are real. Since V is unitary and (V U ) is assumed to be hermitian,
it is easy to show that (UV ) also is hermitian. By the definition (V U ) = (V U ) <sup>+</sup> = U <sup>+</sup> V <sup>+</sup>, then
V <sup>+</sup> (V U )V = V <sup>+</sup> (U <sup>+</sup> V <sup>+</sup> )V, UV = V <sup>+</sup> U <sup>+</sup> = (UV ) <sup>+</sup>, therefore (UV ) also is hermitian. So all
the diagonal terms of (V U ) and (UV ) are real. Specially (V U )γγ and (UV )ττ are real.
Next we will give a sufficient condition in which all the diagonal terms of (V U ) and (UV )
are zero. For the detail please see the appendix 4.
If V is unitary and each Vij of the block form of V is of the form
a b
- b a
, and U = V <sup>+</sup> P .
Then U is unitary, (V U ) and (UV ) are unitary and hermitian, and all the diagonal terms of
(V U ) and (UV ) are zero. For the definition of P please see the appendix 4.
Now let us make the first-order approximate formula for the amplitude. Since p1 and p2
4
contain the factor Uτγ, we have to approximate ak with the expression without Uτγ.From Q|γ⟩
and Q <sup>2</sup> |γ⟩ a1 = 0, <sup>.</sup> b1 = −1, c1 = 2 cos φe <sup>iφ</sup> Uτγ, d1 = 0; a2 = <sup>.</sup> −e <sup>i2θ</sup>, b2 = 0, <sup>.</sup> c2 = <sup>.</sup> −2 cos φe <sup>iφ</sup> Uτγ,
k is odd;
d2 = −2 cos φe <sup>iφ</sup> Uτγ. By induction we obtain ak+1 = <sup>.</sup> −e <sup>i2θ</sup> ak−1, ak = <sup>.</sup>
k is odd;
k = 2m.
- (0−, 1) <sup>m</sup> e <sup>i2mθ</sup> m,
σ <sup>(m−l)</sup> δ <sup>l</sup>, k = 2
m
l=0
l=0
σ <sup>(m−l)</sup> δ <sup>l</sup>, k = 2
ck+1 = 2 cos <sup>.</sup> φe <sup>iφ</sup> (ak−ak−1)Uτγ+(1−2 cos φe <sup>iφ</sup> )ck−1, ck+1 = <sup>.</sup>
.
(−1) <sup>m</sup> 2 cos φe <sup>iφ</sup> Uτγ
m
l=0
l=0
(−1) <sup>m+1</sup> 2 cos φe <sup>iφ</sup> Uτγ
where σ = 2 cos θe <sup>iθ</sup> - 1 = e <sup>i2θ</sup>, δ = 2 cos φe <sup>iφ</sup> - 1 = e <sup>i2φ</sup> .
Case 1, σ = δ.That is, θ = φ, which is called phase matching condition by Long et al.’s
terminology.
In the case ck+1 = <sup>.</sup>
k = 2m;
k = 2m + 1,
- ((−−1)1) <sup>m</sup> m <sup>+1</sup> (k + 2) cos(k + 1) cos φe φeiφσ <sup>iφ</sup> mσU <sup>m</sup> τγU,τγ,
k = 2m;
k = 2m;
|ck+1| = <sup>.</sup> - ((kk + 1) + 2)|| cos cos φ φ||||UUτγτγ ||,, k = 2m + 1.
Therefore for arbitrary unitary operators V and U, when (V U ) is hermitian, Q = −IγV Iτ U
can be used to construct a quantum search algorithm that succeeds with certainty except that
Iγ = I or Iτ = I. The number of iterations is almost 1/ |cos φ| |Uτγ| to reach the desired state
|τ ⟩ from the initial state |γ⟩.
|ck+1| = <sup>.</sup>
Specially when σ = δ = 1,that is, θ = φ = 0, then Iγ = Iγ <sup>(π)</sup>
Specially when σ = δ = 1,that is, θ = φ = 0, then Iγ = Iγ <sup>(π), I</sup> τ <sup>=</sup> <sup>I</sup> τ <sup>(π)</sup>, the algorithm
becomes −Iγ <sup>(π)V I</sup> τ <sup>(π)</sup> U, and
γ <sup>(π)V I</sup> τ <sup>(π)</sup>
Iγ <sup>(π), I</sup> τ <sup>=</sup> <sup>I</sup> τ <sup>(π)</sup>
τ <sup>(π)</sup> U, and
(2Uτγ <sup>∗</sup> <sup>−</sup> <sup>4Vγτ</sup> <sup>(UV )ττ</sup> <sup>)</sup> 0 2(UV )ττ −1
−2Vγτ 0 1 0
above independently, please see the
derive <sup>=</sup>
<sup>.</sup>
|γ⟩
(V U )|γ⟩
V |τ ⟩
U <sup>−1</sup> |τ ⟩
can
(2(V U )γγ - 4UτγVγτ ) −1 2Uτγ 0
0 2Vγτ <sup>∗</sup> 0
(1 − 4|Vγτ | <sup>2</sup> )
(2U <sup>∗</sup> 0 2(UV )ττ
the
2.
Q
We can derive the above independently, please see the appendix 2.
sin(θ−φ
Case 2, σ̸ = δ, that is, θ̸ = φ. |ck+1| = <sup>.</sup> 2 |cos φ| |Uτγ| ��� sin(m+1)(
|γ⟩
(V U )|γ⟩
V |τ ⟩
U <sup>−1</sup> |τ ⟩
���, where k = 2m or
<sup>|θ −</sup> <sup>φ| <</sup>
2m +1.Clearly θlim→φ <sup>|ck+1| =</sup>
̸ ̸
k = 2m;
��� sin(m+1)(θ−φ) ���, where k = 2m or
k = 2m + 1. <sup>It means when almost |θ −</sup> <sup>φ| <</sup>
- ((kk + 2) + 1)||UUτγτγ|||| cos cos φ φ||,,
sin(θ−φ)
��� sin(m+1)(θ−φ)
2| cos φ||Uτγ|, Q can be used as a quantum search algorithm that succeeds with certainty though
θ̸ = φ.
5
## 3 The precise formula for the amplitude for the general algo- rithms which preserve a two-dimensional vector space and the non-symmetric effects of different rotating angles
Though in the algorithm Q = −IγV Iτ U in the section 1 above let V = U <sup>−1</sup> then obtain the
algorithm in this section Q = −IγU <sup>−1</sup> Iτ U, note that in the section 1 when we derived the
iterated and approximate formulas of the amplitudes in the state V |τ ⟩ we assumed Vγτ = Uτγ <sup>∗</sup> <sup>,</sup>
(V U )γγ = (UV )ττ = 0. And in the section 1 Q preserves the four - dimensional vector space
spanned by |γ⟩, (V U )|γ⟩, V |τ ⟩ and U <sup>−1</sup> |τ ⟩.In this section we will show that Q preserves the
two-dimensional vector space spanned by |γ⟩ and U <sup>−1</sup> |τ ⟩, clearly Vγτ, (V U )γγ and (UV )ττ don’t
appear. So the results in this section can not be obtained from the ones in the section 1 by
simply letting V = U <sup>−1</sup> . So for the algorithm in this section it is necessary to derive its iterated
formula, precise one and approximate one of the amplitude in the desired state and discuss its
amplitude amplification.
Let’s study the algorithm Q = −IγU <sup>−1</sup> Iτ U, where Iγ = I - 2 cos θe <sup>iθ</sup> |γ ⟩|⟨ γ| and Iτ =
I - 2 cos φe <sup>iφ</sup> |τ ⟩|⟨ τ |. When θ = φ = 0, it reduces to Grover’s algorithm.
After calculating, we obtain the following expression. For detailed derivation, please see the
appendix 3.
�� |γ⟩
U <sup>−1</sup> |τ ⟩
Q
- |γ⟩
U <sup>−1</sup> |τ ⟩
=
α β
- λ δ
where α = −(1 − 2 cos θe <sup>iθ</sup> + 4 cos θe <sup>iθ</sup> cos φe <sup>iφ</sup> |Uτγ| <sup>2</sup> ), β = 2 cos φe <sup>iφ</sup> Uτγ, λ = 2 cos θe <sup>iθ</sup> (1 −
2 cos φe <sup>iφ</sup> )Uτγ <sup>∗</sup> <sup>,</sup> <sup>δ</sup> <sup>=</sup> <sup>2 cos φeiφ</sup> <sup>−</sup> <sup>1.</sup> <sup>Clearly</sup> <sup>the</sup> <sup>present</sup> <sup>algorithm</sup> <sup>Q</sup> <sup>like</sup> <sup>Grover’s</sup> <sup>and</sup> <sup>Long</sup> <sup>et</sup>
al.’s algorithms preserves the vector space spanned by |γ⟩ and U <sup>−1</sup> |τ ⟩.
For Grover’s algorithm α = 1 − 4|Uτγ| <sup>2</sup>, β = 2Uτγ, λ = −2Uτγ <sup>∗</sup> <sup>,</sup> <sup>δ</sup> <sup>= 1.</sup>
For Long et al.’s algorithm α = −e <sup>iθ</sup> - ( −e <sup>iθ</sup> + 1)(−e <sup>iφ</sup> + 1)|Uτγ | <sup>2</sup>, β = (−e <sup>iφ</sup> + 1)Uτγ, λ = (
−e <sup>iθ</sup> + 1)e <sup>iφ</sup> Uτγ <sup>∗</sup> <sup>,</sup> <sup>δ</sup> <sup>= −eiφ.</sup>
For Grover’s algorithm α = 1 − 4|Uτγ| <sup>2</sup>, β = 2Uτγ, λ = −2Uτγ <sup>∗</sup>
−e <sup>iθ</sup> + 1)e <sup>iφ</sup> Uτγ <sup>∗</sup> <sup>,</sup> <sup>δ</sup> <sup>= −eiφ.</sup>
Hoyer’s algorithm preserves a two-dimensional vector space spanned by another two states,
where α = −{(1 − e <sup>iφ</sup> )a + e <sup>iφ</sup> }, β = (1 − e <sup>iφ</sup> ) <sup>√</sup> a <sup>√</sup> 1 − ae <sup>iϕ</sup>, λ = (1 − e <sup>iφ</sup> ) <sup>√</sup> a <sup>√</sup> 1 − a, δ = {(1 −
e <sup>iφ</sup> )a − 1}e <sup>iϕ</sup> .
The process of deriving the following iterated formula and precise formula for the amplitude
is the same for the present algorithm and Grover’ and Long et al.’s and Hoyer’s algorithms and
any other quantum search algorithms which preserve a two-dimensional vector space, this is
because the derivation is not concerned in the contents of α, β, λ and δ.
6
3.1 The iterated formula for the amplitude
Let’s derive the iterated formula for the amplitude in the desired state U <sup>−1</sup> |τ ⟩ of Q <sup>k</sup> |γ⟩. Let
Q|γ⟩ = α|γ⟩ + β(U <sup>−1</sup> |τ ⟩), Q(U <sup>−1</sup> |τ ⟩) = λ|γ⟩ + δ(U <sup>−1</sup> |τ ⟩). Then
Q <sup>2</sup> |γ⟩ = (α <sup>2</sup> + βλ)|γ⟩ + β(α + δ)(U <sup>−1</sup> |τ ⟩),......(1)
Q <sup>3</sup> |γ⟩ = (α <sup>3</sup> + βλ(2α + δ))|γ⟩ + β(α <sup>2</sup> + αδ + δ <sup>2</sup> + βλ)(U <sup>−1</sup> |τ ⟩),...(2)
Q <sup>4</sup> |γ⟩ = (α <sup>4</sup> + βλ(3α <sup>2</sup> + 2αδ + δ <sup>2</sup> ) + (βλ) <sup>2</sup> )|γ⟩
+β(α <sup>3</sup> + α <sup>2</sup> δ + αδ <sup>2</sup> + δ <sup>3</sup> + 2(α + δ)βλ)(U <sup>−1</sup> |τ ⟩)...(3)
Let Q <sup>k</sup> |γ⟩ = ak|γ⟩ + bk(U <sup>−1</sup> |τ ⟩), where ak and bk are the amplitudes in the initial state |γ⟩
and the desired state U <sup>−1</sup> |τ ⟩, respectively. Then Q <sup>k+1</sup> |γ⟩ = Q(Q <sup>k</sup> |γ⟩) = akQ|γ⟩ + bkQ(U <sup>−1</sup> |τ ⟩)
= (αak + λbk)|γ⟩ + (βak + δbk)(U <sup>−1</sup> |τ ⟩),clearly ak+1 = (αak + λbk) and bk+1 = (βak + δbk).
It is also the iterated formula for amplitude amplification for Grover’s and Long et al.’s and
Hoyer’s algorithms and any other quantum search algorithm which preserves a two-dimensional
vector space. Clearly it does not need to computer Q <sup>k</sup> (U <sup>−1</sup> |τ ⟩) to derive the iterated formula.
3.2 The precise formula for the amplitude
From the iterated formula above by induction ak and bk can be precisely written as the following
polynomial in (βλ), respectively. Let [x] be the greatest integer which is or less than x.
bk = β(ck0 + ck1(βλ) + ck2(βλ) <sup>2</sup> + ... + ck[(k−1)/2](βλ) <sup>[(k−1)/2]</sup> ), ......(4),
k-i-j-1
�� j
ki <sup>(j)</sup> <sup>=</sup>
where ckj =
n=k−1−2j
lk <sup>(j</sup> ( <sup>)</sup> k
i+j
- j
j
.
k <sup>(j</sup> ( <sup>)</sup> k−1−2j−n) <sup>αnδk−1−2j−n,and</sup> <sup>l</sup> ki <sup>(j)</sup>
ak = α <sup>k</sup> + dk1(βλ) + dk2(βλ) <sup>2</sup> + ... + dk[k/2](βλ) <sup>[k/2]</sup> ......(5),
k-i-j
�� j
<sup>(</sup> ki <sup>j)</sup> <sup>=</sup>
where dkj =
n=k−2j
k−1
�0
k1(
k−
�0
t <sup>(</sup> k <sup>j</sup> ( <sup>)</sup>
i+j-1
- j-1
.Note that
n
- 0
=
<sup>(</sup> k <sup>j</sup> ( <sup>)</sup> k−2j−n) <sup>αnδk−2j−n,</sup> <sup>and</sup> <sup>t(</sup> ki <sup>j)</sup>
1,for any n ≥ 0.
For Grover’s algorithm (βλ) = α − 1, δ = 1. Then bk can be written as bk = βrk, where rk
is real.
Here it does not need to computer Q <sup>k</sup> (U <sup>−1</sup> |τ ⟩) to derive the precise formula above. Clearly
it will save much more time to computer amplitude amplification in the desired state using the
precise formula for bk than the kth power of the matrix which represents the operator Q. The
formula is also the precise formula for the amplitude amplification for Grover’s and Long et
al.’s and Hoyer’s algorithms and any other quantum search algorithm which preserves a twodimensional vector space. From the precise formula for bk, it is not hard to see the phase
conditions in [9] are only sufficient.
7
For the detailed derivation of bk, please see appendix 3.
3.3 The non-symmetric effects of different rotating angles
Let us study the non-symmetric effects of different rotating angles of the initial state |γ⟩ and
the desired state U <sup>−1</sup> |τ ⟩ on the amplitude in the desired state. Clearly the norm of bk contains
the factor |β| which is 2| cos φ| |Uτγ|.It is not hard to see that the effect of φ on the amplitude
in the desired state is greater than that of θ when θ̸ = φ.It means that when θ̸ = φ the
effects of θ and φ on the amplitude in the desired state are not symmetric. For example, when
φ = π/2, then Iτ = I,Q = −IγU <sup>−1</sup> Iτ U = −IγU <sup>−1</sup> U = −Iγ,bk = 0, it means that Q does
nothing in the amplitude in the desired state except that it rotates the phase of the initial
state |γ⟩ by anglek−1 π + 2θ. When θ = π/2, then Iγ = I,Q = −IγU <sup>−1</sup> Iτ U = −U <sup>−1</sup> Iτ U,Q <sup>k</sup> |γ⟩ =
(−1) <sup>k</sup> |γ⟩ +(β
k−1
i=0
i=0
(−1) <sup>k−1−i</sup> δ <sup>i</sup> )U <sup>−1</sup> |τ ⟩, |bk| = 2|Uτγ || sin k(π/2 - φ)|. The result in this subsection
is also true for Long et al.’s algorithm.
3.4 The first-order approximate formula for the amplitude
Long et al. used many transformations and approximate operations to derive the approximate
formula for the amplitude amplification[4]. Next let’s derive only by induction the first-order
approximate formula for the amplitude bk in the desired state U <sup>−1</sup> |τ ⟩ using the iterated formula
above though it is easy to derive it from the polynomial in (βλ) of ak and bk, please see (4) and
(5)above. We only keep the first order of Uτγ in the amplitude in the state U <sup>−1</sup> |τ ⟩. In bk+1, β
contains the factor Uτγ, so ak should be approximated with the express without Uτγ; δ does not
contain the term Uτγ, so δbk only contains the first order of Uτγ provided that bk only contains
the first order of Uτγ. In ak+1, since λ contains the factor Uτγ <sup>∗</sup> <sup>and</sup> <sup>bk</sup> <sup>contains</sup> <sup>the</sup> <sup>factor</sup> <sup>Uτγ,</sup>
the first order of Uτγ. In ak+1, since λ contains the factor Uτγ <sup>∗</sup> <sup>and</sup> <sup>bk</sup> <sup>contains</sup> <sup>the</sup> <sup>factor</sup> <sup>Uτγ,</sup>
λbk must contain |Uτγ| <sup>2</sup> and is omitted. Therefore ak+1 should be approximated by σ ak, that
is, ak+1 = <sup>.</sup> σ ak, to make ak+1 not contain factor Uτγ. Let’s see how to approximate Q <sup>k</sup> |γ⟩ by
induction. Clearly
Q|γ⟩ = <sup>.</sup> σ|γ⟩ + β(U <sup>−1</sup> |τ ⟩),
Q <sup>2</sup> |γ⟩ = <sup>.</sup> σ <sup>2</sup> |γ⟩ + β(σ + δ)(U <sup>−1</sup> |τ ⟩)k.
σ <sup>k−1−i</sup> δ <sup>i</sup> .
Assume that Q <sup>k</sup> |γ⟩ = <sup>.</sup> σ <sup>k</sup> |γ⟩ + β(
i=0
σ <sup>k−1−i</sup> δ <sup>i</sup> )(U <sup>−1</sup> |τ ⟩). Then Q <sup>k+1</sup> |γ⟩ = <sup>.</sup> σ <sup>k+1</sup> |γ⟩ + (βσ <sup>k</sup> +
k−1
i=0
i=0
�k
k−1
i=0
δβ
k−1
i=0
σ <sup>k−1−i</sup> δ <sup>i</sup> )(U <sup>−1</sup> |τ ⟩) = σ <sup>k+1</sup> |γ⟩+β(
i=0
σ <sup>k−i</sup> δ <sup>i</sup> )(U <sup>−1</sup> |τ ⟩). Then by induction bk = <sup>.</sup> β
8
It is easy to verify that the approximate formula is just the first-order of Uτγ in the precise formula for bk. Please see the appendix 3. Clearly it does not need to computer Q <sup>k</sup> (U <sup>−1</sup> |τ ⟩) to
derive the approximate formula above.
3.5 A mathematical proof of Grover’s algorithm being optimal among the
algorithms with arbitrary phase rotations
Next let’s use the approximate formula to study its amplitude amplification and prove that
Grover’s algorithm is optimal. Clearly |β
k−1
i=0
U
i=0
σ <sup>k−1−i</sup> δ <sup>i</sup> | ≤ 2k |Uτγ|.We will prove that for any
case the norm of amplitude in desired state U <sup>−1</sup> |τ ⟩ after k operations of Q is less than 2k |Uτγ|
except Grover’s algorithm.
Case 1, σ = δ, that is, θ = φ. In the case the amplitude bk = <sup>.</sup> 2k cos φe <sup>iφ</sup> σ <sup>k−1</sup> Uτγ, |bk| = <sup>.</sup>
2k| cos φ| |Uτγ|. When cos φ̸ = 0,that is, Iγ = Iτ̸ = I,we obtain a quantum search algorithm that
succeeds with certainty.
Case 1.1. When σ = δ = 1, that is, θ = φ = 0,that is Grover’s algorithm, bk =.
β
k−1
i=0
k|
σ <sup>k−1−i</sup> δ <sup>i</sup> = 2kUτγ, (please see the appendix 1 to check it), the norm of the amplitude
i=0
i=0
|bk| = <sup>.</sup> 2k |Uτγ|. Let 2k |Uτγ| = 1, we obtained the maximum probability for the desired state
U <sup>−1</sup> |τ ⟩, in the case the optimal number of operations of Q is 1/2|Uτγ |, when |Uτγ| is taken as
1/√N, the number is √N/2. Here the optimal number is less than Grover’s optimal number
1/√N, the number is √N/2. Here the optimal number is less than Grover’s optimal number
π/4|Uτγ | evaluated in [4]. The optimal number of iteration steps obtained by Long et al. [5] is
π/4β,where |Uτγ| = sin β,so the optimal number also is almost π/4|Uτγ |. Please see the |bk| in
the table 1.
N, the number is
√
Table 1.
N/2 Uτγ = 1/
√
N N/2 Uτγ = 1/ N k |bk|
100 5 0.1 6 0.9375
400 10 0.05 12 0.9334
625 12 0.04 14 0.9010
900 15 1/30 17 0.9064
N
√
k−1
i=0
Case 1.2. When σ = δ̸ = 1,clearly |β
k−1
i=0
̸ ̸
i=0
σ <sup>k−1−i</sup> δ <sup>i</sup> | < 2k |Uτγ|.
k−1
i=0
̸ ̸
i=0
Case 2, σ̸ = δ, that is, θ̸ = φ. Clearly
i=0
σ <sup>k−1−i</sup> δ <sup>i</sup> = <sup>σ</sup> σ <sup>k−</sup> - <sup>δ</sup> δ <sup>k</sup> <sup>.</sup> <sup>|bk|</sup> <sup>=.</sup> <sup>|β</sup>
σ <sup>k−1−i</sup> δ <sup>i</sup> | =
2| cos φ||Uτγ|� 11−−cos 2cos 2(k(θθ−−φφ)) <sup>=2| cos φ||Uτγ||</sup> <sup>sin</sup> sin( <sup>k(</sup> θ <sup>θ</sup> - <sup>−</sup> φ <sup>φ</sup> ) <sup>)</sup> <sup>|.</sup> In the case σ̸ = δ, cos(θ - φ)̸ = ±1,by
̸ ̸
<sup>sin k(θ−φ)</sup> =.
sin(θ−φ) <sup>|</sup> <sup><</sup> <sup>k(k</sup> <sup>></sup> <sup>1),</sup> <sup>therefore</sup> <sup>|bk|</sup>
̸ ̸
the induction on k, it is not hard to prove that | <sup>sin k(θ−φ)</sup>
sin(θ−φ)
9
|β
k−1
i=0
i=0
σ <sup>k−1−i</sup> δ <sup>i</sup> | < 2k |Uτγ|.
From the cases 1 and 2, for Grover’s algorithm in the first-order approximate |bk| = 2k |Uτγ|;
for other cases |bk| < 2k |Uτγ|. It proved that Grover’s algorithm is an optimal one with the
θ = φ;
form −IγU <sup>−1</sup> Iτ U.From above |bk| = <sup>.</sup>
θ = φ;
- 2k| cos φ||Uτγ|, sin(θ−φ)
2 |cos φ| |Uτγ| θ̸ = φ,
one [5].
��� sin k(θ−φ) ���,
formula is simpler than Long et al.’s one [5].
���, θ̸ = φ, <sup>clearly the approximate</sup>
3.6 The first-order approximate phase condition with different rotating angles
In [6] Long et al. studied the effects of imperfect phase inversion. In [9] Peter Hoyer thinks if
θ̸ = φ and |ϕ − φ| ≤ c/√N for some approximate constant c then the marked state can still
√
̸
θ̸ = φ and |ϕ − φ| ≤ c/ N for some approximate constant c then the marked state can still
be found by Long et al.’s algorithm with high probability. Here we will give the first-order
approximate phase condition that |θ − φ| < 2| cos φ||Uτγ| and deduce when θ̸ = φ and θ and φ
satisfy the condition then the desired state can still be found by the present algorithm.
Let Maxk |bk| be the maximal |bk| for any k. When θ̸ = φ and |θ − φ| is small, Maxk |bk| = <sup>.</sup>
2| cos φ||Uτγ|/|θ - φ|. It means that Maxk |bk| is the inverse ratio of |θ - φ| when |θ - φ| is
small. When cos φ̸ = 0,let |θ − φ| = 2l| cos φ||Uτγ|. Then Maxk |bk| = 1 <sup>.</sup> /l. When 0 ≤ l < 1,that
is, |θ − φ| < 2| cos φ||Uτγ|, almost Maxk |bk| = <sup>.</sup> 1; when 1 < l,that is, |θ − φ| - 2| cos φ||Uτγ|,
Maxk |bk| ≤ 1/l < 1.Please see the following table 2.In the table 2 let Uτγ = 1/√N and φ = 0,
√
Maxk |bk| ≤ 1/l < 1.Please see the following table 2.In the table 2 let Uτγ = 1/ N and φ = 0,
where N = 100, Uτγ = 0.1. The experiments were done on IBM PC using MATLAB.
The table 2.
θ k |bk|
0.01 7 0.9899
0.02 8 0.9994
0.03 8 0.9930
0.04 100 0.9861
0.05 100 0.9525
When σ̸ = δ, clearly θlim→φ
<sup>sin k(θ−φ)</sup>
sin(θ−φ) <sup>| = 2k| cos φ||Uτγ</sup> <sup>|.When φ = 0,</sup> <sup>the limitation</sup>
̸ θlim→φ <sup>2| cos φ||Uτγ||</sup> <sup>sin k(θ−φ)</sup>
sin(θ−φ)
is 2k |Uτγ|, which is just Grover’s algorithm.
Acknowledgements
Thank Prof. G.L. Long for his reading the paper and discussion with him and comments.
Thank the reviewer for the helpful comments.
Appendix 1
10
For Grover’s algorithm,Q = −Iγ <sup>(π)</sup>
γ <sup>(π)U −1I</sup> τ <sup>(π)</sup>
For Grover’s algorithm,Q = −Iγ <sup>(π)U −1I</sup> τ <sup>(π)</sup> U,
Q|γ⟩ = (1 − 4|Uτγ| <sup>2</sup> )|γ⟩ + 2UτγU <sup>−1</sup> |τ ⟩
Q <sup>2</sup> |γ⟩ = Q(Q|γ⟩) = ((1 − 4|Uτγ | <sup>2</sup> ) <sup>2</sup> - 4|Uτγ| <sup>2</sup> )|γ⟩ + (4Uτγ - 8Uτγ|Uτγ| <sup>2</sup> )(U <sup>−1</sup> |τ ⟩).
Q <sup>3</sup> |γ⟩ = Q(Q <sup>2</sup> |γ⟩)
= ((1 − 4|Uτγ| <sup>2</sup> ) <sup>3</sup> - 12|Uτγ | <sup>2</sup> + 32|Uτγ | <sup>4</sup> )|γ⟩ + (6Uτγ - 32Uτγ|Uτγ| <sup>2</sup> + 32Uτγ|Uτγ| <sup>4</sup> )(U <sup>−1</sup> |τ ⟩)
Appendix 2
Q = −Iγ <sup>(π)</sup>
γ <sup>(π)V I</sup> τ <sup>(π)</sup>
τ <sup>(π)</sup> U . And note that ⟨γ|γ⟩ = 1, ⟨τ |U |γ⟩ = Uτγ, ⟨γ|U <sup>−1</sup> |τ ⟩ = Uτγ <sup>∗</sup>
γ <sup>V I</sup> τ <sup>(π)</sup> U . τγ <sup>(</sup> <sup>Since</sup>
Q = −I <sup>(π)</sup> And note that ⟨γ|γ⟩ = 1, ⟨τ |U |γ⟩ = Uτγ, ⟨γ|U <sup>−1</sup> |τ ⟩ = U <sup>∗</sup>
τγ <sup>).</sup> <sup>Then</sup>
U <sup>−1</sup> = U <sup>∗</sup> and ⟨γ|U <sup>∗</sup> |τ ⟩ = ⟨τ |U |γ⟩ <sup>∗</sup> = U <sup>∗</sup>
τγ <sup>).</sup> <sup>Then</sup>
= U <sup>∗</sup> and ⟨γ|U <sup>∗</sup> |τ ⟩ = ⟨τ |U |γ⟩ <sup>∗</sup> = U <sup>∗</sup>
Q|γ⟩ = −IγV Iτ U |γ⟩ = −(I − 2|γ ⟩⟨ γ|)V (I − 2|τ ⟩⟨ τ |)U |γ⟩
= −(I - 2|γ ⟩⟨ γ|)V U |γ⟩ + 2(I - 2|γ ⟩⟨ γ|)V |τ ⟩⟨ τ |U |γ⟩
= −(V U )|γ⟩ + 2|γ ⟩⟨ γ|V U |γ⟩ + 2Uτγ(V |τ ⟩) − 4Uτγ|γ ⟩⟨ γ|V |τ ⟩
= −(V U )|γ⟩ + (2(V U )γγ - 4UτγVγτ )|γ⟩ + 2Uτγ(V |τ ⟩).
Q(U <sup>−1</sup> |τ ⟩) = −IγV Iτ U (U <sup>−1</sup> |τ ⟩) = −IγV Iτ |τ ⟩ = IγV |τ ⟩
= (I - 2|γ ⟩⟨ γ|)V |τ ⟩ = V |τ ⟩− 2Vγτ |γ⟩.
Q(V U |γ⟩) = −IγV Iτ U (V U |γ⟩) = −(I - 2|γ ⟩⟨ γ|)V (I - 2|τ ⟩⟨ τ |)U (V U |γ⟩)
= −(I - 2|γ ⟩⟨ γ|)((V UV U )|γ⟩− 2V |τ ⟩⟨ τ |UV U |γ⟩)
= −(V UV U )|γ⟩ + 2V |τ ⟩⟨ τ |UV U |γ⟩ + 2|γ ⟩⟨ γ|V UV U |γ⟩− 4|γ ⟩⟨ γ|V |τ ⟩|⟨ τ |UV U |γ⟩
When V U is hermitian, then V UV U = I, V UV = U <sup>−1</sup> and UV U = V <sup>−1</sup> .
Then Q(V U |γ⟩) = −|γ⟩ + 2Vγτ <sup>∗</sup> <sup>(V |τ</sup> <sup>⟩) + 2|γ⟩−</sup> <sup>4Vγτ</sup> <sup>V</sup> γτ <sup>∗</sup> <sup>|γ⟩</sup> <sup>= (1 −</sup> <sup>4|Vγτ</sup> <sup>|2)|γ⟩</sup> <sup>+ 2V</sup> γτ <sup>∗</sup> <sup>(</sup>
γτ <sup>∗</sup> <sup>|γ⟩</sup> <sup>= (1 −</sup> <sup>4|Vγτ</sup> <sup>|2)|γ⟩</sup> <sup>+ 2V</sup> γτ <sup>∗</sup>
γτ <sup>∗</sup> <sup>(V |τ</sup> <sup>⟩) + 2|γ⟩−</sup> <sup>4Vγτ</sup> <sup>V</sup> γτ <sup>∗</sup>
Then Q(V U |γ⟩) = −|γ⟩ + 2Vγτ <sup>∗</sup> <sup>(V |τ</sup> <sup>⟩) + 2|γ⟩−</sup> <sup>4Vγτ</sup> <sup>V</sup> γτ <sup>∗</sup> <sup>|γ⟩</sup> <sup>= (1 −</sup> <sup>4|Vγτ</sup> <sup>|2)|γ⟩</sup> <sup>+ 2V</sup> γτ <sup>∗</sup> <sup>(V |τ</sup> <sup>⟩).</sup>
Q(V |τ ⟩) = −IγV Iτ U (V |τ ⟩) = −(I - 2|γ ⟩⟨ γ|)V (I - 2|τ ⟩⟨ τ |)U (V |τ ⟩)
= −(I - 2|γ ⟩⟨ γ|)((V UV )|τ ⟩− 2V |τ ⟩⟨ τ |UV |τ ⟩)
= −{(V UV )|τ ⟩− 2V |τ ⟩⟨ τ |UV |τ ⟩− 2|γ ⟩⟨ γ|V UV |τ ⟩ + 4|γ ⟩⟨ γ|V |τ ⟩⟨τ |UV |τ ⟩}
Then Q(V |τ ⟩) = −U <sup>−1</sup> |τ ⟩ + 2(UV )ττ (V |τ ⟩) + (2Uτγ <sup>∗</sup> <sup>−</sup> <sup>4Vγτ</sup> <sup>(UV )ττ</sup> <sup>)|γ⟩</sup>
Then Q(V |τ ⟩) = −U <sup>−1</sup> |τ ⟩ + 2(UV )ττ (V |τ ⟩) + (2Uτγ <sup>∗</sup> <sup>−</sup> <sup>4Vγτ</sup> <sup>(UV )ττ</sup> <sup>)|γ⟩</sup>
Appendix 3
The algorithm Q = −IγU <sup>−1</sup> Iτ U, where Iγ = I−2 cos θe <sup>iθ</sup> |γ ⟩|⟨ γ| and Iτ = I−2 cos φe <sup>iφ</sup> |τ ⟩|⟨ τ |.
Q|γ⟩ = −IγU <sup>−1</sup> Iτ U |γ⟩ = −IγU <sup>−1</sup> (I - 2 cos φe <sup>iφ</sup> |τ ⟩|⟨ τ |)U |γ⟩
= −Iγ(U <sup>−1</sup> U |γ⟩− 2 cos φe <sup>iφ</sup> U <sup>−1</sup> |τ ⟩|⟨ τ |U |γ⟩)
= −Iγ(|γ⟩− 2 cos φe <sup>iφ</sup> Uτγ(U <sup>−1</sup> |τ ⟩))
= −((I - 2 cos θe <sup>iθ</sup> |γ ⟩|⟨ γ|)|γ⟩− 2 cos φe <sup>iφ</sup> Uτγ(I - 2 cos θe <sup>iθ</sup> |γ ⟩|⟨ γ|)(U <sup>−1</sup> |τ ⟩))
= −(1 − 2 cos θe <sup>iθ</sup> + 4 cos θe <sup>iθ</sup> cos φe <sup>iφ</sup> |Uτγ| <sup>2</sup> )|γ⟩ + 2 cos φe <sup>iφ</sup> Uτγ(U <sup>−1</sup> |τ ⟩).
Q(U <sup>−1</sup> |τ ⟩) = −IγU <sup>−1</sup> Iτ U (U <sup>−1</sup> |τ ⟩) = −IγU <sup>−1</sup> Iτ |τ ⟩
11
= −IγU <sup>−1</sup> (I − 2 cos φe <sup>iφ</sup> |τ ⟩|⟨ τ |)|τ ⟩
= −Iγ(U <sup>−1</sup> |τ ⟩− 2 cos φe <sup>iφ</sup> U <sup>−1</sup> |τ ⟩|⟨ τ |τ ⟩)
= −Iγ(1 − 2 cos φe <sup>iφ</sup> )(U <sup>−1</sup> |τ ⟩)
= −(1 − 2 cos φe <sup>iφ</sup> )(I - 2 cos θe <sup>iθ</sup> |γ ⟩|⟨ γ|)(U <sup>−1</sup> |τ ⟩)
= −(1 − 2 cos φe <sup>iφ</sup> )(U <sup>−1</sup> |τ ⟩− 2 cos θe <sup>iθ</sup> |γ ⟩|⟨ γ|U <sup>−1</sup> |τ ⟩)
= −(1 − 2 cos φe <sup>iφ</sup> )(U <sup>−1</sup> |τ ⟩− 2 cos θe <sup>iθ</sup> Uτγ <sup>∗</sup> <sup>|γ⟩)</sup>
= −(1 − 2 cos φe <sup>iφ</sup> )(U <sup>−1</sup> |τ ⟩− 2 cos θe <sup>iθ</sup> Uτγ <sup>∗</sup> <sup>|γ⟩)</sup>
= (2 cos φe <sup>iφ</sup> - 1)(U <sup>−1</sup> |τ ⟩) + 2 cos θe <sup>iθ</sup> (1 − 2 cos φe <sup>iφ</sup> )Uτγ <sup>∗</sup>
= (2 cos φe <sup>iφ</sup> - 1)(U <sup>−1</sup> |τ ⟩) + 2 cos θe <sup>iθ</sup> (1 − 2 cos φe <sup>iφ</sup> )Uτγ <sup>∗</sup> <sup>|γ⟩</sup>
The following is the detailed derivation of the precise formula for the amplitude amplification.
Let Q <sup>k</sup> |γ⟩ = ak|γ⟩ + bk(U <sup>−1</sup> |τ ⟩), where ak and bk are the amplitudes in the state |γ⟩ and the
desired state U <sup>−1</sup> |τ ⟩, respectively. Then
b5 = β((α <sup>4</sup> + α <sup>3</sup> δ + α <sup>2</sup> δ <sup>2</sup> + αδ <sup>3</sup> + δ <sup>4</sup> ) + (3α <sup>2</sup> + 4αδ + 3δ <sup>2</sup> )βλ + (βλ) <sup>2</sup> )
a5 = α <sup>5</sup> + (4α <sup>3</sup> + 3α <sup>2</sup> δ + 2αδ <sup>2</sup> + δ <sup>3</sup> )βλ + (3α + 2δ)(βλ) <sup>2</sup>
b6 = β((α <sup>5</sup> + α <sup>4</sup> δ + α <sup>3</sup> δ <sup>2</sup> + α <sup>2</sup> δ <sup>3</sup> + αδ <sup>4</sup> + δ <sup>5</sup> ) +(4α <sup>3</sup> + 6α <sup>2</sup> δ + 6αδ <sup>2</sup> + 4δ <sup>3</sup> )βλ + 3(α + δ)(βλ) <sup>2</sup> )
a6 = α <sup>6</sup> + (5α <sup>4</sup> + 4α <sup>3</sup> δ + 3α <sup>2</sup> δ <sup>2</sup> + 2αδ <sup>3</sup> + δ <sup>4</sup> )βλ +(6α <sup>2</sup> + 6αδ + 3δ <sup>2</sup> )(βλ) <sup>2</sup> + (βλ) <sup>3</sup>
From the iterated formula it is not hard to by induction show that ak and bk can be written
as the following polynomial in (βλ), respectively.
bk = β(ck0 + ck1(βλ) + ck2(βλ) <sup>2</sup> + ... + ck[(k−1)/2](βλ) <sup>[(k−1)/2]</sup> ), ......,
where ckj =
n=k−1−2j
�0
lk <sup>(j</sup> ( <sup>)</sup> k−1−2j−n) <sup>αnδk−1−2j−n.</sup>
ak = α <sup>k</sup> + dk1(βλ) + dk2(βλ) <sup>2</sup> + ... + dk[k/2](βλ) <sup>[k/2]</sup> ......,
where dkj =
n=k−2j
k−
�0
t <sup>(</sup> k <sup>j</sup> ( <sup>)</sup> k−2j−n) <sup>αnδk−2j−n.</sup>
l <sup>j</sup>
l <sup>j</sup>
ki <sup>in</sup> <sup>the</sup> <sup>coefficients</sup> <sup>of</sup> <sup>βλ</sup> <sup>in</sup> <sup>b3, b4, b5, b6, b7</sup> <sup>constitute</sup> <sup>the</sup> <sup>following</sup> <sup>pyramid.</sup>
The table 3.
1 b3
2 2 b4
3 4 3 b5
4 6 6 4 b6
5 8 9 8 5 b7
Note that the diagonal elements 1,2,3,4,5,..., can be represented by ( <sup>1</sup> 1
Note that the diagonal elements 1,2,3,4,5,..., can be represented by ( <sup>1</sup> 1 <sup>), (2</sup> 1 <sup>), (3</sup> 1 <sup>), (4</sup> 1 <sup>), (5</sup> 1 <sup>)...;</sup> <sup>the</sup>
diagonal elements 1,2,3,4,... times 2 are 2,4,6,8,...,, respectively,...; then they times 3 are 3,6,9,...,
respectively;...
12
For example, l70 <sup>(1),</sup> <sup>l</sup> 71 <sup>(1),</sup> <sup>l</sup> 72 <sup>(1),</sup> <sup>l</sup> 73 <sup>(1)</sup> <sup>and</sup> <sup>l</sup> 74 <sup>(1)</sup> <sup>in</sup> <sup>the</sup> <sup>coefficient</sup> <sup>c71</sup> <sup>of</sup> <sup>βλ</sup> <sup>in</sup> <sup>b7</sup> <sup>can</sup> <sup>be</sup> <sup>represented</sup>
by ( <sup>1</sup> 1 <sup>)(5</sup> 1 <sup>),</sup> <sup>(2</sup> 1 <sup>)(4</sup> 1 <sup>),</sup> <sup>(3</sup> 1 <sup>)(3</sup> 1 <sup>),</sup> <sup>(4</sup> 1 <sup>)(2</sup> 1 <sup>)</sup> <sup>and</sup> <sup>(5</sup> 1 <sup>)(1</sup> 1 <sup>)</sup> <sup>respectively.</sup>
For example, l70 <sup>(1)</sup>
( <sup>1</sup> 1 <sup>)(5</sup> 1 <sup>),</sup> <sup>(2</sup> 1 <sup>)(4</sup> 1 <sup>),</sup> <sup>(3</sup> 1 <sup>)(3</sup> 1 <sup>),</sup> <sup>(4</sup> 1 <sup>)(2</sup> 1 <sup>)</sup> <sup>and</sup> <sup>(5</sup> 1 <sup>)(1</sup> 1 <sup>)</sup> <sup>respectively.</sup>
lki <sup>j</sup> <sup>in</sup> <sup>the</sup> <sup>coefficients</sup> <sup>of</sup> <sup>(βλ)2</sup> <sup>in</sup> <sup>b5, b6, b7, b8</sup>
lki <sup>j</sup> <sup>in</sup> <sup>the</sup> <sup>coefficients</sup> <sup>of</sup> <sup>(βλ)2</sup> <sup>in</sup> <sup>b5, b6, b7, b8</sup> <sup>constitute</sup> <sup>the</sup> <sup>following</sup> <sup>pyramid.</sup>
The table 4.
1 b5
3 3 b6
6 9 6 b7
10 18 18 10 b8
Note that the diagonal elements 1,3,6,10,..., can be represented by ( <sup>2</sup> 2
Note that the diagonal elements 1,3,6,10,..., can be represented by ( <sup>2</sup> 2 <sup>), (3</sup> 2 <sup>), (4</sup> 2 <sup>), (5</sup> 2 <sup>),...</sup> <sup>;</sup> <sup>then</sup>
the diagonal elements 1,3,6,... times 3 are 3,9,18,..., respectively; then they times 6 are 6,18,...,
respectively;...
For example, l70 <sup>(2),</sup> <sup>l</sup> 71 <sup>(2)</sup> <sup>and</sup> <sup>l</sup> 72 <sup>(2)</sup> <sup>in</sup> <sup>the</sup> <sup>coefficient</sup> <sup>c72</sup> <sup>of</sup> <sup>(βλ)2</sup> <sup>in</sup> <sup>b7</sup> <sup>can</sup> <sup>be</sup> <sup>also</sup> <sup>represented</sup> <sup>by</sup>
( <sup>2</sup> 2 <sup>)(</sup> 2 <sup>4),</sup> <sup>(</sup> 2 <sup>3)(</sup> 2 <sup>3)</sup> <sup>and</sup> <sup>(</sup> 2 <sup>4)(</sup> 2 <sup>2)</sup> <sup>respectively.</sup>
For example, l70 <sup>(2)</sup>
<sup>2</sup> 2 <sup>)(</sup> 2 <sup>4),</sup> <sup>(</sup> 2 <sup>3)(</sup> 2 <sup>3)</sup> <sup>and</sup> <sup>(</sup> 2 <sup>4)(</sup> 2 <sup>2)</sup> <sup>respectively.</sup>
lki <sup>j</sup> <sup>in</sup> <sup>the</sup> <sup>coefficients</sup> <sup>of</sup> <sup>(βλ)3</sup> <sup>in</sup>
lki <sup>j</sup> <sup>in</sup> <sup>the</sup> <sup>coefficients</sup> <sup>of</sup> <sup>(βλ)3</sup> <sup>in</sup> <sup>b7, b8, b9, b10</sup> <sup>constitute</sup> <sup>the</sup> <sup>following</sup> <sup>pyramid.</sup>
The table 5.
1 b7
4 4 b8
10 16 10 b9
20 40 40 20 b10
Note that the diagonal elements 1,4,10,20,... can be represented by( <sup>3</sup> 3
Note that the diagonal elements 1,4,10,20,... can be represented by( <sup>3</sup> 3 <sup>), (</sup> 3 <sup>4), (</sup> 3 <sup>5), (</sup> 3 <sup>6),...;</sup> <sup>the</sup>
diagonal elements 1,4,10,... times 4 are 4,16,40,..., respectively; then they times 10 are 10, 40,...,
respectively;...
For example, l100 <sup>(3)</sup> <sup>,</sup> <sup>l</sup> 101 <sup>(3)</sup> <sup>,</sup> <sup>l</sup> 102 <sup>(3)</sup> <sup>and</sup> <sup>l</sup> 103 <sup>(3)</sup> <sup>in</sup> <sup>the</sup> <sup>coefficient</sup> <sup>c103</sup> <sup>of</sup> <sup>(βλ)3</sup> <sup>in</sup> <sup>b10</sup> <sup>can</sup> <sup>be</sup> <sup>also</sup> <sup>repre-</sup>
sented by ( <sup>3</sup> 3 <sup>)(</sup> 3 <sup>6),</sup> <sup>(</sup> 3 <sup>4)(</sup> 3 <sup>5),</sup> <sup>(</sup> 3 <sup>5)(</sup> 3 <sup>4)</sup> <sup>and</sup> <sup>(</sup> 3 <sup>6)(</sup> 3 <sup>3)</sup> <sup>respectively.</sup>
Generally lki <sup>j</sup> <sup>in</sup> <sup>the</sup> <sup>coefficients</sup> <sup>of</sup> <sup>(βλ)k</sup> <sup>in</sup> <sup>b2k+1, b2k+2, b2k+3, b2k+4, b2k+5</sup> <sup>constitute</sup> <sup>the</sup>
following pyramid.
For example, l100 <sup>(3)</sup>
by ( <sup>3</sup> 3 <sup>)(</sup> 3 <sup>6),</sup> <sup>(</sup> 3 <sup>4)(</sup> 3 <sup>5),</sup> <sup>(</sup> 3 <sup>5)(</sup> 3 <sup>4)</sup> <sup>and</sup> <sup>(</sup> 3 <sup>6)(</sup> 3 <sup>3)</sup> <sup>respectively.</sup>
Generally lki <sup>j</sup> <sup>in</sup> <sup>the</sup> <sup>coefficients</sup> <sup>of</sup> <sup>(βλ)k</sup> <sup>in</sup> <sup>b2k</sup>
The table 6.
( <sup>k</sup> k <sup>)(k</sup> k <sup>)</sup> b2k+1
( <sup>k</sup> k <sup>)(k</sup> k <sup>+1</sup> ) ( <sup>k</sup> k <sup>+1</sup> )( <sup>k</sup> k <sup>)</sup> b2k+2
( <sup>k</sup> k
<sup>k</sup> k <sup>)(k</sup> k <sup>+1</sup>
( <sup>k</sup> k <sup>)(k</sup> k
( <sup>k</sup> k <sup>)(k</sup> k <sup>+1</sup> ) ( <sup>k</sup> k <sup>+1</sup> )( <sup>k</sup> k <sup>)</sup> b2k+2
( <sup>k</sup> k <sup>)(k</sup> k <sup>+2</sup> ) ( <sup>k</sup> k <sup>+1</sup> )( <sup>k</sup> k <sup>+1</sup> ) ( <sup>k</sup> k <sup>+2</sup> )( <sup>k</sup> k <sup>)</sup> b2k+3
<sup>k</sup> k <sup>)(k</sup> k <sup>+2</sup>
<sup>k</sup> k <sup>+1</sup> ) ( <sup>k</sup> k <sup>+1</sup>
<sup>k</sup> k <sup>+1</sup> ) ( <sup>k</sup> k <sup>+2</sup>
<sup>k</sup> k <sup>+1</sup> )( <sup>k</sup> k
( <sup>k</sup> k <sup>)(k</sup> k <sup>+2</sup> ) ( <sup>k</sup> k <sup>+1</sup> )( <sup>k</sup> k <sup>+1</sup> ) ( <sup>k</sup> k <sup>+2</sup> )( <sup>k</sup> k <sup>)</sup> b2k+3
( <sup>k</sup> k <sup>)(k</sup> k <sup>+3</sup> ) ( <sup>k</sup> k <sup>+1</sup> )( <sup>k</sup> k <sup>+2</sup> ) ( <sup>k</sup> k <sup>+2</sup> )( <sup>k</sup> k <sup>+1</sup> ) ( <sup>k</sup> k <sup>+3</sup> )( <sup>k</sup> k <sup>)</sup> b2k+4
( <sup>k</sup> k <sup>)(k</sup> k <sup>+3</sup>
<sup>k</sup> k <sup>+2</sup> ) ( <sup>k</sup> k <sup>+1</sup>
<sup>k</sup> k <sup>+2</sup> ) ( <sup>k</sup> k <sup>+2</sup>
<sup>k</sup> k <sup>+1</sup> )( <sup>k</sup> k <sup>+1</sup>
<sup>k</sup> k <sup>+2</sup> )( <sup>k</sup> k <sup>+2</sup>
<sup>k</sup> k <sup>+1</sup> ) ( <sup>k</sup> k <sup>+3</sup>
<sup>k</sup> k <sup>+3</sup> )( <sup>k</sup> k <sup>+1</sup>
<sup>k</sup> k <sup>+2</sup> )( <sup>k</sup> k <sup>)</sup>
( <sup>k</sup> k <sup>)(k</sup> k <sup>+3</sup> ) ( <sup>k</sup> k <sup>+1</sup> )( <sup>k</sup> k <sup>+2</sup> ) ( <sup>k</sup> k <sup>+2</sup> )( <sup>k</sup> k <sup>+1</sup> ) ( <sup>k</sup> k <sup>+3</sup> )( <sup>k</sup> k <sup>)</sup> b2k+4
( <sup>k</sup> k <sup>)(k</sup> k <sup>+4</sup> ) ( <sup>k</sup> k <sup>+1</sup> )( <sup>k</sup> k <sup>+3</sup> ) ( <sup>k</sup> k <sup>+2</sup> )( <sup>k</sup> k <sup>+2</sup> ) ( <sup>k</sup> k <sup>+3</sup> )( <sup>k</sup> k <sup>+1</sup> ) ( <sup>k</sup> k <sup>+4</sup> )( <sup>k</sup> k <sup>)</sup> b2k+5
<sup>k</sup> k <sup>)(k</sup> k <sup>+4</sup>
<sup>k</sup> k <sup>+4</sup> ) ( <sup>k</sup> k <sup>+1</sup>
<sup>k</sup> k <sup>+3</sup> ) ( <sup>k</sup> k <sup>+1</sup>
<sup>k</sup> k <sup>+1</sup> )( <sup>k</sup> k <sup>+3</sup>
<sup>k</sup> k <sup>+3</sup> ) ( <sup>k</sup> k <sup>+2</sup>
<sup>k</sup> k <sup>+1</sup> )( <sup>k</sup> k <sup>+2</sup>
<sup>k</sup> k <sup>+2</sup> ) ( <sup>k</sup> k <sup>+3</sup>
<sup>k</sup> k <sup>+2</sup> )( <sup>k</sup> k <sup>+1</sup>
<sup>k</sup> k <sup>+1</sup> ) ( <sup>k</sup> k <sup>+4</sup>
<sup>k</sup> k <sup>+3</sup> )( <sup>k</sup> k
<sup>k</sup> k <sup>+4</sup> )( <sup>k</sup> k
<sup>k</sup> k <sup>)</sup> b2k+5
k-i-j-1
�� j
Therefore we can conclude and prove by induction that l <sup>(j)</sup>
ki <sup>=</sup>
i+j
- j
.So we
obtain the precise formula for the amplitude bk in the desired state after operations of the
algorithm Q.
Appendix 4
13
The sufficient condition in which (V U ) and (UV ) are hermitian and all the diagonal terms
of (V U ) and (UV ) are zero
Let’s define the N ×N matrix P . Let pij be any terms of P, where p(2i−1)(2i) = 1, p(2i)(2i−1) =
1 and pij = 0 otherwise. Clearly P is unitary and hermitian, p <sup>2</sup> = 1, and all the diagonal terms
of P are zero. It is not hard to see that P has the block form which is diag{P1, P2, ..., Pm},
where m = N/2 and Pi is
0 1
- 1 0
for i = 1, 2, ..., m.
It is easy to verify that (PV ) means to interchange lines (2k − 1) and (2k) of V and (V P )
means to interchange columns (2k − 1) and (2k) of V, where k = 1, 2, ..., N/2.
Given that V is unitary. Then if U = V <sup>+</sup> P then U is unitary and (V U ) = V (V <sup>+</sup> P ) =
(V V <sup>+</sup> )P = P . AS well if V = U <sup>+</sup> P then (UV ) = (UU <sup>+</sup> )P = P . From U = V <sup>+</sup> P, obtain
U <sup>+</sup> = PV . From V = U <sup>+</sup> P, obtain V = PV P . Then we conclude the following sufficient
condition.
Sufficient condition (Version 1). If V is unitary, V = PV P and U = V <sup>+</sup> P, then (V U ) and
(UV ) are unitary and hermitian, and all the diagonal terms of (V U ) and (UV ) are zero.
Proof. From the discussion above (V U ) = P . Since V = PV P, (UV ) = (V <sup>+</sup> P )(PV P ) =
V <sup>+</sup> P <sup>2</sup> V P = (V <sup>+</sup> V )P = P . By the property of P, clearly the lemma holds.
<sup>,</sup> <sup>where</sup> <sup>m</sup> <sup>=</sup> <sup>N/2</sup> <sup>and</sup> <sup>each</sup> <sup>Vij</sup> <sup>is</sup> <sup>2×2</sup>
Let V has the block form
submatrix.
V11 V12 .. V14
V21 V22 .. V24
.. .. .. ..
Vm1 Vm2 .. Vmn
It is not hard to see that V = PV P if and only if Vij is of the form
From this we conclude the version 2 of the sufficient condition.
The sufficient condition (Version 2)
If V is unitary and each Vij of the block form of V is of the form
a b
- b a
a b
- b a
for 1 ≤ i, j ≤ m.
, and U = V <sup>+</sup> P .
Then (V U ) and (UV ) are unitary and hermitian, and all the diagonal terms of (V U ) and (UV )
are zero.
## References
[1] Garrett Birkhoff and Saunders Mac Lane, A survey of Modern Algebra, fourth edition,
1977, Macmillan Publishing Co., Inc.
14
[2] L.K. Grover, Phys. Rev. Lett. 79, 325-328(1997)
[3] L.K. Grover, Phys. Rev. Lett. 79, 4709-4712(1997)
[4] L.K. Grover, Phys. Rev. Lett. 80, 4329-4332(1998)
[5] G.L. Long, Y.S.LI, W.L.Zhang,and L. Niu. Phys. Rev. Lett. A. 262, 27-34(1999)
[6] G.L. Long, Y.S.LI, W.L.Zhang, and C.C.Tu. Phys. Rev. A, Vol. 61, 042305, 2000
[7] G.L. Long, W.L.Zhang, Y.S.Li, and L. Niu. Commun. Theor. Phys. 32,355(1999)
[8] P. Shor, in Proc. of the 35th Annual Symposium on Foundation of Computer Science, 1994,
IEEE Computer Society Press. Los Alamos, CA, 1994.pp124-134.
[9] P. Hoyer,Phy. Rev. A. 62,052304(2000)
[10] Eli Bilham et. al, 63, 012310, 2000
15
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.