braket.ir.ahs.program_v1 module

class braket.ir.ahs.program_v1.Setup[source]

Bases: pydantic.main.BaseModel

The initial setup of the quantum register .. attribute:: ahs_register

The spatial setup of the neutral atom program

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.

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

Bases: braket.schema_common.schema_base.BraketSchemaBase

Specifies an AHS program

braketSchemaHeader

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

Type:BraketSchemaHeader
setup

Neutral atom lattice set up

hamiltonian

rydberg hamiltonian

Examples

>>> Program(
...     setup={"ahs_register":AtomArrangement},
...     hamiltonian={"drivingFields":DrivingField,"shiftingFields":ShiftingField}
...    )

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.

class Config[source]

Bases: object

json_encoders = {<class 'decimal.Decimal'>: <class 'str'>}