Remove explicit call to InfiniteMPS in VUMPS#396
Conversation
lkdvos
left a comment
There was a problem hiding this comment.
While I left a small comment on the implementation here, I think I would be happier with a more fundamental change where instead of the uniform gauge happening in the InfiniteMPS constructor, we actually use the dedicated function:
Something along the lines of:
gaugefix!(similar(it.state.mps), copy(it.state.AR), ...; kwargs...)|
Thanks for the recommendation! |
|
Your PR no longer requires formatting changes. Thank you for your contribution! |
|
Looks like the |
Head branch was pushed to by a user without write access
|
Just looked at this a bit more - the IDMRG2 failures are most likely because the spaces of the MPS are changing, so my proposed solution in terms of an in-place function doesn't work that straightforwardly, since |
InfiniteMPS in VUMPS and IDMRGInfiniteMPS in VUMPS
|
@lkdvos: I don't see a good solution right now for IDMRG. For the sake of pushing this through to do some tests with |
|
(OK for me, though it seems like you haven't pushed that 😉 ) |
|
I did push the IDMRG change, just messed up the commit message text with another commit. Therefore, it is called "format". |
…to pr-styles-vumps
|
I think I found the issue, let's see if this now works! |
Codecov Report✅ All modified and coverable lines are covered by tests.
... and 1 file with indirect coverage changes 🚀 New features to boost your workflow:
|
I remove the explicit call to
InfiniteMPSinVUMPSand instead usegaugefix!in thegauge_stetp!.