braket.task_result.dwave_metadata_v1 module

class braket.task_result.dwave_metadata_v1.DwaveTiming[source]

Bases: pydantic.main.BaseModel

The D-Wave timing metadata result schema.

The times represented are in microseconds.

Examples

>>> DwaveTiming(qpuSamplingTime=1575, qpuAnnealTimePerSample=20)

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.

class braket.task_result.dwave_metadata_v1.DwaveMetadata[source]

Bases: braket.schema_common.schema_base.BraketSchemaBase

The D-Wave metadata result schema.

braketSchemaHeader

Schema header. Users do not need to set this value. Only default is allowed.

Type:BraketSchemaHeader
activeVariables

The active variables of the task on D-Wave

Type:List[int]
timing

Additional timing metadata of the task on D-Wave

Type:DwaveTiming

Examples

>>> timing = DwaveTiming(qpuSamplingTime=1575, qpuAnnealTimePerSample=20)
>>> DwaveMetadata(activeVariables=[0, 3, 4], timing=timing)

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.