{
"cells": [
{
"cell_type": "markdown",
"id": "9d35a667",
"metadata": {
"tags": []
},
"source": [
"(sec:property-gradients)=\n",
"# Property gradients\n",
"\n",
"\n",
"The first-order nuclear derivatives of properties other than the energy can be related to intensities in [vibrational spectroscopies](sec:vibrational-spec).\n",
"More specifically, the derivative of the dipole moment and polarizability with respect to nuclear coordinates are needed to determine infrared (IR) and Raman intensities, respectively.\n",
"Their calculation is described in more detail in the following.\n",
"\n",
"\n",
"(dipole_mom_gradient:label)=\n",
"## IR intensities\n",
"\n",
"In order to calculate **intensities** in the [IR spectrum](sec:ir-tutorial),\n",
"one needs to know how the electric dipole moment $\\boldsymbol{\\mu} = (\\mu_x, \\mu_y, \\mu_z)$ changes along a normal mode.\n",
"This means that nuclear derivatives of $\\boldsymbol{\\mu}$ have to be calculated, where each component $\\mu$\n",
"can be decomposed into an electronic and a nuclear contribution, $\\mu = \\mu_{\\text{e}} + \\mu_{\\text{n}}$.\n",
"The nuclear part of the dipole moment $\\mu_{\\text{n}}$ is simply given by the classical expression\n",
"```{math}\n",
" \\mu_{\\text{n}} = \\sum_{K} Z_K R_K\n",
"```\n",
"with the charge $Z_K$ and Cartesian coordinate $R_K$ of nucleus $K$.\n",
"The electronic part $\\mu_{\\text{e}}$ is calculed quantum-mechanically from the dipole moment integrals in AO basis, $\\mu_{\\kappa \\lambda}$,\n",
"and the one-particle density matrix $\\mathbf{P}$,\n",
"%$\\mu_{\\kappa \\lambda} = \\langle \\phi_\\kappa | q r | \\phi_\\lambda \\rangle$,\n",
"%where in this case $q = -e$ is the electron's charge and $r$ one of its coordinates, $r \\in \\{ x,y,z \\}$,\n",
"```{math}\n",
"%:label: eq:electric_dipole_moment\n",
" \\mu_{\\text{e}} = \\sum_{\\kappa \\lambda} P_{\\lambda \\kappa} \\mu_{\\kappa \\lambda} \\, .\n",
"```\n",
"\n",
"The **nuclear gradient** of the dipole moment can again be calculated either numerically or analytically.\n",
"Since the dipole moment itself as a [first-order property](sec:first-order-prop) can be considered a first derivative of the energy,\n",
"its gradient corresponds to a mixed second derivative of the energy (once respect to an electric field and once with respect to a nuclear coordinate, and thus a [second-order property](sec:second-order-prop)),\n",
"and its calculation thus resembles the [molecular Hessian](sec:mol-hessian) calculation,\n",
"and the solution of the [CPHF equations](sec:cphf) is required.\n",
"While the analytic derivative of the nuclear contribution $\\mu_{\\text{n}}$ is trivial,\n",
"the derivative of the electronic part $\\mu_{\\text{e}}$ with respect to a nuclear coordinate $\\chi$ is given by\n",
"(eq:electronic_dipole_derivative)=\n",
"```{math}\n",
"%:label: eq:electronic_dipole_derivative\n",
" \\frac{\\mathrm{d} \\mu_{\\text{e}}}{\\mathrm{d} \\chi} = \\sum_{\\kappa \\lambda} \\frac{\\mathrm{d} P_{\\lambda \\kappa}}{\\mathrm{d} \\chi} \\mu_{\\kappa \\lambda}\n",
"\t+ \\sum_{\\kappa \\lambda} P_{\\lambda \\kappa} \\frac{\\mathrm{d} \\mu_{\\kappa \\lambda}}{\\mathrm{d} \\chi} \\, ,\n",
"```\n",
"%[Eq. {eq}`eq:electric_dipole_moment`] is given by\n",
"where the [perturbed density](eq:perturbed_density) and the derivatives of the dipole integrals are needed.\n",
"\n",
"The IR transition dipole moment is then calculated by taking the dot product of the [dipole moment gradient](eq:electronic_dipole_derivative)\n",
"with the [Cartesian normal modes](sec:cartesian_displacements_red_mass)\n",
"$\\mathbf{l}^{\\text{Cart}}$, and the **IR intensity** as the square norm of corresponding transition moment.\n",
"The intensities are successively converted to the unit of km mol$^{-1}$.\n",
"For this, one has to multiply multiply the intensities, which are initially given in atomic unites times atomic mass units,\n",
"with the Avogadro number, the conversion factor between the electron mass in atomic mass units, bohrs in kilometers,\n",
"the fine structure constant squared, and with $\\pi/3$.\n",
"\n",
"\n",
"\n",
"\n"
]
},
{
"cell_type": "markdown",
"id": "5ecbaf76-b894-4bee-9011-eacbb760be21",
"metadata": {},
"source": [
"(polarizability_gradient:label)=\n",
"## Raman intensities\n",
"\n",
"\n",
"Intensities in the vibrational [Raman spectrum](sec:raman-tutorial) are calculated in an analogous manner, except that the nuclear derivative\n",
"of the electric-dipole polarizability $\\boldsymbol{\\alpha}(\\omega)$ along normal mode $Q_k$ is needed.\n",
"Since the polarizability is already a second-order (or linear-response) property, this is more involved than IR intensities (in the time-independent regime, the polarizability gradient corresponds to a\n",
"third derivative of the energy).\n",
"However, it turns that out the analytical nuclear gradient of the polarizability can be calculated in manner analogous\n",
"to the gradients of the TDHF or TDDFT schemes {cite}`Rappoport2007`,\n",
"which is similar to what has been discussed for [here](sec:tdhf-gradients).\n",
"The main differences include the following:\n",
"- all the density matrices ($\\boldsymbol{\\gamma}$ and $\\boldsymbol{\\Gamma}$) depend also on two Cartesian components, $m,n \\in \\{ x,y,z \\}$, corresponding to the element $\\alpha_{mn}$ of the polarizability tensor $\\boldsymbol{\\alpha}$, and need to be symmetrized with respect to $m$ and $n$.\n",
"- the right-hand side of the linear response equation needs to be included in the Lagrangian, corresponding in this case to the contraaction of response vector component $m$ with component $n$ of the dipole integrals (also to be symmetrized with respect to $m$ and $n$)\n",
"- in the dynamic case ($\\omega \\neq 0$), also the term $\\omega (\\mathbf{X}^\\dagger \\mathbf{X} - \\mathbf{Y}^\\dagger \\mathbf{Y})$ needs to be taken into account (for all combinations of vector components $m$ and $n$)\n",
"\n",
"For randomly oriented molecules and linearly polarized incident light, the Raman differenial cross-section is calculated in practice as {cite}`Guthmuller2019`\n",
"```{math}\n",
" \\frac{\\mathrm{d} \\sigma_k}{\\mathrm{d} \\Omega} = \\frac{\\hbar \\omega_{\\text{L}} \\omega_{\\text{S}}^3}{32 \\pi^2 \\epsilon_0^2 c^4 \\omega_k} \\frac{S_{k}}{45} \\, ,\n",
"```\n",
"where $\\omega_{\\text{L}}$ is the frequency of the incident radiation, $\\omega_{\\text{S}}$ is the angular frequency of the scattered light,\n",
"$\\omega_k$ is the angular frequency of vibrational mode $Q_k$, and $S_k$ is the Raman activity of the mode, defined as {cite}`Guthmuller2019`\n",
"```{math}\n",
" S_k = 45 \\bar{\\alpha}_k^2 + 7 \\bar{\\gamma}_k^2 \\, ,\n",
"```\n",
"where $\\bar{\\alpha}_k^2$ and $\\bar{\\gamma}_k^2$ are Raman rotational invariants {cite}`Guthmuller2019`,\n",
"```{math}\n",
" \\bar{\\alpha}_k^2 &= \\frac19 \\bigg( \\frac{\\mathrm{d} \\alpha_{xx}}{\\mathrm{d} Q_k} + \\frac{\\mathrm{d} \\alpha_{yy}}{\\mathrm{d} Q_k} +\\frac{\\mathrm{d} \\alpha_{zz}}{\\mathrm{d} Q_k} \\bigg)^2 \\\\\n",
" \\bar{\\gamma}_k^2 &= 3 \\bigg[ \\bigg( \\frac{\\mathrm{d} \\alpha_{xy}}{\\mathrm{d} Q_k} + \\frac{\\mathrm{d} \\alpha_{xz}}{\\mathrm{d} Q_k} +\\frac{\\mathrm{d} \\alpha_{yz}}{\\mathrm{d} Q_k} \\bigg)^2 \\bigg] \\\\\n",
"\t\t\t&+\\frac12 \\bigg[ \\bigg( \\frac{\\mathrm{d} \\alpha_{xx}}{\\mathrm{d} Q_k} - \\frac{\\mathrm{d} \\alpha_{yy}}{\\mathrm{d} Q_k} \\bigg)^2\n",
"\t\t\t+ \\frac12 \\bigg( \\frac{\\mathrm{d} \\alpha_{xx}}{\\mathrm{d} Q_k} - \\frac{\\mathrm{d} \\alpha_{zz}}{\\mathrm{d} Q_k} \\bigg)^2\n",
"\t\t\t+ \\frac12 \\bigg( \\frac{\\mathrm{d} \\alpha_{yy}}{\\mathrm{d} Q_k} - \\frac{\\mathrm{d} \\alpha_{zz}}{\\mathrm{d} Q_k} \\bigg)^2 \\bigg] \\, .\n",
"```\n",
"\n",
"The rotational invariants can further be used to calculate the parallel (or \"polarized\") and perpendicular (or \"depolarized\")\n",
"intensities as $I_{\\text{pol}} = 45 \\bar{\\alpha}_k^2 + 4 \\bar{\\gamma}_k^2$ and $I_{\\text{depol}} = 3 \\bar{\\gamma}_k^2$, respectively,\n",
"from which the so-called *depolarization ratio* $\\rho$ can be calculated as\n",
"```{math}\n",
" \\rho = \\frac{I_{\\text{depol}}}{I_{\\text{pol}}} \\, .\n",
"```\n",
"\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "2ecce056-5edd-4dfe-8aff-06715f4300e6",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.12"
}
},
"nbformat": 4,
"nbformat_minor": 5
}