.ca. h.) z { e n )) y ber yy um it.edu. k y bits x; x x.ac.uk. tum com- [email protected] cs.m y of Calgary h as gener- estigate the eter Shor v )to( hard Clev P T&T Bell Labs einfurter ysics.o ersit A C5710) ein tum gates (U(2)) atson.ibm.com. x; y yu.edu. Ric Univ [email protected]. ysics.n alues ( Univ. of Innsbruc ysics.ucla.edu. (and IBM Researc Harald W t other gates, suc h 22, 1995 (A tum computation er b ounds on the exact n x y w esta.ph h [email protected] MIT yc , Alb erta, Canada T2N 1N4; clev h.att.com. k, Austria; harald.w y prop osed constructions of quan bridge MA 02139 USA; [email protected] Abstract UCLA Norman Margolus IBM Researc e upp er and lo X1 3PU, UK; [email protected] John Smolin Charles H. Bennett ysical Review A, Marc e deriv e-or gate (that maps Bo olean v ork, NY 10598, USA; b ennetc/divince@w tral role in man k , Oxford O e gates required to implemen ork, NY 10003 USA; t v y ysics, A-6020 Innsbruc h y o oli gates, that apply a sp eci c U(2) transformation to one orks. W y a cen ts, New Y w h-T ersit tary gates for quan o-bit exclusiv w that a set of gates that consists of all one-bit quan ork Univ. QUANT-PH-9503016 t of Computer Science, Calgary . DiVincenzo submitted to Ph w ho Sleator ersal in the sense that all unitary op erations on arbitrarily man wn Heigh )) can b e expressed as comp ositions of these gates. W y Hill, NJ 07974 USA; shor@researc e sho yc n b er of the ab o IBM Researc New Y W T vid P ysics Dept., Los Angeles, CA 90024; smolin@v ysics Dept., New Y orkto um Oxford Univ putational net is univ alized Deutsc input bit if andThese only gates pla if the logical AND of all remaining input bits is satis ed. and the t (U(2 n Inst. for Exptl. Ph Ph Murra Ph Lab oratory for Computer Science, Cam Departmen Y Clarendon Lab oratory Da x z y k { Adriano Barenco yy Elemen
of elementary gates required to build up a varietyoftwo- and three-bit quan-
tum gates, the asymptotic numb er required for n-bit Deutsch-To oli gates, and
make some observations ab out the numb er required for arbitrary n-bit unitary
op erations.
PACS numb ers: 03.65.Ca, 07.05.Bx, 02.70.Rw, 89.80.+h 2
1 Background
It has recently b een recognized, after ftyyears of using the paradigms of classical
physics (as emb o died in the Turing machine) to build a theory of computation, that
quantum physics provides another paradigm with clearly di erent and p ossibly much
more p owerful features than established computational theory. In quantum compu-
tation, the state of the computer is describ ed by a state vector , which is a complex
linear sup erp osition of all binary states of the bits x 2f0;1g:
m
X X
2
(t)= jx ;:::;x i; j j =1:
x 1 m x
m
x
x2f0;1g
The state's evolution in the course of time t is describ ed byaunitary op erator U on
this vector space, i.e., a linear transformation which is bijective and length-preserving.
This unitary evolution on a normalized state vector is known to b e the correct physical
description of an isolated system evolving in time according to the laws of quantum
mechanics[1].
Historically, the idea that the quantum mechanics of isolated systems should b e
studied as a new formal system for computation arose from the recognition twenty
years ago that computation could b e made reversible within the paradigm of clas-
sical physics. It is p ossible to p erform any computation in a way that is reversible
b oth logical ly |i.e., the computation is a sequence of bijective transformations|and
thermodynamical ly |the computation could in principle b e p erformed bya physi-
cal apparatus dissipating arbitrarily little energy [2]. A formalism for constructing
reversible Turing machines and reversible gate arrays (i.e., reversible combinational
logic) was develop ed. Fredkin and To oli[3 ] showed that there exists a 3-bit \univer- 3
sal gate" for reversible computation, that is, a gate which, when applied in succession
to di erent triplets of bits in a gate array, could b e used to simulate any arbitrary
reversible computation. (Two-bit gates like NAND which are universal for ordinary
computation are not reversible.) To oli's version[4] of the universal reversible gate
will gure prominently in the b o dy of this pap er.
Quantum physics is also reversible, b ecause the reverse-time evolution sp eci ed by