Dear Zhifan Chen,

first of all let me ask you to fill your signature in your profile as it will be automatically

reported in each of your post.

The total energy expression from a one-particle Green function formalism can be obtained

thanks to the Galitski-Migdal expression. You can look for instance to some review or lectures

that can be downloaded in the yambo website in the lecture

section.

See for instance the Varsano and Gatti lecture!!.

Unfortunately the Galitski-Migdal expression for the total energy it is not implemented in Yambo, and

to my knowledge, I did not see these calculations in GW approximation for real materials, but just for

jellium,jellium slabs or other models, see for instances some articles by R. Godby

(but here may be I'm wrong and someone can correct me). In Yambo there is the possibility to calculate

the total energy in the RPA approximation, using the adiabatic connection, as done in the paper

First-Principles Description of Correlation Effects in Layered Materialsby A. Marini, P. Garcia-Gonzalez, and A. Rubio Phys. Rev. Lett., 96, 136404 (2006), but this part it is not in the

GPL version, and sincerely I don't' know if it will be released soon in the GPL version.

Best,

Daniele