Skip to main content
waiTransport · Receipts and energy

Receipts for what was delivered, and what it cost.

Every result of the quantum job service carries the energy its job was measured to take, with the counter it was read from and what the figure covers, sealed in an Ed25519 receipt over the request and the result. The service checks a receipt for anyone who sends the job back. Every object in the live room carries its receipt, and the page checks each one before it decodes it. The receipt chain, the energy classes and their verifiers are open.

The open receipt verifiers and their corpora are on WAI

Attested, in WAI, means signed by the party that did the work and measured it: a reader can check the signature, not re-measure the figure. It is not hardware attestation.

01 · What you get

Receipts you can check, from services that answer now.

  • On every job of the quantum job service: the joules measured, the acquisition class of the counter that measured them, the window and coverage of the reading, and an Ed25519 signature over the canonical request and result.
  • Verification on request: the service answers whether a receipt seals exactly the request and the result it is sent with, so one changed count makes it answer false.
  • On every object in the live room: a content hash, a Merkle root per group and a publisher signature chained to the previous receipt, checked by the page before it decodes.
  • The receipt chain and its classes, the energy acquisition classes and the meters, each with an independent verifier written from the text alone.

Answering now at wai.transaction.science

  • The quantum job service

    https://wai.transaction.science/quantum-jobs/v1

    POST run with an OpenQASM program; every result carries its measured energy and an Ed25519 receipt. No account and no key.

  • Receipt verification

    https://wai.transaction.science/quantum-jobs/v1/verify

    POST a job's request and result: it answers whether the receipt seals exactly that request and that result.

  • The public room

    https://wai.transaction.science/room/

    Open it in a browser to publish your camera and microphone, or to watch.

    Open the public room

02 · How to start

Run a job, then check its receipt.

  1. Run a program on the job service. The answer holds the result, its energy and its receipt.

    curl -X POST https://wai.transaction.science/quantum-jobs/v1/run \
      -H 'content-type: application/json' \
      -d '{"qasm": "OPENQASM 3.0;\nqubit[2] q;\nbit[2] c;\nh q[0];\ncx q[0], q[1];\nc = measure q;", "shots": 1000}'
  2. Send the job's request and result back to be verified: the answer is true, and false for any change to either.

    curl -X POST https://wai.transaction.science/quantum-jobs/v1/verify \
      -H 'content-type: application/json' \
      -d '{"request": <the job's request>, "result": <the job's result>}'
03 · How it works

The open components it is built from.

Each is in the WAI standard, with its reference implementation in the open-standards repository; its notes are the WAI status page's.

  • Group receipts: a content hash per object, a Merkle root per group, an Ed25519 publisher signature and a link to the previous receipt, chained per publisher key and track.

  • Typed receipt classes, with an independent verifier and differential tests.

  • A relay cannot splice, replay or hold back a track's receipts unnoticed.

  • Energy acquisition classes, signed beside the figure: CalibratedInstrument, OnChipCounter, ModelBased or Estimator.

    Notes Unmetered work carries no figure and reads as not metered.

  • Energy meters: a hardware counter meter, or a calibrated instrument with its calibration reference, and a model meter that only ever yields a modelled figure.

    Notes A meter that cannot measure returns no figure; it never falls back to a fabricated one.

  • Measurement claims report on an energy figure without changing the receipt that seals it, and ratios are derived by every reader, never stated.

  • A power reader counts only while its rail advances: a rail that stops advancing is refused, and unmetered work is never a figure of zero joules.

  • C2PA manifest emission that binds an energy figure to the reconstruction it was measured over.

    Notes An optional build feature. The manifest validates; signer trust comes from the verifier's trust list.

  • Stage claims: a sink signs the stage it presented for each unit, the stage delivery reached and each refinement object's fate.

  • The signed session claim: what a sink presented when, what arrived and what was missed.

    Notes Timings, missed deadlines and switches remain the signer's statements, as do the facts of an encrypted envelope that only its payload shows.

  • A key log at a web origin the signer names, so verifiers confirm receipts and claims offline.

  • Receipts served over HTTP, with a receipt index a client follows by hash to an object's group receipt, its stage claim and its chain.

    Notes Every receipt file, index and fetch budget has a stated cap, and a client fetches at most 64 parents for one group. An object the client did not receive is verified by inclusion, never as delivered. An energy claim over HTTP that names an OER receipt is refused.

  • Per-hop session records: every hop that carried a room session signs what it carried and its energy with its acquisition class, and the session's receipt states each hop's joules by class, never one total across classes, recomputed from those records.

    Notes The reference relay signs its record with the unmetered marker. Prices, billing and holding a ceiling while a session runs are the deployment's.

  • Delivery settled on what the receiving party signed: acknowledgements by content hash, byte-range proofs, and a statement whose every figure a verifier recomputes.

    Notes No payment rail and no money. Open caching logs (SVTA2050) are mapped through the RFC 7937 fields they carry.

  • Live provenance: C2PA live video manifests for a room's CMAF tracks, each segment's manifest bound to its group's receipt.

    Notes The reference implementation uses no C2PA library. An independent C2PA validator accepts the corpus's initialization segments.

04 · Read next