Skip to content

Commit 43bb52d

Browse files
authored
[Docs] Fix entanglement entropy example (#1369)
1 parent 915d8b4 commit 43bb52d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/ex_qn_mps.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ using ITensorUnicodePlots
33

44
s = siteinds("S=1/2", 5; conserve_qns=true)
55
ψ = randomMPS(s, n -> isodd(n) ? "" : ""; linkdims=2)
6-
orthogonalize!(ψ, 2)
6+
ψ = orthogonalize(ψ, 2)
77
ψdag = prime(linkinds, dag(ψ))
88
tn =..., ψdag...]
99

0 commit comments

Comments
 (0)