braket.ir.ahs.hamiltonian module

class braket.ir.ahs.hamiltonian.Hamiltonian(*, drivingFields: list[DrivingField], shiftingFields: list[LocalDetuning])[source]

Bases: BaseModel

Specifies the Hamiltonian

drivingFields

An externally controlled force that drives coherent transitions between selected levels of certain atom types

Type:

list[braket.ir.ahs.driving_field.DrivingField]

localDetuning

An externally controlled polarizing force the effect of which is accurately described by a frequency shift of certain levels.

Type:

list[braket.ir.ahs.local_detuning.LocalDetuning]

Examples

>>> Hamiltonian(drivingFields=[DrivingField],localDetuning=[LocalDetuning])

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.

drivingFields: list[DrivingField]
localDetuning: list[LocalDetuning]
class Config[source]

Bases: object

allow_population_by_field_name = True