braket.task_result.simulator_metadata_v1 module
- class braket.task_result.simulator_metadata_v1.SimulatorMetadata(*, braketSchemaHeader: BraketSchemaHeader = BraketSchemaHeader(name='braket.task_result.simulator_metadata', version='1'), executionDuration: ConstrainedIntValue)[source]
Bases:
BraketSchemaBase
The simulator metadata result schema.
- braketSchemaHeader
Schema header. Users do not need to set this value. Only default is allowed.
- Type:
- executionDuration
The number of milliseconds it took to execute the circuit on the simulator.
- Type:
int
Examples
>>> SimulatorMetadata(executionDuration=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
- executionDuration: ConstrainedIntValue