jwoehr / qiskit-community-qcgpu-provider

A provider which allows Qiskit to use the QCGPU simulator

Home Page:http://qcgpu.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

http://qcgpu.github.io/

License:Apache License 2.0


Languages

Language:Python 99.5%Language:Makefile 0.5%