HyQuas: hybrid partitioner based quantum circuit simulation system on GPU

Quantum computing has shown its strong potential in solving certain important problems. Due to the intrinsic limitations of current real quantum computers, quantum circuit simulation still plays an important role in both research and development of quantum computing. GPU-based quantum circuit simulation has been explored due to GPU's high computation capability. Despite previous efforts, existing quantum circuit simulation systems usually rely on a single method to improve poor data locality caused by complex quantum entanglement. However, we observe that existing simulation methods show significantly different performance for different circuit patterns. The optimal performance cannot be obtained only with any single method. To address these challenges, we propose HyQuas, a \textbf{Hy}brid partitioner based \textbf{Qua}ntum circuit \textbf{S}imulation system on GPU, which can automatically select the suitable simulation method for different parts of a given quantum circuit according to its pattern. Moreover, to make better support for HyQuas, we also propose two highly optimized methods, OShareMem and TransMM, as optional choices of HyQuas. We further propose a GPU-centric communication pipelining approach for effective distributed simulation. Experimental results show that HyQuas can achieve up to 10.71 x speedup on a single GPU and 227 x speedup on a GPU cluster over state-of-the-art quantum circuit simulation systems.

[1]  Keisuke Fujii,et al.  Qulacs: a fast and versatile quantum circuit simulator for research purpose , 2020, Quantum.

[2]  Dmitry I. Lyakh,et al.  cuTT: A High-Performance Tensor Transpose Library for CUDA Compatible GPUs , 2017, ArXiv.

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

[4]  Gilles Brassard,et al.  Quantum cryptography: Public key distribution and coin tossing , 2014, Theor. Comput. Sci..

[5]  Stefano Carrazza,et al.  Qibo: a framework for quantum simulation with hardware acceleration , 2020, Quantum Science and Technology.

[6]  Raymond H. Putra,et al.  Quantum computing simulator on a heterogenous HPC system , 2019, CF.

[7]  Bo Yuan,et al.  Classical Simulation of Quantum Supremacy Circuits , 2020, 2005.06787.

[8]  Zhen Li,et al.  Quantum Computer Simulation on GPU Cluster Incorporating Data Locality , 2017, ICCCS.

[9]  Jin-Guo Liu,et al.  Yao.jl: Extensible, Efficient Framework for Quantum Algorithm Design , 2019, Quantum.

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

[11]  Robert Wille,et al.  The Power of Simulation for Equivalence Checking in Quantum Computing , 2020, 2020 57th ACM/IEEE Design Automation Conference (DAC).

[12]  Nobuyasu Ito,et al.  Massively parallel quantum computer simulator, eleven years later , 2018, Comput. Phys. Commun..

[13]  Rupak Biswas,et al.  A flexible high-performance simulator for the verification and benchmarking of quantum circuits implemented on real hardware , 2018 .

[14]  Tyson Jones,et al.  QuEST and High Performance Simulation of Quantum Computers , 2018, Scientific Reports.

[15]  Emilio L. Zapata,et al.  Simulation of quantum gates on a novel GPU architecture , 2007 .

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

[17]  Travis S. Humble,et al.  Quantum supremacy using a programmable superconducting processor , 2019, Nature.

[18]  Gushu Li,et al.  Eliminating Redundant Computation in Noisy Quantum Computing Simulation , 2020, 2020 57th ACM/IEEE Design Automation Conference (DAC).

[19]  John A. Gunnels,et al.  Breaking the 49-Qubit Barrier in the Simulation of Quantum Circuits , 2017, 1710.05867.

[20]  M. Head‐Gordon,et al.  Simulated Quantum Computation of Molecular Energies , 2005, Science.

[21]  Franck Cappello,et al.  Full-state quantum circuit simulation by using data compression , 2019, SC.

[22]  S. Lloyd,et al.  Quantum algorithms for supervised and unsupervised machine learning , 2013, 1307.0411.

[23]  Travis S. Humble,et al.  Establishing the quantum supremacy frontier with a 281 Pflop/s simulation , 2019, Quantum Science and Technology.

[24]  Maria Schuld,et al.  Quantum Machine Learning in Feature Hilbert Spaces. , 2018, Physical review letters.

[25]  Guangwen Yang,et al.  Quantum computational advantage using photons , 2020, Science.

[26]  Jiabin Yuan,et al.  Quantum Computer Simulation on Multi-GPU Incorporating Data Locality , 2015, ICA3PP.

[27]  Robert Wille,et al.  Advanced Simulation of Quantum Computations , 2017, IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems.

[28]  Alán Aspuru-Guzik,et al.  On the Chemical Basis of Trotter-Suzuki Errors in Quantum Chemistry Simulation , 2014, 1410.8159.

[29]  Alán Aspuru-Guzik,et al.  qHiPSTER: The Quantum High Performance Software Testing Environment , 2016, ArXiv.

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

[31]  Emilio L. Zapata,et al.  Parallel Quantum Computer Simulation on the CUDA Architecture , 2008, ICCS.

[32]  Guangwen Yang,et al.  Quantum-Teleportation-Inspired Algorithm for Sampling Large Random Quantum Circuits. , 2019, Physical review letters.

[33]  Roman Orus,et al.  Quantum computing for finance: Overview and prospects , 2018, Reviews in Physics.

[34]  Ievgeniia Oshurko Quantum Machine Learning , 2020, Quantum Computing.

[35]  H. Neven,et al.  Simulation of low-depth quantum circuits as complex undirected graphical models , 2017, 1712.05384.

[36]  Maurício L. Pilla,et al.  GPU-aware distributed quantum simulation , 2014, SAC.

[37]  S. Krishnamoorthy,et al.  Density Matrix Quantum Circuit Simulation via the BSP Machine on Modern GPU Clusters , 2020, SC20: International Conference for High Performance Computing, Networking, Storage and Analysis.

[38]  Maurício L. Pilla,et al.  Optimizing D-GM quantum computing by exploring parallel and distributed quantum simulations under GPUs arquitecture , 2016, 2016 IEEE Congress on Evolutionary Computation (CEC).

[39]  Adam Kelly,et al.  Simulating Quantum Computers Using OpenCL , 2018, 1805.00988.

[40]  Thomas Häner,et al.  0.5 Petabyte Simulation of a 45-Qubit Quantum Circuit , 2017, SC17: International Conference for High Performance Computing, Networking, Storage and Analysis.

[41]  H. Neven,et al.  Characterizing quantum supremacy in near-term devices , 2016, Nature Physics.