issp-center-dev / HPhi

Quantum Lattice Model Simulator Package
https://www.pasums.issp.u-tokyo.ac.jp/hphi/en/
GNU General Public License v3.0
82 stars 25 forks source link

Update of tutorial 1.6 #137

Closed tmisawa closed 1 year ago

tmisawa commented 1 year ago

From ver. 3.5.1, we changed the policy for detecting the Hermitian conjugate to prevent unexpected errors caused by redundancy.

We show an example of the redundancy in detecting the Hermitian conjugate. The Hermitian conjugate of S^{+}_{I} S^{-}_{J} (I != J) can be taken as S^{+}_{J} S^{i}_{I} or S^{-}_{I} S^{+}_{J}. Before the change, both operators are regarded as the Hermitian conjugate of S^{+}_{I} S^{-}_{J} . However, after the change, S^{-}_{I} S^{+}_{J} is NOT regarded as the Hermitian conjugate but only S^{+}_{J} S^{-}_{I} is regarded as the the Hermitian conjugate.

I updated MakeDef.py in tutorial 1.6 so as to generate proper InterAll.def, which satisfies the new policy.