Noname manuscript No. (will be inserted by the editor) Efficiency of Open Quantum Walk implementation of Dissipative Quantum computing algorithms Ilya Sinayskiy · Francesco Petruccione 4 Received: date/Accepted: date 1 0 2 Abstract Anopenquantumwalkformalismfordissipativequantumcomput- n ing is presented. The approach is illustrated with the examples of the Toffoli a gate and the Quantum Fourier Transformfor 3 and 4 qubits. It is shown that J the algorithms based on the open quantum walk formalism are more efficient 6 than the canonical dissipative quantum computing approach. In particular, 2 the open quantum walks can be designed to converge faster to the desired ] steadystate andto increasethe probabilityofdetectionofthe outcomeofthe h computation. p - Keywords open quantum walk dissipative quantum computing quantum t · · n Fourier transform a u PACS 03.65.Yz 05.40.Fb 02.50.Ga q · · [ 1 1 Introduction v 8 The realistic description of any quantum system includes the unavoidable ef- 5 fect of the interaction with the environment [1]. Such open quantum systems 6 are characterized by the presence of dissipation and decoherence. For many 6 . applications, the influence of both phenomena on the reduced systems needs 1 0 I.Sinayskiy 4 NIThePandSchoolofChemistryandPhysics, 1 UniversityofKwaZulu-Natal,Westville,Durban,SouthAfrica : Tel.:+27-31-260-8133 v Fax:+27-31-260-8090 i X E-mail:[email protected] r F.Petruccione a NIThePandSchoolofChemistryandPhysics, UniversityofKwaZulu-Natal,Westville,Durban,SouthAfrica Tel.:+27-31-260-2770 Fax:+27-31-260-8090 E-mail:[email protected] 2 IlyaSinayskiy,FrancescoPetruccione to be eliminated or at least minimized. However, it was shown recently that the interaction with the environment not only can create complex entangled states [2,3,4,5,6,7], but also allows for universal quantum computation [8]. One of the well established approaches to formulate quantum algorithms is the language of quantum walks [9,10]. Both, continuous and discrete-time quantum walks can perform universal quantum computation [11,12]. Usually, taking into account the decoherence and dissipation in a unitary quantum walkreducesitsapplicabilityforquantumcomputation[13](although,invery small amounts decoherence has been found to be useful [14]). Recently,aframeworkfordiscretetimeopenquantumwalksongraphswas proposed [15], which is based upon an exclusively dissipative dynamics. This frameworkis inspired by a specific discrete time implementation of the Kraus representation of CP-maps on graphs. In continuous time and more general setting Whitfield et al. [16] introduced quantum stochastic walks to study the transition from quantum walk to classicalrandomwalk. In this paper the flexibility and the strength of the open quantum walk formalism [15] will be demonstratedbyimplementingalgorithmsfordissipativequantumcomputing. WiththeexampleoftheToffoligateandtheQuantumFourierTransformwith 3 and 4 qubits we will show that the open quantum walk implementation of the corresponding algorithms outperforms the original dissipative quantum computing model [8]. Insection2webrieflysummarizetheformalismofopenquantumwalks.In section 3 we review the dissipative quantum computing model and show how to implement an arbitrary simple unitary gate as well as the Toffoli gate. In section 4 with the help of the Quantum Fourier Transform for 3 and 4 qubits wedemonstratethattheopenquantumwalkapproachtoquantumcomputing allowsfortheimplementationofmoreinvolvedquantumalgorithms.Insection 5 we conclude and present an outlook on future work. 2 General construction of Open Quantum Walks OpenQuantumWalksaredefinedongraphswithafiniteorcountablenumber of vertices [15]. The dynamics of the walker will be described in the Hilbert space given by the tensor product . denotes the Hilbert space of the H⊗K H internal degrees of freedom of the walker. For example, in the case of a spin 1/2 walker the Hilbert space is = C2. The graph on which the walk is performed is decribed by a seHt of vHertices . The Hilbert space = CV has V K as many basis vectors, as number of vertices in . For an infinite number of V vertices we consider to be any separable Hilbert space with orthonormal K basis (i ) . i∈V | i For each edge (i,j) of the graph we introduce a bounded operator Bi j ∈ which will play the role of a generalized quantum coin. The operator Bi H j describesatransformationintheinternaldegreeoffreedomofthewalkerwhile “jumping” from node j to node i. To ensure conservation of probability and EfficiencyofOpenQuantum Walkimplementation... 3 positivity we enforce the condition, Bi†Bi =I. (1) j j i X This conditionguaranteesthat the localmap (ρ) defined ateachvertex j, j M (ρ)= BiρBi†, (2) Mj j j i X is completely positive and trace preserving. The CP-map is defined on j M the Hilbert space . In order to extend to the Hilbert space of the total j H M system, i.e. , we dilate the generalizedquantum coinoperationBj with H⊗K i thetransitiononthegraphinthefollowingway,Mi =Bi i j .Itiseasyto j j⊗| ih | see,thatifthebasisvectors i areorthonormalbasisvectorsthenMi satisfies | i j the following condition, Mi†Mi =I. (3) j j i,j X The above equality allow us to define a trace preserving and CP- map on M the Hilbert space of the total system , as H⊗K (ρ)= MiρMi†. (4) M j j i,j X With this choice of operators Mj the map conserves the structure of the i M density operators of the following form, ρ= ρ i i, (5) i ⊗| ih | i X with Tr(ρ )=1. In fact, one sees immediately that, i i P ρ i i = Biρ Bi† i i. (6) M i⊗| ih |! j j j ⊗| ih | i i j X X X The map acting on density matrices of the form ρ= ρ i i defines M i i⊗| ih | the Open Quantum Walk. P OneshouldunderstandthatwithinthisformulationoftheOpenQuantum Walkthetransitionbetweennodesiandjofthegrapharedrivenpurelybythe dissipative interaction with a common bath between this two nodes. In this sense the transitions between nodes are environment mediated. The direct transition due to unitary evolution is prohibited. In a corresponding micro- scopicsystem-environmentmodelanappropriatetotalHamiltonianguaranties that during each step of the walk the “walker” interacts with the Markovian environment common to the nodes involved in the step. The system-bath in- teractionisengineeredinsuchawaythatduringthetransitionfromthenodei tothenodej aquantumcoin(Bj)isappliedtotheinternaldegreeoffreedom i ofthe“walker”.Fromthispointthetransitionoperatorfromthenodeitothe 4 IlyaSinayskiy,FrancescoPetruccione Fig.1 Aschematicrepresentationofanopenquantumwalkona2-nodegraph.Theoper- atorsBj (i,j=0,1)representthetransitionoperators ofthewalk. i node j is proportional to Bj j i so that the probability of the “walker” i ⊗| ih | to jump will depend on the state of the internal degree of freedom and the interactionawith localMarkovianenvironment.Afull microscopicderivation of an open quantum walk from a physical Hamiltonian of a total system is beyond the scope of the present paper and will be presented elsewhere [17]. As an example of open quantum walk let us consider the simplest case of a walkona 2-nodegraph(seeFig.1).Inthis case the transitionoperatorsBj i (i,j =0,1) satisfy: B0†B0+B1†B1 =I, B1†B1+B0†B0 =I. (7) 0 0 0 0 1 1 1 1 The state of the walker ρ[n] after n steps is given by, ρ[n] =ρ[n] 0 0 +ρ[n] 1 1, (8) 0 ⊗| ih | 1 ⊗| ih | where the particular form of the ρ[n] (i=0,1) is found by recursion, i ρ[n] =B0ρ[n−1]B0†+B0ρ[n−1]B0†, (9) 0 0 0 0 1 1 1 ρ[n] =B1ρ[n−1]B1†+B1ρ[n−1]B1†. 1 0 0 0 1 1 1 3 Implementation of the arbitrary unitary operation and the Toffoli gate Recently, Verstraete et al. [8] suggested a dissipative model of quantum com- puting,capableofperforminguniversalquantumcomputation.Thedissipative quantumcomputing setupconsistsofalinearchainoftime registers.Initially, the system is in a time register labeled by 0. The result of the computation is measuredinthelasttimeregisterlabeledbyT.Neighboringtimeregistersare coupled to local baths. When the system reaches its unique steady state the resultoftheplannedquantumcomputationaltaskisthestateofthetimeregis- terT.Inparticular,foraquantumcircuitgivenbythesetofunitaryoperators U T the finalstate ofthe systemis givenby ψ =U U ...U U ψ . { t}t=1 | Ti T T−1 2 1| 0i Toreachthefinalstate ψ oneevolvesthesystemwiththehelpofthemaster T | i equation, d 1 ρ= L ρL† L†L ,ρ , (10) dt k k− 2{ k k }+ k X EfficiencyofOpenQuantum Walkimplementation... 5 where jump operators L are given by L = 0 1 0 0 and L = U k i i t t t | i h |⊗| i h | ⊗ t t+1 +U† t+1 t.Verstraeteet al. [8]haveshownthat inthis casethe | ih | t ⊗| ih | total system converges to a unique steady state, namely, 1 ρ= ψ ψ t t. (11) t t T +1 | ih |⊗| ih | t X It is clear, that the probability of successful detection of the result of the quantum computation ψ is given by 1/(T +1). T | i Using the formalism of open quantum walks one can perform dissipative quantum computations with higher efficiency. In order to demonstrate this fact we consider in the following the open quantum walk implementation of the simple unitary operation and the Toffoli gate. We startby showinghow to implement a simple gate givenby the unitary operator U. To achieve this it is sufficient to consider a 2-node graph (see Fig. 1). By choosing the following form of transition operators, B0 = √λI, 0 B1 = √ωI, B1 = √ωU and B0 = √λU† the OQW shown in Fig. 1 will 1 0 1 implement the single gateU.If the initial state ofthe system ψ is prepared 0 | i inthenode0,thenafterperformingtheopenquantumwalkthesystemreaches thesteadystateρ =λψ ψ 0 0 +ωU ψ ψ U† 1 1.Thepositive SS 0 0 0 0 | ih |⊗| ih | | ih | ⊗| ih | constants ω andλ satisfy λ+ω =1.The resultof the gate applicationcanbe detected in node 1 with probability ω. The physical meaning of the parameters ω and λ can be understood from the underlying microscopic model of the system [17]. For a “walker” coupled tobosonicMarkovianbathsweexpecttheparametersωandλtoscalelinearly withthemeannumbernofthermalbosons(photonorphonons)corresponding to the frequency of transition in the common environment which mediates transitions between nodes, ω γ(n+1)andλ γn, (12) ∼ ∼ where γ is a coefficient of the spontaneous emission. From this point of view thesteadystateofthe“walker”onthe2nodegraphwillalwayshavetheform (see Eq. (8)), [0] [1] ρ =ρ 0 0 +ρ 1 1. (13) SS SS ⊗| ih | SS ⊗| ih | If one takes B1 √ω and B0 √λ for i = (0,1), then Tr[ρ[0]] n and i ∼ i ∼ SS ∼ Tr[ρ[1]] (n+1). It is clear that there are two limiting cases, first ω = λ in SS ∼ the very high temperature limit (T = ) and second ω = 1,λ = 0 in the Bath ∞ zero temperature case (T =0). Bath Next we analyze the OQW implementation of the Toffoli gate [18]. Us- ing single qubits and CNOT-gates the Toffoli gate can be realized in a cir- cuit shown in Fig. 2a. The single qubits gates S, T, X and H are given by S = 0 0 +eiπ/2 1 1, T = 0 0 +eiπ/4 1 1, X = 0 1 + 1 0 and the | ih | | ih | | ih | | ih | | ih | | ih | Hadamard gate H =(0 0 1 1 +X)/√2. To implement the Toffoli gate | ih |−| ih | we need to implement 13 unitary operators. In the language of dissipative quantum computing this means that we need 13+1 time-registers (T = 13). 6 IlyaSinayskiy,FrancescoPetruccione Fig. 2 Quantum circuit, corresponding open quantum walk diagram and efficiency of the Toffoligate.Fig.2adepictsthecircuitimplementationoftheToffoligate.Thecorresponding openquantumwalkdiagramisshowninFig.2b.Fig.2cshowsthedynamicsofthedetection probabilityinthefinalnode13asfunctionofthenumberofstepsoftheOQW.Curves(c1) to (c4) correspond to different values of the parameter ω = 0.5,0.6,0.8,0.9, respectively. Fig. 2d shows the number of steps needed to reach the steady state (squares) and the probability of detection of the successful implementation of the gate (circles) as function of the parameter ω. The number of steps to reach a steady states is simulated with 10−7 accuracy. ThecorrespondingopenquantumwalkschemeisshowninFig2b.Inthiscase each node of the graph corresponds to a 3-qubit Hilbert space and each step of the walk corresponds to a transition of all three qubits. The set of unitary operators U ,U ,...,U corresponds to unitaries in the circuit. For example, 1 2 13 the unitary operator U is given by 6 U =I 0 0 I +I 1 1 X. (14) 6 2 2 2 ⊗| ih |⊗ ⊗| ih |⊗ In the Figs. 2c and 2d we analyze the efficiency of the OQW implementation of the Toffoli gate as a function of the parameter of the walk, i.e., ω. Fig. 2c shows the dependence of the detection probability in the last node labeled by 13 as function of the number of steps of the open quantum walk for different values of the parameter ω. Curve (1) of Fig. 2c corresponds to ω =0.5,which is the efficiency of the conventional dissipative quantum computing scheme. The formalism of open quantum walks allows to choose other values for ω. In particular, for higher values of ω = 0.6,0.8,0.9, the open quantum walk showsahigherefficiencyofcomputation.Fig.2danalyzesthenumberofsteps needed to reachthe steady state and the probability of detection ofthe result EfficiencyofOpenQuantum Walkimplementation... 7 ofthe computationinthe steadystateasafunctionofthe parameterω.From Fig. 2d it is clear that the number of steps needed to reach a steady state decreases with increasing parameter ω. Theaboveresulthasastraightforwardinterpretationfromtheopenquan- tum system dynamics point of view. Obviously, the ground state of the total system“walker+network”isthepurestate ψ =U U ...U U ψ 13 , G 13 12 2 1 0 | i | i⊗| i where ψ isthe3-qubitinputstateoftheToffoligateand 13 labelsthe13th 0 | i | i node of the graph in Fig. 2b. The steady state of the open walk converges to this pure state only in the case of ω = 1 and λ = 0 which corresponds to zero temperature of all local environments. In all other cases the steady state will be given by the density matrix ρ = 13 p ψ ψ i i, where SS i=0 i| iih i| ⊗ | ih | ψ =U U ...U ψ . In the casewhen ω =λ=1/2,which correspondsto i i i−1 1 0 | i | i P the conventionalDQC scheme,allprobabilitiesp =1/(T+1),whereT =13. i The probability to find the ”walker” in the ground state increases with de- creasing temperatures of the local environments, which in turn corresponds to increasingthe parameterω.In the explicit implementation ofthe quantum algorithmtheparameterω determinestheprobabilityofforwardpropagation. InasimilarwayitisalsoobviousfromFig.2dthatwithincreasingparameter ω the probability of detection of the result of the computation in node 13 increases. 4 Three and four qubit quantum Fourier transform The Quantum Fourier Transform (QFT) plays an important role in quantum computing and it is an essential part of many quantum algorithms [18]. In this sectionwe analyzethe efficiency of the OQWimplementationofQFT for the example of three and four qubits. The QFT is implemented throughout a sequence of Hadamard operations, phase gates and swap-gates. The swap gates canbe implemented as a sequence of three CNOT-gatesfor eachpair of qubits.ThequantumcircuitsforthreeandfourqubitsQFTareshowninFigs. 3aand 4a,respectively.The single qubit phase gate R fromFig 4a is givenby R= 0 0 +eiπ/8 1 1. The correspondingopen quantum walkdiagramfor a | ih | | ih | 3 qubit QFT is depicted in Fig. 3b. In the case of a 4 qubit QFT the diagram willbesimilar,buttherewillbe16nodes.Figs.3cand4bshowthedependence of the probability of successful performance of the QFT as a function of the numberofstepsofthewalk.Curves(1)-(4)inbothFigs.3cand4bcorrespond todifferentvaluesoftheparameterω =0.5,0.6,0.8,0.9,respectively.Asinthe caseofthe Toffoligate,curve(1)correspondsto the caseω =0.5whichis the conventionaldissipativequantumcomputingmodel.IntheFigs.3dand4cwe analyzethenecessarynumberofstepstoreachthesteadystateandthesuccess probabilityof measurementasa function ofthe parameterω.Similarly to the Toffoli gate implementation we observe that with increasing ω the number of steps to reach the steady state is decreasing and the probability of successful detection is increasing. Again, this is strong evidence that the open quantum walk approachto dissipative quantum computing is a promising one. 8 IlyaSinayskiy,FrancescoPetruccione Fig. 3 Quantum circuit, corresponding open quantum walk diagram and efficiency of the 3-qubit QFT. Fig. 3a depicts the circuit implementation of the 3-qubit QFT. The corre- sponding open quantum walk diagram is shown in Fig. 3b. Fig. 3c shows the dynamics of thedetectionprobabilityinthefinalnode9asfunctionofthenumberofstepsoftheOQW. Curves (c1) to (c4) correspond to different values of the parameter ω = 0.5,0.6,0.8,0.9, respectively. Fig. 3dshows the number of steps needed to reach the steady state (squares) andtheprobabilityofdetectionofthesuccessfulimplementationofthequantumalgorithm (circles) as function of the parameter ω. The number of steps to reach a steady states is simulatedwith10−7 accuracy. 5 Conclusion After briefly reviewing the formalism of open quantum walks on graphs and of dissipative quantum computing we have demonstrated the potential of the OQWapproachfordissipativequantumcomputing.With thehelpofthe Tof- foli gate and the QFT we have shown that the open quantum walk approach outperforms the original dissipative quantum computing model [8]. By in- creasing the probability of forward propagation in the “time registers” in the transition operators of the open quantum walk we can increase the probabil- ity of the successful computation result detection and decrease the number of steps of the walk which is required to reach the steady state. Infuture weplanto applythe openquantumwalkformalismto the devel- opment of new quantum algorithms. Inspired by the successful application of unitary quantum walks to quantum search algorithms, we expect dissipative quantumsearchalgorithmsbasedonopenquantumwalkstobe aninteresting alternative. Of course, the crucial milestones for the universal usage of open quantum walks for dissipative quantum computing, will be the demonstra- EfficiencyofOpenQuantum Walkimplementation... 9 Fig. 4 Quantum circuit and efficiency of the 4-qubit QFT. Fig. 4a depicts the circuit implementation of the 4-qubit QFT. The corresponding open quantum walk diagram is analogoustothe3-qubitQFT(seeFig.3b)butcontainsnot10but16nodes.Fig.4bshows the dynamics of the detection probability in the final node 15 as function of the number of steps of the OQW. Curves (b1) to (b4) correspond to different values of the parameter ω = 0.5,0.6,0.8,0.9, respectively. Fig. 4c shows the number of steps needed to reach the steady state (squares) and the probabilityof detection of the successful implementation of the quantum algorithm (circles) as function of the parameter ω. The number of steps to reachasteadystates issimulatedwith10−5 accuracy. tion of a physical realization procedure. The current formulation of OQWs is Markovian by design. A microscopic derivation of OQWs will assume a weak couplingofthesystemtotheenvironment,sothatwestillcanapplythestan- dard Born-Markov approximation. Also, it will be interesting to generalize this approachto non-MarkovianOQWand see if this increasesfurther the ef- ficiency of the implementation of dissipative quantum computing algorithms. Work along these lines is in progress. Acknowledgements This work is based upon research supported by the South African Research Chair Initiative of the Department of Science and Technology and National Re- searchFoundation. References 1. BreuerH.-P.andPetruccioneF.:TheTheoryofOpenQuantumSystems,613p,Oxford UniversityPress,Oxford,(2002) 10 IlyaSinayskiy,FrancescoPetruccione 2. Diehl S,MicheliA.,Kantian A.,KrausB.,Bu¨chler H.P.andZollerP.:Quantum states and phases in driven open quantum systems with cold atoms, Nature Phys. 4, 878-883 (2008). 3. VacantiG.andBeigeA.:Coolingatomsintoentangledstates,NewJ.Phys.11,083008, (2009). 4. Kraus B., Bu¨chler H.P., Diehl S., Kantian A., Micheli A. and Zoller P. :Preparation of entangled statesbyquantum Markovprocesses,Phys.Rev.A78,042307(2008). 5. KastoryanoM.J.,ReiterF.,andSørensenA.S.,Phys.Rev.Lett.106,090502(2011). 6. Sinaysky I., Petruccione F. and Burgarth D.: Dynamics of nonequilibrium thermal en- tanglement, Phys.Rev.A78,062301 (2008). 7. PumuloN.,Sinayskiy I.and Petruccione F.:Non-equilibriumthermal entanglement for athreespinchain,Phys.LettA,V375,Issue36,3157-3166(2011). 8. Verstraete F., Wolf M.M. , and Cirac J. I.:Quantum computation and quantum-state engineeringdrivenbydissipation,NaturePhys.5,633(2009) 9. Aharonov Y., Davidovich L. and Zagury N.: Quantum random walks, Phys. Rev. A48, 16871690 (1993). 10. KempeJ.:Quantumrandomwalks:Anintroductoryoverview,ContemporaryPhysics, V44,4,pp307-327(2003). 11. ChildsA.M.:UniversalComputationbyQuantumWalk,Phys.Rev.Lett.102,180501 (2009). 12. Lovett N.B., Cooper S., Everitt M., Trevers M. and Kendon V.: Universal quantum computation usingthediscrete-timequantum walk,Phys.Rev.A81,042330(2010). 13. KendonV.:Decoherenceinquantumwalks areview,MathematicalStructuresinCom- puterScience, V17,6,pp1169-1220 (2007). 14. Kendon V. and Tregenna B.:Decoherence can be useful inquantum walks, Phys. Rev. A67,042315 (2003) 15. Attal S., Petruccione F., Sabot C., and Sinayskiy I.:Open Quantum Random Walks, E-print:http://hal.archives-ouvertes.fr/hal-00581553/fr/ (2011). 16. Whitfield J. D., Rodr´ıguez-Rosario C. A. and Aspuru-Guzik A.: Quantum stochastic walks: A generalization of classical random walks and quantum walks, Phys. Rev. A81, 022323(2010). 17. Sinayskiy I. and Petruccione F.: Microscopic derivation of open quantum walks, (in preparation). 18. Nielsen M.A., Chuang I.L,:Quantum Computation and Quantum Information, 704p, CUP,Cambridge(2000)