braket.device_schema.ionq.ionq_provider_properties_v1 module

class braket.device_schema.ionq.ionq_provider_properties_v1.IonqProviderProperties[source]

Bases: braket.schema_common.schema_base.BraketSchemaBase

This defines the properties common to all the IonQ devices.

fidelity

Average fidelity, the measured success to perform operations of the given type.

Type:Dict[str, Dict[str, float]]
timing

The timing characteristics of the device. 1Q, 2Q, readout, and reset are the operation times. T1 and T2 are decoherence times

Type:Dict[str, float]

Examples

>>> import json
>>> input_json = {
...    "braketSchemaHeader": {
...        "name": "braket.device_schema.ionq.ionq_provider_properties",
...        "version": "1",
...    },
...    "fidelity": {
...        "1Q": {
...          "mean": 0.99717
...        },
...        "2Q": {
...          "mean": 0.9696
...        },
...        "spam": {
...          "mean": 0.9961
...        }
...      },
...      "timing": {
...        "T1": 10000000000,
...        "T2": 500000,
...        "1Q": 1.1e-05,
...        "2Q": 0.00021,
...        "readout": 0.000175,
...        "reset": 3.5e-05
...      },
...}
>>> IonqProviderProperties.parse_raw_schema(json.dumps(input_json))

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.