Skip to content

LocalMPO as tdvp parameter #8

@chuffa

Description

@chuffa

Hi,

While I am at it. If I use standard TDVP only providing a Hamiltonian and say I want to measure every time step, the current version of the code computes the contractions for the effective Hamiltonian anew each time step. By providing a TDVP function that takes a LocalMPO instead of the Hamiltonian as parameter this unnecessary work could be avoided. While this choice puts more responsibility on the user, because the MPS must not be changed without the LocalMPO knowing, I still think it would be a good thing to have for people who know what they are doing.

I can also make a pull request and test it if this functionality is wanted ... in the end, it is not much more than adding a new function declaration.

Daniel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions