Robustness of The Quantum Search Algorithm: B. Pablo-Norman and M. Ruiz-Altaba
Robustness of The Quantum Search Algorithm: B. Pablo-Norman and M. Ruiz-Altaba
Algorithm
B. Pablo-Norman and M. Ruiz-Altaba
Abstract. We find exact results for Grover’s quantum search algorithm and
analyze its behavior under noisy situations when no quantum correction codes
are available. We compute how the algorithm slows down: it is still better than
a classical one, provided the noise is smaller than some bound, which we also
compute.
I INTRODUCTION
High reaction rates at hadronic colliders call for new ideas in triggering.
Neural networks have been implemented in this setting with some success.
We wish to explore the possibility of using quantum algorithms (presumably
in classical computers) for this purpose. One crucial drawback of quantum al-
gorithms implemented in quantum computers is their extreme dependence on
the exact complex phase between various states. Quantum correcting codes
can deal with simple situations, preventing to a large extent the loss of quan-
tum coherence. Nevertheless, in an implementation on a classical computer,
one would have to worry about the finite precision of these machines.
We thus analyze in this paper how a random gaussian noise, added to the
output at each step of the algorithm, afects the recently proposed quantum
search algorithm, i.e. a quantum procedure for finding a number in a phone
book.
Classically, the only way to find a number in a random phone book (one
not ordered alphabetically) is to search it entry by entry, checking each time
whether it is the searched one. If it is, the search is over. If it is not, then con-
tinue. Thus, any classical algorithm (whether deterministic or probabilistic)
will find the wanted number after N/2 steps, on the average. But this is only
true when a classical algorithm√is used.
Recently, Grover found a quantum
algorithm that requires only O N steps [1–4]. How does it work?
Suppose there are N = 2n entries in the phone book. Each of them can be
represented by a quantum mechanical state of n spin-1/2 particles. Start with
the initial state
1
√ 1
u0 = 1/ N
.. .
(1)
.
1
Assume, for notational simplicity and without loss of generality, that the entry
we are looking for is represented by the state |↓↓ . . . ↓i, let B be the unitary
transformation whose only action is invert the phase of the desired component,
which in this case is
−1 0 · · · 0
.
0 1 0 ..
B= .. . (2)
.
. 0 .. 0
0 0 ··· 1
The algorithm consists on the repeated action of the unitary transformation
X = DB, where D is the diffusion matrix. Explicitly:
N
−1 + 2
1 ··· 1
..
2 −1 1− N
1 .
X = DB = ..
2 . (3)
N ..
. 1 . 1
−1 1 1 1 − N2
The trick is that S can be diagonalized very easily, with eigenvalues e±iϕ
such that cos ϕ = 1 − N1 and therefore
1 √
Am = √ cos (mϕ) + N − 1 sin mϕ (6)
N
!
1 1
Bm = √ cos (mϕ) − √ sin mϕ (7)
N N −1
IV CONCLUSIONS
√
Grover’s quantum search algorithm requires O N steps, for a large
database with N entries. It thus improves any classical algorithm, needing
O(N)
3 steps.
Nevertheless, if noise is present, the algorithm slows down to
O N 4 steps, before breaking down completely. This breakdown occurs when
the width of the white noise reaches 43 N −1 . For large N, consequently, the
algorithm can withstand very little noise.
Acknowledgements. This work is supported in part by CONACYT
25504-E, DGAPA-UNAM IN103997. B.P.N. enjoys a scholarship from CONA-
CYT.
REFERENCES
1. L.K. Grover, Quantum computers can search rapidily by using almost any trans-
formation, Phys. Rev. Lett. vol. 80 (1998) 4329-4332.
2. L.K. Grover, Quantum Mechanics helps in searching for a needle in a haystack,
Phys. Rev. Letters, vol. 78 (2) (1997) 325-328..
3. D. Pyo, J. Kim, Quantum Database Searching by a Simple Query, quant-
ph/9708005.
4. M. Boyer, G. Brassard, P. Hoeyer / A. Tapp, Tight bounds on quantum searching,
Proc., PhysComp 1996..
5. A. Steane, Multi-particle interference and quantum error correction, Proc. R.
Soc. Lond. A 452 (1996) 2551-2577.
6. A.R. Calderbank and P.W. Shor, Good quantum error correction codes exist,
Phys. Rev. A 54 (1996) 1098-1105.
7. I.L. Chuang, Lieren, M.K. Vandersypen, Xin-lan Zhou, D.W. Leung, S. Loyd,
Experimental realization of a quantum algorithm, quant-ph/9801037.