Hi
Thanks for the reply! I've seen this page. I was hoping there'd be a more detailed doc on this.
Each function has built-in help.
In particular, I can't get the functions loadObservableList and loadMeasurements to work (i.e. the return empty lists) with custom observables in sparsediag. Does it work only for internal hardcoded measurements, or am I doing something wrong?
No, it loads everything that has been measured.
Also MEASURE_LOCAL is ignored, and MEASURE_AVERAGE gives me an average for each site. I'm confused by this.
MEASURE_LOCAL is not used when the lattice is translation invariant, as it is the same as MEASURE_AVERAGE in that case. MEASURE_AVERAGE, as the name says, averages over all sites.
Look at the built-in documentation of these functions. This can. e,g, be done by: