braket.task_result.additional_metadata module

class braket.task_result.additional_metadata.AdditionalMetadata[source]

Bases: pydantic.main.BaseModel

The additional metadata result schema.

action

The action of the task

Type:Union[Program, Problem]
dWaveMetadata

Additional metadata for tasks that ran on D-Wave. Default is None.

Type:DWaveMetadata

Examples

>>> AdditionalMetadata(action=Program(instructions=[CNot(control=0, target=1)]))

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.