Skip to content

Commit 1308e48

Browse files
committed
fix docs
1 parent 71969b9 commit 1308e48

File tree

1 file changed

+15
-77
lines changed

1 file changed

+15
-77
lines changed

docs/src/theory/basic.md

Lines changed: 15 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,14 @@
22

33
Under the Wick's rotation ``t \to i\tau``, the time evolution operator in the Heisenberg picture ``e^{itH}`` will be replaced by ``e^{-\tau H}``. Such a transformation will increase efficiency of QMC random walking and suppress numerical oscillation (when ``t`` is large, the periodic oscillation of ``e^{itH}`` is quite obvious). This is an important reason why most of the finite temperature QMC algorithms are formulated in imaginary time axis. The outputs of finite temperature QMC simulations are usually single-particle or two-particle correlation functions. For example, the imaginary time Green's function ``G(\tau)`` is defined as follows:
44
```math
5-
\begin{align}
65
G(\tau) = \langle \mathcal{T}_{\tau} d(\tau) d^{\dagger}(0) \rangle,
7-
\end{align}
86
```
97
where ``\tau`` denotes imaginary time, ``\mathcal{T}_{\tau}`` denotes time-ordered operator, and ``d`` and ``d^{\dagger}`` are annihilation and creation operators, respectively. The Matsubara Green's function ``G(i\omega_n)`` can be measured by QMC simulations or constructed from ``G(\tau)`` via direct Fourier transformation:
108
```math
11-
\begin{align}
129
G(i\omega_n) = \int^{\beta}_0 d\tau~e^{-i\omega_n \tau} G(\tau),
13-
\end{align}
1410
```
1511
```math
16-
\begin{align}
1712
G(\tau) = \frac{1}{\beta} \sum_n e^{i\omega_n \tau} G(i\omega_n).
18-
\end{align}
1913
```
2014
Here, ``\beta`` means the inverse temperature (``\beta \equiv 1/T``) and ``\omega_n`` is the Matsubara frequency. Note that ``\omega_n`` is equal to ``(2n + 1) \pi / \beta`` for fermions and ``2n\pi/ \beta`` for bosons (``n`` is an integer).
2115

@@ -25,216 +19,164 @@ Here, ``\beta`` means the inverse temperature (``\beta \equiv 1/T``) and ``\omeg
2519

2620
Supposed that the spectral density of the single-particle Green's function is ``A(\omega)``, then we have:
2721
```math
28-
\begin{align}
2922
G(\tau) = \int^{+\infty}_{-\infty} d\omega
3023
\frac{e^{-\tau\omega}}{1 \pm e^{-\beta\omega}}
3124
A(\omega),
32-
\end{align}
3325
```
3426
with the positive (negative) sign for fermionic (bosonic) operators. Similarly,
3527
```math
36-
\begin{align}
3728
G(i\omega_n) = \int^{+\infty}_{-\infty} d\omega
3829
\frac{1}{i\omega_n - \omega} A(\omega).
39-
\end{align}
4030
```
41-
The two equations denote the spectral representation of Green's function. We notice that the SPX method, as well as the other analytic continuation methods that are classified as ASM, are closely related to the spectral representation. Next we would like to make further discussions about this representation for the fermionic and bosonic correlators.
31+
The two spectral equations denote the spectral representation of Green's function. We notice that the SPX method, as well as the other analytic continuation methods that are classified as ASM, are closely related to the spectral representation. Next we would like to make further discussions about this representation for the fermionic and bosonic correlators.
4232

4333
### Fermionic Correlators
4434

45-
The spectral density ``A(\omega)`` is defined on ``(-\infty,\infty)``. It is positive definite, i.e., ``A(\omega) \ge 0``. Eq.(4) and Eq.(5) can be reformulated as:
35+
The spectral density ``A(\omega)`` is defined on ``(-\infty,\infty)``. It is positive definite, i.e., ``A(\omega) \ge 0``. The spectral equations can be reformulated as:
4636
```math
47-
\begin{align}
4837
G(\tau) = \int^{+\infty}_{-\infty} d\omega~K(\tau,\omega) A(\omega),
49-
\end{align}
5038
```
5139
and
5240
```math
53-
\begin{align}
5441
G(i\omega_n) = \int^{+\infty}_{-\infty} d\omega~K(\omega_n,\omega) A(\omega),
55-
\end{align}
5642
```
5743
respectively. The kernel functions ``K(\tau,\omega)`` and ``K(\omega_n,\omega)`` are defined as follows:
5844
```math
59-
\begin{align}
6045
K(\tau,\omega) = \frac{e^{-\tau\omega}}{1 + e^{-\beta\omega}},
61-
\end{align}
6246
```
6347
and
6448
```math
65-
\begin{align}
6649
K(\omega_n,\omega) = \frac{1}{i\omega_n - \omega}.
67-
\end{align}
6850
```
6951

7052
### Bosonic Correlators
7153

72-
The spectral density ``A(\omega)`` obeys the following constraint: ``\text{sign}(\omega) A(\omega) \ge 0``. Thus, it is more convenient to define a new function ``\tilde{A}(\omega)`` where ``\tilde{A}(\omega) = A(\omega)/\omega``. Clearly, ``\tilde{A}(\omega)`` is always positive definite. As a result Eq.(4) and Eq.(5) can be rewritten as:
54+
The spectral density ``A(\omega)`` obeys the following constraint: ``\text{sign}(\omega) A(\omega) \ge 0``. Thus, it is more convenient to define a new function ``\tilde{A}(\omega)`` where ``\tilde{A}(\omega) = A(\omega)/\omega``. Clearly, ``\tilde{A}(\omega)`` is always positive definite. As a result the two spectral equations can be rewritten as:
7355
```math
74-
\begin{align}
7556
G(\tau) = \int^{+\infty}_{-\infty} d\omega~
7657
K(\tau,\omega)\tilde{A}(\omega),
77-
\end{align}
7858
```
7959
and
8060
```math
81-
\begin{align}
8261
G(i\omega_n) = \int^{+\infty}_{-\infty} d\omega~
8362
K(\omega_n,\omega) \tilde{A}(\omega),
84-
\end{align}
8563
```
8664
respectively. Now the bosonic kernel ``K(\tau,\omega)`` becomes:
8765
```math
88-
\begin{align}
8966
K(\tau,\omega) = \frac{\omega e^{-\tau\omega}}{1 - e^{-\beta\omega}}.
90-
\end{align}
9167
```
9268
Especially, ``K(\tau,0) = 1/\beta``. As for ``K(\omega_n,\omega)``, its expression is:
9369
```math
94-
\begin{align}
9570
K(\omega_n,\omega) = \frac{\omega}{i\omega_n - \omega}.
96-
\end{align}
9771
```
9872
Especially, ``K(0,0) = -1``. Besides the bosonic Green's function, typical correlator of this kind includes the transverse spin susceptibility ``\chi_{+-}(\tau) = \langle S_{+}(\tau) S_{-}(0) \rangle``, where ``S_{+} = S_x + iS_y`` and ``S_{-} = S_x - i S_y``.
9973

10074
### Bosonic Correlators of Hermitian Operators
10175

102-
There is a special case of the previous observable kind with ``d = d^{\dagger}``. Here, ``A(\omega)`` becomes an odd function, and equivalently, ``\tilde{A}(\omega)`` is an even function [i.e., ``\tilde{A}(\omega) = \tilde{A}(-\omega)``]. Therefore the limits of integrations in Eq.(4) and Eq.(5) are reduced from ``(-\infty,\infty)`` to ``(0,\infty)``. So the two equations can be transformed into:
76+
There is a special case of the previous observable kind with ``d = d^{\dagger}``. Here, ``A(\omega)`` becomes an odd function, and equivalently, ``\tilde{A}(\omega)`` is an even function [i.e., ``\tilde{A}(\omega) = \tilde{A}(-\omega)``]. Therefore the limits of integrations in the two spectral equations are reduced from ``(-\infty,\infty)`` to ``(0,\infty)``. So the two equations can be transformed into:
10377
```math
104-
\begin{align}
105-
G(\tau) = \int^{+\infty}_{0} d\omega~
106-
K(\tau,\omega)\tilde{A}(\omega),
107-
\end{align}
78+
G(\tau) = \int^{+\infty}_{0} d\omega~K(\tau,\omega)\tilde{A}(\omega),
10879
```
10980
and
11081
```math
111-
\begin{align}
112-
G(i\omega_n) = \int^{+\infty}_{0} d\omega~
113-
K(\omega_n,\omega) \tilde{A}(\omega),
114-
\end{align}
82+
G(i\omega_n) = \int^{+\infty}_{0} d\omega~K(\omega_n,\omega) \tilde{A}(\omega),
11583
```
11684
respectively. The corresponding ``K(\tau,\omega)`` reads:
11785
```math
118-
\begin{align}
11986
K(\tau,\omega) = \frac{\omega \left[e^{-\tau\omega} + e^{-(\beta - \tau)\omega}\right]}
12087
{1 - e^{-\beta\omega}}.
121-
\end{align}
12288
```
12389
Especially, ``K(\tau,0) = 2 / \beta``. And ``K(\omega_n,\omega)`` becomes:
12490
```math
125-
\begin{align}
12691
K(\omega_n, \omega) = \frac{-2\omega^2}{\omega_n^2 + \omega^2}.
127-
\end{align}
12892
```
12993
Especially, ``K(0,0) = -2``. Perhaps the longitudinal spin susceptibility ``\chi_{zz}(\tau) = \langle S_z(\tau) S_z(0) \rangle`` and the charge susceptibility ``\chi_{ch}(\tau) = \langle N(\tau) N(0) \rangle`` are the most widely used observables of this kind.
13094

13195
As mentioned above, the kernel function is quite strange. The values of ``K(\tau,\omega)`` could change by tens of orders of magnitude. Especially, at large positive and negative frequencies, ``K(\tau,\omega)`` is exponentially small. It implies that at large ``|\omega|`` the features of ``A(\omega)`` depend upon the fine structures of ``G(\tau)``. However, the ``G(\tau)`` data provided by QMC simulations are always fluctuant and noisy. Tiny deviations in ``G(\tau)`` from its expected values can lead to enormous changes in ``A(\omega)``. Thus, analytic continuation is often characterized as an ill-posed problem.
13296

133-
In principle, for incomplete and noise ``G(\tau)`` or ``G(i\omega_n)``, the number of spectral functions ``A(\omega)`` that satisfy Eq.(4) and Eq.(5) is infinite. So the question becomes which ``A(\omega)`` should be chosen. Now there are two different strategies to solve this problem. The first one is to choose the most likely ``A(\omega)``. The second one is to evaluate the average of all the candidate spectral functions.
97+
In principle, for incomplete and noise ``G(\tau)`` or ``G(i\omega_n)``, the number of spectral functions ``A(\omega)`` that satisfy the spectral equations is infinite. So the question becomes which ``A(\omega)`` should be chosen. Now there are two different strategies to solve this problem. The first one is to choose the most likely ``A(\omega)``. The second one is to evaluate the average of all the candidate spectral functions.
13498

13599
---
136100

137101
## Pole Representation
138102

139103
It is well known that the finite temperature many-body Green's functions can be expressed within the Lehmann representation:
140104
```math
141-
\begin{align}
142105
G_{ab}(z) = \frac{1}{Z} \sum_{m,n}
143106
\frac{\langle n | d_a | m \rangle \langle m | d_b^{\dagger} | n \rangle}{z + E_n - E_m}
144107
\left(e^{-\beta E_n} \pm e^{-\beta E_m}\right),
145-
\end{align}
146108
```
147109
where ``a`` and ``b`` are the band indices, ``d`` (``d^{\dagger}``) denote the annihilation (creation) operators, ``|n \rangle`` and ``|m \rangle`` are eigenstates of the Hamiltonian ``\hat{H}``, and ``E_n`` and ``E_m`` are the corresponding eigenvalues, ``Z`` is the partition function (``Z = \sum_n e^{-\beta E_n}``). The positive sign corresponds to fermions, while the negative sign corresponds to bosons. The domain of this function is on the complex plane, but the real axis is excluded (``z \in \{0\} \bigcup \mathbb{C}~\backslash~\mathbb{R}``). If ``z = i\omega_n \in i\mathbb{R}``, ``G_{ab}(i\omega_n)`` is the Matsubara Green's function. If ``z = \omega + i0^{+}``, ``G_{ab}(\omega + i0^{+}) = G_{ab}^{R}(\omega)`` is called the retarded Green's function.
148110

149-
At first we focus on the diagonal cases (``a = b``). For the sake of simplicity, the band indices are ignored in the following discussions. Let ``A_{mn} = \langle n | d | m \rangle \langle m | d^{\dagger} | n \rangle \left(e^{-\beta E_n} + e^{-\beta E_m}\right) / Z`` and ``P_{mn} = E_m - E_n``, then ``G(z) = \sum_{m,n} A_{mn} / (z - P_{mn})``. Clearly, only those nonzero elements of ``A_{mn}`` contribute to the Green's function. If the indices ``m`` and ``n`` are further compressed into ``\gamma`` (i.e, ``\gamma = \{m,n\}``), then Eq.(18) is simplified to:
111+
At first we focus on the diagonal cases (``a = b``). For the sake of simplicity, the band indices are ignored in the following discussions. Let ``A_{mn} = \langle n | d | m \rangle \langle m | d^{\dagger} | n \rangle \left(e^{-\beta E_n} + e^{-\beta E_m}\right) / Z`` and ``P_{mn} = E_m - E_n``, then ``G(z) = \sum_{m,n} A_{mn} / (z - P_{mn})``. Clearly, only those nonzero elements of ``A_{mn}`` contribute to the Green's function. If the indices ``m`` and ``n`` are further compressed into ``\gamma`` (i.e, ``\gamma = \{m,n\}``), then the Lehmann representation is simplified to:
150112
```math
151-
\begin{align}
152113
G(z) = \sum^{N_p}_{\gamma = 1} \frac{A_{\gamma}}{z - P_{\gamma}}.
153-
\end{align}
154114
```
155115
Here, ``A_{\gamma}`` and ``P_{\gamma}`` mean the amplitude and location of the ``\gamma``-th pole, respectively. ``N_p`` means the number of poles, which is equal to the total number of nonzero ``A_{mn}``. Such an analytic expression of Green's function is called the `pole expansion`. It is valid for both fermionic and bosonic correlators.
156116

157-
### Fermionic Correlators
117+
### [Fermionic Correlators](@id xi_fc)
158118

159119
For fermionic systems, the pole representation for Matsubara Green's function can be recast as:
160120
```math
161-
\begin{align}
162121
G(i\omega_n) = \sum^{N_p}_{\gamma = 1} \Xi(\omega_n, P_{\gamma}) A_{\gamma}.
163-
\end{align}
164122
```
165123
Here, ``\Xi`` is the kernel matrix. It is evaluated by:
166124
```math
167-
\begin{align}
168125
\Xi(\omega_n, \omega) = \frac{1}{i\omega_n - \omega}.
169-
\end{align}
170126
```
171127
Note that ``A_{\gamma}`` and ``P_{\gamma}`` should satisfy the following constraints:
172128
```math
173-
\begin{align}
174129
\forall \gamma, 0 \le A_{\gamma} \le 1, \sum_{\gamma} A_{\gamma} = 1, P_{\gamma} \in \mathbb{R}.
175-
\end{align}
176130
```
177131

178132
### Bosonic Correlators
179133

180134
For bosonic systems, the pole representation for Matsubara Green's function can be defined as follows:
181135
```math
182-
\begin{align}
183136
G(i\omega_n) = \sum^{N_p}_{\gamma=1} \Xi(\omega_n, P_{\gamma}) \tilde{A}_{\gamma}.
184-
\end{align}
185137
```
186138
Here, ``\Xi`` is evaluated by:
187139
```math
188-
\begin{align}
189140
\Xi(\omega_n, \omega) = \frac{G_0 \omega}{i\omega_n - \omega},
190-
\end{align}
191141
```
192142
where ``G_{0} = -G(i\omega_n = 0)``, which should be a positive real number. Be careful, ``\Xi(0,\omega) = -G_0``. ``\tilde{A}_{\gamma}`` is the renormalized amplitude of the ``\gamma``-th pole:
193143
```math
194-
\begin{align}
195144
\tilde{A}_{\gamma} = \frac{A_{\gamma}}{G_0 P_{\gamma}}.
196-
\end{align}
197145
```
198146
Note that ``\tilde{A}_{\gamma}`` and ``P_{\gamma}`` should satisfy the following constraints:
199147
```math
200-
\begin{align}
201148
\forall \gamma, 0 \le \tilde{A}_{\gamma} \le 1, \sum_{\gamma} \tilde{A}_{\gamma} = 1, P_{\gamma} \in \mathbb{R}.
202-
\end{align}
203149
```
204150

205151
### Bosonic Correlators of Hermitian Operators
206152

207153
Its pole representation can be defined as follows (``\forall \gamma``, ``A_{\gamma} > 0`` and ``P_{\gamma} > 0``):
208154
```math
209-
\begin{align}
155+
\begin{align*}
210156
G(i\omega_n) &= \sum^{N_p}_{\gamma = 1}
211157
\left(
212158
\frac{A_{\gamma}}{i\omega_n - P_{\gamma}} -
213159
\frac{A_{\gamma}}{i\omega_n + P_{\gamma}}
214160
\right) \\
215161
&= \sum^{N_p}_{\gamma = 1}
216162
\Xi(\omega_n, P_{\gamma}) \tilde{A}_{\gamma}.
217-
\end{align}
163+
\end{align*}
218164
```
219165
Thus, the kernel matrix ``\Xi`` reads:
220166
```math
221-
\begin{align}
222167
\Xi(\omega_n, \omega) = \frac{-G_0 \omega^2}{\omega^2_n + \omega^2}.
223-
\end{align}
224168
```
225169
Especially, ``\Xi(0,0) = -G_0``. The renormalized weight ``\tilde{A}_{\gamma}`` reads:
226170
```math
227-
\begin{align}
228171
\tilde{A}_{\gamma} = \frac{2A_{\gamma}}{G_0 P_{\gamma}}.
229-
\end{align}
230172
```
231-
The constraints for ``\tilde{A}_{\gamma}`` and ``P_{\gamma}`` are also defined in Eq.(26).
173+
The constraints for ``\tilde{A}_{\gamma}`` and ``P_{\gamma}`` are the same with those for general bosonic correlators.
232174

233175
### Matrix-Valued Green's Functions
234176

235177
As for the off-diagonal cases (``a \neq b``), it is lightly to prove that ``\sum_{\gamma} A_{\gamma} = 0``. It implies that there exist poles with negative weights. Hence we can split the poles into two groups according to the signs of their amplitudes. The Matsubara Green's function can be expressed as follows:
236178
```math
237-
\begin{align}
179+
\begin{align*}
238180
G(i\omega_n) &= \sum^{N^{+}_p}_{\gamma = 1}
239181
\frac{A^{+}_{\gamma}}{i\omega_n - P^{+}_{\gamma}} -
240182
\sum^{N^{-}_p}_{\gamma = 1}
@@ -244,20 +186,16 @@ G(i\omega_n) &= \sum^{N^{+}_p}_{\gamma = 1}
244186
\sum^{N^{-}_p}_{\gamma = 1}
245187
\Xi(\omega_n, P^{-}_{\gamma}) A^{-}_{\gamma}
246188
.
247-
\end{align}
189+
\end{align*}
248190
```
249-
Here, ``\Xi(\omega_n, \omega)`` is already defined in Eq.(21). The ``A^{\pm}_{\gamma}`` and ``P^{\pm}_{\gamma}`` are restricted by Eq.(22). In addition,
191+
Here, ``\Xi(\omega_n, \omega)`` is already defined in the [Fermionic Correlators](@ref xi_fc) section. The ``A^{\pm}_{\gamma}`` and ``P^{\pm}_{\gamma}`` are restricted by the rules for fermionic correlators. In addition,
250192
```math
251-
\begin{align}
252193
N_p = N^{+}_p + N^{-}_p,
253-
\end{align}
254194
```
255195
and
256196
```math
257-
\begin{align}
258197
\sum^{N^{+}_p}_{\gamma = 1} A^{+}_{\gamma} -
259198
\sum^{N^{-}_p}_{\gamma = 1} A^{-}_{\gamma} = 0.
260-
\end{align}
261199
```
262200

263201
---

0 commit comments

Comments
 (0)