28 4. Extended SystemsThe first is that two states hav<strong>in</strong>g almost the same k <strong>in</strong>dex are very similar, justify<strong>in</strong>g that thestates are only calculated for a representative number of k-po<strong>in</strong>ts with<strong>in</strong> the first BZ. Especially for<strong>in</strong>f<strong>in</strong>itely periodic systems there are an <strong>in</strong>f<strong>in</strong>ity of occupied states, which <strong>in</strong> the Bloch representationtranslates to a cont<strong>in</strong>uum of k-values, but still only a f<strong>in</strong>ite number of occupied bands for eachk po<strong>in</strong>t. Calculat<strong>in</strong>g an observable, e.g. the total energy, for an <strong>in</strong>f<strong>in</strong>ite or f<strong>in</strong>ite periodic systemthus amounts to pick<strong>in</strong>g a representative set of k vectors, solv<strong>in</strong>g the Kohn-Sham equation for the(few) occupied bands, and mak<strong>in</strong>g an appropriate average over the k vectors.Many different schemes for pick<strong>in</strong>g a representative set of k po<strong>in</strong>ts exists, see e.g. ref. [23, 24].An additional feature of the Bloch representation is that symmetry properties of the unit cellgreatly reduce the number of dist<strong>in</strong>ct k vectors. The only k vectors needed are those of theirreducible BZ, which is usually only a fraction of the BZ <strong>in</strong> size; existence of a mirror symmetryfor example reduces the BZ by a factor of two.The Bloch representation also implies a reduction of the basis set necessary for represent<strong>in</strong>gthe wave functions, as will be demonstrated <strong>in</strong> the follow<strong>in</strong>g section.4.2 Basis Sets and Boundary ConditionsS<strong>in</strong>ce the Kohn-Sham equations are second order differential equations, two sets of l<strong>in</strong>early <strong>in</strong>dependentboundary conditions (BC’s) must be specified.The appropriate BC’s depend on the the nature of the considered system.Pla<strong>in</strong> WavesThe advantage of Bloch’s theorem, when us<strong>in</strong>g pla<strong>in</strong> wave basis sets, is that the function u n,k (r)of (4.1b) is cell-periodic, and as such can be represented by the discrete expansionu n,k (r) = ∑ Gc n,k+G · e iG·r ⇒ ψ n,k (r) = ∑ Gc n,k+G · e i(k+G)·r (4.2)where the G’s are reciprocal lattice vectors (i.e. G · R = 2πp, p ∈ Z). In pr<strong>in</strong>ciple the expansion(4.2) requires an <strong>in</strong>f<strong>in</strong>ite sum, but the low energy (small G values) terms will typically be dom<strong>in</strong>ant,so <strong>in</strong> practice the expansion is truncated beyond some large G. Had Bloch’s theorem not beenapplied, a plane wave expansion would have to be cont<strong>in</strong>uous and would therefore require an<strong>in</strong>f<strong>in</strong>ite basis set despite the truncation of the expansion.Us<strong>in</strong>g plane waves as an expansion results <strong>in</strong> the particularly simple secular version of theKohn-Sham equation∑ [ 12 |k + G′ | 2 δ GG ′ + VG−G eff ] ′ cn,k+G ′ = ɛ n · c n,k+G (4.3)G ′where VGeff are the expansion coefficients of V eff(r). The term <strong>in</strong> square brackets represents theHamiltonian matrix H k+G,k+G ′. A nice feature is that the k<strong>in</strong>etic terms are diagonal. For largeG ′ vectors, the k<strong>in</strong>etic energy E k<strong>in</strong> = 1 2 |k + G′ | 2 will dom<strong>in</strong>ate, and the truncation of the planewave expansion, is usually done by choos<strong>in</strong>g a cutoff energy E c = 1 2 |k + G c| 2 , beyond which allterms of (4.3) are truncated. The size of the Hamiltonian matrix is thus (slightly) k dependent.Real Space GridsOne can also choose to represent the wave functions on real space grids. When us<strong>in</strong>g this representation,one works directly with the (non-periodic) Bloch states ψ n,k , utiliz<strong>in</strong>g eq. (4.1a) to obta<strong>in</strong>the appropriate BC’s:e ik·R ψ n,k (r) = ψ n,k (r + R)e ik·Rˆn(r) · ∇ψ n,k (r) = −ˆn(r + R) · ∇ψ n,k (r + R)(4.4a)(4.4b)
4.2 Basis Sets and Boundary Conditions 29where ˆn(r) is the (outward) unit normal of the cell boundary at r.Hav<strong>in</strong>g specified the two BC’s (4.4), the KS equations only have to be solved <strong>in</strong> between, i.e. <strong>in</strong>a s<strong>in</strong>gle unit cell. Had Bloch’s theorem not been applied, one would have to solve the KS equation<strong>in</strong> the entire doma<strong>in</strong> of the crystal.While the k<strong>in</strong>etic energy was diagonal <strong>in</strong> the pla<strong>in</strong> wave representation, the effective KS potentialis diagonal <strong>in</strong> real space (if it is local, i.e. the HF potential is not diagonal <strong>in</strong> real spaceeither).Isolated SystemsChoos<strong>in</strong>g a plane wave basis set for the representation of the wave functions requires the applicationof periodic (Born-Von Karman) boundary conditions, thus <strong>in</strong> practice mak<strong>in</strong>g any system <strong>in</strong>f<strong>in</strong>itelyperiodic. This is the natural boundary conditions for solids. For isolated systems, e.g. molecules,the appropriate choice is Dirichlet boundary conditions. When us<strong>in</strong>g pla<strong>in</strong> waves, Dirichlet boundaryconditions can be obta<strong>in</strong>ed by embedd<strong>in</strong>g the system <strong>in</strong> a sufficiently large super-cell, suchthat the wave functions are essentially zero, and has zero gradient, at the boundaries. In this casethere will be no difference between the wave functions for different k values, and typically onlythe Γ po<strong>in</strong>t (k = (0, 0, 0)) is chosen.Enforc<strong>in</strong>g Dirichlet BC’s <strong>in</strong> real space is not a problem, which is one of the strengths of realspace basis sets. Actually one has the freedom to choose more exotic BC’s like e.g. chiral boundaryconditions, mak<strong>in</strong>g it possible to represent for example nanotubes with a m<strong>in</strong>imal unit cell.To represent an isolated system correctly, the unit cell must be big enough that the potential is(practically) zero at the boundaries. As the decay of potentials is generally quite slow, this impliesthe use of very large cells. In real space, one can do a multipole expansion of the density, anduse these to enforce the correct boundary conditions, thus reduc<strong>in</strong>g the m<strong>in</strong>imal unit cell to onecompletely conta<strong>in</strong><strong>in</strong>g the density (which decays must faster than the potential). This procedurealso allows one to handle charged systems efficiently, which is non-trivial when us<strong>in</strong>g pla<strong>in</strong> waves,as a non-zero charge per unit cell <strong>in</strong> this case implies an <strong>in</strong>f<strong>in</strong>ite charge <strong>in</strong> the system (see section8.3.1).