braket.task_result.oqc_metadata_v1 module

class braket.task_result.oqc_metadata_v1.OqcMetadata[source]

Bases: braket.schema_common.schema_base.BraketSchemaBase

The Oqc metadata result schema.

braketSchemaHeader

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

Type:BraketSchemaHeader
executedProgram

The program executed on the QPU.

Type:str

Examples

>>> OqcMetadata(executedProgram="DECLARE ro BIT[2];")

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.