QCLAB++: Simulating Quantum Circuits on GPUs

02/28/2023
by   Roel Van Beeumen, et al.
0

We introduce qclab++, a light-weight, fully-templated C++ package for GPU-accelerated quantum circuit simulations. The code offers a high degree of portability as it has no external dependencies and the GPU kernels are generated through OpenMP offloading. qclab++ is designed for performance and numerical stability through highly optimized gate simulation algorithms for 1-qubit, controlled 1-qubit, and 2-qubit gates. Furthermore, we also introduce qclab, a quantum circuit toolbox for Matlab with a syntax that mimics qclab++. This provides users the flexibility and ease of use of a scripting language like Matlab for studying their quantum algorithms, while offering high-performance GPU acceleration when required. As such, the qclab++ library offers a unique combination of features. We compare the CPU simulator in qclab++ with the GPU kernels generated by OpenMP and observe a speedup of over 40×. Furthermore, we also compare qclab++ to other circuit simulation packages, such as cirq-qsim and qibo, in a series of benchmarks conducted on NERSC's Perlmutter system and illustrate its competitiveness.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/12/2022

Performance Evaluation and Acceleration of the QTensor Quantum Circuit Simulator on GPUs

This work studies the porting and optimization of the tensor network sim...
research
03/11/2022

GATSPI: GPU Accelerated Gate-Level Simulation for Power Improvement

In this paper, we present GATSPI, a novel GPU accelerated logic gate sim...
research
07/27/2023

Quantum Computer Simulations at Warp Speed: Assessing the Impact of GPU Acceleration

Quantum computer simulators are crucial for the development of quantum c...
research
08/01/2020

Faster Schrödinger-style simulation of quantum circuits

Recent demonstrations of superconducting quantum computers by Google and...
research
09/09/2023

Fast Simulation of High-Depth QAOA Circuits

Until high-fidelity quantum computers with a large number of qubits beco...
research
07/03/2022

Quantum AI simulator using a hybrid CPU-FPGA approach

The quantum kernel method is one of the most important methods in quantu...
research
10/21/2017

GooFit 2.0

The GooFit package provides physicists a simple, familiar syntax for man...

Please sign up or login with your details

Forgot password? Click here to reset