Skip to content

Update progress bar between `tstops` in TDVP driver

Vicentini Filippo requested to merge tevo-progress into master

Created by: femtobit

When calling TDVP.run with specific tstops, the progress bar used to only update at those stopping times. This PR makes it update after every accepted time step (observables and callbacks are still only evaluated at tstops).

Also, the number of (successful) time steps n is now displayed too, in additional to the current time:

  2%| | 0.02/1.00 [00:11<09:29, 581s/it, n=11, Generator=...]

Resolves #1070 (closed).

Merge request reports