QuantumRand
Step 1
Ground state

Every qubit starts pointing up: a definite 0.

bits: from QuantumRand's demo API
about
About QuantumRand

Random numbers you can trace back to a qubit.

QuantumRand serves a NIST SP 800-90A generator seeded from real IBM quantum hardware and reseeded every day. Every response says where its randomness came from.

curl "https://quantumrand.dev/v1/generate/hex?n=128" -H "X-API-Key: qr_…"

{ "success": true,
  "data": { "hex": "9f2c41d07be3a85e1c6f0b94d2e7a315",
            "num_bits": 128,
            "source": "quantum-seeded" } }
How a number is made

From a qubit to your API call, in three steps.

IBM's quantum computers are shared and queued, so QuantumRand doesn't call one for every request. It uses the quantum result to seed a fast, standard generator.

  1. 01

    Measure

    Every night QuantumRand sends a small job to an IBM quantum processor. Each qubit gets a Hadamard gate and is measured, exactly like the qubit at the top of this page.

    IBM Heron · 156 qubits
  2. 02

    Clean and seed

    Raw readings lean slightly toward 0, because qubits relax toward |0⟩. Von Neumann extraction removes that bias, and the clean bits seed a NIST SP 800-90A HMAC-DRBG.

    256-bit seed · a new one every 24 h
  3. 03

    Serve

    Your request draws from that generator straight away, so you never wait in IBM's queue. Each response is labelled with its source.

    "source" in every response
Labels

Every response says where it came from.

There are three possible labels. You can check them yourself, or reject anything that isn't the first.

quantum-seeded

The generator was seeded from IBM quantum hardware within the last 48 hours. This is the normal state.

quantum-seeded (stale seed)

The last real seed is more than 48 hours old, for example if IBM was unreachable. Still served, clearly flagged.

csprng-fallback (awaiting first quantum seed)

The first minute or so after a restart, before the first IBM seed arrives. The operating system's generator fills in.

Simulator backends are labelled as simulators. IBM is the only real quantum hardware QuantumRand uses.

Tested

We publish the unflattering result too.

We ran the NIST SP 800-22 test battery on readings from IBM's ibm_kingston processor. Straight off the chip, the bits fail several tests because of that small lean toward 0. After von Neumann extraction, they pass 10 of the 11 eligible tests.

failsraw · 100,000 bits
10 / 11extracted · 25,299 bits
See both runs, with p-values →
NIST SP 800-22 testrawextracted
Monobit (frequency)
Frequency within block
Runs
Longest run of ones
Binary matrix rank
Discrete Fourier transform
Non-overlapping template
Serial
Approximate entropy
Cumulative sums
Random excursion
Random excursion variant
passfailnot eligible or not run
Built for

The same generator, shaped for your sector.

Each sector gets its own endpoints and SDK methods, all drawing from the same quantum-seeded generator. Seals can be checked later with one call.

Nine Qntyx products also draw from QuantumRand. If it's unreachable, they fall back to the operating system's generator, so not every value they produce is quantum-seeded.

The API

Six endpoints. Every response labelled.

Send your key in the X-API-Key header. Every endpoint also works under /v1/.

MethodPathWhat you get
GET/generate/bits?n=256Raw random bits, 1 to 4,096 at a time
GET/generate/hex?n=256A hex string; n is the number of bits, a multiple of 4
GET/generate/integer?min=1&max=6A whole number in your range, evenly distributed
POST/generate/key?bits=256A ready-to-use key: 128, 192, 256 or 512 bits
POST/generate/batchUp to 20 values of any type in one call
POST/generate/webhookAnswers at once with a job ID, then posts the result to your HTTPS URL
Pythonpip install getquantumrand
JavaScriptnpm install getquantumrand
Gogo get github.com/getquantumrand/quantumrand-sdks/go

The SDKs are open source on GitHub, MIT licensed. Full reference in the API docs.

Pricing

Pay for volume, not for better randomness.

Plans differ only in how much you can ask for. Paid plans are billed monthly and can be cancelled any time.

Free
$0
calls a day
1,000
bits per call
up to 256
Get a free key
Indie
$9 /month
calls a day
50,000
bits per call
up to 1,024
Paused · start free
Startup
$49 /month
calls a day
500,000
bits per call
up to 2,048
Paused · start free
Business
$299 /month
calls a day
10,000,000
bits per call
up to 4,096
Paused · start free

New paid plans are paused for now. Free keys work as usual, and existing paid subscriptions are not affected.

Every plan, including Free, draws from the same quantum-seeded generator and gets the same source labels. Paid plans can also request up to 3 direct runs a day on IBM quantum hardware.

Start with 1,000 free calls a day.