X

Search Results

Searching....

7.4 Real-Time SCF Methods

7.4.1 Introduction & Theory

(September 1, 2024)

Although the theory discussed in Section 7.3 is known universally as “time-dependent” DFT (TDDFT), in truth it is the frequency-domain transformation of linear-response (LR) DFT, 387 Furche F.
J. Chem. Phys.
(2001), 114, pp. 5982.
Link
and is sometimes given the additional designation of LR-TDDFT in order to distinguish it from the “real time” (RT) version of TDDFT that is described in this section. The phrase “real-time time-dependent DFT” (RT-TDDFT) is sufficiently awkward that the theory described here is also known as time-dependent Kohn-Sham (TDKS) theory, 1458 Zhu Y., Herbert J. M.
J. Chem. Phys.
(2018), 148, pp. 044117.
Link
, 1459 Zhu Y., Herbert J. M.
J. Chem. Phys.
(2022), 156, pp. 204123.
Link
, 526 Herbert J. M. et al.
J. Chem. Theory Comput.
(2023), 19, pp. 6745.
Link
terminology that is actually more consistent with the original language used by Gross and co-workers developing a theory based on the time-dependent Kohn-Sham equation. 462 Gross E. K. U., Kohn W.
Adv. Quantum Chem.
(1990), 21, pp. 255.
Link
The TDKS approach is explicitly time-dependent, and amounts to propagation of time-dependent Kohn-Sham MOs following a perturbation of the ground-state density.

LR-TDDFT calculations are often the most efficient way to predict resonant electronic response frequencies and intensities when only a small number of low-lying excited states are desired. To obtain broadband spectra (in the x-ray regime, say), hundreds of excited states may be required, however. In such cases, the real-time approach may be preferable because it can be used to obtain the entire absorption spectrum (at all excitation energies) via Fourier transform of the time-dependent dipole moment function, without the need to compute the spectrum state-by-state. This is the theoretical basis of real-time electronic structure methods in general. 1049 Provorse M. R., Isborn C. M.
Int. J. Quantum Chem.
(2016), 116, pp. 739.
Link
, 772 Li X. et al.
Chem. Rev.
(2020), 120, pp. 9951.
Link
A perturbation creates a superposition of all (symmetry-allowed) excitations, and the Fourier components of the ensuing time evolution encode all of the excitation energies. This theory is described in somewhat more detail in the next section, following which the TDKS job control variables are described in Section 7.4.2. Calculation of broadband absorption spectra using the TDKS approach is discussed in Section 7.4.3.

Starting with v. 5.3, Q-Chem’s TDKS module has been substantially rewritten, including support for advanced propagators, 1458 Zhu Y., Herbert J. M.
J. Chem. Phys.
(2018), 148, pp. 044117.
Link
complex absorbing potentials, 1459 Zhu Y., Herbert J. M.
J. Chem. Phys.
(2022), 156, pp. 204123.
Link
and Padé approximants to accelerate convergence of the Fourier-transformed dipole moment function. 526 Herbert J. M. et al.
J. Chem. Theory Comput.
(2023), 19, pp. 6745.
Link
Users of the TDKS/RT-TDDFT code are asked to cite Refs.  1459 Zhu Y., Herbert J. M.
J. Chem. Phys.
(2022), 156, pp. 204123.
Link
and 526 Herbert J. M. et al.
J. Chem. Theory Comput.
(2023), 19, pp. 6745.
Link
.

Following a perturbation to the ground-state MOs ϕk(𝐫,0) at t=0, these MOs evolve in time according to the time-dependent Schrödinger equation. For an SCF level of theory, this is a one-electron equation

idϕk(𝐫,t)dt=F^(t)ϕk(𝐫,t). (7.39)

This time evolution can equivalently be expressed in terms of the Liouville-von Neumann equation for the time evolution of the density ρ(𝐫,t):

idρ(𝐫,t)dt=[F^(t),ρ(𝐫,t)]. (7.40)

In addition to obtaining broadband spectra, real-time SCF methods can be used to simulate attosecond dynamics of electrons, perhaps in the presence of strong fields. Note that the dynamics that is simulated by integrating either Eq. (7.39) or Eq. (7.40) is electron dynamics, the fundamental timescale of which is attoseconds, as can be estimated by the magnitude of the atomic unit of time (/Eh2.4×10-17 s). The finite integration time step Δt must be small compared to this value, and the default in Q-Chem is set to Δt=0.02a.u.=4.8×10-4 fs. The maximum timescale that can therefore reasonably be simulated is likely only picoseconds, and at present this time propagation is available only within the clamped-nuclei approximation, i.e., it is not possible to simulate the couple electron–nuclear dynamics.

Because the Fock operator F^ depends on its own (time-evolving) eigenfunctions ϕi(𝐫,t), the operator F^(t) that governs the time evolution in Eq. (7.39) or Eq. (7.40) is time-dependent, which complicates the integration of these equations. 1458 Zhu Y., Herbert J. M.
J. Chem. Phys.
(2018), 148, pp. 044117.
Link
The simplest possible algorithm to integrate these equations (over a finite time step Δt is the modified midpoint unitary transformation (MMUT) procedure, 773 Li X. et al.
Phys. Chem. Chem. Phys.
(2005), 7, pp. 233.
Link
which approximates the operator F^(t+Δt/2). When the MMUT algorithm is used, the cost of a single electron dynamics time step is comparable to the cost of a single SCF cycle of a ground-state SCF calculation, i.e., it requires a single construction and diagonalization of the Fock matrix. The memory footprint is about twice that of the ground state, because the time-dependent MOs are complex-valued, but this is usually considerably smaller than the memory footprint for linear-response (LR-)TDDFT, especially of the number of roots requested in the LR-TDDFT calculation is large (as required for broadband spectra), or if the density of states is high (as in models of semiconductors). 899 Morrison A. F., Herbert J. M.
J. Phys. Chem. Lett.
(2015), 6, pp. 4390.
Link

As compared to the first-order MMUT algorithm, higher-order predictor/corrector algorithms to integrate the dynamics are also available. 1458 Zhu Y., Herbert J. M.
J. Chem. Phys.
(2018), 148, pp. 044117.
Link
These algorithms enable the use of larger time steps Δt at a cost of a few Fock builds per time step. Perhaps more importantly, the predictor/corrector algorithms iterate the Fock operators F^(t) and F^(t+Δt) to self-consistency over each time step, which guarantees stable time propagation (assuming that the self-consistent procedure converges). Stable dynamics is not guaranteed by the MMUT algorithm, and total energy conservation turns out to be a necessary but not sufficient criterion to ensure that the trajectory has been integrated accurately. Using MMUT, examples can be found where energy is conserved yet spectra are still shifted (with respect to benchmarks results obtained using very small time steps) due to the use of a too-large value of Δt that is undetected and undiagnosed by non-self-consistent MMUT algorithm. 1458 Zhu Y., Herbert J. M.
J. Chem. Phys.
(2018), 148, pp. 044117.
Link

Propagation of the electron dynamics requires only ground-state computational machinery (albeit with complex-valued orbitals), and thus is available at any SCF level of theory, including Hartree-Fock theory or DFT. The name “TDKS” (in contrast to the cumbersome “RT-TDDFT”) emphasizes that Eq. (7.39) is the Kohn-Sham analogue of the time-dependent Schrödinger equation. The cost per time step for a TDKS calculation should be no larger than a few times the cost of a ground-state SCF cycle. Q-Chem’s implementation exploits shared-memory parallelism and the use of at least 8 (but possibly more) processor cores is highly recommended, since the number of required time steps (and thus the number of Fock builds) is likely to be quite large. (The use of multiple cores is requested using the -nt flag.)

A TDKS calculation is requested by setting TDKS = TRUE in the $rem input section, and other job control options are discussed in Section 7.4.2. Section 7.4.3 discusses how to compute broadband spectra from TDKS simulations of electron dynamics. Section 7.4.4 discusses how to compute high-harmonic generation (HHG) spectra from TDKS simulations of electron dynamics.

TDKS

TDKS
       Job control keyword to turn on TDKS calculation
TYPE:
       LOGICAL
DEFAULT:
       FALSE
OPTIONS:
       TRUE Perform a TDKS calculation following a ground-state SCF calculation FALSE Do not perform a TDKS calculation
RECOMMENDATION:
       None.