Skip to content
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

contractcheck does not work together with braiding symbols #92

Closed
Gertian opened this issue Nov 23, 2023 · 2 comments
Closed

contractcheck does not work together with braiding symbols #92

Gertian opened this issue Nov 23, 2023 · 2 comments

Comments

@Gertian
Copy link
Contributor

Gertian commented Nov 23, 2023

Contractcheck doesn't seem capable of dealing with planar contractions containing the tau symbol. The following provides a MWE :

sp =^2
T = TensorMap(rand, ComplexF64, sp, sp)

a = @planar opt=true T[1;2]*T[2;1]
b = @planar opt=true T[1;4]*T[3;2]*τ[4 1;2 3]

c = @planar contractcheck=true opt=true T[1;2]*T[1;2]    #works as expected
b = @planar contractcheck=true opt=true T[1;4]*T[3;2]*τ[4 1;2 3] #ERROR: UndefVarError: `τ` not defined
@Jutho
Copy link
Owner

Jutho commented Nov 23, 2023

Good catch; will have to look into this.

@Gertian
Copy link
Contributor Author

Gertian commented Nov 24, 2023

Thanks, that would be super helpful !

@lkdvos lkdvos closed this as completed in 518e520 Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants