The 1D Tight-Binding Model
Share on:I want to write some numerical quantum tutorials on simulating fermionic systems. I have been looking for something simple enough to get started, a while ago I did reproduce some elementary results on 1D Tight-Binding approximation and decided it would be good to turn it into a tutorial. I also hope it might be helpful to someone dealing with homework π.
In this tutorial we are going to find the dispersion relation of one-dimensional string of atoms subject to a Tight-Binding approximation. We will do it theoretically by taking some theoretical assumptions, then we will numerically diagonalize the Hamiltonian and demonstrate results are matching. We expect the resulting dispersion relation to reproduce a Figure 11.2 from (Simon, 2013) page 102.
Let us consider a one-dimensional model of electrons hopping between atoms, where distance between atoms is labeled as , and represents a lattice site index as for .
Let us assume those orbitals are orthonormal () and also let us acknowledge the presence of an onsite energy on each atomic site of this one-dimensional chain of atoms and a hopping matrix element representing a tendency of neighboring orbitals to overlap.
It can all be summarized to
For the theoretical solution, we will apply the variational principle. If is a plane-waves trial wavefunction for a two-level system, it can be generalized to , an arbitrary number of levels trial wavefunction.
And from the defined earlier Hamiltonian we have
In case periodic boundary conditions were automatically satisfied, but for larger we need to define them
Lets approximate the electron to be βnearly freeβ, thus as an intelligent guess for 1D SchrΓΆdinger equation let us fit it in a form of plane wave solution where is quantized into multiples of , and since we impose periodic boundary conditions we need the following waves to match
We can solve it for , we also take into account that of possible solution differ by the integer multiple.
We can now define
Now we need to find the eigenenergies by solving the time-independent SchrΓΆdinger equation for . Predictable form of allows us to state it as follows.
We have the eigenenergies subject to assumption of orthogonality of electronic levels of nearly-free electrons. Now given that Hamiltonian we can code it in Python and see how it matches. First the dependencies.
import matplotlib.pyplot as plt
import numpy as np
from qutip import basis
Where represents the normalization and eigenenergies are , and it allows us to visualize the dispersion curve for electrons. Let us start by defining input parameters.
# spacing between atoms
a = 2
# number of atoms
N = 23
# total length of the 1D chain
L = N*a
# onsite energy
eps = 0.25
# hopping matrix element
t = 0.5
Now we calculate numerically the dispersion curve according to derived earlier eigenenergy expression.
k = np.linspace(-np.pi/a, np.pi/a, 2*L)
exact = eps - 2.*t*np.cos(k*a)
Let us visualize the dispersion curve using matplotlib
.
xticks = np.linspace(-np.pi/a, np.pi/a, 9)
xlabels = ['' for k in xticks]
xlabels[0] = '$-\\frac{\pi}{a}$'
xlabels[-1] = '$\\frac{\pi}{a}$'
fig, axs = plt.subplots()
axs.set_xlim(-np.pi/a, np.pi/a)
axs.set_title('Tight-Binding Model, $N='+str(N)+', a='+str(a)+'$')
axs.set_ylabel('$E$')
axs.set_xlabel('$ka$')
axs.axvline(x=0., color='k')
axs.plot(k, exact, label='$E(k) = \epsilon_0 - 2 t \cos(ka)$')
axs.set_yticks([eps-2.*t, eps-t, eps, eps+t, eps+2.*t])
axs.set_yticklabels(['$\epsilon_0-2t$', '$\epsilon_0-t$', '$\epsilon_0$', '$\epsilon_0+t$', '$\epsilon_0+2t$'])
axs.set_xticks(xticks)
axs.set_xticklabels(xlabels)
axs.legend()
axs.grid(True)
And as we can see, plotted figure perfectly reproduces Figure 11.2 from (Simon, 2013) page 102.
Once we have the theoretical solution plotted, we can solve this system numerically using QuTip and compare them. This consists of defining the Hamiltonian and numerically diagonalizing it. The advantage of using QuTip for it is that it provides us with convenient way of using operators and tensor products which makes it easy to define the Hamiltonian operator.
def _ket(n, N) : return basis(N, n)
def _bra(n, N) : return basis(N, n).dag()
# construct the Hamiltonian
H = sum([eps*_ket(n, L)*_bra(n, L) for n in range(0, L)])
H -= sum([t*_ket(n, L)*_bra(n + 1, L) for n in range(0, L - 1)])
H -= sum([t*_ket(n, L)*_bra(n - 1, L) for n in range(1, L)])
# solve it numerically
evals, ekets = H.eigenstates()
# satisfy periodic boundary conditions we need E(-k) = E(k)
numerical = np.concatenate((np.flip(evals, 0), evals), axis=0)
let us plot both theoretical and numerical solutions. For theoretical we are going to use same data as in previous plot, while for numerical we will use numerically calculated eigenenergies and we will plot them as red dots.
fig, axs = plt.subplots()
axs.set_xlim(-np.pi/a, np.pi/a)
axs.set_title('Tight-Binding Model, $N='+str(N)+', a='+str(a)+'$')
axs.set_ylabel('$E$')
axs.set_xlabel('$ka$')
axs.axvline(x=0., color='k')
axs.plot(k, numerical, 'ro', label='Eigenvalues of H')
axs.plot(k, exact, label='$E(k) = \epsilon_0 - 2 t \cos(ka)$')
axs.set_yticks([eps-2.*t, eps-t, eps, eps+t, eps+2.*t])
axs.set_yticklabels(['$\epsilon_0-2t$', '$\epsilon_0-t$', '$\epsilon_0$', '$\epsilon_0+t$', '$\epsilon_0+2t$'])
axs.set_xticks(xticks)
axs.set_xticklabels(xlabels)
axs.legend()
axs.grid(True)
The numerical solution matches theoretical solution closely and reproduces the Figure 11.2 from (Simon, 2013) page 102 perfectly.
The dispersion relation we plotted is essentially a βbandβ, each of the red dots represents a discrete energy level. With levels, this energy band can host electrons, for each value and doubled because of two possible spin orientations. Given a contribution of electrons from each of the atoms in the 1D lattice that band would be filled completely.
Filling this band completely would cause our 1D chain to be an insulator, filling it partially would make it a conductor.
For the complete source code please consult the gist repository. As usual, if you find anything wrong in the article, any errors etc, feel free to Tweet me and we can fix them!