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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file qcircpy-0.2.2.tar.gz
.
File metadata
- Download URL: qcircpy-0.2.2.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee597c7bde2a2bc70c518dd20d1cff18d1ede4d6d8963125846804880fb3b6b4 |
|
MD5 | 83551c74ae910472dcc2a54a2e571738 |
|
BLAKE2b-256 | fc75ac91bd6004864476995605b55ff380ebdedeaff6b7099340e303ce0300a1 |
File details
Details for the file qcircpy-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: qcircpy-0.2.2-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e68f73a3c1deb9800ef17a38c27b4dd7e824cd3b47331454bbfa4cf9bcf165b8 |
|
MD5 | 3bb43c11eb566ac9cbf9866cefca9b90 |
|
BLAKE2b-256 | 7d46dfbb14448c806a30d44db3e0e01ab4aa83254dabae272e9c3c270f26398a |