9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2025-02-17 14:14:03 +01:00
qp2/src/davidson
Anthony Scemama 57955fc6bd
Some checks failed
continuous-integration/drone/push Build is failing
Merge branch 'master' into dev-stable
2023-06-15 13:31:25 +02:00
..
2023-05-06 20:42:39 +02:00
2022-02-04 11:09:33 +01:00
2023-03-15 10:23:48 +01:00
2023-03-15 10:23:48 +01:00
2023-03-15 10:23:48 +01:00
2019-01-29 17:09:08 +01:00
2021-06-16 09:49:53 +02:00
2022-03-08 11:24:17 +01:00
2019-07-04 16:16:57 +02:00

========
davidson
========

Abstract module for Davidson's diagonalization.
It contains everything required for the Davidson algorithm, dressed or
not. If a dressing is used, the dressing column should be defined and
the :ref:`module_davidson_dressed` module should be used. If no dressing
is required, the :ref:`module_davidson` module should be used, and it
has a default zero dressing vector.

The important providers for that module are:

#. :c:data:`psi_energy` which is the expectation value over the wave
   function (:c:data:`psi_det`, :c:data:`psi_coef`) of the Hamiltonian,
   dressed or not. It uses the general subroutine :c:func:`u_0_H_u_0`.

#. :c:data:`psi_energy_two_e` which is the expectation value over the
   wave function (:c:data:`psi_det`, :c:data:`psi_coef`) of the standard
   two-electron Coulomb operator. It uses the general routine
   :c:func:`u_0_H_u_0_two_e`.