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_overlap
 
Dear All
I 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