braket.device_schema.dwave.dwave_device_parameters_v1 module
- class braket.device_schema.dwave.dwave_device_parameters_v1.DwaveDeviceParameters(*, braketSchemaHeader: BraketSchemaHeader = BraketSchemaHeader(name='braket.device_schema.dwave.dwave_device_parameters', version='1'), providerLevelParameters: DwaveProviderLevelParameters | None = None, deviceLevelParameters: DwaveAdvantageDeviceLevelParameters | Dwave2000QDeviceLevelParameters | None = None)[source]
Bases:
BraketSchemaBase
This is the description of the D-Wave parameters .. attribute:: providerLevelParameters
Parameters that are specific to D-Wave devices.
- type:
braket.device_schema.dwave.dwave_provider_level_parameters_v1.DwaveProviderLevelParameters | None
- 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.
- braketSchemaHeader: BraketSchemaHeader
- providerLevelParameters: DwaveProviderLevelParameters | None
- deviceLevelParameters: DwaveAdvantageDeviceLevelParameters | Dwave2000QDeviceLevelParameters | None