Hi Cathy,
Which version of ALPS are you using? The lastest binary release on the website was released before we finalized the MPS code interface, and some tutorials actually fail.
Can you send us your python script?
Michele
-- ETH Zurich Michele Dolfi Institute for Theoretical Physics HIT G 32.4 Wolfgang-Pauli-Str. 27 8093 Zurich Switzerland
dolfim@phys.ethz.ch www.itp.phys.ethz.ch
+41 44 633 78 56 phone +41 44 633 11 15 fax
On 03 Jun 2015, at 18:31, Cathy Wu cathy.em2013@gmail.com wrote:
Hi everyone, I have been trying to calculate the expectation value of certain variables defined by 'MEASURE_AVERAGE[NAME]' using mps_evolve function and obtained the output .h5 file by running the function 'loadIterationMeasuremen', energy and parameters were returned, but the measurements were not!!!! So i used a h5 file viewer and found out that the results were actually collected under the repository /spectrum/iteration. I also tried the 4 tutorial scripts in mps-06-kink file and same story happened. There are two things I want to consult,
- is it correct that the expectation value are stored under spectrum/iteration? and I am also a little baffled why the folders under iteration are named with random numbers.
- how to read the results with functions from alps. I tried to read the .h5 file with h5py module of python and it does not recognize any dataset as 'spectrum'.
Please help!<33F.gif> best,