changedOutput schema / anyOf
Previous value: -[
- {
- "description": "What the service would do with a job or a set, running nothing: the plan's method and why, its qubits, memory and work, the estimated time and energy (each with its basis, or why there is none), the bounds that apply, where the client stands against its limits, each item of a set, and whether the service would take it now, or the refusal it would give.",
- "properties": {
- "accepted": {
- "description": "Whether the service would take it now, by every limit, its reading held to what the submission's would take; the MCP tools plan it as their runs run it, its verdict asked.",
- "type": "boolean"
- },
- "bounds": {
- "additionalProperties": true,
- "description": "The bounds that apply here: memory, time, queue, items of a set, and result_bytes, the most a job's or a set's result may take as served.",
- "type": "object"
- },
- "client": {
- "description": "Where the client stands: its active jobs, the memory they hold, the submissions left in its window and when the window resets.",
- "properties": {
- "active_jobs": {
- "type": "integer"
- },
- "memory_held_bytes": {
- "type": "integer"
- },
- "submissions_left": {
- "type": "integer"
- },
- "window_resets_in_seconds": {
- "type": "integer"
- }
- },
- "type": "object"
- },
- "dry_run": {
- "const": true
- },
- "energy": {
- "additionalProperties": true,
- "description": "The estimated energy, never a reading of this job: microjoules, its provenance and basis, or why there is none.",
- "properties": {
- "basis": {
- "type": "string"
- },
- "energy_provenance": {
- "type": "string"
- },
- "joules_micro_estimate": {
- "minimum": 0,
- "type": "integer"
- },
- "note": {
- "type": "string"
- },
- "unestimated": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "items": {
- "description": "A set: each item's plan and estimates.",
- "items": {
- "properties": {
- "energy": {
- "additionalProperties": true,
- "type": "object"
- },
- "index": {
- "type": "integer"
- },
- "memory_bytes": {
- "type": "integer"
- },
- "method": {
- "type": "string"
- },
- "point": {
- "type": "object"
- },
- "qubits": {
- "type": "integer"
- },
- "time": {
- "additionalProperties": true,
- "type": "object"
- },
- "why": {
- "type": "string"
- },
- "work": {
- "type": "integer"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "memory_bytes": {
- "minimum": 0,
- "type": "integer"
- },
- "method": {
- "type": "string"
- },
- "planner": {
- "description": "Why this route ran (wai.quantum.planner/1): every route the host could see, each one's price or reason for rejection, and the choice. Sealed by the receipt; a verifier recomputes each route's outcome and the choice from what it states (wai/extensions/quantum-providers.md section 8.7). A plan carries it too, with the refusal in place of the choice when no route meets the contract.",
- "properties": {
- "auto": {
- "description": "The route auto picks, when the job leaves the method to it.",
- "type": [
- "string",
- "null"
- ]
- },
- "choice": {
- "type": [
- "string",
- "null"
- ]
- },
- "format": {
- "const": "wai.quantum.planner/1"
- },
- "host": {
- "properties": {
- "job_bytes": {
- "minimum": 0,
- "type": "number"
- },
- "providers": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "job_bytes",
- "providers"
- ],
- "type": "object"
- },
- "kept": {
- "description": "What the contract asked, against what happened; each kept is null when it cannot be said. A result that missed one is sealed and says so.",
- "properties": {
- "cost": {
- "properties": {
- "charged": {
- "properties": {
- "amount": {
- "type": "string"
- },
- "currency": {
- "type": "string"
- }
- },
- "type": [
- "object",
- "null"
- ]
- },
- "kept": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "max_cost": {
- "properties": {
- "amount": {
- "type": "string"
- },
- "currency": {
- "type": "string"
- }
- },
- "type": "object"
- }
- },
- "required": [
- "max_cost",
- "charged",
- "kept"
- ],
- "type": "object"
- },
- "deadline": {
- "properties": {
- "elapsed_ms": {
- "minimum": 0,
- "type": [
- "integer",
- "null"
- ]
- },
- "kept": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "seconds": {
- "type": "number"
- }
- },
- "required": [
- "seconds",
- "elapsed_ms",
- "kept"
- ],
- "type": "object"
- },
- "energy": {
- "properties": {
- "joules": {
- "type": [
- "number",
- "null"
- ]
- },
- "kept": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "max_joules": {
- "type": "number"
- }
- },
- "required": [
- "max_joules",
- "joules",
- "kept"
- ],
- "type": "object"
- }
- },
- "type": "object"
- },
- "named": {
- "description": "The route the job names: the provider or the method its request names, or the one method a device target's job runs on; null when it names none.",
- "type": [
- "string",
- "null"
- ]
- },
- "question": {
- "description": "The question the job asks, read from its request, which orders the methods auto tries (section 8.7).",
- "enum": [
- "noise",
- "counts",
- "expectations",
- "amplitudes"
- ]
- },
- "refusal": {
- "description": "When no route meets the contract, in a plan: the refusal as data.",
- "type": "object"
- },
- "routes": {
- "items": {
- "description": "One route the planner could see: its class, its price or why it has none, and what came of it.",
- "properties": {
- "approximate": {
- "const": true
- },
- "auto_rank": {
- "description": "On a local route: its rank in auto's order for the job's question, or null where auto does not try it; a built-in method's is section 8.7's table.",
- "minimum": 0,
- "type": [
- "integer",
- "null"
- ]
- },
- "class": {
- "description": "The accuracy class its result has at worst: a matrix product state's is heuristic, though its result may say exact.",
- "type": "string"
- },
- "device": {
- "type": "string"
- },
- "host_dependent": {
- "description": "Whether it depends on the host: a provider's, a method on a GPU, or a registered method.",
- "type": "boolean"
- },
- "kind": {
- "enum": [
- "local",
- "provider"
- ]
- },
- "method": {
- "type": "string"
- },
- "outcome": {
- "enum": [
- "chosen",
- "met",
- "rejected"
- ]
- },
- "price": {
- "anyOf": [
- {
- "description": "What a route costs, with what is really known: a method's memory and work as the planner counts them and its time at the planner's nominal rate; a provider's own estimate, with what that leaves out.",
- "properties": {
- "energy": {
- "properties": {
- "basis": {
- "type": "string"
- },
- "joules": {
- "description": "An estimate of what the run takes, from past runs, never a promise. A contract's max_joules is enforced by a live reading while the run goes; an estimate can only refuse a job clearly past a ceiling.",
- "minimum": 0,
- "type": [
- "number",
- "null"
- ]
- },
- "unwatched": {
- "description": "Why nothing can read the run while it runs; under a ceiling the route is refused (energy_unwatched).",
- "type": "string"
- },
- "watch": {
- "description": "What reads the run while it runs, and what that covers: what stops it at a contract's max_joules.",
- "type": "string"
- },
- "why": {
- "type": "string"
- }
- },
- "required": [
- "joules"
- ],
- "type": "object"
- },
- "leaves_out": {
- "description": "What this price leaves out: time (it states no time), amount (it states no amount), energy, mitigation (what the provider's own mitigation costs or does), decoder (any decoder's latency), charged (what the provider charges may differ from what it estimates), cancel (its client cannot stop a job it sent).",
- "items": {
- "enum": [
- "time",
- "amount",
- "energy",
- "mitigation",
- "decoder",
- "charged",
- "cancel"
- ]
- },
- "type": "array"
- },
- "memory_bytes": {
- "minimum": 0,
- "type": [
- "number",
- "null"
- ]
- },
- "money": {
- "description": "What a route costs in money: free, an amount in a currency, or why that is not known. An unknown cost is not free.",
- "properties": {
- "amount": {
- "type": "string"
- },
- "at_least": {
- "const": true,
- "description": "The amount is the least the job can come to: what it takes decides the rest, so it meets no ceiling (cost_at_least)."
- },
- "currency": {
- "type": "string"
- },
- "free": {
- "type": "boolean"
- },
- "unit": {
- "type": "string"
- },
- "unknown": {
- "type": "string"
- }
- },
- "required": [
- "free"
- ],
- "type": "object"
- },
- "program": {
- "description": "What the job asks of a provider's device: its shots, and the compiled program's gates and swaps, and its expected success when a calibration states one.",
- "properties": {
- "expected_success": {
- "type": "number"
- },
- "native_gates": {
- "minimum": 0,
- "type": "integer"
- },
- "shots": {
- "minimum": 0,
- "type": "integer"
- },
- "swaps": {
- "minimum": 0,
- "type": "integer"
- },
- "two_qubit_gates": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "type": "object"
- },
- "time": {
- "properties": {
- "basis": {
- "enum": [
- "nominal",
- "provider"
- ]
- },
- "seconds": {
- "minimum": 0,
- "type": [
- "number",
- "null"
- ]
- },
- "why": {
- "type": "string"
- }
- },
- "required": [
- "seconds"
- ],
- "type": "object"
- },
- "work": {
- "minimum": 0,
- "type": [
- "number",
- "null"
- ]
- }
- },
- "required": [
- "money",
- "time",
- "memory_bytes",
- "work",
- "energy",
- "leaves_out"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "provenance": {
- "type": "string"
- },
- "provider": {
- "type": "string"
- },
- "rejected": {
- "properties": {
- "code": {
- "enum": [
- "not_named",
- "fabric",
- "class",
- "cannot",
- "memory",
- "providers",
- "deadline",
- "deadline_unknown",
- "cost",
- "cost_currency",
- "cost_unknown",
- "cost_at_least",
- "cost_no_ceiling",
- "energy",
- "energy_unwatched"
- ]
- },
- "why": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "why"
- ],
- "type": "object"
- },
- "route": {
- "description": "method:<name> or provider:<name>.",
- "type": "string"
- }
- },
- "required": [
- "route",
- "kind",
- "class",
- "host_dependent",
- "price",
- "outcome"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "shadow": {
- "description": "The classical method that would shadow a provider's answer within the contract, or why none can.",
- "properties": {
- "budget_seconds": {
- "minimum": 0,
- "type": "number"
- },
- "class": {
- "type": "string"
- },
- "code": {
- "enum": [
- "budget",
- "memory",
- "none"
- ]
- },
- "price": {
- "description": "What a route costs, with what is really known: a method's memory and work as the planner counts them and its time at the planner's nominal rate; a provider's own estimate, with what that leaves out.",
- "properties": {
- "energy": {
- "properties": {
- "basis": {
- "type": "string"
- },
- "joules": {
- "description": "An estimate of what the run takes, from past runs, never a promise. A contract's max_joules is enforced by a live reading while the run goes; an estimate can only refuse a job clearly past a ceiling.",
- "minimum": 0,
- "type": [
- "number",
- "null"
- ]
- },
- "unwatched": {
- "description": "Why nothing can read the run while it runs; under a ceiling the route is refused (energy_unwatched).",
- "type": "string"
- },
- "watch": {
- "description": "What reads the run while it runs, and what that covers: what stops it at a contract's max_joules.",
- "type": "string"
- },
- "why": {
- "type": "string"
- }
- },
- "required": [
- "joules"
- ],
- "type": "object"
- },
- "leaves_out": {
- "description": "What this price leaves out: time (it states no time), amount (it states no amount), energy, mitigation (what the provider's own mitigation costs or does), decoder (any decoder's latency), charged (what the provider charges may differ from what it estimates), cancel (its client cannot stop a job it sent).",
- "items": {
- "enum": [
- "time",
- "amount",
- "energy",
- "mitigation",
- "decoder",
- "charged",
- "cancel"
- ]
- },
- "type": "array"
- },
- "memory_bytes": {
- "minimum": 0,
- "type": [
- "number",
- "null"
- ]
- },
- "money": {
- "description": "What a route costs in money: free, an amount in a currency, or why that is not known. An unknown cost is not free.",
- "properties": {
- "amount": {
- "type": "string"
- },
- "at_least": {
- "const": true,
- "description": "The amount is the least the job can come to: what it takes decides the rest, so it meets no ceiling (cost_at_least)."
- },
- "currency": {
- "type": "string"
- },
- "free": {
- "type": "boolean"
- },
- "unit": {
- "type": "string"
- },
- "unknown": {
- "type": "string"
- }
- },
- "required": [
- "free"
- ],
- "type": "object"
- },
- "program": {
- "description": "What the job asks of a provider's device: its shots, and the compiled program's gates and swaps, and its expected success when a calibration states one.",
- "properties": {
- "expected_success": {
- "type": "number"
- },
- "native_gates": {
- "minimum": 0,
- "type": "integer"
- },
- "shots": {
- "minimum": 0,
- "type": "integer"
- },
- "swaps": {
- "minimum": 0,
- "type": "integer"
- },
- "two_qubit_gates": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "type": "object"
- },
- "time": {
- "properties": {
- "basis": {
- "enum": [
- "nominal",
- "provider"
- ]
- },
- "seconds": {
- "minimum": 0,
- "type": [
- "number",
- "null"
- ]
- },
- "why": {
- "type": "string"
- }
- },
- "required": [
- "seconds"
- ],
- "type": "object"
- },
- "work": {
- "minimum": 0,
- "type": [
- "number",
- "null"
- ]
- }
- },
- "required": [
- "money",
- "time",
- "memory_bytes",
- "work",
- "energy",
- "leaves_out"
- ],
- "type": "object"
- },
- "request": {
- "type": "object"
- },
- "route": {
- "type": [
- "string",
- "null"
- ]
- },
- "tried": {
- "items": {
- "properties": {
- "code": {
- "type": "string"
- },
- "route": {
- "type": "string"
- },
- "why": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "why": {
- "type": "string"
- }
- },
- "required": [
- "route"
- ],
- "type": "object"
- },
- "stable": {
- "properties": {
- "choice": {
- "type": "boolean"
- },
- "digest": {
- "type": "string"
- },
- "routes": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "scope": {
- "type": "string"
- }
- },
- "required": [
- "scope",
- "routes",
- "digest",
- "choice"
- ],
- "type": "object"
- },
- "wanted": {
- "description": "The class wanted: the contract's, else that of the route the job names or auto's pick.",
- "type": [
- "string",
- "null"
- ]
- },
- "wanted_from": {
- "enum": [
- "contract",
- "named",
- "auto",
- null
- ]
- },
- "why": {
- "type": "string"
- }
- },
- "required": [
- "format",
- "wanted",
- "wanted_from",
- "auto",
- "host",
- "routes",
- "choice",
- "why",
- "stable",
- "named",
- "question"
- ],
- "type": "object"
- },
- "qubits": {
- "minimum": 0,
- "type": "integer"
- },
- "ran": {
- "const": false
- },
- "refusal": {
- "description": "For a refused job: its message and its codes.",
- "properties": {
- "code": {
- "type": [
- "string",
- "null"
- ]
- },
- "codes": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "meaning": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "outcome": {
- "enum": [
- "refused",
- "retry",
- "failed",
- "lowered",
- "carried",
- "preserved",
- "warned",
- "dropped",
- "defaulted"
- ]
- }
- },
- "type": "object"
- },
- "result_bytes": {
- "description": "The most its result takes as served, bytes, bounded before it runs: past bounds.result_bytes the job is refused (422, J031). A pulse run is bounded from its schedule. For a method that gives no bound before it runs (no built-in is such): {\"bytes\": null, \"why\"}, and it is counted at bounds.result_bytes.",
- "oneOf": [
- {
- "minimum": 0,
- "type": "integer"
- },
- {
- "additionalProperties": false,
- "properties": {
- "bytes": {
- "type": "null"
- },
- "why": {
- "type": "string"
- }
- },
- "required": [
- "bytes",
- "why"
- ],
- "type": "object"
- }
- ]
- },
- "status": {
- "description": "The HTTP status a refusal would carry.",
- "type": "integer"
- },
- "target": {
- "description": "A job on a device target: the target the plan placed it on.",
- "type": "object"
- },
- "time": {
- "additionalProperties": true,
- "description": "The estimated time: seconds and its basis, or null and why, with the most the job may take.",
- "properties": {
- "at_most": {
- "type": "integer"
- },
- "basis": {
- "type": "string"
- },
- "note": {
- "type": "string"
- },
- "rate": {
- "type": "object"
- },
- "seconds": {
- "type": [
- "number",
- "null"
- ]
- },
- "why": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "verdict": {
- "description": "How far the engine checked an answer about a program, as one level of an ordered ladder (wai-quantum://docs/verdicts): refused, parsed, executed, evidence, proof. A level says how far the engine checked, not that the answer is good: holds says whether the intents held (true, false, or null when none was decided). A job's result carries one under verdict when the job gives an intent or asks for one, and the receipt seals it; both MCP servers state one beside every answer about a program.",
- "properties": {
- "critique": {
- "description": "The program's smells, each with its lines.",
- "items": {
- "type": "object"
- },
- "type": "array"
- },
- "executed": {
- "description": "The method that ran and its accuracy class, and the distance a compile put between the program and what ran.",
- "properties": {
- "accuracy": {
- "type": [
- "string",
- "null"
- ]
- },
- "compiled_distance": {
- "type": [
- "number",
- "null"
- ]
- },
- "method": {
- "type": "string"
- }
- },
- "type": [
- "object",
- "null"
- ]
- },
- "holds": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "intent": {
- "items": {
- "description": "One intent's check: what it asked, whether it held, how strong the check was and how it was made.",
- "properties": {
- "alpha": {
- "type": "number"
- },
- "counts": {
- "additionalProperties": {
- "type": "integer"
- },
- "type": "object"
- },
- "distance": {
- "type": "number"
- },
- "distribution": {
- "additionalProperties": {
- "type": "number"
- },
- "description": "The program's distribution, when its outcomes are few enough to list.",
- "type": "object"
- },
- "fit": {
- "description": "A sampled intent: the test, its statistic, degrees of freedom and p-value, the level, and whether it rejected.",
- "properties": {
- "alpha": {
- "type": "number"
- },
- "dof": {
- "type": "integer"
- },
- "impossible": {
- "description": "The outcomes sampled that the stated distribution gives probability 0: the first 64, in order.",
- "type": [
- "integer",
- "array",
- "boolean"
- ]
- },
- "impossible_outcomes": {
- "description": "How many outcomes sampled the stated distribution gives probability 0.",
- "type": "integer"
- },
- "note": {
- "type": "string"
- },
- "p_value": {
- "type": "number"
- },
- "rejected": {
- "type": "boolean"
- },
- "shots": {
- "type": "integer"
- },
- "smallest_expected": {
- "type": [
- "number",
- "null"
- ]
- },
- "statistic": {
- "type": "number"
- },
- "test": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "global_phase": {
- "type": [
- "number",
- "null"
- ]
- },
- "how": {
- "type": "string"
- },
- "kind": {
- "enum": [
- "distribution",
- "equivalent",
- "prepares",
- "sampled",
- "compiled"
- ]
- },
- "largest_gaps": {
- "items": {
- "properties": {
- "intent": {
- "type": "number"
- },
- "outcome": {
- "type": "string"
- },
- "program": {
- "type": "number"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "method": {
- "description": "A sampled intent: the method the samples were run by.",
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "note": {
- "type": "string"
- },
- "outcome": {
- "enum": [
- "holds",
- "fails",
- "unchecked"
- ]
- },
- "outcomes": {
- "description": "The outcomes the distribution holds, or the samples' distinct outcomes.",
- "type": "integer"
- },
- "seed": {
- "type": "integer"
- },
- "shots": {
- "type": "integer"
- },
- "strength": {
- "enum": [
- "proof",
- "evidence",
- "none"
- ]
- },
- "tolerance": {
- "type": "number"
- },
- "why": {
- "type": "string"
- }
- },
- "required": [
- "kind",
- "outcome",
- "strength",
- "how"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "level": {
- "enum": [
- "refused",
- "parsed",
- "executed",
- "evidence",
- "proof"
- ]
- },
- "parsed": {
- "description": "Whether the reader took the program, and its warnings and notes with their codes, or its refusal.",
- "properties": {
- "code": {
- "type": "string"
- },
- "column": {
- "minimum": 1,
- "type": "integer"
- },
- "diagnostics": {
- "items": {
- "description": "One of the reader's diagnostics: its code, what happens to the construct it is about, its message (without the line or the code), and where it stands.",
- "properties": {
- "code": {
- "type": "string"
- },
- "column": {
- "minimum": 1,
- "type": "integer"
- },
- "length": {
- "minimum": 0,
- "type": "integer"
- },
- "line": {
- "minimum": 1,
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "outcome": {
- "enum": [
- "refused",
- "lowered",
- "carried",
- "preserved",
- "warned"
- ]
- }
- },
- "required": [
- "code",
- "outcome",
- "message"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "length": {
- "minimum": 0,
- "type": "integer"
- },
- "line": {
- "minimum": 1,
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "ok": {
- "type": "boolean"
- },
- "outcome": {
- "enum": [
- "refused",
- "retry",
- "failed",
- "lowered",
- "carried",
- "preserved",
- "warned",
- "dropped",
- "defaulted"
- ]
- },
- "text": {
- "description": "The refusal as the reader wrote it, with its line and code.",
- "type": "string"
- }
- },
- "required": [
- "ok"
- ],
- "type": "object"
- },
- "rank": {
- "description": "The level's place on the ladder, from 0 (refused) to 4 (proof).",
- "maximum": 4,
- "minimum": 0,
- "type": "integer"
- },
- "refusal": {
- "description": "For a refused job: its message and its codes.",
- "properties": {
- "code": {
- "type": [
- "string",
- "null"
- ]
- },
- "codes": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "meaning": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "outcome": {
- "enum": [
- "refused",
- "retry",
- "failed",
- "lowered",
- "carried",
- "preserved",
- "warned",
- "dropped",
- "defaulted"
- ]
- }
- },
- "type": "object"
- },
- "repairs": {
- "description": "Each edit a repair made, with the code it answered and the lines it changed.",
- "items": {
- "type": "object"
- },
- "type": "array"
- },
- "schema": {
- "const": "wai.quantum.verdict/1"
- },
- "sealed": {
- "type": "boolean"
- },
- "statement": {
- "description": "The level in one plain line.",
- "type": "string"
- }
- },
- "required": [
- "schema",
- "level",
- "rank",
- "holds",
- "statement",
- "parsed",
- "executed",
- "intent",
- "critique",
- "repairs"
- ],
- "title": "wai.quantum.verdict/1",
- "type": "object"
- },
- "why": {
- "type": "string"
- },
- "within_time_limit": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "work": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "dry_run",
- "ran",
- "accepted",
- "bounds",
- "client"
- ],
- "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"
- ]
- },
- "verdict": {
- "description": "How far the engine checked an answer about a program, as one level of an ordered ladder (wai-quantum://docs/verdicts): refused, parsed, executed, evidence, proof. A level says how far the engine checked, not that the answer is good: holds says whether the intents held (true, false, or null when none was decided). A job's result carries one under verdict when the job gives an intent or asks for one, and the receipt seals it; both MCP servers state one beside every answer about a program.",
- "properties": {
- "critique": {
- "description": "The program's smells, each with its lines.",
- "items": {
- "type": "object"
- },
- "type": "array"
- },
- "executed": {
- "description": "The method that ran and its accuracy class, and the distance a compile put between the program and what ran.",
- "properties": {
- "accuracy": {
- "type": [
- "string",
- "null"
- ]
- },
- "compiled_distance": {
- "type": [
- "number",
- "null"
- ]
- },
- "method": {
- "type": "string"
- }
- },
- "type": [
- "object",
- "null"
- ]
- },
- "holds": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "intent": {
- "items": {
- "description": "One intent's check: what it asked, whether it held, how strong the check was and how it was made.",
- "properties": {
- "alpha": {
- "type": "number"
- },
- "counts": {
- "additionalProperties": {
- "type": "integer"
- },
- "type": "object"
- },
- "distance": {
- "type": "number"
- },
- "distribution": {
- "additionalProperties": {
- "type": "number"
- },
- "description": "The program's distribution, when its outcomes are few enough to list.",
- "type": "object"
- },
- "fit": {
- "description": "A sampled intent: the test, its statistic, degrees of freedom and p-value, the level, and whether it rejected.",
- "properties": {
- "alpha": {
- "type": "number"
- },
- "dof": {
- "type": "integer"
- },
- "impossible": {
- "description": "The outcomes sampled that the stated distribution gives probability 0: the first 64, in order.",
- "type": [
- "integer",
- "array",
- "boolean"
- ]
- },
- "impossible_outcomes": {
- "description": "How many outcomes sampled the stated distribution gives probability 0.",
- "type": "integer"
- },
- "note": {
- "type": "string"
- },
- "p_value": {
- "type": "number"
- },
- "rejected": {
- "type": "boolean"
- },
- "shots": {
- "type": "integer"
- },
- "smallest_expected": {
- "type": [
- "number",
- "null"
- ]
- },
- "statistic": {
- "type": "number"
- },
- "test": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "global_phase": {
- "type": [
- "number",
- "null"
- ]
- },
- "how": {
- "type": "string"
- },
- "kind": {
- "enum": [
- "distribution",
- "equivalent",
- "prepares",
- "sampled",
- "compiled"
- ]
- },
- "largest_gaps": {
- "items": {
- "properties": {
- "intent": {
- "type": "number"
- },
- "outcome": {
- "type": "string"
- },
- "program": {
- "type": "number"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "method": {
- "description": "A sampled intent: the method the samples were run by.",
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "note": {
- "type": "string"
- },
- "outcome": {
- "enum": [
- "holds",
- "fails",
- "unchecked"
- ]
- },
- "outcomes": {
- "description": "The outcomes the distribution holds, or the samples' distinct outcomes.",
- "type": "integer"
- },
- "seed": {
- "type": "integer"
- },
- "shots": {
- "type": "integer"
- },
- "strength": {
- "enum": [
- "proof",
- "evidence",
- "none"
- ]
- },
- "tolerance": {
- "type": "number"
- },
- "why": {
- "type": "string"
- }
- },
- "required": [
- "kind",
- "outcome",
- "strength",
- "how"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "level": {
- "enum": [
- "refused",
- "parsed",
- "executed",
- "evidence",
- "proof"
- ]
- },
- "parsed": {
- "description": "Whether the reader took the program, and its warnings and notes with their codes, or its refusal.",
- "properties": {
- "code": {
- "type": "string"
- },
- "column": {
- "minimum": 1,
- "type": "integer"
- },
- "diagnostics": {
- "items": {
- "description": "One of the reader's diagnostics: its code, what happens to the construct it is about, its message (without the line or the code), and where it stands.",
- "properties": {
- "code": {
- "type": "string"
- },
- "column": {
- "minimum": 1,
- "type": "integer"
- },
- "length": {
- "minimum": 0,
- "type": "integer"
- },
- "line": {
- "minimum": 1,
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "outcome": {
- "enum": [
- "refused",
- "lowered",
- "carried",
- "preserved",
- "warned"
- ]
- }
- },
- "required": [
- "code",
- "outcome",
- "message"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "length": {
- "minimum": 0,
- "type": "integer"
- },
- "line": {
- "minimum": 1,
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "ok": {
- "type": "boolean"
- },
- "outcome": {
- "enum": [
- "refused",
- "retry",
- "failed",
- "lowered",
- "carried",
- "preserved",
- "warned",
- "dropped",
- "defaulted"
- ]
- },
- "text": {
- "description": "The refusal as the reader wrote it, with its line and code.",
- "type": "string"
- }
- },
- "required": [
- "ok"
- ],
- "type": "object"
- },
- "rank": {
- "description": "The level's place on the ladder, from 0 (refused) to 4 (proof).",
- "maximum": 4,
- "minimum": 0,
- "type": "integer"
- },
- "refusal": {
- "description": "For a refused job: its message and its codes.",
- "properties": {
- "code": {
- "type": [
- "string",
- "null"
- ]
- },
- "codes": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "meaning": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "outcome": {
- "enum": [
- "refused",
- "retry",
- "failed",
- "lowered",
- "carried",
- "preserved",
- "warned",
- "dropped",
- "defaulted"
- ]
- }
- },
- "type": "object"
- },
- "repairs": {
- "description": "Each edit a repair made, with the code it answered and the lines it changed.",
- "items": {
- "type": "object"
- },
- "type": "array"
- },
- "schema": {
- "const": "wai.quantum.verdict/1"
- },
- "sealed": {
- "type": "boolean"
- },
- "statement": {
- "description": "The level in one plain line.",
- "type": "string"
- }
- },
- "required": [
- "schema",
- "level",
- "rank",
- "holds",
- "statement",
- "parsed",
- "executed",
- "intent",
- "critique",
- "repairs"
- ],
- "title": "wai.quantum.verdict/1",
- "type": "object"
- }
- },
- "required": [
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "description": "What the service would do with a job or a set, running nothing: the plan's method and why, its qubits, memory and work, the estimated time and energy (each with its basis, or why there is none), the bounds that apply, where the client stands against its limits, each item of a set, and whether the service would take it now, or the refusal it would give.",
+ "properties": {
+ "accepted": {
+ "description": "Whether the service would take it now, by every limit, its reading held to what the submission's would take; the MCP tools plan it as their runs run it, its verdict asked.",
+ "type": "boolean"
+ },
+ "bounds": {
+ "additionalProperties": true,
+ "description": "The bounds that apply here: memory, time, queue, items of a set, and result_bytes, the most a job's or a set's result may take as served.",
+ "type": "object"
+ },
+ "client": {
+ "description": "Where the client stands: its active jobs, the memory they hold, the submissions left in its window and when the window resets.",
+ "properties": {
+ "active_jobs": {
+ "type": "integer"
+ },
+ "memory_held_bytes": {
+ "type": "integer"
+ },
+ "submissions_left": {
+ "type": "integer"
+ },
+ "window_resets_in_seconds": {
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "dry_run": {
+ "const": true
+ },
+ "energy": {
+ "additionalProperties": true,
+ "description": "The estimated energy, never a reading of this job: microjoules, its provenance and basis, or why there is none.",
+ "properties": {
+ "basis": {
+ "type": "string"
+ },
+ "energy_provenance": {
+ "type": "string"
+ },
+ "joules_micro_estimate": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "note": {
+ "type": "string"
+ },
+ "unestimated": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "items": {
+ "description": "A set: each item's plan and estimates.",
+ "items": {
+ "properties": {
+ "energy": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "index": {
+ "type": "integer"
+ },
+ "memory_bytes": {
+ "type": "integer"
+ },
+ "method": {
+ "type": "string"
+ },
+ "point": {
+ "type": "object"
+ },
+ "qubits": {
+ "type": "integer"
+ },
+ "time": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "why": {
+ "type": "string"
+ },
+ "work": {
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "memory_bytes": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "method": {
+ "type": "string"
+ },
+ "planner": {
+ "description": "Why this route ran (wai.quantum.planner/1): every route the host could see, each one's price or reason for rejection, and the choice. Sealed by the receipt; a verifier recomputes each route's outcome and the choice from what it states (wai/extensions/quantum-providers.md section 8.7). A plan carries it too, with the refusal in place of the choice when no route meets the contract.",
+ "properties": {
+ "auto": {
+ "description": "The route auto picks, when the job leaves the method to it.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "choice": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "format": {
+ "const": "wai.quantum.planner/1"
+ },
+ "host": {
+ "properties": {
+ "job_bytes": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "providers": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "job_bytes",
+ "providers"
+ ],
+ "type": "object"
+ },
+ "kept": {
+ "description": "What the contract asked, against what happened; each kept is null when it cannot be said. A result that missed one is sealed and says so.",
+ "properties": {
+ "cost": {
+ "properties": {
+ "charged": {
+ "properties": {
+ "amount": {
+ "type": "string"
+ },
+ "currency": {
+ "type": "string"
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "kept": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "max_cost": {
+ "properties": {
+ "amount": {
+ "type": "string"
+ },
+ "currency": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "max_cost",
+ "charged",
+ "kept"
+ ],
+ "type": "object"
+ },
+ "deadline": {
+ "properties": {
+ "elapsed_ms": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "kept": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "seconds": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "seconds",
+ "elapsed_ms",
+ "kept"
+ ],
+ "type": "object"
+ },
+ "energy": {
+ "properties": {
+ "joules": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "kept": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "max_joules": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "max_joules",
+ "joules",
+ "kept"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "named": {
+ "description": "The route the job names: the provider or the method its request names, or the one method a device target's job runs on; null when it names none.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "question": {
+ "description": "The question the job asks, read from its request, which orders the methods auto tries (section 8.7).",
+ "enum": [
+ "noise",
+ "counts",
+ "expectations",
+ "amplitudes"
+ ]
+ },
+ "refusal": {
+ "description": "When no route meets the contract, in a plan: the refusal as data.",
+ "type": "object"
+ },
+ "routes": {
+ "items": {
+ "description": "One route the planner could see: its class, its price or why it has none, and what came of it.",
+ "properties": {
+ "approximate": {
+ "const": true
+ },
+ "auto_rank": {
+ "description": "On a local route: its rank in auto's order for the job's question, or null where auto does not try it; a built-in method's is section 8.7's table.",
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "class": {
+ "description": "The accuracy class its result has at worst: a matrix product state's is heuristic, though its result may say exact.",
+ "type": "string"
+ },
+ "device": {
+ "type": "string"
+ },
+ "host_dependent": {
+ "description": "Whether it depends on the host: a provider's, a method on a GPU, or a registered method.",
+ "type": "boolean"
+ },
+ "kind": {
+ "enum": [
+ "local",
+ "provider"
+ ]
+ },
+ "method": {
+ "type": "string"
+ },
+ "outcome": {
+ "enum": [
+ "chosen",
+ "met",
+ "rejected"
+ ]
+ },
+ "price": {
+ "anyOf": [
+ {
+ "description": "What a route costs, with what is really known: a method's memory and work as the planner counts them and its time at the planner's nominal rate; a provider's own estimate, with what that leaves out.",
+ "properties": {
+ "energy": {
+ "properties": {
+ "basis": {
+ "type": "string"
+ },
+ "joules": {
+ "description": "An estimate of what the run takes, from past runs, never a promise. A contract's max_joules is enforced by a live reading while the run goes; an estimate can only refuse a job clearly past a ceiling.",
+ "minimum": 0,
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "unwatched": {
+ "description": "Why nothing can read the run while it runs; under a ceiling the route is refused (energy_unwatched).",
+ "type": "string"
+ },
+ "watch": {
+ "description": "What reads the run while it runs, and what that covers: what stops it at a contract's max_joules.",
+ "type": "string"
+ },
+ "why": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "joules"
+ ],
+ "type": "object"
+ },
+ "leaves_out": {
+ "description": "What this price leaves out: time (it states no time), amount (it states no amount), energy, mitigation (what the provider's own mitigation costs or does), decoder (any decoder's latency), charged (what the provider charges may differ from what it estimates), cancel (its client cannot stop a job it sent).",
+ "items": {
+ "enum": [
+ "time",
+ "amount",
+ "energy",
+ "mitigation",
+ "decoder",
+ "charged",
+ "cancel"
+ ]
+ },
+ "type": "array"
+ },
+ "memory_bytes": {
+ "minimum": 0,
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "money": {
+ "description": "What a route costs in money: free, an amount in a currency, or why that is not known. An unknown cost is not free.",
+ "properties": {
+ "amount": {
+ "type": "string"
+ },
+ "at_least": {
+ "const": true,
+ "description": "The amount is the least the job can come to: what it takes decides the rest, so it meets no ceiling (cost_at_least)."
+ },
+ "currency": {
+ "type": "string"
+ },
+ "free": {
+ "type": "boolean"
+ },
+ "unit": {
+ "type": "string"
+ },
+ "unknown": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "free"
+ ],
+ "type": "object"
+ },
+ "program": {
+ "description": "What the job asks of a provider's device: its shots, and the compiled program's gates and swaps, and its expected success when a calibration states one.",
+ "properties": {
+ "expected_success": {
+ "type": "number"
+ },
+ "native_gates": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "shots": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "swaps": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "two_qubit_gates": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "time": {
+ "properties": {
+ "basis": {
+ "enum": [
+ "nominal",
+ "provider"
+ ]
+ },
+ "seconds": {
+ "minimum": 0,
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "why": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "seconds"
+ ],
+ "type": "object"
+ },
+ "work": {
+ "minimum": 0,
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "money",
+ "time",
+ "memory_bytes",
+ "work",
+ "energy",
+ "leaves_out"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "provenance": {
+ "type": "string"
+ },
+ "provider": {
+ "type": "string"
+ },
+ "rejected": {
+ "properties": {
+ "code": {
+ "enum": [
+ "not_named",
+ "fabric",
+ "class",
+ "cannot",
+ "memory",
+ "providers",
+ "deadline",
+ "deadline_unknown",
+ "cost",
+ "cost_currency",
+ "cost_unknown",
+ "cost_at_least",
+ "cost_no_ceiling",
+ "energy",
+ "energy_unwatched"
+ ]
+ },
+ "why": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "why"
+ ],
+ "type": "object"
+ },
+ "route": {
+ "description": "method:<name> or provider:<name>.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "route",
+ "kind",
+ "class",
+ "host_dependent",
+ "price",
+ "outcome"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "shadow": {
+ "description": "The classical method that would shadow a provider's answer within the contract, or why none can.",
+ "properties": {
+ "budget_seconds": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "class": {
+ "type": "string"
+ },
+ "code": {
+ "enum": [
+ "budget",
+ "memory",
+ "none"
+ ]
+ },
+ "price": {
+ "description": "What a route costs, with what is really known: a method's memory and work as the planner counts them and its time at the planner's nominal rate; a provider's own estimate, with what that leaves out.",
+ "properties": {
+ "energy": {
+ "properties": {
+ "basis": {
+ "type": "string"
+ },
+ "joules": {
+ "description": "An estimate of what the run takes, from past runs, never a promise. A contract's max_joules is enforced by a live reading while the run goes; an estimate can only refuse a job clearly past a ceiling.",
+ "minimum": 0,
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "unwatched": {
+ "description": "Why nothing can read the run while it runs; under a ceiling the route is refused (energy_unwatched).",
+ "type": "string"
+ },
+ "watch": {
+ "description": "What reads the run while it runs, and what that covers: what stops it at a contract's max_joules.",
+ "type": "string"
+ },
+ "why": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "joules"
+ ],
+ "type": "object"
+ },
+ "leaves_out": {
+ "description": "What this price leaves out: time (it states no time), amount (it states no amount), energy, mitigation (what the provider's own mitigation costs or does), decoder (any decoder's latency), charged (what the provider charges may differ from what it estimates), cancel (its client cannot stop a job it sent).",
+ "items": {
+ "enum": [
+ "time",
+ "amount",
+ "energy",
+ "mitigation",
+ "decoder",
+ "charged",
+ "cancel"
+ ]
+ },
+ "type": "array"
+ },
+ "memory_bytes": {
+ "minimum": 0,
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "money": {
+ "description": "What a route costs in money: free, an amount in a currency, or why that is not known. An unknown cost is not free.",
+ "properties": {
+ "amount": {
+ "type": "string"
+ },
+ "at_least": {
+ "const": true,
+ "description": "The amount is the least the job can come to: what it takes decides the rest, so it meets no ceiling (cost_at_least)."
+ },
+ "currency": {
+ "type": "string"
+ },
+ "free": {
+ "type": "boolean"
+ },
+ "unit": {
+ "type": "string"
+ },
+ "unknown": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "free"
+ ],
+ "type": "object"
+ },
+ "program": {
+ "description": "What the job asks of a provider's device: its shots, and the compiled program's gates and swaps, and its expected success when a calibration states one.",
+ "properties": {
+ "expected_success": {
+ "type": "number"
+ },
+ "native_gates": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "shots": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "swaps": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "two_qubit_gates": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "time": {
+ "properties": {
+ "basis": {
+ "enum": [
+ "nominal",
+ "provider"
+ ]
+ },
+ "seconds": {
+ "minimum": 0,
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "why": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "seconds"
+ ],
+ "type": "object"
+ },
+ "work": {
+ "minimum": 0,
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "money",
+ "time",
+ "memory_bytes",
+ "work",
+ "energy",
+ "leaves_out"
+ ],
+ "type": "object"
+ },
+ "request": {
+ "type": "object"
+ },
+ "route": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "tried": {
+ "items": {
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "route": {
+ "type": "string"
+ },
+ "why": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "why": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "route"
+ ],
+ "type": "object"
+ },
+ "stable": {
+ "properties": {
+ "choice": {
+ "type": "boolean"
+ },
+ "digest": {
+ "type": "string"
+ },
+ "routes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "scope": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "scope",
+ "routes",
+ "digest",
+ "choice"
+ ],
+ "type": "object"
+ },
+ "wanted": {
+ "description": "The class wanted: the contract's, else that of the route the job names or auto's pick.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "wanted_from": {
+ "enum": [
+ "contract",
+ "named",
+ "auto",
+ null
+ ]
+ },
+ "why": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "format",
+ "wanted",
+ "wanted_from",
+ "auto",
+ "host",
+ "routes",
+ "choice",
+ "why",
+ "stable",
+ "named",
+ "question"
+ ],
+ "type": "object"
+ },
+ "qubits": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "ran": {
+ "const": false
+ },
+ "refusal": {
+ "description": "For a refused job: its message and its codes.",
+ "properties": {
+ "code": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "codes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "meaning": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "outcome": {
+ "enum": [
+ "refused",
+ "retry",
+ "failed",
+ "lowered",
+ "carried",
+ "preserved",
+ "warned",
+ "dropped",
+ "defaulted"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "result_bytes": {
+ "description": "The most its result takes as served, bytes, bounded before it runs: past bounds.result_bytes the job is refused (422, J031). A pulse run is bounded from its schedule. For a method that gives no bound before it runs (no built-in is such): {\"bytes\": null, \"why\"}, and it is counted at bounds.result_bytes.",
+ "oneOf": [
+ {
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "bytes": {
+ "type": "null"
+ },
+ "why": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "bytes",
+ "why"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "status": {
+ "description": "The HTTP status a refusal would carry.",
+ "type": "integer"
+ },
+ "target": {
+ "description": "A job on a device target: the target the plan placed it on.",
+ "type": "object"
+ },
+ "time": {
+ "additionalProperties": true,
+ "description": "The estimated time: seconds and its basis, or null and why, with the most the job may take.",
+ "properties": {
+ "at_most": {
+ "type": "integer"
+ },
+ "basis": {
+ "type": "string"
+ },
+ "note": {
+ "type": "string"
+ },
+ "rate": {
+ "type": "object"
+ },
+ "seconds": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "why": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "verdict": {
+ "description": "How far the engine checked an answer, as one level of an ordered ladder (wai-quantum://docs/verdicts): refused, parsed, executed, evidence, proof; and the layer that decided it, with that layer's limits. A level says how far the engine checked, not that the answer is good: holds says whether the intents held (true, false, or null when none was decided), and layer names what decided them: exact simulation, a stabilizer check, checked rewrites, the answer held to its problem's own checks, agreement of the run's samples with a simulation, samples held to a distribution, physical consistency, random states, or unchecked. A job's result carries one under verdict when the job gives an intent or asks for one, and the receipt seals it; both MCP servers state one beside every answer about a program.",
+ "properties": {
+ "critique": {
+ "description": "The program's smells, each with its lines.",
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "executed": {
+ "description": "The method that ran and its accuracy class, and the distance a compile put between the program and what ran.",
+ "properties": {
+ "accuracy": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "compiled_distance": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "method": {
+ "type": "string"
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "holds": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "intent": {
+ "items": {
+ "description": "One intent's check: what it asked, whether it held, how strong the check was, how it was made, the layer it stands on and that layer's limits.",
+ "properties": {
+ "alpha": {
+ "type": "number"
+ },
+ "counts": {
+ "additionalProperties": {
+ "type": "integer"
+ },
+ "type": "object"
+ },
+ "distance": {
+ "type": "number"
+ },
+ "distribution": {
+ "additionalProperties": {
+ "type": "number"
+ },
+ "description": "The program's distribution, when its outcomes are few enough to list.",
+ "type": "object"
+ },
+ "expected": {
+ "description": "An expectation intent: the value the intent states.",
+ "type": "number"
+ },
+ "fit": {
+ "description": "A sampled intent: the test, its statistic, degrees of freedom and p-value, the level, and whether it rejected.",
+ "properties": {
+ "alpha": {
+ "type": "number"
+ },
+ "dof": {
+ "type": "integer"
+ },
+ "impossible": {
+ "description": "The outcomes sampled that the stated distribution gives probability 0: the first 64, in order.",
+ "type": [
+ "integer",
+ "array",
+ "boolean"
+ ]
+ },
+ "impossible_outcomes": {
+ "description": "How many outcomes sampled the stated distribution gives probability 0.",
+ "type": "integer"
+ },
+ "note": {
+ "type": "string"
+ },
+ "p_value": {
+ "type": "number"
+ },
+ "rejected": {
+ "type": "boolean"
+ },
+ "shots": {
+ "type": "integer"
+ },
+ "smallest_expected": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "statistic": {
+ "type": "number"
+ },
+ "test": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "global_phase": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "how": {
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "distribution",
+ "equivalent",
+ "prepares",
+ "sampled",
+ "compiled",
+ "expectation",
+ "outcomes",
+ "conserves",
+ "counts",
+ "agrees",
+ "landscape"
+ ]
+ },
+ "largest_gaps": {
+ "items": {
+ "properties": {
+ "intent": {
+ "type": "number"
+ },
+ "outcome": {
+ "type": "string"
+ },
+ "program": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "layer": {
+ "description": "The layer the check stands on: unchecked when it was not decided.",
+ "enum": [
+ "unchecked",
+ "physical_consistency",
+ "samples",
+ "agreement",
+ "random_states",
+ "certificate",
+ "reading",
+ "pass_equivalence",
+ "stabilizer",
+ "exact_simulation"
+ ]
+ },
+ "limits": {
+ "description": "What that layer does not show.",
+ "type": "string"
+ },
+ "method": {
+ "description": "A sampled intent: the method the samples were run by.",
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "note": {
+ "type": "string"
+ },
+ "observable": {
+ "description": "An expectation intent: the observable.",
+ "type": "string"
+ },
+ "outcome": {
+ "enum": [
+ "holds",
+ "fails",
+ "unchecked"
+ ]
+ },
+ "outcomes": {
+ "description": "The outcomes the distribution holds, or the samples' distinct outcomes.",
+ "type": "integer"
+ },
+ "outside": {
+ "description": "An outcomes or a conserves intent: how much lies outside, as probability of the exact distribution or as a fraction of the samples.",
+ "type": "number"
+ },
+ "said": {
+ "description": "An energy-landscape job's own word: solved, missed, failed or unchecked.",
+ "type": "string"
+ },
+ "samples": {
+ "description": "An outcomes or a conserves intent checked on the job's counts: how many samples.",
+ "type": "integer"
+ },
+ "seed": {
+ "type": "integer"
+ },
+ "shots": {
+ "type": "integer"
+ },
+ "strength": {
+ "enum": [
+ "proof",
+ "evidence",
+ "none"
+ ]
+ },
+ "tolerance": {
+ "type": "number"
+ },
+ "value": {
+ "description": "An expectation intent: the observable's exact value on the program's state.",
+ "type": "number"
+ },
+ "why": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "outcome",
+ "strength",
+ "how"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "layer": {
+ "description": "The layer that decided the intents: the weakest of the checks' layers, and unchecked when an intent was not decided or none was given. Absent from a verdict sealed before layers were named.",
+ "enum": [
+ "unchecked",
+ "physical_consistency",
+ "samples",
+ "agreement",
+ "random_states",
+ "certificate",
+ "reading",
+ "pass_equivalence",
+ "stabilizer",
+ "exact_simulation"
+ ]
+ },
+ "level": {
+ "enum": [
+ "refused",
+ "parsed",
+ "executed",
+ "evidence",
+ "proof"
+ ]
+ },
+ "limits": {
+ "description": "What that layer does not show.",
+ "type": "string"
+ },
+ "parsed": {
+ "description": "Whether the reader took the program, and its warnings and notes with their codes, or its refusal.",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "column": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "diagnostics": {
+ "items": {
+ "description": "One of the reader's diagnostics: its code, what happens to the construct it is about, its message (without the line or the code), and where it stands.",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "column": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "length": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "line": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "message": {
+ "type": "string"
+ },
+ "outcome": {
+ "enum": [
+ "refused",
+ "lowered",
+ "carried",
+ "preserved",
+ "warned"
+ ]
+ }
+ },
+ "required": [
+ "code",
+ "outcome",
+ "message"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "length": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "line": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "message": {
+ "type": "string"
+ },
+ "ok": {
+ "type": "boolean"
+ },
+ "outcome": {
+ "enum": [
+ "refused",
+ "retry",
+ "failed",
+ "lowered",
+ "carried",
+ "preserved",
+ "warned",
+ "dropped",
+ "defaulted"
+ ]
+ },
+ "text": {
+ "description": "The refusal as the reader wrote it, with its line and code.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "ok"
+ ],
+ "type": "object"
+ },
+ "rank": {
+ "description": "The level's place on the ladder, from 0 (refused) to 4 (proof).",
+ "maximum": 4,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "refusal": {
+ "description": "For a refused job: its message and its codes.",
+ "properties": {
+ "code": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "codes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "meaning": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "outcome": {
+ "enum": [
+ "refused",
+ "retry",
+ "failed",
+ "lowered",
+ "carried",
+ "preserved",
+ "warned",
+ "dropped",
+ "defaulted"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "repairs": {
+ "description": "Each edit a repair made, with the code it answered and the lines it changed.",
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "schema": {
+ "const": "wai.quantum.verdict/1"
+ },
+ "sealed": {
+ "type": "boolean"
+ },
+ "statement": {
+ "description": "The level in one plain line.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "schema",
+ "level",
+ "rank",
+ "holds",
+ "statement",
+ "parsed",
+ "executed",
+ "intent",
+ "critique",
+ "repairs"
+ ],
+ "title": "wai.quantum.verdict/1",
+ "type": "object"
+ },
+ "why": {
+ "type": "string"
+ },
+ "within_time_limit": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "work": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "dry_run",
+ "ran",
+ "accepted",
+ "bounds",
+ "client"
+ ],
+ "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"
+ ]
+ },
+ "verdict": {
+ "description": "How far the engine checked an answer, as one level of an ordered ladder (wai-quantum://docs/verdicts): refused, parsed, executed, evidence, proof; and the layer that decided it, with that layer's limits. A level says how far the engine checked, not that the answer is good: holds says whether the intents held (true, false, or null when none was decided), and layer names what decided them: exact simulation, a stabilizer check, checked rewrites, the answer held to its problem's own checks, agreement of the run's samples with a simulation, samples held to a distribution, physical consistency, random states, or unchecked. A job's result carries one under verdict when the job gives an intent or asks for one, and the receipt seals it; both MCP servers state one beside every answer about a program.",
+ "properties": {
+ "critique": {
+ "description": "The program's smells, each with its lines.",
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "executed": {
+ "description": "The method that ran and its accuracy class, and the distance a compile put between the program and what ran.",
+ "properties": {
+ "accuracy": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "compiled_distance": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "method": {
+ "type": "string"
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "holds": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "intent": {
+ "items": {
+ "description": "One intent's check: what it asked, whether it held, how strong the check was, how it was made, the layer it stands on and that layer's limits.",
+ "properties": {
+ "alpha": {
+ "type": "number"
+ },
+ "counts": {
+ "additionalProperties": {
+ "type": "integer"
+ },
+ "type": "object"
+ },
+ "distance": {
+ "type": "number"
+ },
+ "distribution": {
+ "additionalProperties": {
+ "type": "number"
+ },
+ "description": "The program's distribution, when its outcomes are few enough to list.",
+ "type": "object"
+ },
+ "expected": {
+ "description": "An expectation intent: the value the intent states.",
+ "type": "number"
+ },
+ "fit": {
+ "description": "A sampled intent: the test, its statistic, degrees of freedom and p-value, the level, and whether it rejected.",
+ "properties": {
+ "alpha": {
+ "type": "number"
+ },
+ "dof": {
+ "type": "integer"
+ },
+ "impossible": {
+ "description": "The outcomes sampled that the stated distribution gives probability 0: the first 64, in order.",
+ "type": [
+ "integer",
+ "array",
+ "boolean"
+ ]
+ },
+ "impossible_outcomes": {
+ "description": "How many outcomes sampled the stated distribution gives probability 0.",
+ "type": "integer"
+ },
+ "note": {
+ "type": "string"
+ },
+ "p_value": {
+ "type": "number"
+ },
+ "rejected": {
+ "type": "boolean"
+ },
+ "shots": {
+ "type": "integer"
+ },
+ "smallest_expected": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "statistic": {
+ "type": "number"
+ },
+ "test": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "global_phase": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "how": {
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "distribution",
+ "equivalent",
+ "prepares",
+ "sampled",
+ "compiled",
+ "expectation",
+ "outcomes",
+ "conserves",
+ "counts",
+ "agrees",
+ "landscape"
+ ]
+ },
+ "largest_gaps": {
+ "items": {
+ "properties": {
+ "intent": {
+ "type": "number"
+ },
+ "outcome": {
+ "type": "string"
+ },
+ "program": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "layer": {
+ "description": "The layer the check stands on: unchecked when it was not decided.",
+ "enum": [
+ "unchecked",
+ "physical_consistency",
+ "samples",
+ "agreement",
+ "random_states",
+ "certificate",
+ "reading",
+ "pass_equivalence",
+ "stabilizer",
+ "exact_simulation"
+ ]
+ },
+ "limits": {
+ "description": "What that layer does not show.",
+ "type": "string"
+ },
+ "method": {
+ "description": "A sampled intent: the method the samples were run by.",
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "note": {
+ "type": "string"
+ },
+ "observable": {
+ "description": "An expectation intent: the observable.",
+ "type": "string"
+ },
+ "outcome": {
+ "enum": [
+ "holds",
+ "fails",
+ "unchecked"
+ ]
+ },
+ "outcomes": {
+ "description": "The outcomes the distribution holds, or the samples' distinct outcomes.",
+ "type": "integer"
+ },
+ "outside": {
+ "description": "An outcomes or a conserves intent: how much lies outside, as probability of the exact distribution or as a fraction of the samples.",
+ "type": "number"
+ },
+ "said": {
+ "description": "An energy-landscape job's own word: solved, missed, failed or unchecked.",
+ "type": "string"
+ },
+ "samples": {
+ "description": "An outcomes or a conserves intent checked on the job's counts: how many samples.",
+ "type": "integer"
+ },
+ "seed": {
+ "type": "integer"
+ },
+ "shots": {
+ "type": "integer"
+ },
+ "strength": {
+ "enum": [
+ "proof",
+ "evidence",
+ "none"
+ ]
+ },
+ "tolerance": {
+ "type": "number"
+ },
+ "value": {
+ "description": "An expectation intent: the observable's exact value on the program's state.",
+ "type": "number"
+ },
+ "why": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "outcome",
+ "strength",
+ "how"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "layer": {
+ "description": "The layer that decided the intents: the weakest of the checks' layers, and unchecked when an intent was not decided or none was given. Absent from a verdict sealed before layers were named.",
+ "enum": [
+ "unchecked",
+ "physical_consistency",
+ "samples",
+ "agreement",
+ "random_states",
+ "certificate",
+ "reading",
+ "pass_equivalence",
+ "stabilizer",
+ "exact_simulation"
+ ]
+ },
+ "level": {
+ "enum": [
+ "refused",
+ "parsed",
+ "executed",
+ "evidence",
+ "proof"
+ ]
+ },
+ "limits": {
+ "description": "What that layer does not show.",
+ "type": "string"
+ },
+ "parsed": {
+ "description": "Whether the reader took the program, and its warnings and notes with their codes, or its refusal.",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "column": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "diagnostics": {
+ "items": {
+ "description": "One of the reader's diagnostics: its code, what happens to the construct it is about, its message (without the line or the code), and where it stands.",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "column": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "length": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "line": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "message": {
+ "type": "string"
+ },
+ "outcome": {
+ "enum": [
+ "refused",
+ "lowered",
+ "carried",
+ "preserved",
+ "warned"
+ ]
+ }
+ },
+ "required": [
+ "code",
+ "outcome",
+ "message"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "length": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "line": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "message": {
+ "type": "string"
+ },
+ "ok": {
+ "type": "boolean"
+ },
+ "outcome": {
+ "enum": [
+ "refused",
+ "retry",
+ "failed",
+ "lowered",
+ "carried",
+ "preserved",
+ "warned",
+ "dropped",
+ "defaulted"
+ ]
+ },
+ "text": {
+ "description": "The refusal as the reader wrote it, with its line and code.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "ok"
+ ],
+ "type": "object"
+ },
+ "rank": {
+ "description": "The level's place on the ladder, from 0 (refused) to 4 (proof).",
+ "maximum": 4,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "refusal": {
+ "description": "For a refused job: its message and its codes.",
+ "properties": {
+ "code": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "codes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "meaning": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "outcome": {
+ "enum": [
+ "refused",
+ "retry",
+ "failed",
+ "lowered",
+ "carried",
+ "preserved",
+ "warned",
+ "dropped",
+ "defaulted"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "repairs": {
+ "description": "Each edit a repair made, with the code it answered and the lines it changed.",
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "schema": {
+ "const": "wai.quantum.verdict/1"
+ },
+ "sealed": {
+ "type": "boolean"
+ },
+ "statement": {
+ "description": "The level in one plain line.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "schema",
+ "level",
+ "rank",
+ "holds",
+ "statement",
+ "parsed",
+ "executed",
+ "intent",
+ "critique",
+ "repairs"
+ ],
+ "title": "wai.quantum.verdict/1",
+ "type": "object"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ }
+]