Thanks for your help. I am trouble with another problem. I use the 'mps_evolve' with the initial state set to be 'local_quantumnumbers', how can I set the 'MEASURE_OVERLAP[Overlap]'?
Best wishes!
Appendx:
-----Original Messages-----
From:"Rongyang Sun" <sun-rongyang@outlook.com>
Sent Time:2018-03-07 12:41:14 (Wednesday)
To: "comp-phys-alps-users@lists.phys.ethz.ch" <comp-phys-alps-users@lists.phys.ethz.ch>
Cc:
Subject: Re: [ALPS-users] mps_overlap
Dear Chao,
It is easy to use this application on the command line:
mps_overlap --mps1 MPS1.task.out.chkp --mps2 MPS2.task.out.chkp
You can also type `mps_overlap -h` to see help text. If you want to use python, `subprocesses.call()` function from `subprocesses` module or `os.system()' from `os` module will help you.
Best,
Rongyang
From: Comp-phys-alps-users <comp-phys-alps-users-bounces@lists.phys.ethz.ch> on behalf of Ñ <yangchao@iphy.ac.cn>
Sent: Wednesday, March 7, 2018 11:50:15 AM
To: comp-phys-alps-users@lists.phys.ethz.ch
Subject: [ALPS-users] mps_overlapDear AllI would like to use application 'mps_overlap' to calculate the overlap of two MPS wavefunctions with the checkpoint files MPS1.task.out.chkp and MPS2.task.out.chkp. However, I do not see any tutorial or document about how to use 'mps_overlap' with python. So how can I get the overlap of these wavefunctions?Best wishes!Yang Chao