Skip to main content

A package for Python Quantum Circuit Simulation and Benchmarking

Project description

QCircPy

QCircPy is a Quantum Computer Simulation and Benchmarking package on Python with GPU and CPU flexibility and performance. It allows the user to benchmark and run simple Quantum Circuits on a GPU or CPU with numpy and cupy.

This project is for educational purposes.

Installation

Prerequisites

QCircPy requires numpy, which is installed automatically, and cupy, which the user should install manually based on their CUDA version.

For users using CUDA 11.x:

pip install cupy-cuda11x

or:

py -m pip install cupy-cuda11x

For users using CUDA 12.x:

pip install cupy-cuda12x

or:

py - m pip install cupy-cuda12x

Then, finally:

Installation

pip install qcircpy

or:

py -m pip install qcircpy

Usage

It is recommended to use the engine subpackage as an interface to QCircPy's functionalities.

import qcircpy.engine as qp

Detailed usage can be found in USAGE.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qcircpy-0.2.2.tar.gz (9.5 kB view hashes)

Uploaded Source

Built Distribution

qcircpy-0.2.2-py3-none-any.whl (10.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page