Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Energy determination of parameters

Order expansion of parameters

The wave function parameters are expanded in orders of the external field

κai(F)=κai(1)+κai(2)+…\kappa_{ai}(F) = \kappa_{ai}^{(1)} + \kappa_{ai}^{(2)} + \ldots

such that κai=0\kappa_{ai}= 0 in the limit of F=0F = 0.

Conversely,

κai(1)=dκaidFα∣F=0Fα\kappa_{ai}^{(1)} = \left. \frac{ d \kappa_{ai} }{ d F_{\alpha} } \right|_{F=0} F_{\alpha}

Linear response equation

The first-order response can be determined from the field-derivative of the variational condition

0=[ddFα∂E(κ,F)∂κbj∗]F=0=[∂2E(κ,F)∂κbj∗∂Fα+∑ai(∂2E(κ,F)∂κbj∗∂κaidκaidFα+∂2E(κ,F)∂κbj∗∂κai∗dκai∗dFα)]F=0\begin{align*} 0 & = \Big[ \frac{ d }{ d F_{\alpha} } \frac{\partial E(\kappa, F)}{\partial \kappa_{bj}^*} \Big]_{F=0} \\ & = \Big[ \frac{\partial^2 E(\kappa, F)}{\partial \kappa_{bj}^* \partial F_\alpha} + \sum_{ai} \Big( \frac{ \partial^2 E(\kappa, F) }{ \partial \kappa_{bj}^* \partial \kappa_{ai} } \frac{d \kappa_{ai}}{d F_\alpha} + \frac{ \partial^2 E(\kappa, F) }{ \partial \kappa_{bj}^* \partial \kappa_{ai}^* } \frac{d \kappa_{ai}^*}{d F_\alpha} \Big) \Big]_{F=0} \end{align*}

We here view the aiai-pair of unoccupied/occupied orbital indices as a compound index nn (and similarly for bjbj and mm), inviting us to introduce a compact matrix notation to arrive at the linear response equation.

E[2]N=−B[1]\mathbf{E}^{[2]} \mathbf{N} = - \mathbf{B}^{[1]}

In order, we have introduced:

The Hermitian electronic Hessian

E[2]=(ABB∗A∗)\mathbf{E}^{[2]} = \begin{pmatrix} \mathbf{A} & \mathbf{B} \\ \mathbf{B}^* & \mathbf{A}^* \\ \end{pmatrix}

with blocks

Amn=∂2E(κ,F)∂κm∗∂κn∣F=0;Bmn=∂2E(κ,F)∂κm∗∂κn∗∣F=0A_{mn} = \left. \frac{ \partial^2 E(\kappa, F) }{ \partial \kappa_{m}^* \partial \kappa_{n} } \right|_{F = 0} ; \qquad B_{mn} = \left. \frac{ \partial^2 E(\kappa, F) }{ \partial \kappa_{m}^* \partial \kappa_{n}^* } \right|_{F = 0}

The (unknown) response vector

N=(ZZ∗)\mathbf{N} = \begin{pmatrix} \mathbf{Z} \\ \mathbf{Z}^* \end{pmatrix}

with

Zn=dκndFα∣F=0Z_n = \left. \frac{d \kappa_n}{d F_\alpha} \right|_{F=0}

And the property gradient

B[1]=(gg∗)\mathbf{B}^{[1]} = \begin{pmatrix} \mathbf{g} \\ \mathbf{g}^* \\ \end{pmatrix}

with

gm=∂2E(κ,F)∂κm∗∂Fα∣F=0g_m = \left. \frac{\partial^2 E(\kappa, F)}{\partial \kappa_{m}^* \partial F_\alpha} \right|_{F=0}

Baker–Campbell–Hausdorff expansion

We have

E(κ,F)=⟨0∣eiκ^H^e−iκ^∣0⟩=⟨0∣H^∣0⟩+i⟨0∣[κ^,H^]∣0⟩−12⟨0∣[κ^,[κ^,H^]]∣0⟩+⋯\begin{align*} E(\kappa,F) & = \langle 0 | e^{i\hat{\kappa}} \hat{H} e^{-i\hat{\kappa}} | 0 \rangle \\ & = \langle 0 | \hat{H} | 0 \rangle + i \langle 0 | [\hat{\kappa}, \hat{H}] | 0 \rangle - \frac{1}{2} \langle 0 | [\hat{\kappa}, [\hat{\kappa}, \hat{H}]] | 0 \rangle + \cdots \end{align*}

and let us adopt the electric-dipole approximation

H^=H^0−μ^αFα\hat{H} = \hat{H}_0 - \hat{\mu}_\alpha F_\alpha

It is then straightforward to evaluate that electronic Hessian and the property gradient. We get

Amn=−⟨0∣[a^j†a^b,[a^a†a^i,H^0]]∣0⟩=⟨0jb∣H^0∣0ia⟩−⟨0∣H^0∣0⟩δabδijBmn=−⟨0∣[a^j†a^b,[a^i†a^a,H^0]]∣0⟩=−⟨0ijab∣H^0∣0⟩(1−δab)(1−δij)\begin{align*} A_{mn} & = - \langle 0 | [\hat{a}^\dagger_j \hat{a}_b, [\hat{a}^\dagger_a \hat{a}_i, \hat{H}_0]] | 0 \rangle \\ & = \langle 0_j^b | \hat{H}_0 | 0_i^a \rangle - \langle 0 | \hat{H}_0 | 0 \rangle \delta_{ab} \delta_{ij} \\ B_{mn} & = - \langle 0 | [\hat{a}^\dagger_j \hat{a}_b, [\hat{a}^\dagger_i \hat{a}_a, \hat{H}_0]] | 0 \rangle \\ & = - \langle 0_{ij}^{ab} | \hat{H}_0 | 0 \rangle ( 1 - \delta_{ab} ) ( 1 - \delta_{ij} ) \end{align*}

and

gm=i⟨0∣[a^j†a^b,−μ^α]∣0⟩=−i⟨0jb∣μ^α∣0⟩=−i⟨ψj∣μ^α∣ψb⟩\begin{align*} g_m & = i \langle 0 | [\hat{a}^\dagger_j \hat{a}_b, -\hat{\mu}_\alpha ] | 0 \rangle \\ & = - i \langle 0_j^b | \hat{\mu}_\alpha | 0 \rangle \\ & = -i \langle \psi_j | \hat{\mu}_\alpha | \psi_b \rangle \end{align*}

Spin-adapted excitation operators

For closed-shell reference states in VeloxChem, we are using normalized spin-adapted excitation operators that will result in

Amn=(εa−εi)δabδij+2(jb∣ia)−(ji∣ba)Bmn=−2(jb∣ia)+(ja∣ib)\begin{align*} A_{mn} &= (\varepsilon_a - \varepsilon_i) \delta_{ab} \delta_{ij} + 2 (jb|ia) - (ji|ba) \\ B_{mn} &= - 2 (jb|ia) + (ja|ib) \end{align*}

and

gm=−i2(ϕj∣μ^α∣ϕb)\begin{align*} g_m & = -i \sqrt{2} ( \phi_j | \hat{\mu}_\alpha | \phi_b ) \end{align*}

and, in this case, the block dimension equals

ndim=nocc×nvirtn_\mathrm{dim} = n_\mathrm{occ} \times n_\mathrm{virt}

Illustration

Setup

(ov|ov): (5, 8, 5, 8)
(oo|vv): (5, 5, 8, 8)
Number of occupied orbitals: 5
Number of virtual orbitals : 8
Block dimension            : 40

Electronic Hessian

We determine the electronic Hessian

E[2]=(ABB∗A∗)\mathbf{E}^{[2]} = \begin{pmatrix} \mathbf{A} & \mathbf{B} \\ \mathbf{B}^* & \mathbf{A}^* \\ \end{pmatrix}

Two observations can be made:

  • matrix block AA is diagonal dominant with diagonal elements approximately equal to orbital energy differences (in particular for core electron transitions)

  • elements of BB are comparatively small

                                         1s-LUMO        HOMO-LUMO
                                         =========================
Diagonal elements of A-block of E2   :   20.34024945    0.36669368
Associated orbital energy differences:   20.76493334    0.70960177

Maximum element of B-block of E2 :   0.21128143

We ensure that our result equals the electronic Hessian obtained with the get_e2() method of the LinearResponseEigenSolver class.

Property gradient

We determine the property gradient

B[1]=(gg∗)\mathbf{B}^{[1]} = \begin{pmatrix} \mathbf{g} \\ \mathbf{g}^* \\ \end{pmatrix}

for the operator μ^z\hat{\mu}_z.

We ensure that our result equals the reference property gradient obtained with the get_prop_grad() method of the LinearResponseSolver class.

Response vector

We determine the response vector

N=−[E[2]]−1B[1]\mathbf{N} = - \Big[ \mathbf{E}^{[2]} \Big]^{-1}\mathbf{B}^{[1]}

We ensure that our result equals the reference response vector obtained with the get_full_vector() method.

We note that the imaginary “ii” is left out in the response vector provided by VeloxChem.

Response function

⟨⟨A^;B^⟩⟩=−[A[1]]†[E[2]]−1B[1]\langle \langle \hat{A}; \hat{B} \rangle \rangle = - \Big[\mathbf{A}^{[1]}\Big]^\dagger \Big[ \mathbf{E}^{[2]} \Big]^{-1} \mathbf{B}^{[1]}
Response function:  -4.298489
Reference value:  -4.298489

We note that our result is in perfect agreement with the reference value obtained from the VeloxChem program.