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

`HPhi/samples/tutorial_1.6/MakeDef.py` seems do not read `input.txt` #129

Closed HengyueLi closed 2 years ago

HengyueLi commented 2 years ago

As following tutorial, run.sh seems report error. By a glance a MakeDef.py, I guess Ns is not read. Can you check that? Or there is something wrong with my understanding?

tmisawa commented 2 years ago

Hi @HengyueLi .

Thank you for pointing out a problem in MakeDef.py.

As you pointed out, the number of sites is fixed to 2. I fixed this bug in the branch "debug_tutorial". Please check it.

https://github.com/issp-center-dev/HPhi/commit/8b6521dc230acd4c83bfb44b93ca1822bf68155e

HengyueLi commented 2 years ago

Great, the problem is solved.