# braket.ir.ahs.driving_field module¶

class braket.ir.ahs.driving_field.DrivingField[source]

Bases: pydantic.main.BaseModel

Specifies the driving field, defined by the formula

$H_{drive} (t) := \frac{\Omega(t)}{2} e^{i \phi(t)} \left( \sum_k |g_k \rangle \langle r_k| + |r_k \rangle \langle g_k| \right) - \Delta(t) \sum_k{| r_k \rangle \langle r_k |}$

where

$$\Omega(t)$$ is the global Rabi frequency in rad/s,

$$\phi(t)$$ is the global phase in rad/s,

$$\Delta(t)$$ is the global detuning in rad/s,

$$|g_k \rangle$$ is the ground state of atom k,

$$|r_k \rangle$$ is the Rydberg state of atom k.

with the sum $$\sum_k$$ taken over all target atoms.

amplitude

PhysicalField(pattern=“uniform”)

phase

PhysicalField(pattern=“uniform”)

detuning

PhysicalField(pattern=“uniform”)

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.