qit.seq.propagate

qit.seq.propagate(s, seq, out_func=<function <lambda>>, base_dt=0.1)

Propagate a state in time using a control sequence.

Parameters
  • s (state) – state to propagate

  • seq (seq) – control sequence

  • out_func (callable[[state], Any]) – Transformation for the propagated state. Default is identity.

  • base_dt (float) – maximum timestep size

Returns

propagated transformed states, corresponding time instances

Return type

list[Any], list[float]