9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2025-01-13 21:35:48 +01:00
qp2/src/davidson
..
2019-05-27 12:08:50 +02:00
2019-02-22 19:19:58 +01:00
2019-02-22 19:19:58 +01:00
2019-01-25 11:39:31 +01:00
2019-01-25 11:39:31 +01:00
2019-01-25 11:39:31 +01:00
2019-01-29 17:09:08 +01:00
2019-02-05 12:02:50 +01:00
2019-02-04 23:51:09 +01: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`.