braket.device_schema.dwave.dwave_provider_properties_v1 module

class braket.device_schema.dwave.dwave_provider_properties_v1.DwaveProviderProperties[source]

Bases: braket.schema_common.schema_base.BraketSchemaBase

This defines the properties specific to D-Wave device

qubits

the list of the qubits available in D-Wave

qubitCount

number of qubits available in D-Wave

topology

the connections between each qubits

Examples

>>> import json
>>> input_json = {
...    "braketSchemaHeader": {
...        "name": "braket.device_schema.dwave.dwave_provider_properties",
...        "version": "1",
...    },
...    "annealingOffsetStep": 1.45,
...    "annealingOffsetStepPhi0": 1.45,
...    "annealingOffsetRanges": [[1.45, 1.45], [1.45, 1.45]],
...    "annealingDurationRange": [1.45, 2.45, 3],
...    "couplers": [[1, 2, 3], [1, 2, 3]],
...    "defaultAnnealingDuration": 1,
...    "defaultProgrammingThermalizationDuration": 1,
...    "defaultReadoutThermalizationDuration": 1,
...    "extendedJRange": [1.1, 2.45, 3.45],
...    "hGainScheduleRange": [1.11, 2.56, 3.67],
...    "hRange": [1.4, 2.6, 3.66],
...    "jRange": [1.67, 2.666, 3.666],
...    "maximumAnnealingSchedulePoints": 1,
...    "maximumHGainSchedulePoints": 1,
...    "perQubitCouplingRange": [1.777, 2.567, 3.1201],
...    "programmingThermalizationDurationRange": [1, 2, 3],
...    "qubits": [1, 2, 3],
...    "qubitCount": 1,
...    "quotaConversionRate": 1.341234,
...    "readoutThermalizationDurationRange": [1, 2, 3],
...    "taskRunDurationRange": [1, 2, 3],
...    "topology": {},
... }
>>> DwaveProviderProperties.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.