Compares caller-supplied Alice and Bob bases, retains matching-basis positions, calculates
Compares caller-supplied Alice and Bob bases, retains matching-basis positions, calculates the quantum bit error rate over caller-selected revealed positions, and returns only a digest and count for remaining demonstration bits. It neither exchanges quantum states nor creates a secret key: all submitted bits are disclosed to this service and must never be used as production key material.
4000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-01
updated
Provider
quantum.halowerk.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "4000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"alice_bases": "ZXZZXXXZXZXZ",
"alice_bits": "011010110101",
"bob_bases": "ZZZXZXXZXZZZ",
"bob_bits": "001010110101",
"reveal_indices": [
0,
6,
8
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"alice_bases": {
"description": "Alice bases, X or Z, aligned with alice_bits.",
"maxLength": 4096,
"minLength": 8,
"pattern": "^[XZ]+$",
"type": "string"
},
"alice_bits": {
"description": "Alice measurement bits for a simulation or already completed experiment.",
"maxLength": 4096,
"minLength": 8,
"pattern": "^[01]+$",
"type": "string"
},
"bob_bases": {
"description": "Bob bases, X or Z, aligned with bob_bits.",
"maxLength": 4096,
"minLength": 8,
"pattern": "^[XZ]+$",
"type": "string"
},
"bob_bits": {
"description": "Bob measurement bits aligned with alice_bits.",
"maxLength": 4096,
"minLength": 8,
"pattern": "^[01]+$",
"type": "string"
},
"reveal_indices": {
"items": {
"description": "Zero-based raw observation index to reveal for QBER estimation.",
"maximum": 4095,
"minimum": 0,
"type": "integer"
},
"maxItems": 2048,
"type": "array",
"uniqueItems": true
}
},
"required": [
"alice_bits",
"alice_bases",
"bob_bits",
"bob_bases",
"reveal_indices"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://quantum.halowerk.com/v1/qkd-key-request" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://quantum.halowerk.com/v1/qkd-key-request");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://quantum.halowerk.com/v1/qkd-key-request")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/15246.json, and this resource appears in /discovery/resources and /discovery/search.