QCMPI: A parallel environment for quantum computing

Article history: QCMPI is a quantum computer (QC) simulation package written in Fortran 90 with parallel processing capabilities. It is an accessible research tool that permits rapid evaluation of quantum algorithms for a large number of qubits and for various "noise" scenarios. The prime motivation for developing QCMPI is to facilitate numerical examination of not only how QC algorithms work, but also to include noise, decoherence, and attenuation effects and to evaluate the efficacy of error correction schemes. The present work builds on an earlier Mathematica code QDENSITY, which is mainly a pedagogic tool. In that earlier work, although the density matrix formulation was featured, the description using state vectors was also provided. In QCMPI, the stress is on state vectors, in order to employ a large number of qubits. The parallel processing feature is implemented by using the Message-Passing Interface (MPI) protocol. A description of how to spread the wave function components over many processors is provided, along with how to efficiently describe the action of general one- and two-qubit operators on these state vectors. These operators include the standard Pauli, Hadamard, CNOT and CPHASE gates and also Quantum Fourier transformation. These operators make up the actions needed in QC. Codes for Grover's search and Shor's factoring algorithms are provided as examples. A major feature of this work is that concurrent versions of the algorithms can be evaluated with each version subject to alternate noise effects, which corresponds to the idea of solving a stochastic Schrodinger equation. The density matrix for the ensemble of such noise cases is constructed using parallel distribution methods to evaluate its eigenvalues and associated entropy. Potential applications of this powerful tool include studies of the stability and correction of QC processes using Hamiltonian based dynamics.

[1]  G. Lindblad On the generators of quantum dynamical semigroups , 1976 .

[2]  Bruno Juliá-Díaz,et al.  QDENSITY - A Mathematica Quantum Computer simulation , 2006, Comput. Phys. Commun..

[3]  Ian Glendinning,et al.  Parallelization of the QC-Lib Quantum Computer Simulator Library , 2003, PPAM.

[4]  Min-Hsiu Hsieh,et al.  Classical Enhancement of Quantum Error-Correcting Codes , 2008, 0802.2414.

[5]  Geva Patz,et al.  A parallel environment for simulating quantum computation , 2003 .

[6]  K. Kraus,et al.  States, effects, and operations : fundamental notions of quantum theory : lectures in mathematical physics at the University of Texas at Austin , 1983 .

[7]  H. Elze Decoherence and Entropy in Complex Systems , 2004 .

[8]  Lov K. Grover Quantum Mechanics Helps in Searching for a Needle in a Haystack , 1997, quant-ph/9706033.

[9]  Bruno Juliá-Díaz,et al.  QDENSITY - A Mathematica quantum computer simulation , 2009, Comput. Phys. Commun..

[10]  H. Imai,et al.  General-purpose parallel simulator for quantum computing , 2002, quant-ph/0201042.

[11]  Lee Spector Quantum Computer Simulation , 2007 .

[12]  David Jones High performance , 1989, Nature.

[13]  Charles H. Bennett,et al.  Communication via one- and two-particle operators on Einstein-Podolsky-Rosen states. , 1992, Physical review letters.

[14]  Peter W. Shor,et al.  Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer , 1995, SIAM Rev..

[15]  Shor’s factoring algorithm and modern cryptography. An illustration of the capabilities inherent in quantum computers , 2004, quant-ph/0411184.

[16]  Thierry Paul,et al.  Quantum computation and quantum information , 2007, Mathematical Structures in Computer Science.

[17]  I. Glendinning,et al.  Parallelization of the General Single Qubit Gate and CNOT for the QC-lib Quantum Computer Simulator Library , 2003 .

[18]  Generalized stochastic Schrödinger equations for state vector collapse , 2001, quant-ph/0103037.

[19]  Alvin M. Despain,et al.  A Parallel Quantum Computer Simulator , 1998 .

[20]  Thomas Lippert,et al.  Massively parallel quantum computer simulator , 2006, Comput. Phys. Commun..

[21]  Charles H. Bennett,et al.  Teleporting an unknown quantum state via dual classical and Einstein-Podolsky-Rosen channels. , 1993, Physical review letters.

[22]  Anthony Skjellum,et al.  A High-Performance, Portable Implementation of the MPI Message Passing Interface Standard , 1996, Parallel Comput..