changedOutput schema / anyOf
Previous value: -[
- {
- "description": "The device targets the service knows by name, all synthetic.",
- "properties": {
- "targets": {
- "items": {
- "description": "A device target in brief: its name and hash, where it came from, its calibration snapshot, its qubits and pairs, each native gate's error and duration across the device, the native gate set it is compiled to, and its qubits' T1, T2 and readout error.",
- "properties": {
- "calibration": {
- "properties": {
- "id": {
- "type": "string"
- },
- "timestamp": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "document": {
- "additionalProperties": false,
- "description": "A device target: its qubits, the pairs it couples, its native gates with their errors and durations, and the calibration snapshot they come from. A value not known is left out, never written as zero. Every field but format, name, source, qubits, gates and coupling is optional, and a field the format does not name is refused, so a misspelt one never reads as absent. Its canonical text is its RFC 8785 form, and the BLAKE3 of that text, the target's hash, names the snapshot in a receipt.",
- "properties": {
- "calibration": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "description": "The calibration snapshot's id, as the source names it, or a content id of the snapshot read.",
- "maxLength": 400,
- "type": "string"
- },
- "timestamp": {
- "description": "When the snapshot was taken, as the source writes it.",
- "maxLength": 400,
- "type": "string"
- }
- },
- "type": "object"
- },
- "coupling": {
- "description": "The pairs a two-qubit gate may act on, each once, the lower qubit first, sorted.",
- "items": {
- "items": {
- "minimum": 0,
- "type": "integer"
- },
- "maxItems": 2,
- "minItems": 2,
- "type": "array"
- },
- "type": "array"
- },
- "format": {
- "const": "wai.quantum.target/1"
- },
- "gates": {
- "description": "Each native gate where the device runs it, sorted by gate then qubits.",
- "items": {
- "additionalProperties": false,
- "properties": {
- "duration_ns": {
- "description": "Nanoseconds.",
- "minimum": 0,
- "type": "number"
- },
- "error": {
- "description": "The average gate infidelity.",
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "gate": {
- "pattern": "^[a-z0-9_]{1,40}$",
- "type": "string"
- },
- "qubits": {
- "items": {
- "minimum": 0,
- "type": "integer"
- },
- "maxItems": 2,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "gate",
- "qubits"
- ],
- "type": "object"
- },
- "maxItems": 262144,
- "type": "array"
- },
- "name": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "qubits": {
- "description": "Every qubit, in order.",
- "items": {
- "additionalProperties": false,
- "properties": {
- "frequency_ghz": {
- "description": "Its frequency, gigahertz.",
- "minimum": 0,
- "type": "number"
- },
- "label": {
- "description": "The source's own name for it, when that is not its index.",
- "type": "string"
- },
- "measure_ns": {
- "description": "The measurement's duration, nanoseconds.",
- "minimum": 0,
- "type": "number"
- },
- "qubit": {
- "description": "Its index: its place in the list.",
- "minimum": 0,
- "type": "integer"
- },
- "readout": {
- "additionalProperties": false,
- "properties": {
- "p01": {
- "description": "P(reads 1 | holds 0).",
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "p10": {
- "description": "P(reads 0 | holds 1).",
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "p01",
- "p10"
- ],
- "type": "object"
- },
- "resonator": {
- "const": true,
- "description": "A computational resonator, not a qubit: a qubit's state is moved into it (move, listed on the qubit and the resonator) so that a cz on it acts on that state, and moved back out. It takes no one-qubit gate, is never measured and is never paired with another resonator. Written only when true."
- },
- "t1_us": {
- "description": "T1, microseconds.",
- "minimum": 0,
- "type": "number"
- },
- "t2_us": {
- "description": "T2 (the echo or Ramsey time the source reports), microseconds.",
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "qubit"
- ],
- "type": "object"
- },
- "maxItems": 2048,
- "minItems": 1,
- "type": "array"
- },
- "source": {
- "additionalProperties": false,
- "properties": {
- "format": {
- "description": "The format the target was read from (wai-quantum targets import --help lists them).",
- "type": "string"
- },
- "note": {
- "maxLength": 400,
- "type": "string"
- }
- },
- "required": [
- "format"
- ],
- "type": "object"
- }
- },
- "required": [
- "format",
- "name",
- "source",
- "qubits",
- "gates",
- "coupling"
- ],
- "title": "wai.quantum.target/1",
- "type": "object"
- },
- "gates": {
- "items": {
- "properties": {
- "duration_ns": {
- "description": "The least, the median and the most of a figure across the device, and how many it has; null when the target gives none.",
- "properties": {
- "max": {
- "type": "number"
- },
- "median": {
- "type": "number"
- },
- "min": {
- "type": "number"
- },
- "of": {
- "type": "integer"
- }
- },
- "type": [
- "object",
- "null"
- ]
- },
- "error": {
- "description": "The least, the median and the most of a figure across the device, and how many it has; null when the target gives none.",
- "properties": {
- "max": {
- "type": "number"
- },
- "median": {
- "type": "number"
- },
- "min": {
- "type": "number"
- },
- "of": {
- "type": "integer"
- }
- },
- "type": [
- "object",
- "null"
- ]
- },
- "gate": {
- "type": "string"
- },
- "qubits": {
- "type": "integer"
- },
- "where": {
- "type": "integer"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "hash": {
- "description": "BLAKE3 of the target document's RFC 8785 text: what a receipt names.",
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "native": {
- "description": "The compiler's gate set the target's gates hold, whether exactly, and how each is costed.",
- "type": "object"
- },
- "pairs": {
- "type": "integer"
- },
- "qubits": {
- "type": "integer"
- },
- "readout_error": {
- "description": "The least, the median and the most of a figure across the device, and how many it has; null when the target gives none.",
- "properties": {
- "max": {
- "type": "number"
- },
- "median": {
- "type": "number"
- },
- "min": {
- "type": "number"
- },
- "of": {
- "type": "integer"
- }
- },
- "type": [
- "object",
- "null"
- ]
- },
- "source": {
- "properties": {
- "format": {
- "type": "string"
- },
- "note": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "t1_us": {
- "description": "The least, the median and the most of a figure across the device, and how many it has; null when the target gives none.",
- "properties": {
- "max": {
- "type": "number"
- },
- "median": {
- "type": "number"
- },
- "min": {
- "type": "number"
- },
- "of": {
- "type": "integer"
- }
- },
- "type": [
- "object",
- "null"
- ]
- },
- "t2_us": {
- "description": "The least, the median and the most of a figure across the device, and how many it has; null when the target gives none.",
- "properties": {
- "max": {
- "type": "number"
- },
- "median": {
- "type": "number"
- },
- "min": {
- "type": "number"
- },
- "of": {
- "type": "integer"
- }
- },
- "type": [
- "object",
- "null"
- ]
- },
- "view": {
- "description": "With view: each qubit's place and errors and each pair's error, to draw the coupling map.",
- "type": "object"
- }
- },
- "required": [
- "name",
- "hash",
- "qubits",
- "pairs"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "targets"
- ],
- "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": "The device targets the service knows by name, all synthetic.",
+ "properties": {
+ "targets": {
+ "items": {
+ "description": "A device target in brief: its name and hash, where it came from, its calibration snapshot, its qubits and pairs, each native gate's error and duration across the device, the native gate set it is compiled to, and its qubits' T1, T2 and readout error.",
+ "properties": {
+ "calibration": {
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "document": {
+ "additionalProperties": false,
+ "description": "A device target: its qubits, the pairs it couples, its native gates with their errors and durations, and the calibration snapshot they come from. A value not known is left out, never written as zero. Every field but format, name, source, qubits, gates and coupling is optional, and a field the format does not name is refused, so a misspelt one never reads as absent. Its canonical text is its RFC 8785 form, and the BLAKE3 of that text, the target's hash, names the snapshot in a receipt.",
+ "properties": {
+ "calibration": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "description": "The calibration snapshot's id, as the source names it, or a content id of the snapshot read.",
+ "maxLength": 400,
+ "type": "string"
+ },
+ "timestamp": {
+ "description": "When the snapshot was taken, as the source writes it.",
+ "maxLength": 400,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "coupling": {
+ "description": "The pairs a two-qubit gate may act on, each once, the lower qubit first, sorted.",
+ "items": {
+ "items": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "maxItems": 2,
+ "minItems": 2,
+ "type": "array"
+ },
+ "type": "array"
+ },
+ "crosstalk": {
+ "description": "The static ZZ interaction between pairs of qubits, sorted by pair, each once. Written only when the source states one.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "qubits": {
+ "description": "The pair, the lower qubit first.",
+ "items": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "maxItems": 2,
+ "minItems": 2,
+ "type": "array"
+ },
+ "zz_khz": {
+ "description": "The shift of one qubit's frequency when the other holds 1 rather than 0, both idle, kilohertz; it may be negative.",
+ "type": "number"
+ }
+ },
+ "required": [
+ "qubits",
+ "zz_khz"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "format": {
+ "const": "wai.quantum.target/1"
+ },
+ "gates": {
+ "description": "Each native gate where the device runs it, sorted by gate then qubits.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "angle_errors": {
+ "description": "Of a zz the device runs at any angle, its error at each angle it was benchmarked at, sorted by angle, each angle once. A gate of an angle between two listed is costed by the straight line between them, one outside them at the nearest; its stated leakage keeps its share of the error.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "angle_rad": {
+ "description": "The angle θ of exp(−iθ/2·Z⊗Z) (OpenQASM's rzz(θ)), radians: π/2 is the fully entangling gate.",
+ "maximum": 1.5707963267948966,
+ "minimum": 0,
+ "type": "number"
+ },
+ "error": {
+ "description": "The average gate infidelity at that angle.",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "angle_rad",
+ "error"
+ ],
+ "type": "object"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "any_angle": {
+ "const": true,
+ "description": "A two-qubit zz the device runs at any angle, so that an angle between two qubits is one gate of that angle rather than two of the fully entangling one. Written only when true."
+ },
+ "coherent": {
+ "additionalProperties": false,
+ "description": "A two-qubit gate's coherent error: the angles by which the gate it runs differs from the one it is meant to be, read as an exchange-and-phase gate.",
+ "properties": {
+ "phi_rad": {
+ "description": "The difference in its conditional phase, radians.",
+ "maximum": 3.141592653589793,
+ "minimum": -3.141592653589793,
+ "type": "number"
+ },
+ "theta_rad": {
+ "description": "The difference in its exchange (swap) angle, radians.",
+ "maximum": 3.141592653589793,
+ "minimum": -3.141592653589793,
+ "type": "number"
+ }
+ },
+ "required": [
+ "theta_rad",
+ "phi_rad"
+ ],
+ "type": "object"
+ },
+ "duration_ns": {
+ "description": "Nanoseconds.",
+ "minimum": 0,
+ "type": "number"
+ },
+ "error": {
+ "description": "The average gate infidelity.",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "error_sd": {
+ "description": "One standard deviation of the error, as the source states it.",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "gate": {
+ "pattern": "^[a-z0-9_]{1,40}$",
+ "type": "string"
+ },
+ "leakage": {
+ "description": "Of the error, the chance the gate leaves a qubit outside its two levels.",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "qubits": {
+ "items": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "maxItems": 2,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "gate",
+ "qubits"
+ ],
+ "type": "object"
+ },
+ "maxItems": 262144,
+ "type": "array"
+ },
+ "layer_fidelity": {
+ "description": "Layered benchmarks the source measured, sorted by the chain's length, then its qubits. Written only when the source states one.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "fidelity": {
+ "description": "The fidelity of every two-qubit gate along the chain, run in two layers between random one-qubit gates on every qubit: the product of the layers' process fidelities.",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "qubits": {
+ "description": "The chain, in its order: each qubit coupled to the next.",
+ "items": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "qubits",
+ "fidelity"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "name": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "qubits": {
+ "description": "Every qubit, in order.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "frequency_ghz": {
+ "description": "Its frequency, gigahertz.",
+ "minimum": 0,
+ "type": "number"
+ },
+ "label": {
+ "description": "The source's own name for it, when that is not its index.",
+ "type": "string"
+ },
+ "measure_ns": {
+ "description": "The measurement's duration, nanoseconds.",
+ "minimum": 0,
+ "type": "number"
+ },
+ "memory_error": {
+ "description": "The average infidelity the qubit takes for each two-qubit layer of a program it waits through (the transport, cooling and idling between a device's layers of gates), as the source's memory benchmark measures it: one layer being a two-qubit gate on random pairs of every qubit.",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "qubit": {
+ "description": "Its index: its place in the list.",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "readout": {
+ "additionalProperties": false,
+ "properties": {
+ "p01": {
+ "description": "P(reads 1 | holds 0).",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "p10": {
+ "description": "P(reads 0 | holds 1).",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "p01",
+ "p10"
+ ],
+ "type": "object"
+ },
+ "resonator": {
+ "const": true,
+ "description": "A computational resonator, not a qubit: a qubit's state is moved into it (move, listed on the qubit and the resonator) so that a cz on it acts on that state, and moved back out. It takes no one-qubit gate, is never measured and is never paired with another resonator. Written only when true."
+ },
+ "t1_us": {
+ "description": "T1, microseconds.",
+ "minimum": 0,
+ "type": "number"
+ },
+ "t2_us": {
+ "description": "T2 (the echo or Ramsey time the source reports), microseconds.",
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "qubit"
+ ],
+ "type": "object"
+ },
+ "maxItems": 2048,
+ "minItems": 1,
+ "type": "array"
+ },
+ "source": {
+ "additionalProperties": false,
+ "properties": {
+ "format": {
+ "description": "The format the target was read from (wai-quantum targets import --help lists them).",
+ "type": "string"
+ },
+ "note": {
+ "maxLength": 400,
+ "type": "string"
+ }
+ },
+ "required": [
+ "format"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "format",
+ "name",
+ "source",
+ "qubits",
+ "gates",
+ "coupling"
+ ],
+ "title": "wai.quantum.target/1",
+ "type": "object"
+ },
+ "gates": {
+ "items": {
+ "properties": {
+ "duration_ns": {
+ "description": "The least, the median and the most of a figure across the device, and how many it has; null when the target gives none.",
+ "properties": {
+ "max": {
+ "type": "number"
+ },
+ "median": {
+ "type": "number"
+ },
+ "min": {
+ "type": "number"
+ },
+ "of": {
+ "type": "integer"
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "error": {
+ "description": "The least, the median and the most of a figure across the device, and how many it has; null when the target gives none.",
+ "properties": {
+ "max": {
+ "type": "number"
+ },
+ "median": {
+ "type": "number"
+ },
+ "min": {
+ "type": "number"
+ },
+ "of": {
+ "type": "integer"
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "gate": {
+ "type": "string"
+ },
+ "qubits": {
+ "type": "integer"
+ },
+ "where": {
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "hash": {
+ "description": "BLAKE3 of the target document's RFC 8785 text: what a receipt names.",
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "native": {
+ "description": "The compiler's gate set the target's gates hold, whether exactly, and how each is costed.",
+ "type": "object"
+ },
+ "pairs": {
+ "type": "integer"
+ },
+ "qubits": {
+ "type": "integer"
+ },
+ "readout_error": {
+ "description": "The least, the median and the most of a figure across the device, and how many it has; null when the target gives none.",
+ "properties": {
+ "max": {
+ "type": "number"
+ },
+ "median": {
+ "type": "number"
+ },
+ "min": {
+ "type": "number"
+ },
+ "of": {
+ "type": "integer"
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "source": {
+ "properties": {
+ "format": {
+ "type": "string"
+ },
+ "note": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "t1_us": {
+ "description": "The least, the median and the most of a figure across the device, and how many it has; null when the target gives none.",
+ "properties": {
+ "max": {
+ "type": "number"
+ },
+ "median": {
+ "type": "number"
+ },
+ "min": {
+ "type": "number"
+ },
+ "of": {
+ "type": "integer"
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "t2_us": {
+ "description": "The least, the median and the most of a figure across the device, and how many it has; null when the target gives none.",
+ "properties": {
+ "max": {
+ "type": "number"
+ },
+ "median": {
+ "type": "number"
+ },
+ "min": {
+ "type": "number"
+ },
+ "of": {
+ "type": "integer"
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "view": {
+ "description": "With view: each qubit's place and errors and each pair's error, to draw the coupling map.",
+ "type": "object"
+ }
+ },
+ "required": [
+ "name",
+ "hash",
+ "qubits",
+ "pairs"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "targets"
+ ],
+ "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"
+ }
+]