braket.task_result.annealing_task_result_v1 module

class braket.task_result.annealing_task_result_v1.AnnealingTaskResult(*, braketSchemaHeader: BraketSchemaHeader = BraketSchemaHeader(name='braket.task_result.annealing_task_result', version='1'), solutions: List[ConstrainedListValue[ConstrainedIntValue]] | None = None, solutionCounts: List[ConstrainedIntValue] | None = None, values: List[float] | None = None, variableCount: ConstrainedIntValue | None = None, taskMetadata: TaskMetadata, additionalMetadata: AdditionalMetadata)[source]

Bases: BraketSchemaBase

The annealing task result schema.

braketSchemaHeader

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

Type:

BraketSchemaHeader

solutions

Solutions of task result. Default is None.

Type:

List[int]

solutionCounts

The number of times the solutions occurred. Default is None.

Type:

List[int]

values

Output or energy of the solutions. Default is None.

Type:

List[float]

variableCount

The number of variables. Default is None.

Type:

int

taskMetadata

The task metadata.

Type:

TaskMetadata

additionalMetadata

Additional metadata of the task.

Type:

AdditionalMetadata

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
solutions: List[ConstrainedListValue[ConstrainedIntValue]] | None
solutionCounts: List[ConstrainedIntValue] | None
values: List[float] | None
variableCount: ConstrainedIntValue | None
taskMetadata: TaskMetadata
additionalMetadata: AdditionalMetadata