Closed yomichi closed 3 years ago
tenes assumed that the norm is real, but a bad simulation condition (e.g., too small of the bond dimension of CTM) causes the norm to be complex.
tenes
After this PR:
<Ψ|Ψ>
real(<Ψ|Ψ>)
1e-6
-1
onesite_obs.dat
twosite_obs.dat
tenes
assumed that the norm is real, but a bad simulation condition (e.g., too small of the bond dimension of CTM) causes the norm to be complex.After this PR:
<Ψ|Ψ>
itself, notreal(<Ψ|Ψ>)
.tenes
checks whether the norm is real or complextenes
warns.1e-6
.-1
inonesite_obs.dat
andtwosite_obs.dat
.