braket.task_result.quera_metadata_v1 module
- class braket.task_result.quera_metadata_v1.QueraMetadata(*, braketSchemaHeader: BraketSchemaHeader = BraketSchemaHeader(name='braket.task_result.quera_metadata', version='1'), numSuccessfulShots: ConstrainedIntValue)[source]
Bases:
BraketSchemaBase
The Querametadata result schema.
- braketSchemaHeader
Schema header. Users do not need to set this value. Only default is allowed.
- Type:
- numSuccessfulShots
Number of successful shots in result.
- Type:
int
Examples
>>> QueraMetadata(numSuccessfulShots=100)
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
- numSuccessfulShots: ConstrainedIntValue