braket.ir.blackbird.program_v1 module

class braket.ir.blackbird.program_v1.Program[source]

Bases: braket.schema_common.schema_base.BraketSchemaBase

Root object of the Blackbird IR.

More about Blackbird: https://quantum-blackbird.readthedocs.io/en/latest/

braketSchemaHeader

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

Type:BraketSchemaHeader
source

Blackbird program.

Type:str

Examples

>>> from braket.ir.blackbird import Program as BlackbirdProgram
>>> BlackbirdProgram(source='')

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.