We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@tensor
1 parent 658a5b1 commit bdc937fCopy full SHA for bdc937f
test/tensors/tensors.jl
@@ -305,10 +305,11 @@ for V in spacelist
305
@test ss ≈ s3
306
end
307
@timedtestset "Partial trace: test self-consistency" begin
308
+ # TODO: extend to multifusion but keep these @tensor tests
309
t = rand(ComplexF64, V1 ⊗ V2 ⊗ V3 ← V1 ⊗ V2 ⊗ V3)
- @planar t2[a; b] := t[c d b; c d a]
310
- @planar t4[a b; c d] := t[e d c; e b a]
311
- @planar t5[a; b] := t4[a c; b c]
+ @tensor t2[a; b] := t[c d b; c d a]
+ @tensor t4[a b; c d] := t[e d c; e b a]
312
+ @tensor t5[a; b] := t4[a c; b c]
313
@test t2 ≈ t5
314
315
if BraidingStyle(I) isa Bosonic && hasfusiontensor(I)
0 commit comments