gftool.onedim_gf_z
- gftool.onedim_gf_z(z, half_bandwidth)
Local Green’s function of the 1D lattice.
\[G(z) = \frac{1}{2 π} ∫_{-π}^{π}\frac{dϕ}{z - D\cos(ϕ)}\]where \(D\) is the half bandwidth. The integral can be evaluated in the complex plane along the unit circle. See [economou2006].
- Parameters:
- zcomplex np.ndarray or complex
Green’s function is evaluated at complex frequency z.
- half_bandwidthfloat
Half-bandwidth of the DOS of the 1D lattice. The half_bandwidth corresponds to the nearest neighbor hopping t=D/2.
- Returns:
- complex np.ndarray or complex
Value of the square lattice Green’s function.
References
[economou2006]Economou, E. N. Green’s Functions in Quantum Physics. Springer, 2006.
Examples
>>> ww = np.linspace(-1.5, 1.5, num=500) >>> gf_ww = gt.lattice.onedim.gf_z(ww, half_bandwidth=1)
>>> import matplotlib.pyplot as plt >>> _ = plt.axhline(0, color='black', linewidth=0.8) >>> _ = plt.plot(ww, gf_ww.real, label=r"$\Re G$") >>> _ = plt.plot(ww, gf_ww.imag, '--', label=r"$\Im G$") >>> _ = plt.xlabel(r"$\omega/D$") >>> _ = plt.ylabel("G*D") >>> _ = plt.xlim(left=ww.min(), right=ww.max()) >>> _ = plt.legend() >>> plt.show()