changedOutput schema / anyOf
Previous value: -[
- {
- "description": "What the service can do: its methods and their limits here, the accuracy classes, the conventions, the per-client limits, the current load, its addresses, sets, its store, its energy metering, where its receipt keys are, and its versions.",
- "properties": {
- "accuracy_classes": {
- "additionalProperties": {
- "type": "string"
- },
- "type": "object"
- },
- "api": {
- "additionalProperties": {
- "type": "string"
- },
- "type": "object"
- },
- "components": {
- "description": "Every component the service runs through (the built-ins alone), each with its identity: what list_components gives.",
- "properties": {
- "channels": {
- "items": {
- "properties": {
- "certified": {
- "const": false,
- "description": "Beside a registered component: the engine does not certify it."
- },
- "descriptor": {
- "description": "What the component declares of itself, as hashed into its digest: what it declares (declared) and what the engine reads of it (a method's accuracy classes, whether it models noise, where auto tries it; a pass's gates taken and given and its check; a channel's arity, placement and parameters; a format's title, extensions and profiles).",
- "required": [
- "declared"
- ],
- "type": "object"
- },
- "digest": {
- "description": "BLAKE3 of the component's descriptor in its canonical JSON (engine::registry::digest_of).",
- "pattern": "^[0-9a-f]{64}$",
- "type": "string"
- },
- "kind": {
- "enum": [
- "method",
- "pass",
- "channel",
- "front_end"
- ]
- },
- "name": {
- "type": "string"
- },
- "origin": {
- "description": "built-in: the engine's own; registered: a host's own, added in its process, not part of the engine.",
- "enum": [
- "built-in",
- "registered"
- ]
- },
- "version": {
- "type": "string"
- }
- },
- "required": [
- "kind",
- "name",
- "version",
- "digest",
- "origin",
- "descriptor"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "engine": {
- "properties": {
- "name": {
- "type": "string"
- },
- "version": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "version"
- ],
- "type": "object"
- },
- "format": {
- "const": "wai.quantum.components/1"
- },
- "front_ends": {
- "items": {
- "properties": {
- "certified": {
- "const": false,
- "description": "Beside a registered component: the engine does not certify it."
- },
- "descriptor": {
- "description": "What the component declares of itself, as hashed into its digest: what it declares (declared) and what the engine reads of it (a method's accuracy classes, whether it models noise, where auto tries it; a pass's gates taken and given and its check; a channel's arity, placement and parameters; a format's title, extensions and profiles).",
- "required": [
- "declared"
- ],
- "type": "object"
- },
- "digest": {
- "description": "BLAKE3 of the component's descriptor in its canonical JSON (engine::registry::digest_of).",
- "pattern": "^[0-9a-f]{64}$",
- "type": "string"
- },
- "kind": {
- "enum": [
- "method",
- "pass",
- "channel",
- "front_end"
- ]
- },
- "name": {
- "type": "string"
- },
- "origin": {
- "description": "built-in: the engine's own; registered: a host's own, added in its process, not part of the engine.",
- "enum": [
- "built-in",
- "registered"
- ]
- },
- "version": {
- "type": "string"
- }
- },
- "required": [
- "kind",
- "name",
- "version",
- "digest",
- "origin",
- "descriptor"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "methods": {
- "items": {
- "properties": {
- "certified": {
- "const": false,
- "description": "Beside a registered component: the engine does not certify it."
- },
- "descriptor": {
- "description": "What the component declares of itself, as hashed into its digest: what it declares (declared) and what the engine reads of it (a method's accuracy classes, whether it models noise, where auto tries it; a pass's gates taken and given and its check; a channel's arity, placement and parameters; a format's title, extensions and profiles).",
- "required": [
- "declared"
- ],
- "type": "object"
- },
- "digest": {
- "description": "BLAKE3 of the component's descriptor in its canonical JSON (engine::registry::digest_of).",
- "pattern": "^[0-9a-f]{64}$",
- "type": "string"
- },
- "kind": {
- "enum": [
- "method",
- "pass",
- "channel",
- "front_end"
- ]
- },
- "name": {
- "type": "string"
- },
- "origin": {
- "description": "built-in: the engine's own; registered: a host's own, added in its process, not part of the engine.",
- "enum": [
- "built-in",
- "registered"
- ]
- },
- "version": {
- "type": "string"
- }
- },
- "required": [
- "kind",
- "name",
- "version",
- "digest",
- "origin",
- "descriptor"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "passes": {
- "items": {
- "properties": {
- "certified": {
- "const": false,
- "description": "Beside a registered component: the engine does not certify it."
- },
- "descriptor": {
- "description": "What the component declares of itself, as hashed into its digest: what it declares (declared) and what the engine reads of it (a method's accuracy classes, whether it models noise, where auto tries it; a pass's gates taken and given and its check; a channel's arity, placement and parameters; a format's title, extensions and profiles).",
- "required": [
- "declared"
- ],
- "type": "object"
- },
- "digest": {
- "description": "BLAKE3 of the component's descriptor in its canonical JSON (engine::registry::digest_of).",
- "pattern": "^[0-9a-f]{64}$",
- "type": "string"
- },
- "kind": {
- "enum": [
- "method",
- "pass",
- "channel",
- "front_end"
- ]
- },
- "name": {
- "type": "string"
- },
- "origin": {
- "description": "built-in: the engine's own; registered: a host's own, added in its process, not part of the engine.",
- "enum": [
- "built-in",
- "registered"
- ]
- },
- "version": {
- "type": "string"
- }
- },
- "required": [
- "kind",
- "name",
- "version",
- "digest",
- "origin",
- "descriptor"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "registered": {
- "description": "How many are registered (a host's own); 0 for the built-ins alone.",
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "format",
- "engine",
- "methods",
- "passes",
- "channels",
- "front_ends",
- "registered"
- ],
- "type": "object"
- },
- "conventions": {
- "additionalProperties": {
- "type": "string"
- },
- "type": "object"
- },
- "energy": {
- "additionalProperties": true,
- "description": "How the service meters a job's energy here, or why it does not.",
- "type": "object"
- },
- "limits": {
- "additionalProperties": {
- "type": "integer"
- },
- "type": "object"
- },
- "load": {
- "additionalProperties": {
- "type": "integer"
- },
- "type": "object"
- },
- "methods": {
- "items": {
- "properties": {
- "accuracy": {
- "type": "string"
- },
- "answers": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "available": {
- "description": "false when this build or this machine lacks it.",
- "type": "boolean"
- },
- "circuits": {
- "type": "string"
- },
- "max_cut": {
- "type": "integer"
- },
- "max_qubits": {
- "type": "integer"
- },
- "method": {
- "type": "string"
- },
- "options": {
- "additionalProperties": {
- "type": "string"
- },
- "type": "object"
- }
- },
- "required": [
- "method",
- "accuracy",
- "circuits",
- "max_qubits",
- "answers"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "receipt_keys": {
- "description": "Where the service publishes every key it has signed receipts with (the receipt key set, wai.quantum.receipt-keys/1).",
- "type": "string"
- },
- "sets": {
- "additionalProperties": true,
- "description": "What a set takes here: the most items, and the fields a set request gives.",
- "type": "object"
- },
- "store": {
- "additionalProperties": true,
- "description": "Where the service keeps jobs: the store's kind, whether it outlives a restart, and how it addresses objects.",
- "type": "object"
- },
- "versions": {
- "description": "What a host reports of its versions: the engine's name and version, the host's own (the command line, the job service), the schema of every document it writes by its versioned name, the protocols it speaks, and where the policy and the deprecations are. wai-quantum version --json prints it; both MCP servers give it in initialize (_meta) and the job service in quantum_service_info.",
- "properties": {
- "deprecations": {
- "description": "Each deprecated item, the version that deprecated it, and its replacement.",
- "type": "string"
- },
- "engine": {
- "properties": {
- "name": {
- "const": "wai-quantum"
- },
- "version": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "version"
- ],
- "type": "object"
- },
- "host": {
- "description": "The program reporting: its crate's name and version.",
- "properties": {
- "name": {
- "type": "string"
- },
- "version": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "version"
- ],
- "type": "object"
- },
- "policy": {
- "description": "What is stable, for how long, and how a change is announced.",
- "type": "string"
- },
- "protocols": {
- "description": "The protocols the host speaks: the Model Context Protocol versions its server answers, newest first, and the open provider protocol.",
- "properties": {
- "mcp": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "provider": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "schema": {
- "const": "wai.quantum.versions/1"
- },
- "schemas": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Each document's schema, by its versioned name (wai.quantum.<document>/<major>, kept as <document>.v<major>.json).",
- "type": "object"
- }
- },
- "required": [
- "schema",
- "engine",
- "schemas",
- "policy",
- "deprecations"
- ],
- "title": "wai.quantum.versions/1",
- "type": "object"
- },
- "write": {
- "additionalProperties": true,
- "description": "Whether the service writes programs for tasks (write_circuit, POST /v1/write): with a model, the model as a transcript names it once it is loaded, where the writer stands and a write's limits; without one, why.",
- "type": "object"
- }
- },
- "required": [
- "methods",
- "accuracy_classes",
- "conventions",
- "limits",
- "load",
- "versions"
- ],
- "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": "What the service can do: its methods and their limits here, the accuracy classes, the conventions, the per-client limits, the current load, its addresses, sets, its store, its energy metering, where its receipt keys are, and its versions.",
+ "properties": {
+ "accuracy_classes": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "api": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "components": {
+ "description": "Every component the service runs through (the built-ins alone), each with its identity: what list_components gives.",
+ "properties": {
+ "channels": {
+ "items": {
+ "properties": {
+ "certified": {
+ "const": false,
+ "description": "Beside a registered component: the engine does not certify it."
+ },
+ "descriptor": {
+ "description": "What the component declares of itself, as hashed into its digest: what it declares (declared) and what the engine reads of it (a method's accuracy classes, whether it models noise, where auto tries it; a pass's gates taken and given and its check; a channel's arity, placement and parameters; a format's title, extensions and profiles).",
+ "required": [
+ "declared"
+ ],
+ "type": "object"
+ },
+ "digest": {
+ "description": "BLAKE3 of the component's descriptor in its canonical JSON (engine::registry::digest_of).",
+ "pattern": "^[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "method",
+ "pass",
+ "channel",
+ "front_end"
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "origin": {
+ "description": "built-in: the engine's own; registered: a host's own, added in its process, not part of the engine.",
+ "enum": [
+ "built-in",
+ "registered"
+ ]
+ },
+ "version": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "name",
+ "version",
+ "digest",
+ "origin",
+ "descriptor"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "engine": {
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "version": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "version"
+ ],
+ "type": "object"
+ },
+ "format": {
+ "const": "wai.quantum.components/1"
+ },
+ "front_ends": {
+ "items": {
+ "properties": {
+ "certified": {
+ "const": false,
+ "description": "Beside a registered component: the engine does not certify it."
+ },
+ "descriptor": {
+ "description": "What the component declares of itself, as hashed into its digest: what it declares (declared) and what the engine reads of it (a method's accuracy classes, whether it models noise, where auto tries it; a pass's gates taken and given and its check; a channel's arity, placement and parameters; a format's title, extensions and profiles).",
+ "required": [
+ "declared"
+ ],
+ "type": "object"
+ },
+ "digest": {
+ "description": "BLAKE3 of the component's descriptor in its canonical JSON (engine::registry::digest_of).",
+ "pattern": "^[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "method",
+ "pass",
+ "channel",
+ "front_end"
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "origin": {
+ "description": "built-in: the engine's own; registered: a host's own, added in its process, not part of the engine.",
+ "enum": [
+ "built-in",
+ "registered"
+ ]
+ },
+ "version": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "name",
+ "version",
+ "digest",
+ "origin",
+ "descriptor"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "methods": {
+ "items": {
+ "properties": {
+ "certified": {
+ "const": false,
+ "description": "Beside a registered component: the engine does not certify it."
+ },
+ "descriptor": {
+ "description": "What the component declares of itself, as hashed into its digest: what it declares (declared) and what the engine reads of it (a method's accuracy classes, whether it models noise, where auto tries it; a pass's gates taken and given and its check; a channel's arity, placement and parameters; a format's title, extensions and profiles).",
+ "required": [
+ "declared"
+ ],
+ "type": "object"
+ },
+ "digest": {
+ "description": "BLAKE3 of the component's descriptor in its canonical JSON (engine::registry::digest_of).",
+ "pattern": "^[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "method",
+ "pass",
+ "channel",
+ "front_end"
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "origin": {
+ "description": "built-in: the engine's own; registered: a host's own, added in its process, not part of the engine.",
+ "enum": [
+ "built-in",
+ "registered"
+ ]
+ },
+ "version": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "name",
+ "version",
+ "digest",
+ "origin",
+ "descriptor"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "passes": {
+ "items": {
+ "properties": {
+ "certified": {
+ "const": false,
+ "description": "Beside a registered component: the engine does not certify it."
+ },
+ "descriptor": {
+ "description": "What the component declares of itself, as hashed into its digest: what it declares (declared) and what the engine reads of it (a method's accuracy classes, whether it models noise, where auto tries it; a pass's gates taken and given and its check; a channel's arity, placement and parameters; a format's title, extensions and profiles).",
+ "required": [
+ "declared"
+ ],
+ "type": "object"
+ },
+ "digest": {
+ "description": "BLAKE3 of the component's descriptor in its canonical JSON (engine::registry::digest_of).",
+ "pattern": "^[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "method",
+ "pass",
+ "channel",
+ "front_end"
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "origin": {
+ "description": "built-in: the engine's own; registered: a host's own, added in its process, not part of the engine.",
+ "enum": [
+ "built-in",
+ "registered"
+ ]
+ },
+ "version": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "name",
+ "version",
+ "digest",
+ "origin",
+ "descriptor"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "registered": {
+ "description": "How many are registered (a host's own); 0 for the built-ins alone.",
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "format",
+ "engine",
+ "methods",
+ "passes",
+ "channels",
+ "front_ends",
+ "registered"
+ ],
+ "type": "object"
+ },
+ "conventions": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "energy": {
+ "additionalProperties": true,
+ "description": "How the service meters a job's energy here, or why it does not.",
+ "type": "object"
+ },
+ "limits": {
+ "additionalProperties": {
+ "type": "integer"
+ },
+ "type": "object"
+ },
+ "load": {
+ "additionalProperties": {
+ "type": "integer"
+ },
+ "type": "object"
+ },
+ "methods": {
+ "items": {
+ "properties": {
+ "accuracy": {
+ "type": "string"
+ },
+ "answers": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "available": {
+ "description": "false when this build or this machine lacks it.",
+ "type": "boolean"
+ },
+ "circuits": {
+ "type": "string"
+ },
+ "max_cut": {
+ "type": "integer"
+ },
+ "max_qubits": {
+ "type": "integer"
+ },
+ "max_qubits_by_encoding": {
+ "additionalProperties": {
+ "type": "integer"
+ },
+ "description": "statevector_compact: the most qubits each encoding holds in one job's memory.",
+ "type": "object"
+ },
+ "method": {
+ "type": "string"
+ },
+ "options": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "method",
+ "accuracy",
+ "circuits",
+ "max_qubits",
+ "answers"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "receipt_keys": {
+ "description": "Where the service publishes every key it has signed receipts with (the receipt key set, wai.quantum.receipt-keys/1).",
+ "type": "string"
+ },
+ "sets": {
+ "additionalProperties": true,
+ "description": "What a set takes here: the most items, and the fields a set request gives.",
+ "type": "object"
+ },
+ "store": {
+ "additionalProperties": true,
+ "description": "Where the service keeps jobs: the store's kind, whether it outlives a restart, and how it addresses objects.",
+ "type": "object"
+ },
+ "versions": {
+ "description": "What a host reports of its versions: the engine's name and version, the host's own (the command line, the job service), the schema of every document it writes by its versioned name, the protocols it speaks, and where the policy and the deprecations are. wai-quantum version --json prints it; both MCP servers give it in initialize (_meta) and the job service in quantum_service_info.",
+ "properties": {
+ "deprecations": {
+ "description": "Each deprecated item, the version that deprecated it, and its replacement.",
+ "type": "string"
+ },
+ "engine": {
+ "properties": {
+ "name": {
+ "const": "wai-quantum"
+ },
+ "version": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "version"
+ ],
+ "type": "object"
+ },
+ "host": {
+ "description": "The program reporting: its crate's name and version.",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "version": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "version"
+ ],
+ "type": "object"
+ },
+ "policy": {
+ "description": "What is stable, for how long, and how a change is announced.",
+ "type": "string"
+ },
+ "protocols": {
+ "description": "The protocols the host speaks: the Model Context Protocol versions its server answers, newest first, and the open provider protocol.",
+ "properties": {
+ "mcp": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "provider": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "schema": {
+ "const": "wai.quantum.versions/1"
+ },
+ "schemas": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Each document's schema, by its versioned name (wai.quantum.<document>/<major>, kept as <document>.v<major>.json).",
+ "type": "object"
+ }
+ },
+ "required": [
+ "schema",
+ "engine",
+ "schemas",
+ "policy",
+ "deprecations"
+ ],
+ "title": "wai.quantum.versions/1",
+ "type": "object"
+ },
+ "write": {
+ "additionalProperties": true,
+ "description": "Whether the service writes programs for tasks (write_circuit, POST /v1/write): with a model, the model as a transcript names it once it is loaded, where the writer stands and a write's limits; without one, why.",
+ "type": "object"
+ }
+ },
+ "required": [
+ "methods",
+ "accuracy_classes",
+ "conventions",
+ "limits",
+ "load",
+ "versions"
+ ],
+ "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"
+ }
+]