# Drive¶

class qctrl.dynamic.types.filter_function.Drive(*, control, operator, noise=False)

A complex control term for the filter function 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.

• noise (bool) – Whether you want the noise operator to correspond to this term. If True, the noise operator is $$\gamma_j(t)C_{j}+\mathrm{H.c.}$$. Defaults to False.