• Nem Talált Eredményt

4.2 ADC(2) excitation energies and transition moments

4.2.1 Theory and implementation

approximations is about 0.05 eV, but it starts growing rapidly after the truncation of 15%. It means that only a couple of occupied orbitals can be dropped, and unfortunately the gain in the computation time is rather limited. The approximation is probably more efficient for large systems, for which, however, CC2 calculations are currently not feasible even with the present reduced-cost scheme.

4.2 ADC(2) excitation energies and transition

Table 4.5: Algorithm and working equations for calculating the sigma vector for singlet and triplet excitations

Step Scaling

1 Perform MP2 calculation and store intermediate YaiQ YaiQ =P

jbJjbQ(2tabij −tabji) n2occn2virtnaux 2 Calculate intermediates XQ, XijQ, and XiaQ

XQ = 2P

iaJiaQria noccnvirtnaux

XijQ =P

aJiaQraj XiaQ =P

bribJbaQ n2occnvirtnaux+noccn2virtnaux

3 Add purely ria-dependent contributions to σia and construct Fia if singlet: σia ←P

QJiaQXQ noccnvirtnaux

Fia =−P

jQJjaQXijQia n2occnvirtnaux+noccnvirt if triplet: Fia=P

jQJjaQXijQ n2occnvirtnaux

σia ← −P

jQJijQXjaQ + (εa−εi)ria n2occnvirtnaux 4 Compute ˆtabij, add corresponding contributions to σia

(ia|jb) =P

QJiaQJjbQ n2occn2virtnaux

if singlet: ˆtabij = [2(ia|jb)−(ja|ib)]/Dabij] n2occn2virt if triplet: ˆtabij = (ja|ib)/Dabij n2occn2virt σia12P

jbˆtabijFjb n2occn2virt

if singlet: σia12P

jb

P

kc[2(ia|jb)−(ja|ib)]rckˆtbcjk 2n2occn2virt if triplet: σia12P

jb

P

kc(ja|ib)rckˆtbcjk n2occn2virt 5 Construct the JQia list, build intermediate ˆrijab

JQia=XiaQ−P

jJijQrja n2occnvirt+noccnvirt

(ia|jb) =P

QJQiaJjbQ (ia|jb) =P

QJiaQJQjb 2n2occn2virtnaux if singlet:

ˆ

rijab= (2rabij −rabji)/(DijabADC(2)) n2occn2virt if triplet:

ˆ

rijab= [2(ia|jb)−(ja|ib)−(ja|ib)]/(DijabADC(2)) n2occn2virt YQia =P

jbˆrabijJjbQ n2occn2virtnaux

6 Add the remaining contributions to σia σia ←P

QbJabQYQib noccn2virtnaux

σia ← −P

QjJijQYQja n2occnvirtnaux

σia12P

j

P

Qb(JibQYjbQ+JjbQYibQ)rja 2n2occnvirtnaux+n2occnvirt

σia ← −12P

b

P

Qj(JjbQYjaQ+JjaQYjbQ)rib 2noccn2virtnaux+noccn2virt Since we also calculate oscillator strengths in this subsection, the explicit form of the transition density matrix requires some considerations. The expression 3.60 is often

simplified [257,258] by discarding disconnected contributions and by neglecting the higher than fifth-power-scaling second-order terms. It can be shown that, analogously to CC2, the resulting ADC(2) density matrix is consistent with the LR-CC theory and correct up to the first order. Our working equations for the transition density matrix in the spatial orbital basis are given for its various blocks by

ρab=X

ijc

racij(2tbcij −tbcji), (4.12)

ρij =−X

abk

rabik(2tabjk−tabkj), (4.13)

ρai =X

bj

rbj(2tabij −tabji), (4.14) and

ρia =ria−X

k

rakX

cbj

tcbkj(2tcbij −tcbji)−X

c

rci X

bjk

tcbkj(2tabkj −tabjk) (4.15)

=ria−X

k

rakDMP2ik −X

c

ricDacMP2,

where DikMP2 and DMP2ac are the elements, respectively, of the occupied-occupied and the virtual-virtual block of the MP2 one-particle density matrix.

The number of the variables can also be reduced in the case of the ADC(2) method, similar to CC2. For the singlet states no changes needed, but the construction of triplet density matrices to calculate the corresponding VNOs requires different expressions. First we derive the suitable working equations, then we make some comments about the trun-cation of the virtual MO space for both singlet and triplet states.

The expressions for the one-particle MP2 density matrix [Eq. (4.2)] and the CIS density matrix [Eq. (4.3)] are applicable without any changes for triplet states. However, the spin adaptation results in different expressions for matrixD(D), whose virtual-virtual block is given as

Dab(D)=X

ijc

(ccaijccbij +ccaijccbij −ccaijcbcij), (4.16) where the cabij coefficients are still defined by Eq. (4.7), but they are built using the triplet CIS coefficients and excitation energy. Furthermore,cabij denotes the triplet-coupled CIS(D) doubles coefficient, which is evaluated as

cabij = P

c[(ac|bj)cci −(ai|bc)ccj] +P

k[(kj|ai)cbk−(ki|bj)cak]

DijabCIS . (4.17)

The algorithm and working equations to compute the triplet density matrix are given in detail in Table 4.6. The rate-determining step of the density matrix calculation is the

Table 4.6: Working equations for the evaluation of the triplet CIS(D) density matrix

Step Scaling

1 Add CIS contribution to the density matrix DCIS(D)ab ←P

icaicbi noccn2virt 2 Compute intermediate YaiQ

YaiQ ←P

cJacQcci noccn2virtnaux YaiQ ← −P

jJijQcaj n2occnvirtnaux

3 Compute intermediate Vijab Vijab =P

QYaiQJbjQ n2occn2virtnaux 4 Calculate cabij coefficients

cabij = (Vijab+Vjiba)/(DabijCIS) n2occn2virt 5 Compute intermediate Xijab

Xijab =cabij −cbaij n2occn2virt 6 Add the first contribution to the density matrix

DCIS(D)ab ←P

ijcccaijXijcb n2occn3virt 7 Calculate cabij coefficients

cabij = (Vijab−Vjiba)/(DijabCIS) n2occn2virt 8 Add the second contribution to the density matrix

DCIS(D)ab ←P

ijcccaijccbij n2occn3virt

assembly of the four-index integral list of intermediate V(step 3), which is a fifth-power-scaling operation with costs proportional to n2occn2virtnaux. The algorithm contains two additional fifth-power-scaling operations (steps 6 and 8) with computational expenses proportional to n2occn3virt, while there is only one such term in the case of MP2 or singlet CIS(D). The exchange term in Eq. (4.16) can also be neglected for the triplet density similar to the singlet case, whose benefits and effects have already been discussed in detail in Subsections 4.1.1 and 4.1.2.

As expected, the selected VNOs are only ideal for ADC(2) calculations if the CIS(D) wave function is a good approximation to that for ADC(2). The prerequisite for this is that the CIS method provides a qualitatively good description of the excited state. If the coefficients of double excitations are not stored, a good measure for the quality of the CIS and CIS(D) approximations is the overlap of the CIS and the single excitation part of the final ADC(2) wave functions. Our numerical experience shows that, if this overlap is relatively small, the ADC(2) calculations performed in the reduced VNO space may yield inadequate excitation energies and transition moments. In these cases, we found

that the dominant excitations of the ADC(2) wave function obtained in the reduced space correspond to that of the CIS wave function, and particular excitations that have con-siderable weight in the canonical ADC(2) are missing. This problem cannot be resolved by tightening the εVNO threshold as the occupancy of the VNOs which do not noticeably contribute to the CIS wave function are rather low. To overcome this problem we found the following approach to be useful.

In practice, for a particular excited state, the orbital energies of the canonical virtual orbitals contributing to the wave function are relatively close to each other. Thus, we can suppose that all the important orbitals will be included in the reduced space if it is augmented with the canonical virtual orbitals which are close in energy to the virtuals significantly contributing to the CIS wave function. For the selection of such orbitals two further thresholds were introduced. First, those canonical virtual orbitals are chosen for which at least one CIS coefficient in the normalized CIS wave function of an excitation involving them is greater than thresholdεCIS. Second, all those canonical virtual orbitals are selected whose orbital energy is in a given interval. The lower limit of the interval is the orbital energy of the lowest MO selected in the first step minus threshold εE, while its upper limit is the orbital energy of the highest chosen MO plusεE. The orbitals of the reduced VNO space are projected out of the selected canonical virtual orbitals, and the remaining orbitals are orthonormalized employing canonical orthogonalization dropping the eigenvectors of the overlap matrix with eigenvalues lower than 10−7. The resulting orthonormal MOs are added to the reduced VNO space, and the orbitals of the extended space are canonicalized. In practice it means that the Fock-matrix is transformed to the extended MO space, and the matrix is diagonalized. The resulting pseudo-canonical orbitals and the corresponding orbital energies will be used in the subsequent calculations.

For the sake of simplicity, from now on, this pseudo-canonical basis will be referred to as the VNO basis.

Significant gains can also be expected utilizing the NAF approximation for the ADC(2) method. In the following we will employ two different sets of NAFs. First, as in our previous CC2 study, we construct NAFs to compress the representation of the integrals in the NO basis. Here we build W of Eq. (3.66) using ˜J, the integral list transformed to the VNO basis. These NAFs will be referred to as restricted NO space NAFs or RS-NAFs for short. The RS-NAFs are suitable to reduce, for instance, the cost of certain assembly and σ-vector construction steps of the ADC(2) calculation (see, e.g., Table 4.5). Another option is to utilize the NAF approximation right at the beginning, as soon as the three-center integrals are transformed to the canonical HF MO basis. These NAFs will be called the complete MO space NAFs or shortly, CS-NAFs, and the corresponding J integrals will be denoted hereafter by ˆJ. We note here that, naturally, the CS-NAF basis is usually significantly larger than the RS-NAF basis but

still represents a compressed, system-specific auxiliary basis with which the expenses of the CIS calculation and density matrix evaluation steps can be cut roughly by half.

We briefly collect all the steps required for our reduced-cost ADC(2) algorithm, which is basically the generalization of our VNO and (RS-)NAF approximation-based CC2 scheme apart from the step that the VNOs selected using the εVNO threshold are supplemented with the close-lying canonical orbitals and CS-NAFs are introduced as well.

Our general algorithm is as follows.

1. Solve HF equations

2. Construct the canonical integral list J

3. Calculate matrix W using three-center integral list J [Eq. (3.66)], and transform the auxiliary index of J to the CS-NAF basis to obtain ˆJ

4. Solve CIS equations for all the excited states simultaneously using ˆJ 5. Loop over excited states

(a) Calculate the state-averaged one-particle density matrix D using ˆJ, and construct the truncated virtual space. Transform the MO indices of ˆJ to the VNO basis to obtain ˜J.

(b) Calculate matrix W using three-index integrals ˜J [Eq. (3.66)], and trans-form the auxiliary index of ˜J to the RS-NAF basis (J). Write integral list J to disk.

End loop

6. Loop over excited states

(a) Retrieve integral list J from disk

(b) Perform MP2 calculation and solve ADC(2) equations (Table4.5) End loop

We would like to point out that the CS-NAF approximation affects the accuracy of all the quantities computed subsequently, such as density matrices, VNOs, RS-NAFs, etc. These negligible errors are extensively investigated in the original paper [239].