Hi Joseph,
Indeed, the measurements are hardcoded in the present version of the code.
You can determine the syntax of the outputs by looking at one of the
output *.h5 files. There's too many to list here, so I've attached a
screenshot. For the correlation functions which are computed, they are
computed for all pairs of sites i and j and returned as a matrix. Hope
this helps.
-Michael
[image: Inline image 1]
Hi all,
> I'm attempting to look at spin correlation functions, both nearest
> neighbour and next nearest neighbour, near the centre of an XXZ chain that
> is undergoing a quench using the TEBD code. As far as I can tell from the
> documentation, these measurements are hardcoded in to the TEBD code, but
> the documentation gives no clue on how to access them. In effect, what I
> would like to know is what can I write into the following line of Python
> (taken from the second TEBD tutorial):
> Data =
> pyalps.load.loadTimeEvolution(pyalps.getResultFiles(prefix='tutorial_2a'),
> measurements=['Local Magnetization'])
> instead of 'Local Magnetization', in order to obtain the correlation
> functions, and also how I could then define which sites the correlation
> function will be calculated using. I think a question similar to this was
> asked in January, but there was no answer.
> Thank you very much in advance!
> Joseph Prentice