braket.task_result.photonic_model_task_result_v1 module
- class braket.task_result.photonic_model_task_result_v1.PhotonicModelTaskResult(*, braketSchemaHeader: BraketSchemaHeader = BraketSchemaHeader(name='braket.task_result.photonic_model_task_result', version='1'), measurements: ConstrainedListValue[ConstrainedListValue[ConstrainedListValue[ConstrainedIntValue]]] | None = None, taskMetadata: TaskMetadata, additionalMetadata: AdditionalMetadata)[source]
Bases:
BraketSchemaBase
The photonic model task result schema
- braketSchemaHeader
Schema header. Users do not need to set this value. Only default is allowed.
- Type:
- measurements (List[List[List[int]]]
List of lists of lists of int, where each int is bound between 0-255. Default is
None
.
- taskMetadata
The task metadata
- Type:
- additionalMetadata
Additional metadata of the task
- Type:
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
- measurements: ConstrainedListValue[ConstrainedListValue[ConstrainedListValue[ConstrainedIntValue]]] | None
- taskMetadata: TaskMetadata
- additionalMetadata: AdditionalMetadata