Skip to content

Commit

Permalink
Fix Entanglementplot with complex F symbols #71
Browse files Browse the repository at this point in the history
  • Loading branch information
lkdvos committed Oct 10, 2023
1 parent 21ad2c0 commit 02addff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utility/plotting.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ function entanglementplot end
mps = h.args[1]
site <= length(mps) || throw(ArgumentError("Not a valid site for the given mps."))

(_, s, _) = tsvd(mps.CR[site])
(_, s′, _) = tsvd(mps.CR[site])
s = real(s′)
sectors = blocksectors(s)
spectrum = []
for sector in sectors
Expand Down

0 comments on commit 02addff

Please sign in to comment.