Skip to main content
Glama

WAI Quantum job service

Estimate a quantum program's fault-tolerant resources

estimate_resources
Read-only

What a fault-tolerant quantum computer would need to run a program. First its logical counts: T gates, Toffolis, rotations (each costed at the T count of its own synthesised Clifford+T word, within its share of the budget), measurements, T depth and total depth, and logical qubits with the ancillas that gates under several controls need. Then, on a physical qubit, the planar model's code distance (the gate-based surface code's model fitted to this engine's own decoders), T factories, physical qubits and runtime, and the frontier of estimates trading qubits for time. Takes a program, or a logical-counts or routine document. Every estimate is sealed in the resource-estimate receipt family, binding the program's digest and the ε budget; the answer's notes state the model's assumptions. Quote the figures with the qubit, the budget and the clock, and call them an estimate. Sealed with the service's key; verify_quantum_receipt checks the seals and re-runs it. A program with more than 256 distinct rotation angles, or a budget too fine for its rotations, is refused with the local command.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "estimate_resources"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoThe program's name in a routine document.
qasmNoThe program, OpenQASM 3 or 2. Give this, counts or routine.
clockNoHow long a Toffoli takes: steps (the default: three logical steps of d cycles), or {"reaction_us": t}, the reaction-limited clock: its Clifford fixups teleported away, one tick of the control system's reaction time t µs (never shorter than a measurement on the qubit), with enough factories to keep up.
qubitNoThe physical qubit: a reference qubit (ns-e4, the default: 50 ns gates, 1e-4 error; us-* are 100 µs gates, meas-* measurement-based), or one described.
budgetNoThe probability the run may fail, shared by logical errors, distillation and the rotations' synthesis (default 1e-3).
countsNoA logical-counts document instead of a program: numQubits, tCount, rotationCount, rotationDepth, cczCount, ccixCount, measurementCount.
exportNoAlso give the program's counts as a logical-counts or a routine document, under export.
routineNoA routine document instead of a program (version v1: routines with their ports, resources, children and connections).
calibrationNoThe gate-based surface code's model: fitted to this engine's exact-matching decoder (default) or its union-find decoder, or the planar model's assumed one.
max_slowdownNoThe most the frontier slows the program by to need fewer factories (default 256).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "description": "A resource estimate as a host returns it (the command line's estimate --json, both servers' estimate_resources, the job service's POST /v1/estimate): the request, and the result, which its receipt seals in a job's form. The result holds the program's logical counts, the error budget and how it was shared, the decoder calibration the physical model uses, the headline estimate and the frontier trading physical qubits for runtime, each estimate sealed in the resource-estimate receipt family (the frontier's naming the headline's as parent), and the model's notes. A result names the engine that made it and this schema (engine and schema); results made before results carried them have neither. docs/estimate.md explains every number.",
      -    "properties": {
      -      "request": {
      -        "description": "A program (qasm), a logical-counts document (counts) or a routine document (routine), with the estimate's options, as given.",
      -        "properties": {
      -          "budget": {
      -            "type": "number"
      -          },
      -          "calibration": {
      -            "type": "string"
      -          },
      -          "clock": {
      -            "anyOf": [
      -              {
      -                "const": "steps"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "reaction_us": {
      -                    "exclusiveMaximum": 1000000000,
      -                    "exclusiveMinimum": 0,
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "reaction_us"
      -                ],
      -                "type": "object"
      -              }
      -            ],
      -            "description": "How long a Toffoli takes: steps (the default: three logical steps of d cycles), or the reaction-limited clock, a Toffoli one tick of the control system's reaction time in µs, its Clifford fixups teleported away, with enough factories to keep up."
      -          },
      -          "counts": {
      -            "type": "object"
      -          },
      -          "export": {
      -            "enum": [
      -              "counts",
      -              "routine"
      -            ]
      -          },
      -          "inputs": {
      -            "additionalProperties": {
      -              "type": "integer"
      -            },
      -            "type": "object"
      -          },
      -          "max_slowdown": {
      -            "type": "integer"
      -          },
      -          "name": {
      -            "type": "string"
      -          },
      -          "qasm": {
      -            "type": "string"
      -          },
      -          "qubit": {
      -            "type": [
      -              "string",
      -              "object"
      -            ]
      -          },
      -          "routine": {
      -            "type": "object"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "result": {
      -        "properties": {
      -          "calibration": {
      -            "description": "The decoder calibration the physical model uses: the decoder, the experiment, the fit, its measured range, and how to reproduce it.",
      -            "type": "object"
      -          },
      -          "counts": {
      -            "additionalProperties": {
      -              "type": [
      -                "integer",
      -                "number",
      -                "string",
      -                "null",
      -                "array"
      -              ]
      -            },
      -            "description": "The program's logical counts: qubits and ancillas, measurements, Clifford gates, T gates, Toffolis, rotations (each costed at its own synthesised word's T count), T states, depths.",
      -            "type": "object"
      -          },
      -          "engine": {
      -            "description": "The engine that made the result: the wai-quantum crate's name and version.",
      -            "properties": {
      -              "name": {
      -                "const": "wai-quantum"
      -              },
      -              "version": {
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "name",
      -              "version"
      -            ],
      -            "type": "object"
      -          },
      -          "epsilon": {
      -            "description": "The error budget, the synthesis share and each rotation's share, the bound the rotations' distances add to, and their T counts.",
      -            "properties": {
      -              "angles": {
      -                "type": [
      -                  "integer",
      -                  "null"
      -                ]
      -              },
      -              "bound": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "budget": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "each": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "rotations": {
      -                "type": [
      -                  "integer",
      -                  "null"
      -                ]
      -              },
      -              "synthesis": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "t_per_rotation": {
      -                "type": [
      -                  "object",
      -                  "null"
      -                ]
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "estimate": {
      -            "description": "One estimate on a physical qubit: the code and its distance, the slowdown, physical qubits (the algorithm's and the factories'), factories, runtime, logical steps and their length, tiles, the logical error, T states, and how the budget was shared; sealed by its resource-estimate receipt (receipt), or marked the headline.",
      -            "properties": {
      -              "algorithm_qubits": {
      -                "type": "integer"
      -              },
      -              "budget": {
      -                "properties": {
      -                  "distillation": {
      -                    "type": "number"
      -                  },
      -                  "logical": {
      -                    "type": "number"
      -                  },
      -                  "synthesis": {
      -                    "type": "number"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "clock": {
      -                "description": "On the reaction-limited clock only: its reaction time, one tick at this estimate's slowdown, and the Toffolis run on ticks. Then steps are the lattice-surgery steps alone, and runtime_s adds the ticks.",
      -                "properties": {
      -                  "reaction_us": {
      -                    "type": "number"
      -                  },
      -                  "tick_us": {
      -                    "type": "number"
      -                  },
      -                  "toffolis": {
      -                    "type": "integer"
      -                  }
      -                },
      -                "required": [
      -                  "reaction_us",
      -                  "tick_us",
      -                  "toffolis"
      -                ],
      -                "type": "object"
      -              },
      -              "code": {
      -                "type": "string"
      -              },
      -              "distance": {
      -                "type": "integer"
      -              },
      -              "factories": {
      -                "type": "integer"
      -              },
      -              "factory": {
      -                "type": [
      -                  "object",
      -                  "null"
      -                ]
      -              },
      -              "factory_fraction": {
      -                "type": "number"
      -              },
      -              "factory_qubits": {
      -                "type": "integer"
      -              },
      -              "headline": {
      -                "type": "boolean"
      -              },
      -              "logical_error": {
      -                "type": "number"
      -              },
      -              "physical_qubits": {
      -                "type": "integer"
      -              },
      -              "qubit": {
      -                "type": "string"
      -              },
      -              "receipt": {
      -                "description": "A receipt of the resource-estimate family: the estimate, the hashes of its job and its result, its Merkle root, its signer and signature, and the receipt it names as parent.",
      -                "properties": {
      -                  "clock": {
      -                    "additionalProperties": false,
      -                    "description": "On the reaction-limited clock only: the runtime the estimate's steps do not account for, read from its signed figures. How long one tick was is the job's, whose hash binds the reaction time.",
      -                    "properties": {
      -                      "kind": {
      -                        "const": "reaction"
      -                      },
      -                      "tick_time_ns_bits": {
      -                        "type": "string"
      -                      },
      -                      "tick_time_s": {
      -                        "type": "number"
      -                      }
      -                    },
      -                    "required": [
      -                      "kind",
      -                      "tick_time_ns_bits",
      -                      "tick_time_s"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "energy_provenance": {
      -                    "type": "string"
      -                  },
      -                  "energy_uncertainty": {
      -                    "type": "object"
      -                  },
      -                  "estimate": {
      -                    "type": "object"
      -                  },
      -                  "job_hash": {
      -                    "type": "string"
      -                  },
      -                  "joules_micro": {
      -                    "type": "integer"
      -                  },
      -                  "kind": {
      -                    "const": "quantum-resource"
      -                  },
      -                  "parent_receipt_hash": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "receipt_hash": {
      -                    "type": "string"
      -                  },
      -                  "result_hash": {
      -                    "type": "string"
      -                  },
      -                  "root_hash": {
      -                    "type": "string"
      -                  },
      -                  "sig": {
      -                    "type": "string"
      -                  },
      -                  "signer_id": {
      -                    "type": "string"
      -                  },
      -                  "signer_pubkey": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "kind",
      -                  "receipt_hash",
      -                  "sig",
      -                  "signer_pubkey"
      -                ],
      -                "type": "object"
      -              },
      -              "runtime_s": {
      -                "type": "number"
      -              },
      -              "slowdown": {
      -                "type": "integer"
      -              },
      -              "step_us": {
      -                "type": "number"
      -              },
      -              "steps": {
      -                "type": "integer"
      -              },
      -              "t_states": {
      -                "type": "integer"
      -              },
      -              "t_target": {
      -                "type": "number"
      -              },
      -              "tile_qubits": {
      -                "type": "integer"
      -              },
      -              "tiles": {
      -                "type": "integer"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "export": {
      -            "description": "With export: the program's counts as a logical-counts or a routine document.",
      -            "type": "object"
      -          },
      -          "format": {
      -            "const": "wai.quantum.estimate/1"
      -          },
      -          "frontier": {
      -            "description": "Estimates no other beats on both physical qubits and runtime; the headline among them.",
      -            "items": {
      -              "description": "One estimate on a physical qubit: the code and its distance, the slowdown, physical qubits (the algorithm's and the factories'), factories, runtime, logical steps and their length, tiles, the logical error, T states, and how the budget was shared; sealed by its resource-estimate receipt (receipt), or marked the headline.",
      -              "properties": {
      -                "algorithm_qubits": {
      -                  "type": "integer"
      -                },
      -                "budget": {
      -                  "properties": {
      -                    "distillation": {
      -                      "type": "number"
      -                    },
      -                    "logical": {
      -                      "type": "number"
      -                    },
      -                    "synthesis": {
      -                      "type": "number"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "clock": {
      -                  "description": "On the reaction-limited clock only: its reaction time, one tick at this estimate's slowdown, and the Toffolis run on ticks. Then steps are the lattice-surgery steps alone, and runtime_s adds the ticks.",
      -                  "properties": {
      -                    "reaction_us": {
      -                      "type": "number"
      -                    },
      -                    "tick_us": {
      -                      "type": "number"
      -                    },
      -                    "toffolis": {
      -                      "type": "integer"
      -                    }
      -                  },
      -                  "required": [
      -                    "reaction_us",
      -                    "tick_us",
      -                    "toffolis"
      -                  ],
      -                  "type": "object"
      -                },
      -                "code": {
      -                  "type": "string"
      -                },
      -                "distance": {
      -                  "type": "integer"
      -                },
      -                "factories": {
      -                  "type": "integer"
      -                },
      -                "factory": {
      -                  "type": [
      -                    "object",
      -                    "null"
      -                  ]
      -                },
      -                "factory_fraction": {
      -                  "type": "number"
      -                },
      -                "factory_qubits": {
      -                  "type": "integer"
      -                },
      -                "headline": {
      -                  "type": "boolean"
      -                },
      -                "logical_error": {
      -                  "type": "number"
      -                },
      -                "physical_qubits": {
      -                  "type": "integer"
      -                },
      -                "qubit": {
      -                  "type": "string"
      -                },
      -                "receipt": {
      -                  "description": "A receipt of the resource-estimate family: the estimate, the hashes of its job and its result, its Merkle root, its signer and signature, and the receipt it names as parent.",
      -                  "properties": {
      -                    "clock": {
      -                      "additionalProperties": false,
      -                      "description": "On the reaction-limited clock only: the runtime the estimate's steps do not account for, read from its signed figures. How long one tick was is the job's, whose hash binds the reaction time.",
      -                      "properties": {
      -                        "kind": {
      -                          "const": "reaction"
      -                        },
      -                        "tick_time_ns_bits": {
      -                          "type": "string"
      -                        },
      -                        "tick_time_s": {
      -                          "type": "number"
      -                        }
      -                      },
      -                      "required": [
      -                        "kind",
      -                        "tick_time_ns_bits",
      -                        "tick_time_s"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "energy_provenance": {
      -                      "type": "string"
      -                    },
      -                    "energy_uncertainty": {
      -                      "type": "object"
      -                    },
      -                    "estimate": {
      -                      "type": "object"
      -                    },
      -                    "job_hash": {
      -                      "type": "string"
      -                    },
      -                    "joules_micro": {
      -                      "type": "integer"
      -                    },
      -                    "kind": {
      -                      "const": "quantum-resource"
      -                    },
      -                    "parent_receipt_hash": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "receipt_hash": {
      -                      "type": "string"
      -                    },
      -                    "result_hash": {
      -                      "type": "string"
      -                    },
      -                    "root_hash": {
      -                      "type": "string"
      -                    },
      -                    "sig": {
      -                      "type": "string"
      -                    },
      -                    "signer_id": {
      -                      "type": "string"
      -                    },
      -                    "signer_pubkey": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "kind",
      -                    "receipt_hash",
      -                    "sig",
      -                    "signer_pubkey"
      -                  ],
      -                  "type": "object"
      -                },
      -                "runtime_s": {
      -                  "type": "number"
      -                },
      -                "slowdown": {
      -                  "type": "integer"
      -                },
      -                "step_us": {
      -                  "type": "number"
      -                },
      -                "steps": {
      -                  "type": "integer"
      -                },
      -                "t_states": {
      -                  "type": "integer"
      -                },
      -                "t_target": {
      -                  "type": "number"
      -                },
      -                "tile_qubits": {
      -                  "type": "integer"
      -                },
      -                "tiles": {
      -                  "type": "integer"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "notes": {
      -            "description": "The model's assumptions.",
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "ok": {
      -            "const": true
      -          },
      -          "options": {
      -            "description": "The options the estimate ran with, the defaults filled in.",
      -            "type": "object"
      -          },
      -          "program": {
      -            "description": "What was estimated: a circuit (its digest, BLAKE3 of the program's text), or a document's counts.",
      -            "properties": {
      -              "bound": {
      -                "type": "string"
      -              },
      -              "digest": {
      -                "type": "string"
      -              },
      -              "name": {
      -                "type": "string"
      -              },
      -              "origin": {
      -                "enum": [
      -                  "circuit",
      -                  "counts",
      -                  "routine"
      -                ]
      -              },
      -              "qubits": {
      -                "type": "integer"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "receipt": {
      -            "description": "A result's receipt: an Ed25519 signature, by the key it names, over digest = BLAKE3(\"wai:quantum-service-receipt\\x02\" ‖ len ‖ request ‖ len ‖ result), each of request and result in its RFC 8785 canonical text (the result without its receipt member), each length 8 bytes big-endian. Whatever members the request and the result hold are sealed, the result's engine and schema among them. The first receipts (no canon member, $defs/first) sealed their writer's compact text under the domain ending \\x01; they still verify. wai/extensions/quantum-providers.md section 8.2 states the seal in full, and section 8.4 what a verifier checks.",
      -            "properties": {
      -              "alg": {
      -                "const": "ed25519"
      -              },
      -              "canon": {
      -                "const": "rfc8785",
      -                "description": "The canonical form the digest is taken over."
      -              },
      -              "digest": {
      -                "description": "The digest signed, 32 bytes in lower-case hex.",
      -                "maxLength": 64,
      -                "minLength": 64,
      -                "pattern": "^[0-9a-f]{64}$",
      -                "type": "string"
      -              },
      -              "key": {
      -                "description": "The signing key, 32 bytes in lower-case hex.",
      -                "maxLength": 64,
      -                "minLength": 64,
      -                "pattern": "^[0-9a-f]{64}$",
      -                "type": "string"
      -              },
      -              "signature": {
      -                "description": "The signature, 64 bytes in lower-case hex.",
      -                "maxLength": 128,
      -                "minLength": 128,
      -                "pattern": "^[0-9a-f]{128}$",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "alg",
      -              "canon",
      -              "key",
      -              "digest",
      -              "signature"
      -            ],
      -            "title": "wai.quantum.receipt/2",
      -            "type": "object"
      -          },
      -          "rotations": {
      -            "description": "Each distinct rotation angle: how many there are, its T count, gates and distance.",
      -            "items": {
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "schema": {
      -            "const": "wai.quantum.estimate/1"
      -          }
      -        },
      -        "required": [
      -          "ok",
      -          "format",
      -          "program",
      -          "counts",
      -          "epsilon",
      -          "options",
      -          "estimate",
      -          "frontier"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "request",
      -      "result"
      -    ],
      -    "title": "wai.quantum.estimate/1",
      -    "type": "object"
      -  },
      -  {
      -    "description": "A refusal as data: the message, every code in it (the last is the code), its outcome and meaning as the code's table gives them. A host that refuses for its own reasons gives the error alone.",
      -    "properties": {
      -      "code": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "codes": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "error": {
      -        "type": "string"
      -      },
      -      "meaning": {
      -        "type": "string"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "outcome": {
      -        "enum": [
      -          "refused",
      -          "retry",
      -          "failed",
      -          "lowered",
      -          "carried",
      -          "preserved",
      -          "warned",
      -          "dropped",
      -          "defaulted"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "description": "A resource estimate as a host returns it (the command line's estimate --json, both servers' estimate_resources, the job service's POST /v1/estimate): the request, and the result, which its receipt seals in a job's form. The result holds the program's logical counts, the error budget and how it was shared, the decoder calibration the physical model uses, the headline estimate and the frontier trading physical qubits for runtime, each estimate sealed in the resource-estimate receipt family (the frontier's naming the headline's as parent), and the model's notes. A result names the engine that made it and this schema (engine and schema); results made before results carried them have neither. docs/estimate.md explains every number.",
      +    "properties": {
      +      "request": {
      +        "description": "A program (qasm), a logical-counts document (counts) or a routine document (routine), with the estimate's options, as given.",
      +        "properties": {
      +          "budget": {
      +            "type": "number"
      +          },
      +          "calibration": {
      +            "type": "string"
      +          },
      +          "clock": {
      +            "anyOf": [
      +              {
      +                "const": "steps"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "reaction_us": {
      +                    "exclusiveMaximum": 1000000000,
      +                    "exclusiveMinimum": 0,
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "reaction_us"
      +                ],
      +                "type": "object"
      +              }
      +            ],
      +            "description": "How long a Toffoli takes: steps (the default: three logical steps of d cycles), or the reaction-limited clock, a Toffoli one tick of the control system's reaction time in µs, its Clifford fixups teleported away, with enough factories to keep up."
      +          },
      +          "counts": {
      +            "type": "object"
      +          },
      +          "export": {
      +            "enum": [
      +              "counts",
      +              "routine"
      +            ]
      +          },
      +          "inputs": {
      +            "additionalProperties": {
      +              "type": "integer"
      +            },
      +            "type": "object"
      +          },
      +          "max_slowdown": {
      +            "type": "integer"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "qasm": {
      +            "type": "string"
      +          },
      +          "qubit": {
      +            "type": [
      +              "string",
      +              "object"
      +            ]
      +          },
      +          "routine": {
      +            "type": "object"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "result": {
      +        "properties": {
      +          "calibration": {
      +            "description": "The decoder calibration the physical model uses: the decoder, the experiment, the fit, its measured range, and how to reproduce it.",
      +            "type": "object"
      +          },
      +          "counts": {
      +            "additionalProperties": {
      +              "type": [
      +                "integer",
      +                "number",
      +                "string",
      +                "null",
      +                "array"
      +              ]
      +            },
      +            "description": "The program's logical counts: qubits and ancillas, measurements, Clifford gates, T gates, Toffolis, rotations (each costed at its own synthesised word's T count), T states, depths.",
      +            "type": "object"
      +          },
      +          "engine": {
      +            "description": "The engine that made the result: the wai-quantum crate's name and version.",
      +            "properties": {
      +              "name": {
      +                "const": "wai-quantum"
      +              },
      +              "version": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "name",
      +              "version"
      +            ],
      +            "type": "object"
      +          },
      +          "epsilon": {
      +            "description": "The error budget, the synthesis share and each rotation's share, the bound the rotations' distances add to, and their T counts.",
      +            "properties": {
      +              "angles": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              },
      +              "bound": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "budget": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "each": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "rotations": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              },
      +              "synthesis": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "t_per_rotation": {
      +                "type": [
      +                  "object",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "estimate": {
      +            "description": "One estimate on a physical qubit: the code and its distance, the slowdown, physical qubits (the algorithm's and the factories'), factories, runtime, logical steps and their length, tiles, the logical error, T states, and how the budget was shared; sealed by its resource-estimate receipt (receipt), or marked the headline.",
      +            "properties": {
      +              "algorithm_qubits": {
      +                "type": "integer"
      +              },
      +              "budget": {
      +                "properties": {
      +                  "distillation": {
      +                    "type": "number"
      +                  },
      +                  "logical": {
      +                    "type": "number"
      +                  },
      +                  "synthesis": {
      +                    "type": "number"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "clock": {
      +                "description": "On the reaction-limited clock only: its reaction time, one tick at this estimate's slowdown, and the Toffolis run on ticks. Then steps are the lattice-surgery steps alone, and runtime_s adds the ticks.",
      +                "properties": {
      +                  "reaction_us": {
      +                    "type": "number"
      +                  },
      +                  "tick_us": {
      +                    "type": "number"
      +                  },
      +                  "toffolis": {
      +                    "type": "integer"
      +                  }
      +                },
      +                "required": [
      +                  "reaction_us",
      +                  "tick_us",
      +                  "toffolis"
      +                ],
      +                "type": "object"
      +              },
      +              "code": {
      +                "type": "string"
      +              },
      +              "distance": {
      +                "type": "integer"
      +              },
      +              "factories": {
      +                "type": "integer"
      +              },
      +              "factory": {
      +                "type": [
      +                  "object",
      +                  "null"
      +                ]
      +              },
      +              "factory_fraction": {
      +                "type": "number"
      +              },
      +              "factory_qubits": {
      +                "type": "integer"
      +              },
      +              "headline": {
      +                "type": "boolean"
      +              },
      +              "logical_error": {
      +                "type": "number"
      +              },
      +              "physical_qubits": {
      +                "type": "integer"
      +              },
      +              "qubit": {
      +                "type": "string"
      +              },
      +              "receipt": {
      +                "description": "A receipt of the resource-estimate family: the estimate, the hashes of its job and its result, its Merkle root, its signer and signature, and the receipt it names as parent.",
      +                "properties": {
      +                  "clock": {
      +                    "additionalProperties": false,
      +                    "description": "On the reaction-limited clock only: the runtime the estimate's steps do not account for, read from its signed figures. How long one tick was is the job's, whose hash binds the reaction time.",
      +                    "properties": {
      +                      "kind": {
      +                        "const": "reaction"
      +                      },
      +                      "tick_time_ns_bits": {
      +                        "type": "string"
      +                      },
      +                      "tick_time_s": {
      +                        "type": "number"
      +                      }
      +                    },
      +                    "required": [
      +                      "kind",
      +                      "tick_time_ns_bits",
      +                      "tick_time_s"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "energy_provenance": {
      +                    "type": "string"
      +                  },
      +                  "energy_uncertainty": {
      +                    "type": "object"
      +                  },
      +                  "energy_unmetered": {
      +                    "description": "The unmetered form (quantum-ops section 3.5): why nothing read the estimate's energy, inside the signature. Every receipt an estimate is sealed with now carries it.",
      +                    "type": "string"
      +                  },
      +                  "estimate": {
      +                    "type": "object"
      +                  },
      +                  "job_hash": {
      +                    "type": "string"
      +                  },
      +                  "joules_micro": {
      +                    "description": "The microjoules the estimate took, where something read them; null in the unmetered form (quantum-ops section 3.5), beside energy_unmetered. An unlabelled 0 is the legacy form of the unmetered statement, sealed before that form: never a figure of zero joules.",
      +                    "type": [
      +                      "integer",
      +                      "null"
      +                    ]
      +                  },
      +                  "kind": {
      +                    "const": "quantum-resource"
      +                  },
      +                  "parent_receipt_hash": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "receipt_hash": {
      +                    "type": "string"
      +                  },
      +                  "result_hash": {
      +                    "type": "string"
      +                  },
      +                  "root_hash": {
      +                    "type": "string"
      +                  },
      +                  "sig": {
      +                    "type": "string"
      +                  },
      +                  "signer_id": {
      +                    "type": "string"
      +                  },
      +                  "signer_pubkey": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "kind",
      +                  "receipt_hash",
      +                  "sig",
      +                  "signer_pubkey"
      +                ],
      +                "type": "object"
      +              },
      +              "runtime_s": {
      +                "type": "number"
      +              },
      +              "slowdown": {
      +                "type": "integer"
      +              },
      +              "step_us": {
      +                "type": "number"
      +              },
      +              "steps": {
      +                "type": "integer"
      +              },
      +              "t_states": {
      +                "type": "integer"
      +              },
      +              "t_target": {
      +                "type": "number"
      +              },
      +              "tile_qubits": {
      +                "type": "integer"
      +              },
      +              "tiles": {
      +                "type": "integer"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "export": {
      +            "description": "With export: the program's counts as a logical-counts or a routine document.",
      +            "type": "object"
      +          },
      +          "format": {
      +            "const": "wai.quantum.estimate/1"
      +          },
      +          "frontier": {
      +            "description": "Estimates no other beats on both physical qubits and runtime; the headline among them.",
      +            "items": {
      +              "description": "One estimate on a physical qubit: the code and its distance, the slowdown, physical qubits (the algorithm's and the factories'), factories, runtime, logical steps and their length, tiles, the logical error, T states, and how the budget was shared; sealed by its resource-estimate receipt (receipt), or marked the headline.",
      +              "properties": {
      +                "algorithm_qubits": {
      +                  "type": "integer"
      +                },
      +                "budget": {
      +                  "properties": {
      +                    "distillation": {
      +                      "type": "number"
      +                    },
      +                    "logical": {
      +                      "type": "number"
      +                    },
      +                    "synthesis": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "clock": {
      +                  "description": "On the reaction-limited clock only: its reaction time, one tick at this estimate's slowdown, and the Toffolis run on ticks. Then steps are the lattice-surgery steps alone, and runtime_s adds the ticks.",
      +                  "properties": {
      +                    "reaction_us": {
      +                      "type": "number"
      +                    },
      +                    "tick_us": {
      +                      "type": "number"
      +                    },
      +                    "toffolis": {
      +                      "type": "integer"
      +                    }
      +                  },
      +                  "required": [
      +                    "reaction_us",
      +                    "tick_us",
      +                    "toffolis"
      +                  ],
      +                  "type": "object"
      +                },
      +                "code": {
      +                  "type": "string"
      +                },
      +                "distance": {
      +                  "type": "integer"
      +                },
      +                "factories": {
      +                  "type": "integer"
      +                },
      +                "factory": {
      +                  "type": [
      +                    "object",
      +                    "null"
      +                  ]
      +                },
      +                "factory_fraction": {
      +                  "type": "number"
      +                },
      +                "factory_qubits": {
      +                  "type": "integer"
      +                },
      +                "headline": {
      +                  "type": "boolean"
      +                },
      +                "logical_error": {
      +                  "type": "number"
      +                },
      +                "physical_qubits": {
      +                  "type": "integer"
      +                },
      +                "qubit": {
      +                  "type": "string"
      +                },
      +                "receipt": {
      +                  "description": "A receipt of the resource-estimate family: the estimate, the hashes of its job and its result, its Merkle root, its signer and signature, and the receipt it names as parent.",
      +                  "properties": {
      +                    "clock": {
      +                      "additionalProperties": false,
      +                      "description": "On the reaction-limited clock only: the runtime the estimate's steps do not account for, read from its signed figures. How long one tick was is the job's, whose hash binds the reaction time.",
      +                      "properties": {
      +                        "kind": {
      +                          "const": "reaction"
      +                        },
      +                        "tick_time_ns_bits": {
      +                          "type": "string"
      +                        },
      +                        "tick_time_s": {
      +                          "type": "number"
      +                        }
      +                      },
      +                      "required": [
      +                        "kind",
      +                        "tick_time_ns_bits",
      +                        "tick_time_s"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "energy_provenance": {
      +                      "type": "string"
      +                    },
      +                    "energy_uncertainty": {
      +                      "type": "object"
      +                    },
      +                    "energy_unmetered": {
      +                      "description": "The unmetered form (quantum-ops section 3.5): why nothing read the estimate's energy, inside the signature. Every receipt an estimate is sealed with now carries it.",
      +                      "type": "string"
      +                    },
      +                    "estimate": {
      +                      "type": "object"
      +                    },
      +                    "job_hash": {
      +                      "type": "string"
      +                    },
      +                    "joules_micro": {
      +                      "description": "The microjoules the estimate took, where something read them; null in the unmetered form (quantum-ops section 3.5), beside energy_unmetered. An unlabelled 0 is the legacy form of the unmetered statement, sealed before that form: never a figure of zero joules.",
      +                      "type": [
      +                        "integer",
      +                        "null"
      +                      ]
      +                    },
      +                    "kind": {
      +                      "const": "quantum-resource"
      +                    },
      +                    "parent_receipt_hash": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "receipt_hash": {
      +                      "type": "string"
      +                    },
      +                    "result_hash": {
      +                      "type": "string"
      +                    },
      +                    "root_hash": {
      +                      "type": "string"
      +                    },
      +                    "sig": {
      +                      "type": "string"
      +                    },
      +                    "signer_id": {
      +                      "type": "string"
      +                    },
      +                    "signer_pubkey": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "kind",
      +                    "receipt_hash",
      +                    "sig",
      +                    "signer_pubkey"
      +                  ],
      +                  "type": "object"
      +                },
      +                "runtime_s": {
      +                  "type": "number"
      +                },
      +                "slowdown": {
      +                  "type": "integer"
      +                },
      +                "step_us": {
      +                  "type": "number"
      +                },
      +                "steps": {
      +                  "type": "integer"
      +                },
      +                "t_states": {
      +                  "type": "integer"
      +                },
      +                "t_target": {
      +                  "type": "number"
      +                },
      +                "tile_qubits": {
      +                  "type": "integer"
      +                },
      +                "tiles": {
      +                  "type": "integer"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "notes": {
      +            "description": "The model's assumptions.",
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "ok": {
      +            "const": true
      +          },
      +          "options": {
      +            "description": "The options the estimate ran with, the defaults filled in.",
      +            "type": "object"
      +          },
      +          "program": {
      +            "description": "What was estimated: a circuit (its digest, BLAKE3 of the program's text), or a document's counts.",
      +            "properties": {
      +              "bound": {
      +                "type": "string"
      +              },
      +              "digest": {
      +                "type": "string"
      +              },
      +              "name": {
      +                "type": "string"
      +              },
      +              "origin": {
      +                "enum": [
      +                  "circuit",
      +                  "counts",
      +                  "routine"
      +                ]
      +              },
      +              "qubits": {
      +                "type": "integer"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "receipt": {
      +            "description": "A result's receipt: an Ed25519 signature, by the key it names, over digest = BLAKE3(\"wai:quantum-service-receipt\\x02\" ‖ len ‖ request ‖ len ‖ result), each of request and result in its RFC 8785 canonical text (the result without its receipt member), each length 8 bytes big-endian. Whatever members the request and the result hold are sealed, the result's engine and schema among them. The first receipts (no canon member, $defs/first) sealed their writer's compact text under the domain ending \\x01; they still verify. wai/extensions/quantum-providers.md section 8.2 states the seal in full, and section 8.4 what a verifier checks.",
      +            "properties": {
      +              "alg": {
      +                "const": "ed25519"
      +              },
      +              "canon": {
      +                "const": "rfc8785",
      +                "description": "The canonical form the digest is taken over."
      +              },
      +              "digest": {
      +                "description": "The digest signed, 32 bytes in lower-case hex.",
      +                "maxLength": 64,
      +                "minLength": 64,
      +                "pattern": "^[0-9a-f]{64}$",
      +                "type": "string"
      +              },
      +              "key": {
      +                "description": "The signing key, 32 bytes in lower-case hex.",
      +                "maxLength": 64,
      +                "minLength": 64,
      +                "pattern": "^[0-9a-f]{64}$",
      +                "type": "string"
      +              },
      +              "signature": {
      +                "description": "The signature, 64 bytes in lower-case hex.",
      +                "maxLength": 128,
      +                "minLength": 128,
      +                "pattern": "^[0-9a-f]{128}$",
      +                "type": "string"
      +              },
      +              "time": {
      +                "additionalProperties": false,
      +                "description": "When the receipt was issued and, where it states one, until when it is offered, by the signer's clock, in milliseconds since 1970-01-01T00:00:00Z. Absent on a receipt that seals no time (one from a host with no clock, or sealed before receipts stated one). With it, the digest is taken under the domain ending \\x03 and ends with len ‖ the canonical text of this member, so the time cannot be changed or taken off (section 8.2).",
      +                "properties": {
      +                  "issued_ms": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "not_after_ms": {
      +                    "description": "The first moment the receipt is no longer offered: after issued_ms.",
      +                    "maximum": 9007199254740991,
      +                    "minimum": 1,
      +                    "type": "integer"
      +                  }
      +                },
      +                "required": [
      +                  "issued_ms"
      +                ],
      +                "type": "object"
      +              }
      +            },
      +            "required": [
      +              "alg",
      +              "canon",
      +              "key",
      +              "digest",
      +              "signature"
      +            ],
      +            "title": "wai.quantum.receipt/2",
      +            "type": "object"
      +          },
      +          "rotations": {
      +            "description": "Each distinct rotation angle: how many there are, its T count, gates and distance.",
      +            "items": {
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "schema": {
      +            "const": "wai.quantum.estimate/1"
      +          }
      +        },
      +        "required": [
      +          "ok",
      +          "format",
      +          "program",
      +          "counts",
      +          "epsilon",
      +          "options",
      +          "estimate",
      +          "frontier"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "request",
      +      "result"
      +    ],
      +    "title": "wai.quantum.estimate/1",
      +    "type": "object"
      +  },
      +  {
      +    "description": "A refusal as data: the message, every code in it (the last is the code), its outcome and meaning as the code's table gives them. A host that refuses for its own reasons gives the error alone.",
      +    "properties": {
      +      "code": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "codes": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "error": {
      +        "type": "string"
      +      },
      +      "meaning": {
      +        "type": "string"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "outcome": {
      +        "enum": [
      +          "refused",
      +          "retry",
      +          "failed",
      +          "lowered",
      +          "carried",
      +          "preserved",
      +          "warned",
      +          "dropped",
      +          "defaulted"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed2 schema fields changed
    • addedInput schema / properties / clock
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "steps"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "reaction_us": {
      +          "exclusiveMaximum": 1000000000,
      +          "exclusiveMinimum": 0,
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "reaction_us"
      +      ],
      +      "type": "object"
      +    }
      +  ],
      +  "description": "How long a Toffoli takes: steps (the default: three logical steps of d cycles), or {\"reaction_us\": t}, the reaction-limited clock: its Clifford fixups teleported away, one tick of the control system's reaction time t µs (never shorter than a measurement on the qubit), with enough factories to keep up."
      +}
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "description": "A resource estimate as a host returns it (the command line's estimate --json, both servers' estimate_resources, the job service's POST /v1/estimate): the request, and the result, which its receipt seals in a job's form. The result holds the program's logical counts, the error budget and how it was shared, the decoder calibration the physical model uses, the headline estimate and the frontier trading physical qubits for runtime, each estimate sealed in the resource-estimate receipt family (the frontier's naming the headline's as parent), and the model's notes. A result names the engine that made it and this schema (engine and schema); results made before results carried them have neither. docs/estimate.md explains every number.",
      -    "properties": {
      -      "request": {
      -        "description": "A program (qasm), a logical-counts document (counts) or a routine document (routine), with the estimate's options, as given.",
      -        "properties": {
      -          "budget": {
      -            "type": "number"
      -          },
      -          "calibration": {
      -            "type": "string"
      -          },
      -          "counts": {
      -            "type": "object"
      -          },
      -          "export": {
      -            "enum": [
      -              "counts",
      -              "routine"
      -            ]
      -          },
      -          "inputs": {
      -            "additionalProperties": {
      -              "type": "integer"
      -            },
      -            "type": "object"
      -          },
      -          "max_slowdown": {
      -            "type": "integer"
      -          },
      -          "name": {
      -            "type": "string"
      -          },
      -          "qasm": {
      -            "type": "string"
      -          },
      -          "qubit": {
      -            "type": [
      -              "string",
      -              "object"
      -            ]
      -          },
      -          "routine": {
      -            "type": "object"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "result": {
      -        "properties": {
      -          "calibration": {
      -            "description": "The decoder calibration the physical model uses: the decoder, the experiment, the fit, its measured range, and how to reproduce it.",
      -            "type": "object"
      -          },
      -          "counts": {
      -            "additionalProperties": {
      -              "type": [
      -                "integer",
      -                "number",
      -                "string",
      -                "null",
      -                "array"
      -              ]
      -            },
      -            "description": "The program's logical counts: qubits and ancillas, measurements, Clifford gates, T gates, Toffolis, rotations (each costed at its own synthesised word's T count), T states, depths.",
      -            "type": "object"
      -          },
      -          "engine": {
      -            "description": "The engine that made the result: the wai-quantum crate's name and version.",
      -            "properties": {
      -              "name": {
      -                "const": "wai-quantum"
      -              },
      -              "version": {
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "name",
      -              "version"
      -            ],
      -            "type": "object"
      -          },
      -          "epsilon": {
      -            "description": "The error budget, the synthesis share and each rotation's share, the bound the rotations' distances add to, and their T counts.",
      -            "properties": {
      -              "angles": {
      -                "type": [
      -                  "integer",
      -                  "null"
      -                ]
      -              },
      -              "bound": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "budget": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "each": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "rotations": {
      -                "type": [
      -                  "integer",
      -                  "null"
      -                ]
      -              },
      -              "synthesis": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "t_per_rotation": {
      -                "type": [
      -                  "object",
      -                  "null"
      -                ]
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "estimate": {
      -            "description": "One estimate on a physical qubit: the code and its distance, the slowdown, physical qubits (the algorithm's and the factories'), factories, runtime, logical steps and their length, tiles, the logical error, T states, and how the budget was shared; sealed by its resource-estimate receipt (receipt), or marked the headline.",
      -            "properties": {
      -              "algorithm_qubits": {
      -                "type": "integer"
      -              },
      -              "budget": {
      -                "properties": {
      -                  "distillation": {
      -                    "type": "number"
      -                  },
      -                  "logical": {
      -                    "type": "number"
      -                  },
      -                  "synthesis": {
      -                    "type": "number"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "code": {
      -                "type": "string"
      -              },
      -              "distance": {
      -                "type": "integer"
      -              },
      -              "factories": {
      -                "type": "integer"
      -              },
      -              "factory": {
      -                "type": [
      -                  "object",
      -                  "null"
      -                ]
      -              },
      -              "factory_fraction": {
      -                "type": "number"
      -              },
      -              "factory_qubits": {
      -                "type": "integer"
      -              },
      -              "headline": {
      -                "type": "boolean"
      -              },
      -              "logical_error": {
      -                "type": "number"
      -              },
      -              "physical_qubits": {
      -                "type": "integer"
      -              },
      -              "qubit": {
      -                "type": "string"
      -              },
      -              "receipt": {
      -                "description": "A receipt of the resource-estimate family: the estimate, the hashes of its job and its result, its Merkle root, its signer and signature, and the receipt it names as parent.",
      -                "properties": {
      -                  "energy_provenance": {
      -                    "type": "string"
      -                  },
      -                  "energy_uncertainty": {
      -                    "type": "object"
      -                  },
      -                  "estimate": {
      -                    "type": "object"
      -                  },
      -                  "job_hash": {
      -                    "type": "string"
      -                  },
      -                  "joules_micro": {
      -                    "type": "integer"
      -                  },
      -                  "kind": {
      -                    "const": "quantum-resource"
      -                  },
      -                  "parent_receipt_hash": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "receipt_hash": {
      -                    "type": "string"
      -                  },
      -                  "result_hash": {
      -                    "type": "string"
      -                  },
      -                  "root_hash": {
      -                    "type": "string"
      -                  },
      -                  "sig": {
      -                    "type": "string"
      -                  },
      -                  "signer_id": {
      -                    "type": "string"
      -                  },
      -                  "signer_pubkey": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "kind",
      -                  "receipt_hash",
      -                  "sig",
      -                  "signer_pubkey"
      -                ],
      -                "type": "object"
      -              },
      -              "runtime_s": {
      -                "type": "number"
      -              },
      -              "slowdown": {
      -                "type": "integer"
      -              },
      -              "step_us": {
      -                "type": "number"
      -              },
      -              "steps": {
      -                "type": "integer"
      -              },
      -              "t_states": {
      -                "type": "integer"
      -              },
      -              "t_target": {
      -                "type": "number"
      -              },
      -              "tile_qubits": {
      -                "type": "integer"
      -              },
      -              "tiles": {
      -                "type": "integer"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "export": {
      -            "description": "With export: the program's counts as a logical-counts or a routine document.",
      -            "type": "object"
      -          },
      -          "format": {
      -            "const": "wai.quantum.estimate/1"
      -          },
      -          "frontier": {
      -            "description": "Estimates no other beats on both physical qubits and runtime; the headline among them.",
      -            "items": {
      -              "description": "One estimate on a physical qubit: the code and its distance, the slowdown, physical qubits (the algorithm's and the factories'), factories, runtime, logical steps and their length, tiles, the logical error, T states, and how the budget was shared; sealed by its resource-estimate receipt (receipt), or marked the headline.",
      -              "properties": {
      -                "algorithm_qubits": {
      -                  "type": "integer"
      -                },
      -                "budget": {
      -                  "properties": {
      -                    "distillation": {
      -                      "type": "number"
      -                    },
      -                    "logical": {
      -                      "type": "number"
      -                    },
      -                    "synthesis": {
      -                      "type": "number"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "code": {
      -                  "type": "string"
      -                },
      -                "distance": {
      -                  "type": "integer"
      -                },
      -                "factories": {
      -                  "type": "integer"
      -                },
      -                "factory": {
      -                  "type": [
      -                    "object",
      -                    "null"
      -                  ]
      -                },
      -                "factory_fraction": {
      -                  "type": "number"
      -                },
      -                "factory_qubits": {
      -                  "type": "integer"
      -                },
      -                "headline": {
      -                  "type": "boolean"
      -                },
      -                "logical_error": {
      -                  "type": "number"
      -                },
      -                "physical_qubits": {
      -                  "type": "integer"
      -                },
      -                "qubit": {
      -                  "type": "string"
      -                },
      -                "receipt": {
      -                  "description": "A receipt of the resource-estimate family: the estimate, the hashes of its job and its result, its Merkle root, its signer and signature, and the receipt it names as parent.",
      -                  "properties": {
      -                    "energy_provenance": {
      -                      "type": "string"
      -                    },
      -                    "energy_uncertainty": {
      -                      "type": "object"
      -                    },
      -                    "estimate": {
      -                      "type": "object"
      -                    },
      -                    "job_hash": {
      -                      "type": "string"
      -                    },
      -                    "joules_micro": {
      -                      "type": "integer"
      -                    },
      -                    "kind": {
      -                      "const": "quantum-resource"
      -                    },
      -                    "parent_receipt_hash": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "receipt_hash": {
      -                      "type": "string"
      -                    },
      -                    "result_hash": {
      -                      "type": "string"
      -                    },
      -                    "root_hash": {
      -                      "type": "string"
      -                    },
      -                    "sig": {
      -                      "type": "string"
      -                    },
      -                    "signer_id": {
      -                      "type": "string"
      -                    },
      -                    "signer_pubkey": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "kind",
      -                    "receipt_hash",
      -                    "sig",
      -                    "signer_pubkey"
      -                  ],
      -                  "type": "object"
      -                },
      -                "runtime_s": {
      -                  "type": "number"
      -                },
      -                "slowdown": {
      -                  "type": "integer"
      -                },
      -                "step_us": {
      -                  "type": "number"
      -                },
      -                "steps": {
      -                  "type": "integer"
      -                },
      -                "t_states": {
      -                  "type": "integer"
      -                },
      -                "t_target": {
      -                  "type": "number"
      -                },
      -                "tile_qubits": {
      -                  "type": "integer"
      -                },
      -                "tiles": {
      -                  "type": "integer"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "notes": {
      -            "description": "The model's assumptions.",
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "ok": {
      -            "const": true
      -          },
      -          "options": {
      -            "description": "The options the estimate ran with, the defaults filled in.",
      -            "type": "object"
      -          },
      -          "program": {
      -            "description": "What was estimated: a circuit (its digest, BLAKE3 of the program's text), or a document's counts.",
      -            "properties": {
      -              "bound": {
      -                "type": "string"
      -              },
      -              "digest": {
      -                "type": "string"
      -              },
      -              "name": {
      -                "type": "string"
      -              },
      -              "origin": {
      -                "enum": [
      -                  "circuit",
      -                  "counts",
      -                  "routine"
      -                ]
      -              },
      -              "qubits": {
      -                "type": "integer"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "receipt": {
      -            "description": "A result's receipt: an Ed25519 signature, by the key it names, over digest = BLAKE3(\"wai:quantum-service-receipt\\x02\" ‖ len ‖ request ‖ len ‖ result), each of request and result in its RFC 8785 canonical text (the result without its receipt member), each length 8 bytes big-endian. Whatever members the request and the result hold are sealed, the result's engine and schema among them. The first receipts (no canon member, $defs/first) signed serde_json's own text under the domain ending \\x01; they still verify.",
      -            "properties": {
      -              "alg": {
      -                "const": "ed25519"
      -              },
      -              "canon": {
      -                "const": "rfc8785",
      -                "description": "The canonical form the digest is taken over."
      -              },
      -              "digest": {
      -                "description": "The digest signed, 32 bytes in hex.",
      -                "maxLength": 64,
      -                "minLength": 64,
      -                "type": "string"
      -              },
      -              "key": {
      -                "description": "The signing key, 32 bytes in hex.",
      -                "maxLength": 64,
      -                "minLength": 64,
      -                "type": "string"
      -              },
      -              "signature": {
      -                "description": "The signature, 64 bytes in hex.",
      -                "maxLength": 128,
      -                "minLength": 128,
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "alg",
      -              "canon",
      -              "key",
      -              "digest",
      -              "signature"
      -            ],
      -            "title": "wai.quantum.receipt/2",
      -            "type": "object"
      -          },
      -          "rotations": {
      -            "description": "Each distinct rotation angle: how many there are, its T count, gates and distance.",
      -            "items": {
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "schema": {
      -            "const": "wai.quantum.estimate/1"
      -          }
      -        },
      -        "required": [
      -          "ok",
      -          "format",
      -          "program",
      -          "counts",
      -          "epsilon",
      -          "options",
      -          "estimate",
      -          "frontier"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "request",
      -      "result"
      -    ],
      -    "title": "wai.quantum.estimate/1",
      -    "type": "object"
      -  },
      -  {
      -    "description": "A refusal as data: the message, every code in it (the last is the code), its outcome and meaning as the code's table gives them. A host that refuses for its own reasons gives the error alone.",
      -    "properties": {
      -      "code": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "codes": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "error": {
      -        "type": "string"
      -      },
      -      "meaning": {
      -        "type": "string"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "outcome": {
      -        "enum": [
      -          "refused",
      -          "retry",
      -          "failed",
      -          "lowered",
      -          "carried",
      -          "preserved",
      -          "warned",
      -          "dropped",
      -          "defaulted"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "description": "A resource estimate as a host returns it (the command line's estimate --json, both servers' estimate_resources, the job service's POST /v1/estimate): the request, and the result, which its receipt seals in a job's form. The result holds the program's logical counts, the error budget and how it was shared, the decoder calibration the physical model uses, the headline estimate and the frontier trading physical qubits for runtime, each estimate sealed in the resource-estimate receipt family (the frontier's naming the headline's as parent), and the model's notes. A result names the engine that made it and this schema (engine and schema); results made before results carried them have neither. docs/estimate.md explains every number.",
      +    "properties": {
      +      "request": {
      +        "description": "A program (qasm), a logical-counts document (counts) or a routine document (routine), with the estimate's options, as given.",
      +        "properties": {
      +          "budget": {
      +            "type": "number"
      +          },
      +          "calibration": {
      +            "type": "string"
      +          },
      +          "clock": {
      +            "anyOf": [
      +              {
      +                "const": "steps"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "reaction_us": {
      +                    "exclusiveMaximum": 1000000000,
      +                    "exclusiveMinimum": 0,
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "reaction_us"
      +                ],
      +                "type": "object"
      +              }
      +            ],
      +            "description": "How long a Toffoli takes: steps (the default: three logical steps of d cycles), or the reaction-limited clock, a Toffoli one tick of the control system's reaction time in µs, its Clifford fixups teleported away, with enough factories to keep up."
      +          },
      +          "counts": {
      +            "type": "object"
      +          },
      +          "export": {
      +            "enum": [
      +              "counts",
      +              "routine"
      +            ]
      +          },
      +          "inputs": {
      +            "additionalProperties": {
      +              "type": "integer"
      +            },
      +            "type": "object"
      +          },
      +          "max_slowdown": {
      +            "type": "integer"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "qasm": {
      +            "type": "string"
      +          },
      +          "qubit": {
      +            "type": [
      +              "string",
      +              "object"
      +            ]
      +          },
      +          "routine": {
      +            "type": "object"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "result": {
      +        "properties": {
      +          "calibration": {
      +            "description": "The decoder calibration the physical model uses: the decoder, the experiment, the fit, its measured range, and how to reproduce it.",
      +            "type": "object"
      +          },
      +          "counts": {
      +            "additionalProperties": {
      +              "type": [
      +                "integer",
      +                "number",
      +                "string",
      +                "null",
      +                "array"
      +              ]
      +            },
      +            "description": "The program's logical counts: qubits and ancillas, measurements, Clifford gates, T gates, Toffolis, rotations (each costed at its own synthesised word's T count), T states, depths.",
      +            "type": "object"
      +          },
      +          "engine": {
      +            "description": "The engine that made the result: the wai-quantum crate's name and version.",
      +            "properties": {
      +              "name": {
      +                "const": "wai-quantum"
      +              },
      +              "version": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "name",
      +              "version"
      +            ],
      +            "type": "object"
      +          },
      +          "epsilon": {
      +            "description": "The error budget, the synthesis share and each rotation's share, the bound the rotations' distances add to, and their T counts.",
      +            "properties": {
      +              "angles": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              },
      +              "bound": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "budget": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "each": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "rotations": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              },
      +              "synthesis": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "t_per_rotation": {
      +                "type": [
      +                  "object",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "estimate": {
      +            "description": "One estimate on a physical qubit: the code and its distance, the slowdown, physical qubits (the algorithm's and the factories'), factories, runtime, logical steps and their length, tiles, the logical error, T states, and how the budget was shared; sealed by its resource-estimate receipt (receipt), or marked the headline.",
      +            "properties": {
      +              "algorithm_qubits": {
      +                "type": "integer"
      +              },
      +              "budget": {
      +                "properties": {
      +                  "distillation": {
      +                    "type": "number"
      +                  },
      +                  "logical": {
      +                    "type": "number"
      +                  },
      +                  "synthesis": {
      +                    "type": "number"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "clock": {
      +                "description": "On the reaction-limited clock only: its reaction time, one tick at this estimate's slowdown, and the Toffolis run on ticks. Then steps are the lattice-surgery steps alone, and runtime_s adds the ticks.",
      +                "properties": {
      +                  "reaction_us": {
      +                    "type": "number"
      +                  },
      +                  "tick_us": {
      +                    "type": "number"
      +                  },
      +                  "toffolis": {
      +                    "type": "integer"
      +                  }
      +                },
      +                "required": [
      +                  "reaction_us",
      +                  "tick_us",
      +                  "toffolis"
      +                ],
      +                "type": "object"
      +              },
      +              "code": {
      +                "type": "string"
      +              },
      +              "distance": {
      +                "type": "integer"
      +              },
      +              "factories": {
      +                "type": "integer"
      +              },
      +              "factory": {
      +                "type": [
      +                  "object",
      +                  "null"
      +                ]
      +              },
      +              "factory_fraction": {
      +                "type": "number"
      +              },
      +              "factory_qubits": {
      +                "type": "integer"
      +              },
      +              "headline": {
      +                "type": "boolean"
      +              },
      +              "logical_error": {
      +                "type": "number"
      +              },
      +              "physical_qubits": {
      +                "type": "integer"
      +              },
      +              "qubit": {
      +                "type": "string"
      +              },
      +              "receipt": {
      +                "description": "A receipt of the resource-estimate family: the estimate, the hashes of its job and its result, its Merkle root, its signer and signature, and the receipt it names as parent.",
      +                "properties": {
      +                  "clock": {
      +                    "additionalProperties": false,
      +                    "description": "On the reaction-limited clock only: the runtime the estimate's steps do not account for, read from its signed figures. How long one tick was is the job's, whose hash binds the reaction time.",
      +                    "properties": {
      +                      "kind": {
      +                        "const": "reaction"
      +                      },
      +                      "tick_time_ns_bits": {
      +                        "type": "string"
      +                      },
      +                      "tick_time_s": {
      +                        "type": "number"
      +                      }
      +                    },
      +                    "required": [
      +                      "kind",
      +                      "tick_time_ns_bits",
      +                      "tick_time_s"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "energy_provenance": {
      +                    "type": "string"
      +                  },
      +                  "energy_uncertainty": {
      +                    "type": "object"
      +                  },
      +                  "estimate": {
      +                    "type": "object"
      +                  },
      +                  "job_hash": {
      +                    "type": "string"
      +                  },
      +                  "joules_micro": {
      +                    "type": "integer"
      +                  },
      +                  "kind": {
      +                    "const": "quantum-resource"
      +                  },
      +                  "parent_receipt_hash": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "receipt_hash": {
      +                    "type": "string"
      +                  },
      +                  "result_hash": {
      +                    "type": "string"
      +                  },
      +                  "root_hash": {
      +                    "type": "string"
      +                  },
      +                  "sig": {
      +                    "type": "string"
      +                  },
      +                  "signer_id": {
      +                    "type": "string"
      +                  },
      +                  "signer_pubkey": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "kind",
      +                  "receipt_hash",
      +                  "sig",
      +                  "signer_pubkey"
      +                ],
      +                "type": "object"
      +              },
      +              "runtime_s": {
      +                "type": "number"
      +              },
      +              "slowdown": {
      +                "type": "integer"
      +              },
      +              "step_us": {
      +                "type": "number"
      +              },
      +              "steps": {
      +                "type": "integer"
      +              },
      +              "t_states": {
      +                "type": "integer"
      +              },
      +              "t_target": {
      +                "type": "number"
      +              },
      +              "tile_qubits": {
      +                "type": "integer"
      +              },
      +              "tiles": {
      +                "type": "integer"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "export": {
      +            "description": "With export: the program's counts as a logical-counts or a routine document.",
      +            "type": "object"
      +          },
      +          "format": {
      +            "const": "wai.quantum.estimate/1"
      +          },
      +          "frontier": {
      +            "description": "Estimates no other beats on both physical qubits and runtime; the headline among them.",
      +            "items": {
      +              "description": "One estimate on a physical qubit: the code and its distance, the slowdown, physical qubits (the algorithm's and the factories'), factories, runtime, logical steps and their length, tiles, the logical error, T states, and how the budget was shared; sealed by its resource-estimate receipt (receipt), or marked the headline.",
      +              "properties": {
      +                "algorithm_qubits": {
      +                  "type": "integer"
      +                },
      +                "budget": {
      +                  "properties": {
      +                    "distillation": {
      +                      "type": "number"
      +                    },
      +                    "logical": {
      +                      "type": "number"
      +                    },
      +                    "synthesis": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "clock": {
      +                  "description": "On the reaction-limited clock only: its reaction time, one tick at this estimate's slowdown, and the Toffolis run on ticks. Then steps are the lattice-surgery steps alone, and runtime_s adds the ticks.",
      +                  "properties": {
      +                    "reaction_us": {
      +                      "type": "number"
      +                    },
      +                    "tick_us": {
      +                      "type": "number"
      +                    },
      +                    "toffolis": {
      +                      "type": "integer"
      +                    }
      +                  },
      +                  "required": [
      +                    "reaction_us",
      +                    "tick_us",
      +                    "toffolis"
      +                  ],
      +                  "type": "object"
      +                },
      +                "code": {
      +                  "type": "string"
      +                },
      +                "distance": {
      +                  "type": "integer"
      +                },
      +                "factories": {
      +                  "type": "integer"
      +                },
      +                "factory": {
      +                  "type": [
      +                    "object",
      +                    "null"
      +                  ]
      +                },
      +                "factory_fraction": {
      +                  "type": "number"
      +                },
      +                "factory_qubits": {
      +                  "type": "integer"
      +                },
      +                "headline": {
      +                  "type": "boolean"
      +                },
      +                "logical_error": {
      +                  "type": "number"
      +                },
      +                "physical_qubits": {
      +                  "type": "integer"
      +                },
      +                "qubit": {
      +                  "type": "string"
      +                },
      +                "receipt": {
      +                  "description": "A receipt of the resource-estimate family: the estimate, the hashes of its job and its result, its Merkle root, its signer and signature, and the receipt it names as parent.",
      +                  "properties": {
      +                    "clock": {
      +                      "additionalProperties": false,
      +                      "description": "On the reaction-limited clock only: the runtime the estimate's steps do not account for, read from its signed figures. How long one tick was is the job's, whose hash binds the reaction time.",
      +                      "properties": {
      +                        "kind": {
      +                          "const": "reaction"
      +                        },
      +                        "tick_time_ns_bits": {
      +                          "type": "string"
      +                        },
      +                        "tick_time_s": {
      +                          "type": "number"
      +                        }
      +                      },
      +                      "required": [
      +                        "kind",
      +                        "tick_time_ns_bits",
      +                        "tick_time_s"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "energy_provenance": {
      +                      "type": "string"
      +                    },
      +                    "energy_uncertainty": {
      +                      "type": "object"
      +                    },
      +                    "estimate": {
      +                      "type": "object"
      +                    },
      +                    "job_hash": {
      +                      "type": "string"
      +                    },
      +                    "joules_micro": {
      +                      "type": "integer"
      +                    },
      +                    "kind": {
      +                      "const": "quantum-resource"
      +                    },
      +                    "parent_receipt_hash": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "receipt_hash": {
      +                      "type": "string"
      +                    },
      +                    "result_hash": {
      +                      "type": "string"
      +                    },
      +                    "root_hash": {
      +                      "type": "string"
      +                    },
      +                    "sig": {
      +                      "type": "string"
      +                    },
      +                    "signer_id": {
      +                      "type": "string"
      +                    },
      +                    "signer_pubkey": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "kind",
      +                    "receipt_hash",
      +                    "sig",
      +                    "signer_pubkey"
      +                  ],
      +                  "type": "object"
      +                },
      +                "runtime_s": {
      +                  "type": "number"
      +                },
      +                "slowdown": {
      +                  "type": "integer"
      +                },
      +                "step_us": {
      +                  "type": "number"
      +                },
      +                "steps": {
      +                  "type": "integer"
      +                },
      +                "t_states": {
      +                  "type": "integer"
      +                },
      +                "t_target": {
      +                  "type": "number"
      +                },
      +                "tile_qubits": {
      +                  "type": "integer"
      +                },
      +                "tiles": {
      +                  "type": "integer"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "notes": {
      +            "description": "The model's assumptions.",
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "ok": {
      +            "const": true
      +          },
      +          "options": {
      +            "description": "The options the estimate ran with, the defaults filled in.",
      +            "type": "object"
      +          },
      +          "program": {
      +            "description": "What was estimated: a circuit (its digest, BLAKE3 of the program's text), or a document's counts.",
      +            "properties": {
      +              "bound": {
      +                "type": "string"
      +              },
      +              "digest": {
      +                "type": "string"
      +              },
      +              "name": {
      +                "type": "string"
      +              },
      +              "origin": {
      +                "enum": [
      +                  "circuit",
      +                  "counts",
      +                  "routine"
      +                ]
      +              },
      +              "qubits": {
      +                "type": "integer"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "receipt": {
      +            "description": "A result's receipt: an Ed25519 signature, by the key it names, over digest = BLAKE3(\"wai:quantum-service-receipt\\x02\" ‖ len ‖ request ‖ len ‖ result), each of request and result in its RFC 8785 canonical text (the result without its receipt member), each length 8 bytes big-endian. Whatever members the request and the result hold are sealed, the result's engine and schema among them. The first receipts (no canon member, $defs/first) sealed their writer's compact text under the domain ending \\x01; they still verify. wai/extensions/quantum-providers.md section 8.2 states the seal in full, and section 8.4 what a verifier checks.",
      +            "properties": {
      +              "alg": {
      +                "const": "ed25519"
      +              },
      +              "canon": {
      +                "const": "rfc8785",
      +                "description": "The canonical form the digest is taken over."
      +              },
      +              "digest": {
      +                "description": "The digest signed, 32 bytes in lower-case hex.",
      +                "maxLength": 64,
      +                "minLength": 64,
      +                "pattern": "^[0-9a-f]{64}$",
      +                "type": "string"
      +              },
      +              "key": {
      +                "description": "The signing key, 32 bytes in lower-case hex.",
      +                "maxLength": 64,
      +                "minLength": 64,
      +                "pattern": "^[0-9a-f]{64}$",
      +                "type": "string"
      +              },
      +              "signature": {
      +                "description": "The signature, 64 bytes in lower-case hex.",
      +                "maxLength": 128,
      +                "minLength": 128,
      +                "pattern": "^[0-9a-f]{128}$",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "alg",
      +              "canon",
      +              "key",
      +              "digest",
      +              "signature"
      +            ],
      +            "title": "wai.quantum.receipt/2",
      +            "type": "object"
      +          },
      +          "rotations": {
      +            "description": "Each distinct rotation angle: how many there are, its T count, gates and distance.",
      +            "items": {
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "schema": {
      +            "const": "wai.quantum.estimate/1"
      +          }
      +        },
      +        "required": [
      +          "ok",
      +          "format",
      +          "program",
      +          "counts",
      +          "epsilon",
      +          "options",
      +          "estimate",
      +          "frontier"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "request",
      +      "result"
      +    ],
      +    "title": "wai.quantum.estimate/1",
      +    "type": "object"
      +  },
      +  {
      +    "description": "A refusal as data: the message, every code in it (the last is the code), its outcome and meaning as the code's table gives them. A host that refuses for its own reasons gives the error alone.",
      +    "properties": {
      +      "code": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "codes": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "error": {
      +        "type": "string"
      +      },
      +      "meaning": {
      +        "type": "string"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "outcome": {
      +        "enum": [
      +          "refused",
      +          "retry",
      +          "failed",
      +          "lowered",
      +          "carried",
      +          "preserved",
      +          "warned",
      +          "dropped",
      +          "defaulted"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. First observed

TDQS

A3.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond readOnlyHint, the description discloses that every estimate is sealed in a receipt family, binds the program digest and ε budget, records model assumptions in notes, and is refused when rotations exceed 256 distinct angles or the budget is too fine. It also explains how figures should be quoted and names the verification path, giving substantial behavioral context for a read-only computation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, but the body is a dense run-on paragraph with nested parentheticals and model jargon. Most details are relevant, yet the wording is harder to parse than necessary and could be substantially tightened without losing meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex tool with ten parameters, this description covers inputs, output character, receipt sealing, assumptions, and refusal conditions. It is well complemented by the existing output schema and full parameter documentation, though usage guidance relative to sibling tools remains thin.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 100% description coverage and already documents all ten parameters, including defaults and enums. The description integrates some inputs into the narrative, such as program/counts/routine, qubit, clock, budget, calibration model, and frontier slowdown, but adds little parameter-level semantics beyond what the schema already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly conveys that this tool computes fault-tolerant resource estimates, enumerating logical counts and then physical-qubit costs. It distinguishes its purpose from receipt verification by noting that verify_quantum_receipt checks seals and re-runs the estimate, though it does not directly contrast with other estimation-adjacent siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It says what inputs are accepted and that verify_quantum_receipt is the alternative for checking seals, but it never states when an agent should choose estimate_resources over other tools or when not to use it. Refusal conditions are given, but those are not usage guidance for tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources