Quantum Computer Simulation on Multi-GPU Incorporating Data Locality

Quantum computer simulation (QCS) provides an effective platform for the development and validation of quantum algorithms. The exponential runtime overhead limits the simulation scale on classical computers which makes advisable the use of Graphics Processing Units. However, simulating quantum computers on multi-GPU has poor performance due to low data locality and frequent data transfer. Here, we propose a novel implemental scheme for QCS on multi-GPU. Our implementation addresses the aforementioned challenges by (i) an efficient data distribution method enhancing high data locality on each GPU global memory and (ii) an assignment function for the threads mapping to each GPU memory space achieving high bandwidth and data reuse for multiple quantum gates. Experimental results show that the simulation of 29-qubit Quantum Fourier Transform algorithm using four NVIDIA K20c GPUs gains a performance ratio of 358, compared to the sequential implementation of released libquantum, along with a parallel efficiency of 0.92.

[1]  I. Chuang,et al.  Quantum Computation and Quantum Information: Bibliography , 2010 .

[2]  Weiwei Zhang,et al.  Workflow of the Grover algorithm simulation incorporating CUDA and GPGPU , 2013, Comput. Phys. Commun..

[3]  Lov K. Grover,et al.  Quantum computation , 1999, Proceedings Twelfth International Conference on VLSI Design. (Cat. No.PR00013).

[4]  Barenco,et al.  Elementary gates for quantum computation. , 1995, Physical review. A, Atomic, molecular, and optical physics.

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

[6]  Todd A. Brun,et al.  Quantum Computing , 2011, Computer Science, The Hardware, Software and Heart of It.

[7]  Simona Caraiman,et al.  Parallel quantum computer simulation on the GPU , 2011, 15th International Conference on System Theory, Control and Computing.

[8]  Emilio L. Zapata,et al.  Quantum computer simulation using the CUDA programming model , 2010, Comput. Phys. Commun..

[9]  D. Deutsch Quantum computational networks , 1989, Proceedings of the Royal Society of London. A. Mathematical and Physical Sciences.

[10]  Reagan Moore,et al.  Data-intensive computing , 1998 .

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