9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2025-04-27 02:34:44 +02:00
qp2/src/determinants
Anthony Scemama 81bc60eb58
Merge develop-toto and manus (#12)
* Fixed energies of non-expected s2

* Moved diag_algorithm in Davdison

* Fixed travis

* Added print_ci_vector

* Documentation

* Cleaned qp_set_mo_class.ml

* Removed Core in taskserver

* Frozen core for heavy atoms

* Improved molden module

* In sync with manus

* Fixed some of the documentation errors
2019-03-06 14:12:55 +01:00
..
2019-02-04 23:51:09 +01:00
2019-02-18 15:11:17 +01:00
2019-02-04 23:51:09 +01:00
2019-01-25 11:39:31 +01:00
2019-01-25 11:39:31 +01:00
2019-02-04 23:51:09 +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-25 11:39:31 +01:00
2019-01-25 11:39:31 +01:00
2019-02-04 23:51:09 +01:00
2019-01-25 11:39:31 +01:00
2019-01-28 12:46:08 +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-03-04 10:40:50 -06:00
2019-02-04 23:51:09 +01:00
2019-02-04 23:51:09 +01:00
2019-02-04 23:51:09 +01:00
2019-02-04 23:51:09 +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-25 11:39:31 +01:00
2019-01-25 11:39:31 +01:00

============
determinants
============

Contains everything for the computation of the Hamiltonian matrix elements in the basis of orthogonal Slater determinants built on a restricted spin-orbitals basis.

The main providers for this module are:

* :option:`determinants n_states`: number of states to be computed
* :c:data:`psi_det`: list of determinants in the wave function used in many routines/providers of the |QP|.
* :c:data:`psi_coef`: list of coefficients, for all :option:`determinants n_states` states, and all determinants.

The main routines for this module are:

* :c:func:`i_H_j`: computes the Hamiltonian matrix element between two arbitrary Slater determinants.
* :c:func:`i_H_j_s2`: computes the Hamiltonian and (|S^2|) matrix element between two arbitrary Slater determinants.
* :c:func:`i_H_j_verbose`: returns the decomposition in terms of one- and two-body components of the Hamiltonian matrix elements between two arbitrary Slater determinants. Also return the fermionic phase factor.
* :c:func:`i_H_psi`: computes the Hamiltonian matrix element between an arbitrary Slater determinant and a wave function composed of a sum of arbitrary Slater determinants.


For an example of how to use these routines and providers, take a look at :file:`example.irp.f`.