braket.device_schema.ionq.ionq_provider_properties_v1 module
- class braket.device_schema.ionq.ionq_provider_properties_v1.IonqProviderProperties(*, braketSchemaHeader: BraketSchemaHeader = BraketSchemaHeader(name='braket.device_schema.ionq.ionq_provider_properties', version='1'), fidelity: Dict[str, Dict[str, float]], timing: Dict[str, float], errorMitigation: Dict[Type[ErrorMitigationScheme], ErrorMitigationProperties] | None = None)[source]
Bases:
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]
- errorMitigation
The error mitigation schemes supported by the device, where the key is the Python type of the error mitigation scheme and the value contains the properties of the scheme. Default: None.
- Type:
Optional[Dict[Type[ErrorMitigationScheme], ErrorMitigationProperties]]
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 ... }, ... errorMitigation: { ... "braket.device_schema.error_mitigation.debias.Debias": { ... "minimumShots": 2500 ... } ... } ... } >>> 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.
- braketSchemaHeader: BraketSchemaHeader
- fidelity: Dict[str, Dict[str, float]]
- timing: Dict[str, float]
- errorMitigation: Dict[Type[ErrorMitigationScheme], ErrorMitigationProperties] | None