The search for new optical devices is a major field of materials sciences. Here, polarizabilities and hyperpolarizabilities provide particularly important information on molecular systems. The response of the molecular systems in the presence of an external, monochromatic, oscillatory electric field is determined by the solution of the time-dependent SCF (TDSCF) equations. Within the dipole approximation, the perturbation is represented as the interaction of the molecule with a single Fourier component of the external field, :
Here, is the field frequency and is the dipole moment operator. The TDSCF equations can be solved via standard techniques of perturbation theory.823 As a solution, one obtains the first-order perturbed density matrix  and the second-order perturbed density matrices . From these quantities, the following properties can be calculated:
Second harmonic generation:
Electro-optical Pockels effect:
Here, is the matrix representation of the component of the dipole moment.
Note that third-order properties () can be computed either with the equations above, which is based on a second-order TDSCF calculation (for ), or alternatively from first-order properties using Wigner’s rule.451 The second-order approach corresponds to MOPROP job numbers 101 and 102 (see below) whereas use of the rule corresponds to job numbers 103 and 104. Solution of the second-order TDSCF equations depends upon first-order results and therefore convergence can be more problematic as compared to the first-order calculation. For this reason, we recommend job numbers 103 and 104 for the calculation of first hyperpolarizabilities.
The TDSCF calculation is more time-consuming than the SCF calculation that precedes it (where the field-free, unperturbed ground state of the molecule is obtained). Q-Chem’s implementation of the TDSCF equations is MO based and the cost therefore formally scales asymptotically as . The prefactor of the cubic-scaling step is rather small, however, and in practice (over a wide range of molecular sizes) the calculation is dominated by the cost of contractions with two-electron integrals, which is formally scaling but with a very large prefactor. The cost of these integral contractions can be reduced from quadratic to using LinK/CFMM methods (Section 4.6).510 All derivatives are computed analytically.
The TDSCF module in Q-Chem is know as “MOProp", since it corresponds (formally) to time propagation of the molecular orbitals. (For actual time propagation of the MOs, see Section 7.12.) The MOProp module has the following features:
LinK and CFMM support to evaluate Coulomb- and exchange-like matrices
Both restricted and unrestricted implementations of CPSCF and TDSCF equations are available, for both Hartree-Fock and Kohn-Sham DFT.
Support for LDA, GGA, and global hybrid functionals. Meta-GGA and range-separated functionals are not yet supported, nor are functionals that contain non-local correlation (e.g., those containing VV10).