braket.ir.ahs.shifting_field module

class braket.ir.ahs.shifting_field.ShiftingField[source]

Bases: pydantic.main.BaseModel

Specifies the shifting field, 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

>>> ShiftingField(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.