Integrationtcd#2
Conversation
…using both iTEBD and OQuPy
…sor in OQuPy + testing
…of time dependent Hamiltonian to iTEBD-example
… to init from get_mpo.
Modified example to use this capability.
This change was needed to enable the tests to pass, which they now do.
Bug fix so gradient.py works with multi environments.
Carlos's fixed code for using analytical power law SD
Code now works, just tidying
|
Hi @carlosTaberner @eoin-dp-oneill and cc @gefux @emile-cochin should they wish to comment, I thought we should have a place for the various extensions to OQuPy we've started in TCD, to bring them all together, and as a starting point for pulling out those which might be useful to make PR's to OQuPy. To that end I've made a branch in this fork, integrationtcd, which combines (I think) all the TCD codes. I've also made this draft PR so we can discuss it. The features which are now in (please add if I've missed anything):
Things which I think could usefully be tidied up:
Things which don't work and could be fixed :
That approach leads to a possibility for the future, which would be to construct PT's which allow us to choose among different environment's for each timestep - for example, to get a single PT which can encode arbitrary time-dependences of the coupling. The trick would be to add new legs to the tensors in the TEMPO network, to index the different possible influence-functional blocks, which can be combined with the usual ones. In effect this means that if we wanted to, say, choose from n=5 values of the coupling at each timestep, we would use an expanded Liouville space with dimension n times bigger than the original one. This may or may not be manageable but might be cool. |
Draft pull request so we can have local discussions of the integrationtcd branch.