Q-Chem 5.1 User’s Manual

11.12 Linear-Scaling Computation of Electric Properties

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, $\bm@general \boldmath \m@ne \mv@bold \bm@command {{\cal E}}$:

  \begin{equation}  \hat{H}_{\rm field} = \tfrac {1}{2}\hat{\bm@general \boldmath \m@ne \mv@bold \bm@command {\mu }}\bm@general \boldmath \m@ne \mv@bold \bm@command {\cdot }\bm@general \boldmath \m@ne \mv@bold \bm@command {{\cal E}}(e^{-i\omega t} + e^{+i\omega t}) \end{equation}   (11.67)

with

  \begin{equation}  \hat{\bm@general \boldmath \m@ne \mv@bold \bm@command {\mu }} = -e\sum _ i^{N_{\rm elec}} \hat{\mathbf{r}}^{}_{i} \;  . \end{equation}   (11.68)

Here, $\omega $ is the field frequency and $\hat{\bm@general \boldmath \m@ne \mv@bold \bm@command {\mu }}$ is the dipole moment operator. The TDSCF equations can be solved via standard techniques of perturbation theory.[Sekino and Bartlett(1986)] As a solution, one obtains the first-order perturbed density matrix [$\mathbf{P}^ x(\pm \omega )$] and the second-order perturbed density matrices [$\mathbf{P}^{xy}(\pm \omega ,\pm \omega ’)$]. From these quantities, the following properties can be calculated:

Here, $\ensuremath{\mathbf{H}}^{\mu _ x}$ is the matrix representation of the $x$ component of the dipole moment.

Note that third-order properties ($\beta _{xyz}$) can be computed either with the equations above, which is based on a second-order TDSCF calculation (for $\mathbf{P}^{yz}$), or alternatively from first-order properties using Wigner’s $2n+1$ rule.[Karna and Dupuis(1991)] The second-order approach corresponds to MOPROP job numbers 101 and 102 (see below) whereas use of the $2n+1$ 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 ${\cal {O}}({N^3})$. 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 ${\cal {O}}({N^2})$ scaling but with a very large prefactor. The cost of these integral contractions can be reduced from quadratic to ${\cal {O}}({N})$ using LinK/CFMM methods (Section 4.6).[Kussmann and Ochsenfeld(2007b)] 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.11.) The MOProp module has the following features:

11.12.1 $fdpfreq Input Section

For dynamic response properties (i.e., $\omega \neq 0$), various values of $\omega $ might be of interest, and it is considerably cheaper to compute properties for multiple values of $\omega $ in a single calculation than it is to run several calculations for one frequency each. The $fdpfreq input section is used to specify the frequencies of interest. The format is:

$fdpfreq
   property
   frequencies
   units
$end

The first line is only required for third-order properties, to specify the flavor of first hyperpolarizability. The options are

The second line in the $fdpfreq section contains floating-point values representing the frequencies of interest. Alternatively, for dynamic polarizabilities an equidistant sequence of frequencies can be specified by the keyword WALK (see example below). The last line specifies the units of the input frequencies. Options are:

Example 11.259  Static and dynamic polarizabilities, atomic units:

$fdpfreq
   0.0 0.03 0.05
   au
$end

Example 11.260  Series of dynamic polarizabilities, starting with 0.00 incremented by 0.01 up to 0.10:

$fdpfreq
   walk 0.00 0.10 0.01
   au
$end

Example 11.261  Static first hyperpolarizability, second harmonic generation and electro-optical Pockels effect, wavelength in nm:

$fdpfreq
   StaticHyper SHG EOPockels
   1064
   nm
$end

11.12.2 Job Control for the MOProp Module

The MOProp module is invoked by specifying a job number using the MOPROP $rem variable. In addition to electric properties, this module can also compute NMR chemical shifts (MOPROP = 1); this functionality is described in Section 11.13.

MOPROP

Specifies the job number for MOProp module.


TYPE:

INTEGER


DEFAULT:

0

Do not run the MOProp module.


OPTIONS:

1

NMR chemical shielding tensors.

2

Static polarizability.

3

Indirect nuclear spin–spin coupling tensors.

100

Dynamic polarizability.

101

First hyperpolarizability.

102

First hyperpolarizability, reading First order results from disk.

103

First hyperpolarizability using Wigner’s $2n+1$ rule.

104

First hyperpolarizability using Wigner’s $2n+1$ rule, reading

 

first order results from disk.


RECOMMENDATION:

None


MOPROP_PERTNUM

Set the number of perturbed densities that will to be treated together.


TYPE:

INTEGER


DEFAULT:

0


OPTIONS:

0

All at once.

$n$

Treat the perturbed densities batch-wise.


RECOMMENDATION:

Use the default. For large systems, limiting this number may be required to avoid memory exhaustion.


MOPROP_CONV_1ST

Sets the convergence criteria for CPSCF and 1st order TDSCF.


TYPE:

INTEGER


DEFAULT:

6


OPTIONS:

$n<10$

Convergence threshold set to $10^{-n}$.


RECOMMENDATION:

None


MOPROP_CONV_2ND

Sets the convergence criterion for second-order TDSCF.


TYPE:

INTEGER


DEFAULT:

6


OPTIONS:

$n<10$

Convergence threshold set to $10^{-n}$.


RECOMMENDATION:

None


MOPROP_MAXITER_1ST

The maximum number of iterations for CPSCF and first-order TDSCF.


TYPE:

INTEGER


DEFAULT:

50


OPTIONS:

$n$

Set maximum number of iterations to $n$.


RECOMMENDATION:

Use the default.


MOPROP_MAXITER_2ND

The maximum number of iterations for second-order TDSCF.


TYPE:

INTEGER


DEFAULT:

50


OPTIONS:

$n$

Set maximum number of iterations to $n$.


RECOMMENDATION:

Use the default.


MOPROP_ISSC_PRINT_REDUCED

Specifies whether the isotope-independent reduced coupling tensor $\mathbf{K}$ should be printed in addition to the isotope-dependent $\mathbf{J}$-tensor when calculating indirect nuclear spin-spin couplings.


TYPE:

LOGICAL


DEFAULT:

FALSE


OPTIONS:

FALSE

Do not print $\mathbf{K}$.

TRUE

Print $\mathbf{K}$.


RECOMMENDATION:

None


MOPROP_ISSC_SKIP_FC

Specifies whether to skip the calculation of the Fermi contact contribution to the indirect nuclear spin-spin coupling tensor.


TYPE:

LOGICAL


DEFAULT:

FALSE


OPTIONS:

FALSE

Calculate Fermi contact contribution.

TRUE

Skip Fermi contact contribution.


RECOMMENDATION:

None


MOPROP_ISSC_SKIP_SD

Specifies whether to skip the calculation of the spin-dipole contribution to the indirect nuclear spin-spin coupling tensor.


TYPE:

LOGICAL


DEFAULT:

FALSE


OPTIONS:

FALSE

Calculate spin-dipole contribution.

TRUE

Skip spin-dipole contribution.


RECOMMENDATION:

None


MOPROP_ISSC_SKIP_PSO

Specifies whether to skip the calculation of the paramagnetic spin-orbit contribution to the indirect nuclear spin-spin coupling tensor.


TYPE:

LOGICAL


DEFAULT:

FALSE


OPTIONS:

FALSE

Calculate paramagnetic spin-orbit contribution.

TRUE

Skip paramagnetic spin-orbit contribution.


RECOMMENDATION:

None


MOPROP_ISSC_SKIP_DSO

Specifies whether to skip the calculation of the diamagnetic spin-orbit contribution to the indirect nuclear spin-spin coupling tensor.


TYPE:

LOGICAL


DEFAULT:

FALSE


OPTIONS:

FALSE

Calculate diamagnetic spin-orbit contribution.

TRUE

Skip diamagnetic spin-orbit contribution.


RECOMMENDATION:

None


MOPROP_DIIS

Controls the use of Pulay’s DIIS in solving the CPSCF equations.


TYPE:

INTEGER


DEFAULT:

5


OPTIONS:

0

Turn off DIIS.

5

Turn on DIIS.


RECOMMENDATION:

None


MOPROP_DIIS_DIM_SS

Specified the DIIS subspace dimension.


TYPE:

INTEGER


DEFAULT:

20


OPTIONS:

0

No DIIS.

$n$

Use a subspace of dimension $n$.


RECOMMENDATION:

None


SAVE_LAST_GPX

Save the last $\ensuremath{\mathbf{G}}[\ensuremath{\mathbf{P}}^{x}]$ when calculating dynamic polarizabilities in order to call the MOProp code in a second run, via MOPROP = 102.


TYPE:

INTEGER


DEFAULT:

0


OPTIONS:

0

False

1

True


RECOMMENDATION:

None


MOPROP_RESTART

Specifies the option for restarting MOProp calculations.


TYPE:

INTEGER


DEFAULT:

0


OPTIONS:

0

Not a restart calculation.

1

Restart from a previous calculation using the same scratch directory.


RECOMMENDATION:

Need to also include "SCF_GUESS READ" and "SKIP_SCFMAN TRUE" to ensure the same set of MOs.


11.12.3 Examples

Example 11.262  $\omega $B97X-D/def2-SVPD static polarizability calculation for water cation, computed analytically using the MOProp module

$rem
   method              hf
   basis               def2-svpd
   scf_convergence     11
   thresh              14
   symmetry            false
   sym_ignore          true
   moprop              2
   moprop_conv_1st     8
   moprop_maxiter_1st  200
$end

$molecule
1 2
O  0.003  1.517  0.000
H  0.913  1.819  0.000
H  0.081  0.555  0.000
$end