Shift

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

A real control term for the filter function calculation of the form \(\alpha_{k}(t) A_{k}\), where \(A_{k}\) is a Hermitian operator and \(\alpha_{k}(t)\) is a real-valued piecewise-constant function between 0 and \(\tau\).

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

  • operator (ndarray) – The Hermitian matrix \(A_{k}\) that multiplies the real control.

  • noise (bool, optional) – Whether you want the noise operator to correspond to this term. If True, the noise operator is \(\alpha_k(t) A_k\). Defaults to False.