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