braket.ir.ahs.local_detuning module
- class braket.ir.ahs.local_detuning.LocalDetuning(*, magnitude: PhysicalField)[source]
Bases:
BaseModel
Specifies the local detuning, defined by the formula
\[H_{shift} (t) := -\Delta(t) \sum_k h_k | r_k \rangle \langle r_k |\]where
\(\Delta(t)\) is the magnitude of the frequency shift in rad/s,
\(h_k\) is the site coefficient,
\(|r_k \rangle\) is the Rydberg state of atom k.
with the sum \(\sum_k\) taken over all target atoms.
- magnitude
PhysicalField
Examples
>>> LocalDetuning(magnitude=PhysicalField)
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.
- magnitude: PhysicalField