g(z) is a meromorphic function on the complex frequency plane,
i.e. it is holomorphic
except for a known set of simple poles,
and τ∈[−ℏβ,ℏβ] is a real parameter.
The Matsubara frequencies iωn are defined as follows
for bosons (subscript B) or fermions (subscript F):
ωn≡⎩⎨⎧ℏβ2nπℏβ(2n+1)πbosonsfermions
How do we evaluate Matsubara sums?
Given a counter-clockwise closed contour C,
recall that the residue theorem
turns an integral over C into a sum of the residues
of all the integrand’s simple poles pg that are enclosed by C:
Now, the trick is to manipulate this relation
until a Matsubara sum appears on the right.
Let us introduce a (for now) unspecified weight function h(z),
which crucially does not share any simple poles with g(z),
so {pg}∩{ph}=∅.
This constraint allows us to split the sum:
Here, we could make the rightmost term look like a Matsubara sum
if we choose h such that it has poles at iωn.
We make the following choice,
where nB(z) is the Bose-Einstein distribution for bosons,
and nF(z) is the Fermi-Dirac distribution for fermions:
h(z)≡{nB,F(z)−nB,F(−z)ifτ≥0ifτ≤0
The distinction between the signs of τ is necessary
to ensure that h(z)ezτ→0 for all z when ∣z∣→∞
(take a moment to convince yourself of this).
The sign flip for τ≤0 is also needed,
as negating the argument negates the residues
Res{nB,F(−iωn)}=−Res{nB,F(iωn)}.
Indeed, this choice of h has poles at the respective
Matsubara frequencies iωn of bosons and fermions,
and the residues are given by:
Where the top sign (+) is for bosons,
and the bottom sign (−) is for fermions.
Here, we recognize the last term as the Matsubara sum SF,B.
Isolating for that yields:
Now we must choose C.
Earlier, we took care that h(z)ezτ→0 for ∣z∣→∞,
so a good choice would be a circle of radius R.
If R→∞, then C encloses the whole complex plane,
including all of the integrand’s poles.
However, because the integrand decays for ∣z∣→∞,
we conclude that the contour integral must vanish
(also for other choices of C):
C=Reiθ⟹R→∞lim∮Cg(z)h(z)ezτdz=0
We thus arrive at the following results
for bosonic and fermionic Matsubara sums SB,F:
SB,F=∓pg∑z→pgRes{g(z)}nB,F(pg)epgτ
References
H. Bruus, K. Flensberg,
Many-body quantum theory in condensed matter physics,
2016, Oxford.