Skip to content

Commit 2540e48

Browse files
committed
Fix benv_tensor for dual physical space
1 parent f6554f3 commit 2540e48

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/algorithms/contractions/bondenv/benv_tools.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ function benv_tensor(
109109
indexlist[1][ax] = indexlist[2][ax] = ax
110110
end
111111
end
112+
twistdual!(ket2, 1)
112113
return ncon([bra, ket2], indexlist, [true, false])
113114
end
114115

0 commit comments

Comments
 (0)