Zum Inhalt
HALOWERK

Quantumwerk

qkd key request

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.

POST https://quantum.halowerk.com/v1/qkd-key-request

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
alice_bitsstringJaAlice measurement bits for a simulation or already completed experiment.
alice_basesstringJaAlice bases, X or Z, aligned with alice_bits.
bob_bitsstringJaBob measurement bits aligned with alice_bits.
bob_basesstringJaBob bases, X or Z, aligned with bob_bits.
reveal_indicesarrayJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "alice_bits",
    "alice_bases",
    "bob_bits",
    "bob_bases",
    "reveal_indices"
  ],
  "additionalProperties": false,
  "properties": {
    "alice_bits": {
      "type": "string",
      "minLength": 8,
      "maxLength": 4096,
      "pattern": "^[01]+$",
      "description": "Alice measurement bits for a simulation or already completed experiment."
    },
    "alice_bases": {
      "type": "string",
      "minLength": 8,
      "maxLength": 4096,
      "pattern": "^[XZ]+$",
      "description": "Alice bases, X or Z, aligned with alice_bits."
    },
    "bob_bits": {
      "type": "string",
      "minLength": 8,
      "maxLength": 4096,
      "pattern": "^[01]+$",
      "description": "Bob measurement bits aligned with alice_bits."
    },
    "bob_bases": {
      "type": "string",
      "minLength": 8,
      "maxLength": 4096,
      "pattern": "^[XZ]+$",
      "description": "Bob bases, X or Z, aligned with bob_bits."
    },
    "reveal_indices": {
      "type": "array",
      "maxItems": 2048,
      "uniqueItems": true,
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 4095,
        "description": "Zero-based raw observation index to reveal for QBER estimation."
      }
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "alice_bits": "011010110101",
  "alice_bases": "ZXZZXXXZXZXZ",
  "bob_bits": "001010110101",
  "bob_bases": "ZZZXZXXZXZZZ",
  "reveal_indices": [
    0,
    6,
    8
  ]
}

Ergebnis & Dokumentation

Veröffentlichtes Ergebnisschema anzeigen
{
  "$ref": "https://quantum.halowerk.com/v1/qkd-key-request/schema#/outputSchema"
}

Veröffentlichtes Ergebnisbeispiel öffnen

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →