Skip to content

Commit

Permalink
Merge pull request #2398 from Ericgig/misc.propagator_issue
Browse files Browse the repository at this point in the history
Improve propagator doctring for `t`
  • Loading branch information
Ericgig committed Apr 22, 2024
2 parents 48ded6a + 2bf11c2 commit fb5e3fb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion qutip/solver/propagator.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ def propagator(H, t, c_ops=(), args=None, options=None, **kwargs):
that can be made into :obj:`.QobjEvo` are also accepted.
t : float or array-like
Time or list of times for which to evaluate the propagator.
Time or list of times for which to evaluate the propagator. If a single
time ``t`` is passed, the propagator from ``0`` to ``t`` is computed.
When ``t`` is a list, the propagators from the first time in the list
to each elements in ``t`` is returned. In that case, the first output
will always be the identity matrix.
c_ops : list, optional
List of Qobj or QobjEvo collapse operators.
Expand Down

0 comments on commit fb5e3fb

Please sign in to comment.