Skip to main content

PyPI version Ruff

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)

Source distribution for qoin 1.0.7
File Size Uploaded
qoin-1.0.7.tar.gz 43.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for qoin 1.0.7
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.0.7 This release

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page