Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

A provider which allows Qiskit to use the QCGPU simulator

License

Notifications You must be signed in to change notification settings

qiskit-community/qiskit-qcgpu-provider

Repository files navigation

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.

About

A provider which allows Qiskit to use the QCGPU simulator

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published