Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| properties_and_expectation_values [2024/11/24 08:54] – [Intermolecular interaction energies] werner | properties_and_expectation_values [2025/09/10 06:37] (current) – add example for pop , spin doll | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Intermolecular interaction energies ====== | ||
| - | |||
| - | Counterpoise corrected (or uncorrected) intermolecular interaction energies can be computed automatically using the '' | ||
| - | |||
| - | '' | ||
| - | |||
| - | The INTERACT command can follow any input for a complete energy calculation and then computes the interaction energy for the last computed energy method. Alternatively, | ||
| - | |||
| - | |||
| - | |||
| - | The following //options// are available: | ||
| - | |||
| - | * ** '' | ||
| - | * ** '' | ||
| - | * ** '' | ||
| - | * ** '' | ||
| - | * **'' | ||
| - | * **'' | ||
| - | * ** '' | ||
| - | * ** '' | ||
| - | * ** '' | ||
| - | * ** '' | ||
| - | * ** '' | ||
| - | * ** '' | ||
| - | * **'' | ||
| - | * **'' | ||
| - | * **'' | ||
| - | |||
| - | |||
| ====== Properties and expectation values ====== | ====== Properties and expectation values ====== | ||
| Line 87: | Line 58: | ||
| theta=104 | theta=104 | ||
| hf !do scf calculation | hf !do scf calculation | ||
| - | property | + | {property |
| orbital | orbital | ||
| density | density | ||
| dm !compute dipole moments and print orbital contributions | dm !compute dipole moments and print orbital contributions | ||
| - | qm !compute quadrupole moments and print orbital contributions | + | qm} !compute quadrupole moments and print orbital contributions |
| {multi; | {multi; | ||
| natorb, | natorb, | ||
| Line 298: | Line 269: | ||
| ci; | ci; | ||
| pop; | pop; | ||
| + | </ | ||
| + | |||
| + | In the following example, the population for charge and spin is computed: | ||
| + | |||
| + | <code - examples/ | ||
| + | geometry={li} | ||
| + | basis=vdz | ||
| + | hf | ||
| + | pop; | ||
| + | pop; | ||
| </ | </ | ||
| Line 333: | Line 314: | ||
| The perturbed hamiltonian represents a physical system in a uniform electric field with electric field strength $\vec F= -\vec d$. Therefore the corresponding energy-derivative form of the dipole moment projection in this direction can be obtained as $$|\vec F|^{-1}\vec F \cdot \vec \mu = |2\vec d|^{-1}(E(\vec d)-E(-\vec d)) + O(|\vec d|^2)= |\vec d|^{-1}(E(\vec d)-E(\vec 0)) + O(|\vec d|).$$ | The perturbed hamiltonian represents a physical system in a uniform electric field with electric field strength $\vec F= -\vec d$. Therefore the corresponding energy-derivative form of the dipole moment projection in this direction can be obtained as $$|\vec F|^{-1}\vec F \cdot \vec \mu = |2\vec d|^{-1}(E(\vec d)-E(-\vec d)) + O(|\vec d|^2)= |\vec d|^{-1}(E(\vec d)-E(\vec 0)) + O(|\vec d|).$$ | ||
| The diagonal polarisability in this direction can similarly be calculated via | The diagonal polarisability in this direction can similarly be calculated via | ||
| - | $$\alpha_{\vec d, \vec d} = |\vec d|^{-2}(E(\vec d)+E(-\vec d)-2E(\vec 0)) + O(|\vec d|^2).$$ | + | $$\alpha_{\vec d, \vec d} = - |\vec d|^{-2}(E(\vec d)+E(-\vec d)-2E(\vec 0)) + O(|\vec d|^2).$$ |
| ==== Quadrupole fields (QUAD) ==== | ==== Quadrupole fields (QUAD) ==== | ||
| Line 432: | Line 413: | ||
| --- | --- | ||
| </ | </ | ||
| + | |||
| + | ===== Derivatives with respect to fields (dipole, quadrupole, second and third moments) ===== | ||
| + | |||
| + | Derivatives with respect to fields can be computed with the keywords '' | ||
| + | |||
| + | Second derivatives include a minus sign, e.g. $$-\frac{\partial^2 E}{\partial d_i \partial d_j}$$ where $d_i$ are the components of the dipole field. | ||
| + | |||
| + | |||
| + | The syntax for the first or second derivative with respect to a dipole field is like this: | ||
| + | |||
| + | '' | ||
| + | or | ||
| + | '' | ||
| + | |||
| + | where '' | ||
| + | |||
| + | By default a two-point formula is used for first derivatives (keyword '' | ||
| + | |||
| + | For second derivatives, | ||
| + | |||
| + | The default step size is 0.001 a.u. and may be changed with the option '' | ||
| + | |||
| + | The quadrupole tensor is traceless which is exploited by default in the case of first derivatives. It may be switched off with '' | ||
| + | |||
| + | The energy calculation has to be done with a '' | ||
| + | |||
| + | |||
| + | ==== Examples ==== | ||
| + | |||
| + | This example shows how dipole, quadrupole and third moments can be obtained by computing derivatives with respect to the corresponding fields, and the dipole polarizability. | ||
| + | |||
| + | <code - examples/ | ||
| + | geometry={4 | ||
| + | H2O2 | ||
| + | O1 0.0000 | ||
| + | O2 0.0000 | ||
| + | H3 0.8190 | ||
| + | H4 | ||
| + | } | ||
| + | |||
| + | basis=def2-svp | ||
| + | {hf} | ||
| + | {mp2; | ||
| + | |||
| + | fgrad, | ||
| + | fgrad, | ||
| + | fgrad, | ||
| + | fpol, | ||
| + | |||
| + | proc myproc | ||
| + | {hf} | ||
| + | {mp2} | ||
| + | endproc | ||
| + | |||
| + | |||
| + | |||
| + | </ | ||
| + | |||
| + | This example shows how '' | ||
| + | |||
| + | |||
| + | <code - examples/ | ||
| + | geometry={ | ||
| + | H2O | ||
| + | O 0.0000000000 | ||
| + | H 0.7581330543 | ||
| + | H | ||
| + | } | ||
| + | |||
| + | basis=def2-svp | ||
| + | {hf} | ||
| + | |||
| + | !use first analytial derivative | ||
| + | fpol, | ||
| + | |||
| + | proc myproc | ||
| + | {hf} | ||
| + | {ccsd | ||
| + | expec,dm} | ||
| + | endproc | ||
| + | |||
| + | |||
| + | !compare with twofold numerical derivative | ||
| + | fpol, | ||
| + | </ | ||
| + | |||
| ===== Relativistic corrections ===== | ===== Relativistic corrections ===== | ||