braket.ir.blackbird.program_v1 module
- class braket.ir.blackbird.program_v1.Program(*, braketSchemaHeader: BraketSchemaHeader = BraketSchemaHeader(name='braket.ir.blackbird.program', version='1'), source: str)[source]
Bases:
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:
- 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.
- braketSchemaHeader: BraketSchemaHeader
- source: str