• No results found

Density-functional theory of linear and nonlinear time-dependent molecular properties

N/A
N/A
Protected

Academic year: 2022

Share "Density-functional theory of linear and nonlinear time-dependent molecular properties"

Copied!
16
0
0

Laster.... (Se fulltekst nå)

Fulltekst

(1)

Density-functional theory of linear and nonlinear time-dependent molecular properties

Paweł Sałek

Laboratory of Theoretical Chemistry, The Royal Institute of Technology, SE-10044 Stockholm, Sweden and Department of Chemistry, University of Oslo, P.O. Box 1033 Blindern, N-0315 Oslo, Norway

Olav Vahtras

Laboratory of Theoretical Chemistry, The Royal Institute of Technology, SE-10044 Stockholm, Sweden Trygve Helgaker

Department of Chemistry, University of Oslo, P.O. Box 1033 Blindern, N-0315 Oslo, Norway Hans Ågren

Laboratory of Theoretical Chemistry, The Royal Institute of Technology, SE-10044 Stockholm, Sweden 共Received 10 June 2002; accepted 4 September 2002兲

We present density-functional theory for linear and nonlinear response functions using an explicit exponential parametrization of the density operator. The response functions are derived using two alternative variation principles, namely, the Ehrenfest principle and the quasienergy principle, giving different but numerically equivalent formulas. We present, for the first time, calculations of dynamical hyperpolarizabilities for hybrid functionals including exchange-correlation functionals at the general gradient-approximation level and fractional exact Hartree–Fock exchange. Sample calculations are presented of the first hyperpolarizability of the para-nitroaniline molecule and of a porphyrin derived push–pull molecule, showing good agreement with available experimental data. © 2002 American Institute of Physics. 关DOI: 10.1063/1.1516805兴

I. INTRODUCTION

The interest in density-functional theory 共DFT兲 has in- creased steadily since Hohenberg and Kohn1 provided its theoretical justification and Kohn and Sham2its practical for- mulation for calculations. The independent-particle Kohn–

Sham model, which describes correlation in terms of a unique, albeit unknown, functional of the electron density, has had an enormous impact on computational chemistry, and the available approximate exchange-correlation func- tionals have provided a level of accuracy that is adequate in many situations.

The generalization of the Kohn–Sham equations by Runge and Gross3 represents an important milestone in the development of time-dependent DFT 共TDDFT兲. Thus, al- though most applications of DFT have focused on structure and static properties, the interest in time-dependent response properties has grown considerably in recent years.4 – 43At the same time one has witnessed a great success of ab initio wave function quantum chemistry in computing molecular properties for nonvariational and variational wave functions using time-independent analytic gradient theory and time- dependent response theory. Recently, time-dependent proper- ties have been obtained also from the quasienergy ansatz, where properties of any type 共linear, nonlinear, static, dy- namic, magnetic, electric, internal, external兲 are obtained from the solution of a common set of equations, without further parametrizations or manipulations than those applied to the reference wave function. Considering the broad range of systems that nowadays can be treated at an acceptable level of accuracy by DFT, the implementation of such a

‘‘toolbox approach’’ for DFT calculations of molecular prop- erties would have broad ramifications. An implementation should then involve all the common forms of the exchange- correlation functional, also those that include some propor- tion of the Hartree–Fock exchange. In this paper, such a program is carried out by invoking two time-dependent variation principles: one based on the Ehrenfest theorem44 and the other based on the quasienergy ansatz,45,46where a parametrized time-evolution operator acts on a reference state, here the Kohn–Sham determinant. When the electron density is calculated as an expectation value of the density operator, all the changes in the density to a given order in the perturbation are obtained as the terms of a Baker–

Campbell–Hausdorff expansion.

To the best of our knowledge, the implementation pre- sented here is the first complete implementation of DFT frequency-dependent nonlinear properties beyond the local- density approximation 共LDA兲. Thus, in the previous imple- mentation of frequency-dependent hyperpolarizabilities by Gisbergen et al.,18the calculations are carried out at the adia- batic LDA共ALDA兲level, in which the response of the den- sity is always obtained from LDA functional derivatives, even when the density itself has been calculated in the generalized-gradient approximation 共GGA兲. By contrast, in our implementation, the response of the density is always obtained using the stated DFT functional. We do invoke the adiabatic approximation, however, meaning that the time- dependent functional is assumed to depend on the time- dependent density in the same manner that the time- independent functional depends on the time-independent density.

9630

0021-9606/2002/117(21)/9630/16/$19.00 © 2002 American Institute of Physics

(2)

This paper is organized as follows: In Sec. II we present DFT linear and quadratic response functions—in the Ehren- fest form in Sec. II E, and in the quasienergy form in Sec.

II F. Our computer implementation is outlined in Sec. III. In Sec. IV, we present two applications to illustrate the useful- ness of the theory. The first application concerns the static and dynamic hyperpolarizabilities of para-nitroaniline with a detailed analysis of the basis-set and functional dependence of the results; the second application addresses the second harmonic generation coefficient for a porphyrin derived push–pull molecule, which has the potential to be an effec- tive material for this particular property. The paper is sum- marized in Sec. V. Finally, in the Appendices, we provide the explicit formulas for the functional derivatives, together with a variable transformation that has been useful in deriving them.

II. THEORY

A. Linear and quadratic response functions

Response theory is perturbation theory with emphasis on properties rather than on states and energies, aiming to de- scribe how the properties respond to internal or external per- turbations. Consider the expectation value of a time- independent operator Aˆ , which for the unperturbed system is given by 具0兩0典. In the presence of a time-dependent per- turbation Vˆ (t), the expectation value of Aˆ becomes time- dependent and may furthermore be expanded in powers of the perturbation,

tt典⫽具tt(0)⫹具tt(1)⫹具tt(2)⫹¯. 共1兲 Each term in this expansion has a Fourier representation of the form

tt(1)

具具Aˆ ;Vˆ1典典1exp共⫺i1td1, 2

tt(2)⫽1

2

冕 冕

具具Aˆ ;Vˆ1,Vˆ2典典1,2

⫻exp关⫺i共␻1⫹␻2t兴d␻1d␻2, 共3兲 and so on, where Vˆ is the Fourier transform of Vˆ (t),

t兲⫽

⫺⬁

exp共⫺i␻t兲d␻. 共4兲 In practice, we work with monochromatic perturbations; the integrals in Eqs.共2兲–共4兲are then replaced by discrete sums.

In this paper, we shall derive and implement expressions for the linear and quadratic response functions 具具Aˆ ;Vˆ1典典1

and 具具Aˆ ;Vˆ1,Vˆ2典典1,2 within the framework of Kohn–

Sham DFT. In this particular formulation of DFT, the elec- tron density ␳(r,t) is parametrized in terms of a time- dependent reference determinant 兩t典. There are thus no problems associated with the calculation of expectation val- ues of one-electron operators共even differential ones兲, as as- sumed in Eq.共1兲. We note that, in this paper, we shall only consider properties of spin-restricted closed-shell states asso-

ciated with real singlet operators; the generalization to imaginary and triplet operators is fairly straightforward and will be treated in a subsequent paper.

B. Kohn–Sham theory

In Kohn–Sham theory, we assume that the time- dependent density ␳(r,t) is represented in terms of a time- dependent reference Slater determinant兩t典. The Kohn–Sham energy is then written as a functional of this density in the following manner:

E关␳,t兴⫽Ts关␳兴⫹Vext关␳,t兴⫹J关␳兴⫹Exc关␳兴⫹VNN. 共5兲 The first term is the kinetic energy evaluated as an expecta- tion value

Ts关␳兴⫽⫺1

2

i t兩ⵜi2t, 6

whereas the second and third terms represent, respectively, the classical Coulomb interactions of the electron density with the external potential and with itself,

Vext关␳,t兴⫽VN关␳兴⫹V关␳,t

r,t

I rZRI I⫹vr,t

d,

J关␳兴⫽1

2

冕 冕

r1,tr12r2,t

d␶1d␶2. 共7兲 In Eq. 共7兲, we have split the external potential into a static nuclear potential and an explicitly time-dependent perturba- tion. The exchange-correlation functional Exc关␳兴 in Eq.共5兲 contains all two-electron interactions except the Hartree term J关␳兴, that is, it includes the effects of exchange and correla- tion. In addition, it corrects for the error made in the evalu- ation of the kinetic energy according to Eq.共6兲. The last term in Eq. 共5兲represents the classical nuclear–nuclear repulsion energy.

In the widely used adiabatic approximation, which we have adopted here, the time-dependence of the exchange- correlation energy is contained in the density, that is, the exchange-correlation functional is approximated using the same functional form in the time-dependent and time- independent cases. It is not obvious that this approximation holds for other than slowly varying external fields, but it has been verified that the adiabatic approximation is adequate for calculating excitation energies.12

In Kohn–Sham theory, the time evolution of the spin orbitals is governed by the differential equation

fr1,t兲⫹vr1,t兲兴␾jr1,t兲⫽id␾jr1,t

dt , 共8兲

where we have introduced the Kohn–Sham operator, fr1,t兲⫽hr1兲⫹jr1,t兲⫹vxcr1,t兲, 共9兲 which we choose to define without the explicit perturbation term 共it still depends implicitly on the perturbation through the density兲. The first term in Eq. 共9兲 contains the one- electron combined kinetic and nuclear-attraction operators,

(3)

hr1兲⫽⫺1 2ⵜ1

2

I r1ZIRI兩, 共10兲

whereas the last two terms are the Coulomb and exchange- correlation potentials, respectively,

jr1,t兲⫽

r1r2r,t2兩d␶2, 共11兲 vxcr1,t兲⫽ ␦Exc

␦␳共r1

(r

1)⫽␳(r1,t)

. 共12兲

Note that these terms are themselves functionals of the den- sity.

C. Time evolution of the reference determinant and the density

The Kohn–Sham reference determinant satisfies the equation

HV兲兩tidtdt; H

i fri,t, 13

where the total Kohn–Sham Hamiltonian has been parti- tioned into a term H implicitly dependent on the perturbation and the perturbation itself V 关cf. Eq. 共8兲兴. In our second- quantization formulation of time-dependent Kohn–Sham theory, we adopt an exponential parametrization of the time- evolution operator, representing the time-dependent refer- ence Kohn–Sham determinant in the following manner:

t典⫽exp关⫺␬ˆt兲兴兩0典. 共14兲

Here兩0典 is the unperturbed Kohn–Sham determinant,

兩0典

k, akvac 15

and␬ˆ (t) the anti-Hermitian operator,

ˆt兲⫽

rs rstErs

rs rst

aras;

rs*t兲⫽⫺␬srt兲, 共16兲 where ar and as are the creation and annihilation opera- tors, respectively, of orbitals r and s of spin␴. This particu- lar representation of the Kohn–Sham determinant has previ- ously been used in connection with relativistic four- component theory.47

The fundamental variational parameters of our theory are the elements of the rotation matrix␬rs(t). As in Hartree–

Fock theory, the nonredundant rotations are those between occupied and unoccupied orbitals. Equation共14兲implies that the individual Kohn–Sham spin–orbitals obey the transfor- mation law,

akt兲⫽exp关⫺␬ˆt兲兴akexp关␬ˆt兲兴 共17兲 and that orthonormality is preserved.

To study the time-dependence of the electron density, we introduce the second-quantized density operator,

ˆr兲⫽

pq ␾*pr兲␾qrEpq. 共18兲 Recognizing that the density is an expectation value of this operator and given the parametrization in Eq.共14兲, we obtain the following expression for the time-dependent density:

␳共r,t兲⫽具t兩␳ˆr兲兩t典⫽具0兩exp关␬ˆt兲兴␳ˆr兲exp关⫺␬ˆt兲兴兩0典. 共19兲 A Baker–Campbell–Hausdorff expansion of the exponential time-evolution operator gives for the density 共and similarly for other operators兲,

␳共r,t兲⫽␳共r,0兲⫹具0兩关ˆt兲,␳ˆr兲兴兩0典

120兩关␬ˆt兲,关␬ˆt兲,␳ˆr兴兴兩0典O共3兲, 共20兲 which will be used frequently in the following sections.

D. Perturbation expansion of the density and Kohn–Sham operators

In the absence of the perturbation, the time-evolution operator produces only a dynamical phase factor, which can- cels out for expectation values. In the presence of the pertur- bation, it is assumed that an expansion in powers of the perturbation exists such that

ˆt兲⫽␬ˆ(1)t兲⫹␬ˆ(2)t兲⫹¯ 共21兲 with Fourier representations

ˆ(1)t兲⫽

ˆ1exp共⫺i1td1, 22

ˆ(2)t兲⫽1

2

冕 冕

ˆ1,2exp关⫺i12td1d2.

共23兲 For monochromatic perturbations, the integrations are re- placed by summations. Using the expansions Eqs. 共20兲 and 共21兲, we introduce the perturbed density matrices up to sec- ond order as

Dpq(0)⫽具0Epq0, 24 Dpq(1)⫽具0兩关ˆ(1),Epq兴兩0典, 25 Dpq(2)⫽具0兩关ˆ(2),Epq兴⫹12关␬ˆ(1),关␬ˆ(1),Epq兴兴兩0典, 26 which allow us to write the nth order correction to the den- sity as

(n)r,t兲⫽

pq *prqrD(n)pqt. 27

We now expand the second-quantized Kohn–Sham Hamiltonian in orders of the perturbation,

n

(n), 共28兲

(n)

pq f(n)pqEpq, 29

where

(4)

fpq(n)⫽␦n0hpqjpq(n)⫹vxc, pq

(n) . 共30兲

The first contribution to f(0)pq is the one-electron integral over the kinetic-energy and nuclear-attraction operators of Eq.

共10兲,

hpq

p

122

I rZIRI

q

. 31

The electron-repulsion nth order Coulomb interaction inte- grals

jpq(n)

rs

gpqrsDrs(n) 共32兲

constitute the second contribution to the Kohn–Sham matrix element fpq(n) and are obtained from the two-electron inte- grals,

gpqrs

p1r2

r112

q2s2

33

and from the time-dependent density-matrix elements in Eqs.

共24兲–共26兲. The last contribution to Eq. 共30兲 is the integral over the exchange-correlation potentialvxc关␳兴,

vxc, pq(n)t兲⫽具␾pvxc(n)r,t兲兩␾q. 34 Since the potential depends on the density ␳, this contribu- tion to the Kohn–Sham matrix element depends on the per- turbation,

vxc(1)r,t兲⫽

␦␳vxcrr(1)r,t兲d␶⬘, 共35兲

vxc(2)r,t兲⫽

␦␳vxcrr(2)r,t兲d␶⬘

⫹1

2

冕 冕

␦␳共r2vxc␦␳rr⬙兲␳(1)r,t兲␳(1)

⫻共r,t兲d␶⬘d␶⬙. 共36兲

E. The Ehrenfest method

Let us consider the time-development of the expectation value of an operator of the form,

t兲⫽exp关⫺␬ˆt兲兴Qˆ exp关␬ˆt兲兴. 共37兲 Differentiating the expectation value 具tQˆ (t)兩t0Qˆ0典 关see Eq. 共14兲兴 with respect to time and invoking the Schro¨- dinger equation共atomic units兲

Hˆt兲⫹Vˆt兲⫺idtd

t0 38

we obtain the Ehrenfest theorem

tiQˆ˙t兲⫹关t,Hˆt兲⫹t兲兴兩t典⫽0, 共39兲 which forms the basis for the time-dependent variation principle.44Collecting the exponential operators in Eqs.共14兲 and共37兲and using the identity

exp关␬ˆt兲兴

dtd expˆt兲兴Qˆ expˆt兲兴

exp关⫺ˆt兲兴

expˆt兲兴

dtd exp关⫺ˆt兲兴

,Qˆ

, 40

we find that the Ehrenfest theorem may be written in the more convenient form

0

Qˆ ,expˆt兲兴

Hˆt兲⫹Vˆt兲⫺idtd

exp关⫺ˆt兲兴

0

0.

共41兲 This equation holds for any time-independent one-electron operator Qˆ . In particular, it holds for the spin-averaged ex- citation operators Epq in the expansion of ␬ˆ (t) in Eq. 共16兲. Collecting these operators in the column vector qˆ, we arrive at a set of nonlinear equations from which the time- dependence of␬ˆ (t) may be determined. In the following, we shall use these equations to determine the first- and second- order terms in Eq.共21兲and thereby the linear and quadratic response functions.

1. Linear response

The linear response equations are obtained by expanding Eq.共41兲to first order, yielding a differential equation in time for ␬ˆ(1),

0兩关qˆ,关␬ˆ(1),Hˆ(0)兴⫹(1)兴兩0典⫹i具0兩关qˆ,ˆ˙(1)兴兩0典

⫽⫺具0兩关qˆ,Vˆt兲兴兩0典. 共42兲 In the frequency domain, this equation becomes an algebraic equation for␬ˆ,

0兩关qˆ,关␬ˆ,Hˆ(0)兴⫹兴兩0典⫹␻具0兩关qˆ,ˆ兴兩0典

⫽⫺具0兩关qˆ,Vˆ兴兩0典. 43 We have here introduced the Fourier transform of the per- turbed Kohn–Sham matrix,

pq fpqEpq, 44

where

fpqjpqvxc, pq

rs

gpqrsDrs

p

␦␳vrxcrd

q

, 45

Drs⫽具0兩关␬ˆ,Ers兴兩0典, 共46兲

r兲⫽具0兩关␬ˆ,ˆr兲兴兩0典. 共47兲 To bring out the matrix structure of Eq.共43兲, we may express the first-order parameters in matrix form,

ˆ⫽¯Epq¯

pq

48

(5)

such that we formally solve the linear equations

E⫺␻S兲␬V. 共49兲

In Eq. 共49兲, the matrix E has the structure of an electronic Hessian,

E⫽具0兩关qˆ,(0),qˆ兴兩0典pqrs

0兩关qˆ,Epq兴兩0

r1r⬘兩

⫹␦vxcr

␦␳共r⬘兲

pqrs

0兩关Ers,qˆ兴兩0典, 50 where, in the last term, we have introduced two-electron in- tegrals defined by analogy with Eq. 共33兲. In Eq. 共49兲, we have introduced the generalized overlap matrix,

S⫽具0兩关qˆ,qˆ兴兩0典, 共51兲

and the perturbation vector on the right-hand side of Eq.

共43兲,

V⫽具0兩关qˆ,V兴兩0. 52 From the solution ␬ˆ to Eq. 共49兲, the linear response function is easily obtained for any one-electron operator Aˆ ,

具具Aˆ ;Vˆ典典⫽具0兩关␬ˆ,Aˆ兴兩0典⫽⫺AE⫺␻S1V, 共53兲 where

A⫽具0兩关qˆ,Aˆ兴兩0典. 54

It should be noted that the working equations of linear response theory resemble Eq.共43兲more closely than Eq.共49兲 since E and S are never constructed explicitly and since, in the iterative algorithms we use, ␬ corresponds to trial vec- tors. Furthermore, the exchange-correlation potentials that we consider are local and never give rise to two-electron integrals—even the GGA functionals are local in this sense.

2. Quadratic response

The quadratic response to a perturbation requires the so- lution of ␬ˆ(2) from the second-order expansion of Eq.共41兲, 具0兩关qˆ,关␬ˆ(2),Hˆ(0)兴⫹(2)兴兩0典i0兩关qˆ,ˆ˙(2)

12关␬ˆ(1),ˆ˙(1)兴兴兩0典

⫽⫺具0兩关qˆ,关␬ˆ(1),Vˆt兲⫹(1)兴⫹12关␬ˆ(1),关␬ˆ(1),Hˆ(0)兴兴兴兩0典. 共55兲 With the Fourier transform Eq. 共23兲, this equation can be rearranged to give

0兩关qˆ,关␬ˆ1,2,Hˆ(0)兴⫹1,2兴兩0典

⫹共␻1⫹␻2兲具0兩关qˆ,ˆ1,2兴兩0典

⫽⫺

120兩关qˆ,2关␬ˆ1,Vˆ22兴⫹关␬ˆ1,关␬ˆ2,Hˆ(0)兴兴

⫹␻2关␬ˆ1,ˆ2兴兴兩0典. 共56兲 Here the operator Pˆ

12 symmetrizes with respect to the fre- quencies ␻1 and␻2,

12A共␻1,␻2兲⫽12A共␻1,␻2兲⫹A共␻2,␻1兲兴 共57兲

and the elements of the second-order perturbed Kohn–Sham matrix,

1,2

pq f1,2Epq 58

are given by

fpq1,2jpq1,2vxc, pq1,2 共59兲 with Coulomb and exchange-correlation parts,

jpq1,2

rs gpqrsDrs1,2, 60

vxc, pq1,2

p

␦␳vrxc1,2rd

q

12

p

冕 冕

␦␳r2v␦␳xcr1r2

⫻共r⬙兲d␶⬘d␶⬙

q

, 61

The solution of Eq. 共56兲 requires the separation of the second-order density matrix elements into first- and second- order parts,

1,2r兲⫽

pq *prqrDpq1,2, 62

Drs1,2

rs

1,2D

rs

1,2, 共63兲

rs

1,2120兩关␬ˆ1,关␬ˆ2,Ers兴兴兩0典, 共64兲 Drs1,20兩关␬ˆ1,2,Ers兴兩0典, 共65兲 such that the second-order Hamiltonian may be written as the sum of two operators that depend on the first- and second- order parameters, respectively,

1,2HC1,2Hˆ1,2. 共66兲 As in the linear case, the equation for the second-order pa- rameters Eq.共56兲may then written in matrix form,

E⫺共␻1⫹␻2S兴␬1,2V1,2, 共67兲 where all first-order parameters have been collected on the right-hand side,

V1,22 Pˆ

12兵具0兩关qˆ,关␬ˆ1,关␬ˆ2,Hˆ(0)兴兴兴兩0典

⫹具0兩关qˆ,关␬ˆ1,2ˆ2兴兴兩0典⫹2具0兩关qˆ,关␬1,Hˆ2

V2兴兴兩0典0兩关qˆ,HC1,2兴兩0典其. 68 The quadratic response function may now be calculated as

具具Aˆ ;Vˆ,Vˆ典典1,2⫽具0兩关␬ˆ1,2,Aˆ兴兩0典

120兩关␬ˆ1,关␬ˆ2,Aˆ兴兴兩0典, 共69兲 where the first-order responses ␬ˆ1 andˆ2 are obtained from Eq. 共43兲 and the second-order response ␬ˆ1,2 from Eq.共56兲. We note that the first term in Eq.共69兲resembles the evaluation of the linear response function,

(6)

0兩关␬1,2Aˆ兴兩0典⫽⫺A1,2

⫽⫺AE⫺共␻1⫹␻2S1V1,2. 共70兲 An alternative approach is to solve the adjoint linear re- sponse equation for A at frequency1⫹␻2, as done in our implementation.

In short, for a given property Aˆ and two periodic pertur- bations Bˆ and Cˆ with associated frequenciesb and␻c re- spectively, the evaluation of the quadratic response equation 具具Aˆ ;Bˆ;Cˆ典典b,c is carried out by first solving the three linear response equations,

A†E⫺共␻b⫹␻cS兴⫽A, 共71兲

E⫺␻bS兲␬bB, 共72兲

E⫺␻cS兲␬cC, 共73兲

and then evaluating

具具Aˆ ;Bˆ;Cˆ典典b,c⫽␬A†Vb,cbc0兩关ˆb,关␬ˆc,Aˆ兴兴兩0典. 共74兲 The main complication associated with extending a Hartree–

Fock quadratic response code to the Kohn–Sham DFT is the evaluation of the exchange-correlation contribution to Vb,c. Section III is devoted to this implementation in de- tail.

F. The quasienergy method

The quasienergy formulation provides an alternative time-dependent variation principle for deriving dynamical response functions. It is arguably more attractive than the Ehrenfest method in that it provides a unified framework for treating variational and nonvariational wave functions, by analogy with time-independent theory, to which it naturally reduces in the limit of static perturbations.45,46As an addi- tional advantage over the Ehrenfest method, the permuta- tional symmetries共with respect to the exchange of operators兲 becomes manifest in the quasienergy method.

The concept of quasienergy arises naturally in TDDFT—

indeed, it turns out to be nothing but the action integral of Runge and Gross,3where the integration limits are chosen to span a period of the perturbation, scaled by the inverse of the period length. In the following, we discuss the application of the quasienergy method to the calculation of response func- tions in Kohn–Sham DFT. Since the Kohn–Sham quasien- ergy method follows closely the corresponding Hartree–

Fock method, we here consider only those aspects of Kohn–

Sham theory that differ from Hartree–Fock theory.

In Hartree–Fock theory, the quasienergy and its time av- erage are defined as follows:

Qt兲⫽

t

Hˆidtd

t

, 75

QT⫽1 T

T/2

T/2

Qtdt, 共76兲

where T constitutes one period of the time-dependent pertur- bation. In Kohn–Sham theory, there is an additional contri- bution to the quasienergy from the exchange-correlation functional,

Qxct兲⫽Exc关␳共t兲兴. 共77兲 The perturbation is expanded in its 共discrete兲 Fourier com- ponents, each of which is further expanded in field strengths

xk coupled to a quantum-mechanical operator,

t兲⫽

kx exp共⫺iktxkVˆxk. 78

Included in the summation is the operator Aˆ , the response functions of which we are calculating. We associate a non- zero frequency ␻ but zero perturbation strength with this operator.

The periodic perturbation Eq. 共78兲 induces a change in the quasienergy, which is expanded in orders of the pertur- bation,

Qt兲⫽Q(0)t兲⫹Q(1)t兲⫹Q(2)t兲⫹¯. 共79兲 The response function of order n is then recovered by differ- entiating the time-averaged perturbed quasienergy Q(n1)(t) with respect to the frequency-dependent field strengths,

具具Aˆ ;Bˆ典典⫽d2Q(2)T

d⑀A⫺␻d⑀B, 共80兲

具具Aˆ ;Bˆ,Cˆ典典1,2⫽ d3Q(3)T

d⑀A⫺␻1⫺␻2dB1dC2. 81 The frequency associated with Aˆ is set equal to minus the sum of the perturbing frequencies so that the time-averaged quasienergy does not vanish.

To calculate the perturbed quasienergy Eq.共79兲, we must first determine the perturbed orbital-rotation parameters

ˆ (t), which are likewise expanded in orders of the perturba- tion,

ˆ(1)t兲⫽

kx exp共⫺iktxkˆxk, 82

ˆ(2)t兲⫽1

2klxy

exp关⫺ikltxkylˆxkˆyl. 83

From the 2n⫹1 rule, it follows that, to calculate the quasien- ergy to order 2n⫹1, we need only determine␬ˆ (t) to order n, the contributions from higher orders being zero. Thus, to calculate the linear and quadratic response functions, we need only determine␬ˆ(1). Note that, even though the contri- bution of for example␬ˆ(2) to Q(2)vanishes, its contribution to the exchange-correlation part of the quasienergy Qxc(2) is nonzero but cancelled by a similar contribution to Q(2)

Qxc(2). In our discussion of Qxc(2)and Qxc(3)we shall therefore ignore all contributions that do not depend on␬ˆ(1), in accor- dance with the 2n⫹1 rule.

1. Linear response

In linear response theory, the exchange-correlation en- ergy is expanded to second order in␬ˆ(1),

(7)

xc

(2)

␦␳Erxc¯(2)r,t兲 d␶⫹1

2

冕 冕

␦␳共r2␦␳Excr⬘兲

⫻␳(1)r,t兲␳(1)r,t兲 d␶ d␶⬘. 共84兲 The perturbed densities are given by Eq.共27兲except that the contribution from ␬ˆ(2) to(2) is ignored in accordance with the 2n1 rule, as indicated by the overbar in E¯

xc

(2)and¯(2). Next, we expand ␬ˆ(1)(t) according to Eq.共82兲and obtain

xc (2)⫽1

2

kl exp关⫺iklt

xy xkyl

␦␳E(r)xc¯1,2(r) d

冕 冕

␦␳(r)2␦␳Excr

⫻␳1(r)2(r) dd

, 85

where we have introduced

x⫽具0兩关ˆx,␳ˆ兴兩0典, 86

¯xy1,2120兩关␬ˆx1,关␬ˆy2,ˆ兴兴兩0典. 共87兲 The first-order parameters␬x1 andy2 are determined by a variational condition on the second-order quasienergy, the result of which is an equation identical to Eq. 共43兲. Differ- entiating the time-averaged exchange-correlation quasien- ergy with respect to the field strengths⑀aa,bb, according to Eq. 共80兲, we obtain

具具Aˆ ;Bˆ典典xcb

␦␳Erxc兲␳a,br兲 d␶⫹

冕 冕

␦␳共r2␦␳Excr⬘兲

⫻␳ar兲␳br⬘兲 d␶ d␶⬘ 共88兲 for the exchange-correlation energy contribution to the linear response function.

2. Quadratic response

The quadratic response function is obtained as the third derivative of the time-averaged quasienergy. The program is then to expand the energy to third order in the first-order parameters,

xc

(3)

␦␳Erxc¯(3)r,t兲 d␶

冕 冕

␦␳共r2␦␳Excr⬘兲␳(1)r,t兲␳¯(2)r,t兲d␶ d␶⬘

⫹1

6

冕 冕 冕

␦␳共r兲␦␳3Erxc兲␦␳共r⬙兲

⫻␳(1)r,t兲␳(1)r,t兲␳(1)r,t兲 d␶ d␶⬘ d␶⬙, 89 where

¯(3)r,t兲⫽160兩关␬ˆ(1)t兲,关␬ˆ(1)t兲,关␬ˆ(1)t兲,␳ˆr兲兴兴兴兩0典. 共90兲 Expanding the parameters as in the linear case Eq.共85兲, we obtain

xc (3)⫽1

6

klm expiklmt

x y z xkylzm

␦␳Excr¯k,l,mr d

2 Pˆ

x y z

冕 冕

␦␳共r2␦␳Excr⬘兲␳kr¯l,m

⫻共r⬘兲d␶ d␶⬘⫹

冕 冕 冕

␦␳共r兲␦␳3Erxc兲␦␳共r⬙兲␳k

⫻共r兲␳lr⬘兲␳lr⬙兲d␶ d␶⬘ d␶⬙

, 91

where the first- and second-order perturbed densities are given by Eqs. 共86兲 and 共87兲 and the third-order perturbed density by

¯x y z1,2,3r兲⫽1230兩关␬ˆx1,关␬ˆy2,关␬ˆz3,ˆr兲兴兴兴兩0典. 共92兲 As in the linear case, time averaging cancels the time- dependent phase factor if the sum of the frequencies is zero.

The exchange-correlation energy contribution to the qua- dratic response function then becomes

具具Aˆ ;Bˆ,Cˆ典典xcb,b⫽1

6

␦␳Excra,b,cr d

3 PˆABC

冕 冕

␦␳r2␦␳Excr⬘兲

⫻␳ar兲␳bcr⬘兲 d␶ d␶⬘

冕 冕 冕

␦␳r兲␦␳3Erxc兲␦␳共r⬙兲␳a

⫻共r兲␳br兲␳cr兲d␶ d␶⬘ d␶⬙

. 93

III. IMPLEMENTATION

The implementation of the response module consists of two major parts: The computation of the DFT response con- tribution expressed in terms of commutators of the density matrix and response vectors ␬i, and the computation of all 19 functional derivatives appearing in the formalism. Tech- nically, these two parts have very different computational characters. The functional-derivative evaluation involves a limited amount of data and a fixed number of floating point operations, including evaluation of power operators and tran- scendental functions共arcsin, etc.兲. The evaluation time for a single grid point may be substantial but does not depend on the system size. The DFT contribution is expressed as a sum of matrices. The evaluation of the prefactors and the sum of the matrices is a memory-intensive operation. The evaluation time of this part of the code per single numerical integration grid point scales formally as the squared number of basis functions but can be reduced to linear scaling by taking ad- vantage of the matrix sparsity.

Referanser

RELATERTE DOKUMENTER

Using density functional theory (DFT) calculations, we have inves- tigated the effect of local lattice distortions and the effect of local chemical environments on the energy

The PSO contributions are obtained from singlet linear response functions (the PSO operator is a ten- sor operator of rank zero in spin space) and the FC and SD contributions

Density functional theory calculations have been performed to assess the single jump frequencies and diffusion coefficients of Si, Fe, and Mn in Al using first

For the structural analyses of the case study, a combination of linear (lateral force, response spectrum and modal time-history) and nonlinear (pushover and direct integration

We have extended an open-ended density-matrix-based response theory formulation and its corresponding implementation to include a multiscale description of molecular environment

We present an implementation and application of electron dynamics based on real-time time-dependent density functional theory (RT-TDDFT) and relativistic 2-component X2C and

The calculation of two-photon absorption properties has been implemented for single- and multiconfigurational self- consistent field (SCF) theory, 12 density-functional theory 13

In this work, the polarizable embedding (PE) model is employed along with time-dependent density functional theory to describe the 2PA properties of a selected set of chromophores