Dear Michele,
I am using binary code of alps-2.2.b3-win32 on PC and alps-2.2.b3 on cluster. it is succesful to import alps.mpi and alps.hdf5, problem is not able to read the /spectrum/results/OBSERVABLENAME/mean/value
: expectation value of the observable.
Function pyalps.loadIterationMeasurements(resfiles,what="Local Dfraction") gives me back blank array [[[[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []]]].
Here attached my code for Aubry Andre model.
parms=[]
parms.append(
{
'LATTICE_LIBRARY' : 'my_lattice.xml',
'LATTICE' : 'open chain lattice with special edges',
'MODEL_LIBRARY' : 'my_models.xml',
'MODEL' : 'spin-1/2 fermion',
'CONSERVED_QUANTUMNUMBERS' : 'Nup,Ndown',
'U':10,
'X0':0,
'X1':1,
'X2':2,
'X3':3,
'X4':4,
'X5':5,
'X6':6,
'X7':7,
'V':2,
'Nup_total' : 4,
'Ndown_total' : 4,
'SWEEPS' : 4,
'NUMBER_EIGENVALUES' : 1,
'MAXSTATES' : 100,
'MEASURE_LOCAL[DoublonFraction]' : 'double_occupancy',
'init_state':'local_quantumnumbers',
'initial_local_Nup' :'1,0,1,0,1,1,0,0',
'initial_local_Ndown':'0,1,0,1,0,1,0,1',
'initial_local_N' :'1,1,1,1,1,2,0,1',
'te_order':'second',
'DT':10./50,
'TIMESTEPS':50,
'always_measure':'DoublonFraction',
'chkp_each':25,
'measure_each':5,
'COMPLEX':1
}
)
#write the input file and run the simulation
input_file = pyalps.writeInputFiles('parm_local',parms)
res = pyalps.runApplication('mps_evolve',input_file,writexml=True)
#load all measurements for all states
data = pyalps.loadEigenstateMeasurements(pyalps.getResultFiles(prefix='parm_local'))
print data
thanks a lot for your help<328.png>
Good day!