# Drive¶

class Drive(*, control, operator)

A complex control term for the coherent simulation calculation of the form $$\gamma_{j}(t) C_{j} + \mathrm{H.c.}$$, where $$C_{j}$$ is a non-Hermitian operator and $$\gamma_{j}(t)$$ is a complex-valued piecewise-constant function between 0 and $$\tau$$.

Variables
• control (List[qctrl.dynamic.types.ComplexSegmentInput]) – The list of segments, pairs of a duration and a value $$\{(\delta t_{\gamma_{j},n}, \gamma_{j,n})\}$$, that define the piecewise-constant control $$\gamma_{j}(t)$$. This means that $$\gamma_{j}(t) = \gamma_{j,n}$$ for $$t_{\gamma_{j},n-1} \leq t < t_{\gamma_{j},n}$$, where $$t_{\gamma_{j},0} = 0$$ and $$t_{\gamma_{j},n} = t_{\gamma_{j},n-1} + \delta t_{\gamma_{j},n}$$. You must provide at least one segment.

• operator (ndarray) – The non-Hermitian matrix $$C_{j}$$ that multiplies the complex control.