Skip to content

Commit 4545a7e

Browse files
committed
Add utility syntax bra=ket
1 parent c34d3d8 commit 4545a7e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/algorithms/contractions/localoperator.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,9 @@ function reduced_densitymatrix(
290290
) where {N}
291291
return reduced_densitymatrix(CartesianIndex.(inds), ket, bra, env)
292292
end
293+
function reduced_densitymatrix(inds, ket::InfinitePEPS, env::CTMRGEnv)
294+
return reduced_densitymatrix(inds, ket, ket, env)
295+
end
293296

294297
# Special case 1x1 density matrix:
295298
# Keep contraction order but try to optimize intermediate permutations:

0 commit comments

Comments
 (0)