TRIQS / triqs_0.x

DEPRECATED -- This is the repository of the older versions of TRIQS
Other
11 stars 9 forks source link

measurement of two-particle Green function? #127

Closed yangphysics closed 11 years ago

yangphysics commented 11 years ago

Dear triqs suport team,

First of all, thank all of you for sharing such a nice tool!

I would like to look into the lattice susceptibility which requires a measurement of the impurity/cluster two-particle Green function (at least two-frequency dependence). It doesn't seem to me this kind of measurement is implemented in triqs. So I would like to add this part myself. Then the question is how and where should I start from, since I am not quite familiar with the whole structure of triqs. I would greatly appreciate it if you guys can give me some hints about this so that I can jump directly into it.

Thank you.

tayral commented 11 years ago

Hi You probably want to start by looking at the source of the ct-hyb impurity solver (located at applications/impurity_solvers/ctqmchyb). Measures are implemented in files with prefix measure*. The basic concept of a Monte Carlo measure is described in the documentation (see http://ipht.cea.fr/triqs/doc/v1.0/developer_manual/mctools/intro.html and links therein; a simple Ising-model example will make it clear how to implement a measure).