Skip to content

Port exact time propagation driver to Python

Vicentini Filippo requested to merge github/fork/femtobit/py_exact_time into py_hilbert

Created by: femtobit

This PR adds a new PyExactTimePropagation driver that works with the new pure-Python Hilbert spaces and calls scipy.integrate.solve_ivp internally. The interface mimics the AbstractVmcDriver (it's not a subclass, as the abstract driver has some methods that need a machine, which we do not have here).

This is probably not very efficient. I haven't benchmarked it against the C++ version yet, though. In any case, it should be sufficient as a proof-of-concept for now.

You can have a look at Examples/ImaginaryTime/ to see the driver in action.

Merge request reports