Unified Approach for Molecular Dynamics and Density-Functional Theory
Total Page:16
File Type:pdf, Size:1020Kb
VOLUME 55, NUMBER 22 PHYSICAL REVIEW LETTERS 25 NOVEMBER 1985 Unified Approach for Molecular Dynamics and Density-Functional Theory R. Car International School for Advanced Studies, Trieste, Italy and M. Parrinello Dipartimento di Fisica Teorica, Universita di Trieste, Trieste, Italy, and International School for Advanced Studies, Trieste, Italy (Received 5 August 1985) We present a unified scheme that, by combining molecular dynamics and density-functional theory, profoundly extends the range of both concepts. Our approach extends molecular dynamics beyond the usual pair-potential approximation, thereby making possible the simulation of both co- valently bonded and metallic systems. In addition it permits the application of density-functional theory to much larger systems than previously feasible. The new technique is demonstrated by the calculation of some static and dynamic properties of crystalline silicon within a self-consistent pseu- dopotential framework. PACS numbers: 71.10.+x, 65.50.+m, 71.45.Gm Electronic structure calculations based on density- very large and/or disordered systems and to the com- functional (DF) theory' and finite-temperature com- putation of interatomic forces for MD simulations. puter simulations based on molecular dynamics (MD) We wish to present here a new method that is able have greatly contributed to our understanding of to overcome the above difficulties and to achieve the condensed-matter systems. MD calculations are able following results: (i) compute ground-state electronic to predict equilibrium and nonequilibrium properties properties of large andlor disordered systems at the of condensed systems. However, in all practical appli- level of state-of-the-art electronic structure calcula- cations MD calculations have used empirical intera- tions; (ii) perform ah initio MD simulations where the tomic potentials. This approach, while appropriate for only assumptions are the validity of classical mechan- systems like the rare gases, may fail for covalent ics to describe ionic motion and the Born- andi or metallic systems. Furthermore, these calcula- Oppenheimer (BO) approximation to separate nuclear tions convey no information about electronic proper- and electronic coordinates. ties. On the other hand, DF calculations have provid- Following Kohn and Sham3 (KS) we write the elec- ed an accurate, albeit approximate, description of the tron density in terms of occupied single-particle ortho- chemical bond in a large variety of systems, ' but are normal orbitals: n(r) = X,. ~tlt;(r) ~2. A point of the computationally very demanding. This has so far pre- BO potential energy surface is given by the minimum cluded the application of DF schemes to the study of with respect to the Q;(r) of the energy functional, I — E[(p,},(Rt), (ct„}]= X,. d3r tlt (r) [ (h2/2m)Vz]tlt;(r) + U[n(r), {Rt), (o,„}]. Here (Ri) indicate the nuclear coordinates and (n„} are all the possible external constraints imposed on the ing with the size of the problem. Since the whole pro- system, like the volume fl, the strain etc. The e„„, cedure has to be repeat ed for new atomic confi- functional U contains the internuclear Coulomb repul- any guration, the theoretical prediction of the equilibrium sion and the effective electronic potential energy, in- geometries, when these are not known from experi- eluding external nuclear, Hartree, and exchange and still remains an correlation contributions. ment, u nsolved problem in most cases. We adopt a quite different and the In the conventional formulation, minimization of approach regard minimization of the KS functional as a complex optim- the energy functional [Eq. (1)] with respect to the or- ization problem which can be solved the bitals p;, subject to the orthonormality constraint, by applying concept of simulated an nealing, recently introduced by leads to the self-consistent KS equations, i.e., Ktrkpatrtck, Gelatt, and Vecchi. 4 In this approach an objective function O({p)) is minimized relative to the , y, (r) = e;y;(r). (2) 2m ri'+,6n(r) parameters (p), by generation of a succession of (p) s with a Boltzman-type probability distribution The solution of Eq. (2) involves repeated matrix diag- ~ exp( —O((P) )/T) via a Monte Carlo procedure. onalizations with a computational effort rapidly grow- For T 0 the state of lowest O((p) ) is reached un- 1985 The American Physical Society VOLUME 55, NUMBER 22 PHYSICAL REVIEW LETTERS 25 NOVEMBER 1985 less the system is trapped into some metastable state. Vecchi, can be applied efficiently to minimize the KS In our case the objective function is the total-energy functional. This approach, which may be called functional and the variational parameters are the coef- "dynamical simulated annealing, " not only is useful as ficients of the expansion of the KS orbitals in some a minimization procedure but, as we demonstrate convenient basis and possibly the ionic positions here, it allows also the study of finite temperature and/or the (n„}'s. We found that a simulated anneal- properties. ing strategy based on MD, rather than on the Metrop- In our method we consider the parameters (p, ) olis Monte Carlo method of Kirkpatrick, Gelatt, and (Rt), (n„) in the energy-functional [Eq. (1)] to be dependent on time and introduce the Lagrangean . L = p, r I + + p, E X, 2 „d I+; Xt & MtRt X„2 „n„— [(+;), (Rt), (n„}], (3) where the Q, are subject to the holonomic constraints laxation, and volume and strain relaxation are J{ d'r y, (r, t)yj(r, t) =5,, (4 achieved simultaneously Th.e amount of classical kinetic energy is a measure of the departure of a sys- In the dot indicates time derivative, are the Eq. (3) Mt tem from the self-consistent minimum of its total en- physical ionic masses, and and are arbitrary p, p, , ergy. parameters appropriate units. of It should be stressed that the dynamical simulated The Lagrangean in Eq. generates a dynamics for (3) annealing technique introduced above is a method of the parameters 's, 's, and 's through the (p;) (Rt) {n„) quite general applicability in the context of functional equations of motion: minimization. As such it can be useful in many areas of physics. For instance, it can be applied to the study pP;(r, t) = —oE/o$,'(r, t) + t), (5a) XkA,„P„(r, of classical field theories or to obtain the ground-state ~ ~ IRI = —PRIE, (Sb) energy in Hartree-Fock or configuration interaction schemes. We also observe that, as far as functional p„n„= —, (8E/Bn„), (5c) minimization is concerned, Newtonian dynamics may be conveniently where A;k are Lagrange multipliers introduced in order replaced by Langevin or other types to satisfy the constraints in Eq. (4). The ion dynamics of dynamics. in Eqs. (5) may have a real physical meaning, whereas In order to illustrate how our method works in prac- the dynamics associated with the (p;)'s and the {n„}'s tice, we present results obtained for the ground-state is fictitious and has to be considered only as a tool to electronic structure of Si as follows. We have con- perform the dynamical simulated annealing. Equation sidered a simple cubic supercell containing eight atoms (3) defines a potential energy E and a classical kinetic subject to periodic boundary conditions. We have energy L given by used a local pseudopotentials and a local-density ap- proximation to the exact exchange and correlation ' ' K= X,. —,p, JI d r IP;I'+ Xt ,'MtRt + X„——,p, „n„. functional. The single-particle orbitals for the valence electrons have been expanded in plane waves with an energy cutoff of 8 Ry, which amounts to including 437 The equilibrium value (K) of the classical kinetic en- plane waves at the I point. For simplicity, only the I ergy can be calculated as the temporal average over the point of the Brillouin zone (BZ) of the supercell has trajectories generated by the equations of motion [Eqs. been considered in the evaluation of the energy func- 'o (5)] and related to the temperature of the system by tional. This leads to a total of 16&& 437 complex elec- suitable normalization. By variation of the velocities, tronic variational parameters, since sixteen is the i.e., the {P;}'s, {Rt}'s, and (n„)'s, the temperature of number of doubly occupied KS levels. A simulated the system can be slowly reduced and for T 0 the annealing run is illustrated in Fig. 1. The lattice equilibrium state of minimal E is reached. At equilib- parameter was allowed to vary while the ions were kept rium Q;=0, Eq. (Sa) is identical within a unitary in their perfect diamond arrangement. The total ener- transformation to the KS equation [Eq. (2)], and the gy, the lattice parameter, and the eigenvalues of the eigenvalues of the A matrix coincide with the occupied matrix of the Lagrangean multipliers are plotted as KS eigenvalues. Only when these conditions are satis- functions of the simulation "time. " The initial condi- fied does the Lagrangean in Eq. (3) describe a real tions for the electronic orbitals were fixed by filling physical system whose representative point in config- the lowest available plane-wave states and giving a urational space lies on the BO surface. For large sys- Maxwellian distribution of velocities to the com- tems our scheme is more efficient than standard diago- ponents of the fields. The value of p, was chosen to be 5 nalization techniques. Furthermore, in the present 1 a.u. The mass p, & associated with variation in the approach, diagonalization, self-consistency, ionic re- volume was taken to be 10 5 a.u. The deerlet algo- 2472 VOLUME 55, NUMBER 22 PHYSICAL REVIEW LETTERS 25 NOVEMBER 1985 5x IO I~ sec - W cn E . b) CO lo.o — -. a). ~ I I 0.025 r25' ~ I- —3.5 0.000 --------.-- - Z Z UJZ ~ 9.5 0 D -0.025- UJ oo :9.0 LLJ 4.I925- ~ X — Ep I- ~ 4.0 ~ 0 4.I935- .