-
Notifications
You must be signed in to change notification settings - Fork 6
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
My planar contractions currently lead to space mismatches. #10
Comments
Update : The following version seems to work just fine I'll find out why tomorrow :) function northwest_corner_planar(E4, C1, E1, peps_above, peps_below=peps_above)
@planar opt=true corner[L1 S s4; L4 E3 e3] :=
E4[L1 W w3; L2] *
C1[L2; L3] *
E1[L3 N3 n2; L4] *
peps_above[P1; N1 E1 S W] *
conj(peps_below[P3;n1 e1 s1 w1]) *
τ[e1 n1; n2 e2] * τ[w2 s2; s1 w1] * τ[P2 s3; s2 P3] * τ[P1 N1; N2 P2] *
τ[e2 E2; E3 e3] * τ[E1 s4; s3 E2] * τ[w3 N2; N3 w2]
end
``` |
Update : it was indeed the convention of \tau indices. |
Hi Gertian, what is the confusion about the tau indices? It's as always: where the tau tensor maps incoming1 to outgoing2 and vice versa (whether it is braided above or below does not matter for fermions/symmetric braiding). |
Ok that makes sense. Could you however reinterpret this as a crossing from a2,b2 to b1 a1 and hence use tau[a2 b2;a1 b1] ? |
In my first commit I managed to make the relevant diagrams planar trough the introduction of braiding symbols.
The resulting code however gives a spacemismatch on the contraction :
The stack leads to this final function :
which spits out :
ERROR: SpaceMismatch("(ℂ^1 ⊗ ℂ^1) ← ((ℂ^1)' ⊗ ℂ^1) ≠ permute(((ℂ^1)' ⊗ ℂ^1) ← (ℂ^1 ⊗ (ℂ^1)')[(2, 4), (1, 3)] * (ℂ^1 ⊗ ℂ^1 ⊗ (ℂ^1)') ← ℂ^1[(2, 3), (1, 4)], ((1, 2), (3, 4))")
Stacktrace:
I suspect that the origin of this bug is a mislabeling of my tau indices but I dont know which is the appropriate labeling.
@Jutho ?
The text was updated successfully, but these errors were encountered: