Excitation energies at the SCF-level¶
In this tutorial we will look at the theory behind the calculation of excitation energies at the SCF-level, that is, either by time-dependent Hartree-Fock (TD-HF) or TD-DFT. The implementations in DIRAC are presented in [Bast2009].
Excitation energies
where the matrices
Transition moments associated with operator
where appears solution vector
An important generalization above is that, in addition to Hermitian
operators
A key to computational efficiency is to consider a decomposition of
solution vectors in terms of components of well-defined Hermiticity
and time reversal symmetry. Using a pair of solution vectors
The inverse relations therefore provide a separation of solution vectors into Hermitian and anti-Hermitian contributions
Further decomposition of each contribution into time-symmetric and time-antisymmetric parts give vectors that are well-defined with respect to both Hermiticity and time reversal symmetry
where
and the index overbar refers to a Kramers’ partner in a Kramers-restricted orbital set. The scalar product of such vectors is given by [Saue2002a]
and one may therefore distinguish three cases
One may show that Hermiticity is conserved when multiplying such a trial vector by the electronic Hessian, whereas it is reversed by the generalized metric. However, both the electronic Hessian and the generalized metric conserves time reversal symmetry. The implication is that the time-symmetric and time-antisymmetric components of a solution vector does not mix upon solving the generalized eigenvalue problem, and one can dispense with one of them. From a physical point of view, this can be understood from the observation that excited states can be reached through both time-symmetric and time-antisymmetric operators. In order to employ the quaternion symmetry scheme, we choose to work with the time-symmetric vectors. It follows from the above that their scalar product are either zero or real. In practice, a property gradient is therefore always contracted with the component of the solution vector having the same hermiticity, so that all transition moments are real.
Practical example¶
We consider the excitation
We start from the menu file ed.inp
**DIRAC
.WAVE FUNCTION
.ANALYZE
.PROPERTIES
**INTEGRALS
*READIN
.UNCONT
**WAVE FUNCTION
.SCF
*SCF
.CLOSED SHELL
6 6
**PROPERTIES
*EXCITATION ENERGIES
.PRINT
10
.OCCUP
1
.VIRTUAL
6
.ANALYZE
! Excitations s -> p
.EXCITATION ! B1u
5 1
**ANALYZE
.MULPOP
*MULPOP
.VECPOP
1..oo
1..oo
**MOLECULE
*BASIS
.DEFAULT
dyall.ae2z
**END OF
and the xyz-file Mg.xyz
1
Mg 0.0D0 0.0D0 0.0D0
and run our calculation using:
pam --inp=ed --mol=Mg.xyz --get "DFCOEF PAMXVC"
We are keeping some file for later use, see below. It can be seen in the menu file ed.inp that excitations are only allowed from the first gerade orbital (
We have increased the print level significantly in order to be able to look a bit under the hood. Let us first look at the property gradient
The matrix element
and similar for
In addition we have to remember the relation between Kramers partners
In terms of symmetry the orbital distributions are
In the present case the operator symmetry is
and, indeed, when we look in the output we find
Output from GPGET
-----------------
* Gradient (e-e) of property EpolL01X00Y00Z01
*** A imag part ***; NROW,NCOL,LRQ,LCQ: 1 1 1 1
Column 1
1 -0.00682451
==== End of matrix output ====
Here the notation EpolLnlXnxYnyZnz refers to a Cartesian electric multipole operator
E+ part of solution vectors for 1 excitations:
* Vector nr. 1
*** A imag part ***; NROW,NCOL,LRQ,LCQ: 1 1 1 1
Column 1
1 0.35355084
==== End of matrix output ====
Searching in the output, we find the corresponding calculated transition moment
< 0 |EpolL01X00Y00Z01| 1 > = -4.8256194928E-03 a.u.,
which is easily seen to be
We may proceed to visualize the transition moment density
as a radial distribution, that is
As preparation we first inspect the file PAMXVC of solution vectors
dirac 2074>rspread.x PAMXVC
Solution vectors found on file : PAMXVC
** Solution vector : PP EXCITATIONB1u Irrep: 5 Trev: 1
1 Type : E+ Freq.: 48.935572 Rnorm: 0.16E-13 Length: 1
2 Type : E- Freq.: 48.935572 Rnorm: 0.16E-13 Length: 1
We see that the Hermitian e-e part of the solution vector E+ is the first vector on the file, which therefore leads us to set up the input file length.inp as
**DIRAC
.PROPERTIES
**INTEGRALS
*READIN
.UNCONT
**WAVE FUNCTION
.SCF
*SCF
.CLOSED SHELL
6 6
**GRID
.ULTRAFINE
**PROPERTIES
*EXPECTATION VALUES
.ORBANA
.OPERATOR
'XXSECMOM'
.OPERATOR
'YYSECMOM'
.OPERATOR
'ZZSECMOM'
**VISUAL
.EDIPZ
PAMXVC 1
.RADIAL
0.0D0 0.0D0 0.0D0
10.0
500
.3D_INT
**MOLECULE
*BASIS
.DEFAULT
dyall.ae2z
**END OF
We now generate the radial distribution using:
pam --inp=length --mol=Mg.xyz --put "DFCOEF PAMXVC" --get "plot.radial.scalar=length.dat"
First we may note at the end of the output
The radial distribution integrates to: 4.8280356220858738E-003
and so we see that the radial distribution integrates to the value obtained in our previous calculation.
Next, with a suitable plotting program (I used xmgrace) we can visualize the radial distribution

To get some idea of the extent of the z-electric dipole moment transition density associated with the
Sym. |
Orb. |
||||
E1g |
1s 1/2; 1/2 |
0.008 |
0.008 |
0.008 |
0.151 |
E1g |
2s 1/2; 1/2 |
0.190 |
0.190 |
0.190 |
0.754 |
E1g |
3s 1/2; 1/2 |
4.106 |
4.106 |
4.106 |
3.510 |
E1u |
2p 1/2; 1/2 |
0.198 |
0.198 |
0.198 |
0.772 |
E1u |
2p 3/2; -3/2 |
0.240 |
0.240 |
0.120 |
0.774 |
E1u |
3p 3/2; 1/2 |
0.160 |
0.160 |
0.279 |
0.774 |
We see that the radial distribution peaks around 0.25