Skip to main content

True Quantum Randomness Library powered by the Quey Hardware Node.

Project description

Quey Random SDK

Quey Random is a professional Software Development Kit (SDK) that provides True Quantum Random Number Generation (QRNG) directly to your Python applications.

Unlike pseudo-random number generators (PRNGs) relying on deterministic algorithms, the Quey SDK interfaces with a dedicated Quey Hardware Node (Raspberry Pi + NoIR Camera sensor) to extract true physical entropy from photonic noise in real-time.

Features

  • True Hardware Entropy: Randomness derived from quantum observable phenomena.
  • Scientific Distributions: Built-in functions for Gaussian (normal) and Poisson distributions.
  • Complex Quantum States: Generate random complex phases for wave function simulations.

Installation

pip install quey-random

##Quick Start Ensure your quey_api.key is in the same directory as your Python script.

from quey_random import QueyRandom

# Connect to your local Quey Hardware Node
quey = QueyRandom(host='192.168.1.249', port=5000, key_file='quey_api.key')

# Generate a uniform true random float
val = quey.random()
print(f"Photonic Entropy: {val}")

# Generate quantum phase noise (Gaussian)
noise = quey.gauss(mu=0.0, sigma=1.0)
print(f"Phase Noise: {noise}")

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

quey_random-1.0.3.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quey_random-1.0.3-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file quey_random-1.0.3.tar.gz.

File metadata

  • Download URL: quey_random-1.0.3.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for quey_random-1.0.3.tar.gz
Algorithm Hash digest
SHA256 b351aaad5e153bc41af19ea299911f53106e0396d82fb48c0631d7c640da7169
MD5 945ea0502e14066ffd3066c69a0354a6
BLAKE2b-256 fec4a66375ece30714ae34246308d0d07fa61b5028645dea7d1634f61810c615

See more details on using hashes here.

File details

Details for the file quey_random-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: quey_random-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for quey_random-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cbcb591d68f2752b87dacb6f24ed3832eee5bd385dc7c51a1bf6421e0d5110f7
MD5 6eb5f4a95442a495018616d8a0fb1c48
BLAKE2b-256 48aca3305d2e3c3ca5b606c8028a2f2e5ce03559dcec327d53a3414aba918cc5

See more details on using hashes here.

Supported by

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