-
Notifications
You must be signed in to change notification settings - Fork 16
CTMRG
support for PEPS-PEPO-PEPS networks
#134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I just blindly implemented all the contractions in the |
Looking at the code coverage, it seems that some contractions in Some of the contractions ( And for some contractions I don't yet get why codecov is flagging them as untested, so perhaps these are false flags or I need to dig deeper? |
Removing the row-column-style enlarged corner methods seems good, it seems unlikely we would go back to using these. For the sparse CTMRG contractions, I guess it's fine to leave them as is then and reassess coverage once the things are actually implemented. Otherwise we would essentially be commenting them now and uncommenting them later, which is also a bit silly. |
984a2d3
to
9880e6d
Compare
In terms of timeline, when do you think it would be good to try and add this @lkdvos @pbrehmer? It's not really urgent, but it's also quite orthogonal to most other things being worked on so I wouldn't mind getting this in sooner rather than later. The reason I'm asking is because I was hoping to update some bits to work with fermions, starting with the boundary MPS code, and it would be more efficent to have this in before I start that. |
It does seem that this PR is relatively decoupled from the rest and that it might be finished soon? So I would be fine with still getting this in for v0.5 (in roadmap terms). Actually, it would be nice to have a little PEPO example in the docs anyway. If you think the PR can be realistically finished soon, then go for it, I'd say :-) But that also of course depends on the review capacities since we have quite a few PRs in the pipeline... |
From my end I think this is finished and ready for review, I was more asking about review capacity since there's a lot of things going on. I would have liked to improve coverage, but since there's a lot of contractions that will only be used when sparse CTMRG is implemented that's not really possible right now I think. I also don't feel like leaving out those contractions now and implementing them later, just because it might take me some time to remember how these worked as it's a bit involved in places :) The test can easily be made into an example for the documentation when we get to adding more examples, I quite like it. |
Sounds great! I won't be able to take a look today but I could review tomorrow (if we want to) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some small comments, otherwise I'm also okay with merging this.
Co-authored-by: Lukas Devos <[email protected]>
Co-authored-by: Lukas Devos <[email protected]>
approved as soon as tests actually work :) |
Implements all the contractions required to run CTMRG for PEPO sandwiches with an arbitrary number of layers.
TODO: