Repository navigation
Fix the U(1) implementation of the sixvertex model - #88
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests.
🚀 New features to boost your workflow:
|
|
This makes U1 consistent, but all three used I dropped the permute, added a reference so people can look up what this MPO actually corresponds to, and added a test to verify the Baxter-style convention. |
Drop the permute in all three implementations, so the tensors match TNRKit's and `c` is the turning vertex as in Baxter (1982). Define the weights in the docstring, set up DocumenterCitations, and test a frozen ferroelectric point that fails when `b` and `c` are swapped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0dc2343 to
322eb44
Compare
|
The same can probably be done in the MPSKit tests. Also I guess we should update the actions here as well to also only run on ubuntu in PRs |
lkdvos
left a comment
There was a problem hiding this comment.
Except for small comment, good for me.
`convert(Array, ⋅)` need not give the same basis for different symmetries, so compare tr(Rᵏ) of the periodic four-site row transfer matrix instead of the dense tensors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drop the permute in the `sixvertex` test helper so `c` is the turning weight, matching MPSKitModels (QuantumKitHub/MPSKitModels.jl#88). All tests use the default weights `a = b = c = 1`, where nothing changes. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
|
I like this solution a lot, thanks @leburgel! |
See TNRKit#220
As i stole the sixvertex tensor line-for-line from here, the same applies here.