9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2025-04-28 11:14:43 +02:00
qp2/src/determinants
Kevin Gasperich d98bda5b11 save determinants directory when save_wavefunction_general_complex is called
added option to turn this on or off
determinants/backup_determinants_dir (default True)

tars the determinants directory and moves the tar to ezfio/save/determinants/determinants.nstate.ndet.tar
gzip doesn't save any significant space (the large parts are already gzipped)

saves one backup per nstate,ndet pair
2021-12-14 12:04:06 -06:00
..
2019-02-04 23:51:09 +01:00
2019-01-25 11:39:31 +01:00
2020-02-19 14:55:00 -06:00
2019-01-25 11:39:31 +01:00
2020-07-01 13:20:35 -05:00
2019-01-25 11:39:31 +01:00
2020-04-21 23:30:37 +02:00
2020-03-05 09:06:29 +01:00
2020-02-19 17:59:27 -06:00
2019-01-29 17:09:08 +01:00
2020-03-05 09:06:29 +01:00
2020-09-01 11:43:27 -05:00
2019-01-25 11:39:31 +01:00
2019-06-27 18:23:28 +02:00
2020-02-20 14:56:47 -06:00
2020-03-05 15:57:40 -06: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`.