[Perf] reuse renormalize_west_edge for all directions#237
[Perf] reuse renormalize_west_edge for all directions#237lkdvos merged 7 commits intoQuantumKitHub:masterfrom
renormalize_west_edge for all directions#237Conversation
lkdvos
left a comment
There was a problem hiding this comment.
Thanks for this!
I don't mind too much about the changes in the diagrams so feel free to leave them in if you like.
Is there any chance you could run a small benchmark comparing the performance of the different directions now, so we can easily conclude that the different directions have more or less the same performance?
Codecov Report✅ All modified and coverable lines are covered by tests.
... and 2 files with indirect coverage changes 🚀 New features to boost your workflow:
|
for SU(2) SU(2) So for SU(2) at D=11 and D=16, the cost of the additional sandwich permute is smaller than the fluctuations in benchmark time. EDIT: same story for U(1) at D=11 |
|
with the expected compile-time benefits, that's definitely sufficient for me. I'll try and investigate why the docs build is failing, I'm not sure if this can be related to this PR |
|
It seems like the documentation build is really just a result of a Documenter.jl update. I'm rerunning the MPSKitModels docs to see if that fixes it, but in the meantime, this should not hold back this PR. |
|
I removed the partition function methods. The 2D Ising partition function example works, so I guess legs ordering is fine. |
This PR rewrites
renormalize_north_edge,renormalize_east_edgeandrenormalize_south_edgeto have them reuserenormalize_west_edge.renormalize_west_edgewas rewritten in #229 to optimize the permutations. This PR fixes #220, part of #205.