Skip to content

Commit cbba91d

Browse files
committed
Update opsum_to_ttn code to reflect changes to fermion system
1 parent deb1f7c commit cbba91d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/treetensornetworks/opsum_to_ttn/opsum_to_ttn.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ function compress_ttn(
387387
# we need to account for the direct product below ordering the physical indices as the last indices
388388
# although they are in between incoming and outgoing indices in the canonical site-ordering
389389
perm = (1, 3, 2)
390-
if ITensors.compute_permfactor(perm, rq, sq, cq) == -1
390+
if ITensors.compute_permfactor(perm, (rq, sq, cq)) == -1
391391
Op .*= -1
392392
end
393393
end

0 commit comments

Comments
 (0)