Skip to content

Commit bdc937f

Browse files
committed
keep @tensor tests + add todo
1 parent 658a5b1 commit bdc937f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/tensors/tensors.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -305,10 +305,11 @@ for V in spacelist
305305
@test ss s3
306306
end
307307
@timedtestset "Partial trace: test self-consistency" begin
308+
# TODO: extend to multifusion but keep these @tensor tests
308309
t = rand(ComplexF64, V1 V2 V3 V1 V2 V3)
309-
@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]
310+
@tensor t2[a; b] := t[c d b; c d a]
311+
@tensor t4[a b; c d] := t[e d c; e b a]
312+
@tensor t5[a; b] := t4[a c; b c]
312313
@test t2 t5
313314
end
314315
if BraidingStyle(I) isa Bosonic && hasfusiontensor(I)

0 commit comments

Comments
 (0)