Conversation
lkdvos
left a comment
There was a problem hiding this comment.
Nice catch! Small extra suggestion but otherwise happy to merge
Co-authored-by: Lukas Devos <ldevos98@gmail.com>
|
OK all fixed :) |
|
My original intention is to check weight difference after each step of SU, so we can stop immediately when it converges, even when the interval to output this information is usually larger. For cases where convergence is not checked (finite-T and real time) it is unnecessary; I just kept weight diff there in case I want to have a look. Even when convergence is checked, I guess we can afford to run a few more steps to reach one full |
|
Maybe then we can change the behavior depending on a flag or kwarg? |
|
How about calculating weight difference after each step only for ground state evolution, and every |
|
Sure, that also works for me. Feel free to push to this branch. |
|
Wait a few hours before I get back to my laptop |
|
Yeah of course, no one is about to die from over comparison of weights 😹 |
|
Turns out this is already achieved 😂 The ground state evolution is dispatched to |
|
The GPU stuff is irrelevant here so I'll just merge, then. Thanks everyone! <3 |
Codecov Report✅ All modified and coverable lines are covered by tests.
... and 3 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Right now this
compare_weightsis being run every iteration, even when completely unused. We can move it down into theshowinfoblock to avoid wasting some time.