issp-center-dev / TeNeS

Massively parallel tensor network solver
http://www.pasums.issp.u-tokyo.ac.jp/tenes/en
GNU General Public License v3.0
46 stars 11 forks source link

check norm is real or not #40

Closed yomichi closed 3 years ago

yomichi commented 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.

After this PR: