Qoin
qoin is the analogue of random package implemented through gate-based quantum computing.
Getting Started
Prerequisites
- Python 3.9+
Installation
qoin can be installed with the command :
pip install qoin
The default installation of qoin includes numpy, qiskit, and qiskit_aer.
Usage
The docs/examples are a good way for understanding how the package works.
from qoin import QRNG
random_generator = QRNG()
random_generator.randint(5, 10)
Testing
Run all tests with the command:
py -m pytest tests
Note: if you have installed in a virtual environment, remember to install pytest in the same environment using:
pip install pytest
License
The package is released under the GPL Ver 3.0 license.
Metadata
Release files for qoin 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| qoin-1.0.7.tar.gz | 43.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| qoin-1.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 74.1 kB
Release files / qoin-1.0.7.tar.gz
| Download URL | qoin-1.0.7.tar.gz |
|---|---|
| Size | 43.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08667c6e7c27e78f52c6b4533e1e75b572db7547f421cf16ac85b11d9b4c4be0
|
|
BLAKE2b-256 checksum How to use checksums |
4aa3d40a42152eaa4aea0082da85ec28617a53fdd31efe90aea0670e48c97e47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.9
|
Release files / qoin-1.0.7-py3-none-any.whl
| Download URL | qoin-1.0.7-py3-none-any.whl |
|---|---|
| Size | 30.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fe30a3f69b4d11a9273c2fd4b3e3ed7587e3efc47c69435e5644203898a87bca
|
|
BLAKE2b-256 checksum How to use checksums |
3ee30e31d2c502f938e1f813feb009568c3e8893054619e8bbb175f83fa91ec5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.9
|