braket.device_schema.oqc.oqc_device_parameters_v1 module

class braket.device_schema.oqc.oqc_device_parameters_v1.OqcDeviceParameters[source]

Bases: braket.schema_common.schema_base.BraketSchemaBase

This defines the parameters common to all the OQC devices.

paradigmParameters

Parameters that are common to gatemodel paradigm

Examples

>>> import json
>>> input_json = {
...    "braketSchemaHeader": {
...        "name": "braket.device_schema.oqc.oqc_device_parameters",
...        "version": "1",
...    },
...    "paradigmParameters": {"braketSchemaHeader": {
...        "name": "braket.device_schema.gate_model_parameters",
...        "version": "1",
...    },"qubitCount": 1},
... }
>>> OqcDeviceParameters.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.