All Projects → qiskit-community → qiskit-qcgpu-provider

qiskit-community / qiskit-qcgpu-provider

Licence: Apache-2.0 license
A provider which allows Qiskit to use the QCGPU simulator

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Qiskit QCGPU Provider

This module contains Qiskit simulators using the OpenCL based QCGPU library.

This provider adds two quantum circuit simulators, which are:

  • Statevector simulator - returns the statevector of a quantum circuit applied to the |0> state
  • Qasm simulator - simulates a qasm quantum circuit that has been compiled to run on the simulator.

These simulation backends take advantage of the GPU or other OpenCL devices.

Installation

First of all, you will have to have some OpenCL installation installed already.

You can install this module from PyPI using pip:

$ pip install qiskit-qcgpu-provider

Usage

The usage of this backend with Qiskit is shown in the usage example

For more information on Qiskit and quantum simulations, look at the Qiskit tutorials and the Qiskit instructions page

Benchmarking

To benchmark this simulator against the BasicAer qasm_simulator, you can run

$ python3 benchmark.py --samples 15  --qubits 5 --single True

License

This project uses the Apache License Version 2.0 software license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].