issp-center-dev / TeNeS

Massively parallel tensor network solver
http://www.pasums.issp.u-tokyo.ac.jp/tenes/en
GNU General Public License v3.0
46 stars 11 forks source link

Multisite observables #69

Closed yomichi closed 1 year ago

yomichi commented 1 year ago

Three or more site observables are now available (only what are represented by direct product of one site operators, e.g. SzSzSzSz)

For example, SzSzSzSz on a square plaquette is specified as follows:

[[observable.multisite]]
name = "SzSzSzSz"
group = 0
multisites = """
0 1 0 0 1 1 1
1 1 0 0 1 1 1
2 1 0 0 1 1 1
3 1 0 0 1 1 1
"""
ops = [0, 0, 0, 0]

The result is saved into multisite_obs_#.dat where # is the number of sites on which the operator acts. The format of this is similar to that of twosite_obs.dat.