braket.device_schema.dwave.dwave_device_parameters_v1 module

class braket.device_schema.dwave.dwave_device_parameters_v1.DwaveDeviceParameters[source]

Bases: braket.schema_common.schema_base.BraketSchemaBase

This is the description of the D-Wave parameters .. attribute:: providerLevelParameters

Parameters that are specific to D-Wave devices.
deviceLevelParameters

Parameters that are specific to this D-Wave device.

Examples

>>> import json
>>> input_json = {
...     "braketSchemaHeader": {
...         "name": "braket.device_schema.dwave.dwave_device_parameters",
...         "version": "1",},
...     "providerLevelParameters": {
...         "braketSchemaHeader": {
...             "name": "braket.device_schema.dwave.dwave_provider_level_parameters",
...             "version": "1",
...         },
...         "annealingOffsets": [1],
...         "beta": 1,
...     }
... }
>>> DwaveDeviceParameters.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.