changedOutput schema / anyOf
Previous value: -[
- {
- "anyOf": [
- {
- "anyOf": [
- {
- "properties": {
- "base": {
- "description": "A program's measures, computed by the engine.",
- "properties": {
- "bits": {
- "type": "integer"
- },
- "by_gate": {
- "additionalProperties": {
- "type": "integer"
- },
- "type": "object"
- },
- "clifford": {
- "type": "boolean"
- },
- "depth": {
- "type": "integer"
- },
- "dynamic": {
- "type": "boolean"
- },
- "fidelity_model": {
- "description": "A fidelity under reference error rates: a model of a device, not a run.",
- "properties": {
- "estimate": {
- "type": "number"
- },
- "note": {
- "type": "string"
- },
- "rates": {
- "properties": {
- "one_qubit": {
- "type": "number"
- },
- "readout": {
- "type": "number"
- },
- "two_qubit": {
- "type": "number"
- }
- },
- "type": "object"
- }
- },
- "required": [
- "estimate"
- ],
- "type": "object"
- },
- "gates": {
- "type": "integer"
- },
- "inputs": {
- "additionalProperties": {
- "type": "integer"
- },
- "description": "A generator's inputs, when it was read at them.",
- "type": "object"
- },
- "measured": {
- "type": "integer"
- },
- "non_clifford": {
- "type": "integer"
- },
- "ok": {
- "const": true
- },
- "one_qubit": {
- "type": "integer"
- },
- "qubits": {
- "type": "integer"
- },
- "smells": {
- "items": {
- "properties": {
- "fixable": {
- "type": "boolean"
- },
- "kind": {
- "type": "string"
- },
- "lines": {
- "items": {
- "type": "integer"
- },
- "type": "array"
- },
- "message": {
- "type": "string"
- },
- "ops": {
- "items": {
- "type": "integer"
- },
- "type": "array"
- },
- "qubits": {
- "items": {
- "type": "integer"
- },
- "type": "array"
- }
- },
- "required": [
- "kind",
- "message",
- "lines",
- "fixable"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "t_count": {
- "type": "integer"
- },
- "three_qubit": {
- "type": "integer"
- },
- "two_qubit": {
- "type": "integer"
- },
- "two_qubit_depth": {
- "type": "integer"
- }
- },
- "required": [
- "ok",
- "qubits",
- "gates",
- "depth",
- "two_qubit",
- "t_count",
- "clifford"
- ],
- "type": "object"
- },
- "candidates": {
- "items": {
- "properties": {
- "changes": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "equivalence": {
- "description": "Whether two programs are the same circuit up to a global phase, and how the engine decided.",
- "properties": {
- "global_phase": {
- "description": "The global phase between them, in units of π.",
- "type": [
- "number",
- "null"
- ]
- },
- "how": {
- "description": "tableau, exact and rewrites are proofs; state is a proof of the same state from |0…0⟩; random is evidence, not proof; shape: they differ in their shape; none: unchecked.",
- "enum": [
- "tableau",
- "exact",
- "rewrites",
- "random",
- "state",
- "shape",
- "none"
- ]
- },
- "steps": {
- "description": "rewrites: the checked steps to nothing.",
- "type": "integer"
- },
- "verdict": {
- "enum": [
- "equivalent",
- "different",
- "unchecked"
- ]
- },
- "why": {
- "type": "string"
- }
- },
- "required": [
- "verdict",
- "how",
- "why"
- ],
- "type": "object"
- },
- "label": {
- "type": "string"
- },
- "measures": {
- "description": "A program's measures, computed by the engine.",
- "properties": {
- "bits": {
- "type": "integer"
- },
- "by_gate": {
- "additionalProperties": {
- "type": "integer"
- },
- "type": "object"
- },
- "clifford": {
- "type": "boolean"
- },
- "depth": {
- "type": "integer"
- },
- "dynamic": {
- "type": "boolean"
- },
- "fidelity_model": {
- "description": "A fidelity under reference error rates: a model of a device, not a run.",
- "properties": {
- "estimate": {
- "type": "number"
- },
- "note": {
- "type": "string"
- },
- "rates": {
- "properties": {
- "one_qubit": {
- "type": "number"
- },
- "readout": {
- "type": "number"
- },
- "two_qubit": {
- "type": "number"
- }
- },
- "type": "object"
- }
- },
- "required": [
- "estimate"
- ],
- "type": "object"
- },
- "gates": {
- "type": "integer"
- },
- "inputs": {
- "additionalProperties": {
- "type": "integer"
- },
- "description": "A generator's inputs, when it was read at them.",
- "type": "object"
- },
- "measured": {
- "type": "integer"
- },
- "non_clifford": {
- "type": "integer"
- },
- "ok": {
- "const": true
- },
- "one_qubit": {
- "type": "integer"
- },
- "qubits": {
- "type": "integer"
- },
- "smells": {
- "items": {
- "properties": {
- "fixable": {
- "type": "boolean"
- },
- "kind": {
- "type": "string"
- },
- "lines": {
- "items": {
- "type": "integer"
- },
- "type": "array"
- },
- "message": {
- "type": "string"
- },
- "ops": {
- "items": {
- "type": "integer"
- },
- "type": "array"
- },
- "qubits": {
- "items": {
- "type": "integer"
- },
- "type": "array"
- }
- },
- "required": [
- "kind",
- "message",
- "lines",
- "fixable"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "t_count": {
- "type": "integer"
- },
- "three_qubit": {
- "type": "integer"
- },
- "two_qubit": {
- "type": "integer"
- },
- "two_qubit_depth": {
- "type": "integer"
- }
- },
- "required": [
- "ok",
- "qubits",
- "gates",
- "depth",
- "two_qubit",
- "t_count",
- "clifford"
- ],
- "type": "object"
- },
- "qasm": {
- "type": "string"
- }
- },
- "required": [
- "label",
- "qasm",
- "changes",
- "measures",
- "equivalence"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "ok": {
- "const": true
- },
- "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": [
- "ok",
- "base",
- "candidates"
- ],
- "type": "object"
- },
- {
- "description": "A program that does not read: the problem, and its line, its diagnostic code, column and length when the reader names them.",
- "properties": {
- "code": {
- "description": "The reader's diagnostic code, as Q103; qasm_diagnostics says what each means.",
- "type": "string"
- },
- "column": {
- "description": "Where the problem starts on its line, in characters from 1.",
- "minimum": 1,
- "type": "integer"
- },
- "error": {
- "type": "string"
- },
- "length": {
- "description": "Its length on that line, in characters.",
- "minimum": 0,
- "type": "integer"
- },
- "line": {
- "type": [
- "integer",
- "null"
- ]
- },
- "ok": {
- "const": false
- },
- "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": [
- "ok",
- "error"
- ],
- "type": "object"
- }
- ],
- "description": "The program with its smells fixed, all together and each alone, each candidate checked against the program; a candidate found different is never given."
- },
- {
- "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"
- }
- ]
- },
- {
- "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: +[
+ {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "properties": {
+ "base": {
+ "description": "A program's measures, computed by the engine.",
+ "properties": {
+ "bits": {
+ "type": "integer"
+ },
+ "by_gate": {
+ "additionalProperties": {
+ "type": "integer"
+ },
+ "type": "object"
+ },
+ "clifford": {
+ "type": "boolean"
+ },
+ "depth": {
+ "type": "integer"
+ },
+ "dynamic": {
+ "type": "boolean"
+ },
+ "fidelity_model": {
+ "description": "A fidelity under reference error rates: a model of a device, not a run.",
+ "properties": {
+ "estimate": {
+ "type": "number"
+ },
+ "note": {
+ "type": "string"
+ },
+ "rates": {
+ "properties": {
+ "one_qubit": {
+ "type": "number"
+ },
+ "readout": {
+ "type": "number"
+ },
+ "two_qubit": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "estimate"
+ ],
+ "type": "object"
+ },
+ "gates": {
+ "type": "integer"
+ },
+ "inputs": {
+ "additionalProperties": {
+ "type": "integer"
+ },
+ "description": "A generator's inputs, when it was read at them.",
+ "type": "object"
+ },
+ "measured": {
+ "type": "integer"
+ },
+ "non_clifford": {
+ "type": "integer"
+ },
+ "ok": {
+ "const": true
+ },
+ "one_qubit": {
+ "type": "integer"
+ },
+ "qubits": {
+ "type": "integer"
+ },
+ "smells": {
+ "items": {
+ "properties": {
+ "fixable": {
+ "type": "boolean"
+ },
+ "kind": {
+ "type": "string"
+ },
+ "lines": {
+ "items": {
+ "type": "integer"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ },
+ "ops": {
+ "items": {
+ "type": "integer"
+ },
+ "type": "array"
+ },
+ "qubits": {
+ "items": {
+ "type": "integer"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "message",
+ "lines",
+ "fixable"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "t_count": {
+ "type": "integer"
+ },
+ "three_qubit": {
+ "type": "integer"
+ },
+ "two_qubit": {
+ "type": "integer"
+ },
+ "two_qubit_depth": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "ok",
+ "qubits",
+ "gates",
+ "depth",
+ "two_qubit",
+ "t_count",
+ "clifford"
+ ],
+ "type": "object"
+ },
+ "candidates": {
+ "items": {
+ "properties": {
+ "changes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "equivalence": {
+ "description": "Whether two programs are the same circuit up to a global phase, and how the engine decided.",
+ "properties": {
+ "global_phase": {
+ "description": "The global phase between them, in units of π.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "how": {
+ "description": "tableau, exact and rewrites are proofs; state is a proof of the same state from |0…0⟩; random is evidence, not proof; shape: they differ in their shape; none: unchecked.",
+ "enum": [
+ "tableau",
+ "exact",
+ "rewrites",
+ "random",
+ "state",
+ "shape",
+ "none"
+ ]
+ },
+ "steps": {
+ "description": "rewrites: the checked steps to nothing.",
+ "type": "integer"
+ },
+ "verdict": {
+ "enum": [
+ "equivalent",
+ "different",
+ "unchecked"
+ ]
+ },
+ "why": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "verdict",
+ "how",
+ "why"
+ ],
+ "type": "object"
+ },
+ "label": {
+ "type": "string"
+ },
+ "measures": {
+ "description": "A program's measures, computed by the engine.",
+ "properties": {
+ "bits": {
+ "type": "integer"
+ },
+ "by_gate": {
+ "additionalProperties": {
+ "type": "integer"
+ },
+ "type": "object"
+ },
+ "clifford": {
+ "type": "boolean"
+ },
+ "depth": {
+ "type": "integer"
+ },
+ "dynamic": {
+ "type": "boolean"
+ },
+ "fidelity_model": {
+ "description": "A fidelity under reference error rates: a model of a device, not a run.",
+ "properties": {
+ "estimate": {
+ "type": "number"
+ },
+ "note": {
+ "type": "string"
+ },
+ "rates": {
+ "properties": {
+ "one_qubit": {
+ "type": "number"
+ },
+ "readout": {
+ "type": "number"
+ },
+ "two_qubit": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "estimate"
+ ],
+ "type": "object"
+ },
+ "gates": {
+ "type": "integer"
+ },
+ "inputs": {
+ "additionalProperties": {
+ "type": "integer"
+ },
+ "description": "A generator's inputs, when it was read at them.",
+ "type": "object"
+ },
+ "measured": {
+ "type": "integer"
+ },
+ "non_clifford": {
+ "type": "integer"
+ },
+ "ok": {
+ "const": true
+ },
+ "one_qubit": {
+ "type": "integer"
+ },
+ "qubits": {
+ "type": "integer"
+ },
+ "smells": {
+ "items": {
+ "properties": {
+ "fixable": {
+ "type": "boolean"
+ },
+ "kind": {
+ "type": "string"
+ },
+ "lines": {
+ "items": {
+ "type": "integer"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ },
+ "ops": {
+ "items": {
+ "type": "integer"
+ },
+ "type": "array"
+ },
+ "qubits": {
+ "items": {
+ "type": "integer"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "message",
+ "lines",
+ "fixable"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "t_count": {
+ "type": "integer"
+ },
+ "three_qubit": {
+ "type": "integer"
+ },
+ "two_qubit": {
+ "type": "integer"
+ },
+ "two_qubit_depth": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "ok",
+ "qubits",
+ "gates",
+ "depth",
+ "two_qubit",
+ "t_count",
+ "clifford"
+ ],
+ "type": "object"
+ },
+ "qasm": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "qasm",
+ "changes",
+ "measures",
+ "equivalence"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "ok": {
+ "const": true
+ },
+ "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": [
+ "ok",
+ "base",
+ "candidates"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "A program that does not read: the problem, and its line, its diagnostic code, column and length when the reader names them.",
+ "properties": {
+ "code": {
+ "description": "The reader's diagnostic code, as Q103; qasm_diagnostics says what each means.",
+ "type": "string"
+ },
+ "column": {
+ "description": "Where the problem starts on its line, in characters from 1.",
+ "minimum": 1,
+ "type": "integer"
+ },
+ "error": {
+ "type": "string"
+ },
+ "length": {
+ "description": "Its length on that line, in characters.",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "line": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "ok": {
+ "const": false
+ },
+ "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": [
+ "ok",
+ "error"
+ ],
+ "type": "object"
+ }
+ ],
+ "description": "The program with its smells fixed, all together and each alone, each candidate checked against the program; a candidate found different is never given."
+ },
+ {
+ "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"
+ }
+ ]
+ },
+ {
+ "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"
+ }
+]