9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-06-27 06:52:06 +02:00
qp2/src
2023-06-18 20:28:48 +02:00
..
ao_basis Improve 5idx 2023-06-02 20:32:31 +02:00
ao_many_one_e_ints added Gill grid 2023-05-15 00:31:28 +02:00
ao_one_e_ints Fixed the pt_charges bug: 2023-06-12 13:36:01 +02:00
ao_tc_eff_map added jast_type 0 2023-05-07 12:44:59 +02:00
ao_two_e_erf_ints
ao_two_e_ints Improved I/O in CCSD 2023-06-12 14:05:36 +02:00
aux_quantities
basis
basis_correction modified the factor two in rdm 2023-03-04 13:07:12 +01:00
becke_numerical_grid minor modifs 2023-06-04 09:58:29 +02:00
bi_ort_ints Merge branch 'dev-stable' into dev-stable-tc-scf 2023-06-08 17:36:06 +02:00
bi_ortho_mos minor modifs 2023-06-04 09:58:29 +02:00
bitmask
cas_based_on_top
ccsd Improved I/O in CCSD 2023-06-12 14:05:36 +02:00
cipsi Fixed singles when no beta exc 2023-06-10 11:56:07 +02:00
cipsi_tc_bi_ortho some cleaning in slow and no slow tc routines 2023-05-22 18:39:48 +02:00
cis
cisd fix test cisd 2023-03-13 10:25:39 +01:00
csf
dav_general_mat
davidson fixed conf 2023-05-06 20:42:39 +02:00
davidson_dressed non_sym dress: comb 2023-03-15 10:23:48 +01:00
davidson_keywords Merge branch 'dev-stable-tc-scf' of https://github.com/QuantumPackage/qp2 into QuantumPackage-dev-stable-tc-scf 2023-04-01 13:26:54 +02:00
davidson_undressed non_sym dress: comb 2023-03-15 10:23:48 +01:00
density_for_dft
determinants fixed conflict after TC S^2 merge 2023-04-10 20:41:16 +02:00
dft_keywords
dft_one_e
dft_utils_func minor modifs 2023-02-13 20:12:33 +01:00
dft_utils_in_r fixed extrpolation energy in fci_tc_bi 2023-05-11 10:42:12 +02:00
dressing
dummy
electrons
ezfio_files Fixed singles when no beta exc 2023-06-10 11:56:07 +02:00
fci Update test in FCI 2023-06-11 12:19:39 +02:00
fci_tc_bi free two (3xN_gridxMOxMO) tables in TC-CIPSI 2023-06-08 15:59:14 +02:00
functionals
generators_cas
generators_full
hartree_fock Fixed the pt_charges bug: 2023-06-12 13:36:01 +02:00
iterations Fix reversed print of minimum PT2 in extrapolations 2023-05-10 12:22:56 +02:00
json Added JSON in FCI 2023-04-24 00:50:07 +02:00
kohn_sham fixed conf 2023-05-06 20:42:39 +02:00
kohn_sham_rs Fixed need for JSON 2023-04-21 18:08:54 +02:00
mo_basis Merge branch 'dev-stable' of https://github.com/AbdAmmar/qp2 into dev-stable 2023-05-12 19:51:04 +02:00
mo_guess
mo_localization add mo localization 2023-04-18 13:22:46 +02:00
mo_one_e_ints
mo_optimization unecessary parameter 2023-04-21 13:44:51 +02:00
mo_two_e_erf_ints Fix sort 2023-02-16 11:00:25 +01:00
mo_two_e_ints Improved I/O in CCSD 2023-06-12 14:05:36 +02:00
mol_properties clean 2023-03-11 23:40:52 +01:00
mpi
mu_of_r modified the factor two in rdm 2023-03-04 13:07:12 +01:00
non_h_ints_mu Merge branch 'dev-stable-tc-scf' into dev-stable-tc-scf 2023-06-02 20:28:12 +02:00
non_hermit_dav
nuclei Fixed the pt_charges bug: 2023-06-12 13:36:01 +02:00
ortho_three_e_ints
perturbation
pseudo
psiref_cas
psiref_utils
scf_utils update ROHF F matrix with gamess parametrization 2023-06-08 10:49:06 +02:00
selectors_cassd
selectors_full
selectors_utils
single_ref_method
tc_bi_ortho added some comments for normal ordering old 2023-06-18 20:28:48 +02:00
tc_keywords Merge branch 'dev-stable-tc-scf' into dev-stable-tc-scf 2023-06-02 20:28:12 +02:00
tc_scf few modifs 2023-06-01 19:59:25 +02:00
tools Fixed singles when no beta exc 2023-06-10 11:56:07 +02:00
trexio Fix normalization factor in trexio 2023-05-31 11:01:51 +02:00
two_body_rdm Introduced TREXIO in QP 2023-05-12 16:04:45 +02:00
two_rdm_routines beginning to introduce a factor 2 in two-rdm 2023-02-27 15:27:39 +01:00
utils Improved I/O in CCSD 2023-06-12 14:05:36 +02:00
utils_cc Improved I/O in CCSD 2023-06-12 14:05:36 +02:00
utils_periodic
utils_trust_region create utils trust region 2023-04-18 13:01:25 +02:00
zmq
.gitignore
README.rst

==========================
The core modules of the QP
==========================

*** How are handled the DFT functionals in QP2 ?
================================================
    The Exchange and Correlation energies/potentials can be accessed by the following providers 
    energy_x
    energy_c
    potential_x_alpha_ao
    potential_c_alpha_ao
    potential_x_beta_ao
    potential_c_beta_ao

    These providers are automatically linked to the providers of the actual exchange/correlation energies of a given functional 
    through the character keywords 
    "exchange_functional"
    "correlation_functional"

    All the providers for the available functionals are in the folder "functionals", with one file "my_functional.irp.f" per functional.  

    Ex : if "exchange_functional" == "sr_pbe", then energy_x will contain the exchange correlation functional defined in "functiona/sr_pbe.irp.f", which corresponds to the short-range PBE functional (at the value mu_erf for the range separation parameter) 


*** How to add a new functional in QP2 
======================================

    Creating a new functional and propagating it through the whole QP2 programs is easy as all dependencies are handled by a script. 

    To do so, let us assume that the name of your functional is "my_func". 
    Then you just have to create the file "my_func.irp.f" in the folder "functional" which shoud contain 

    +) if you're adding an exchange functional, then create the provider "energy_x_my_func" 

    +) if you're adding a correlation functional, create the provider "energy_c_my_func" 
    
    +) if you want to add the echange potentials, create the providers "potential_x_alpha_ao_my_func", "potential_x_beta_ao_my_func"  which are the exchange potentials on the AO basis for the alpha/beta electrons 

    +) if you want to add the correlation potentials, create the providers "potential_c_alpha_ao_my_func", "potential_c_beta_ao_my_func"  which are the correlation potentials on the AO basis for the alpha/beta electrons 
    
    That's all :) 
   
    Then, when running whatever DFT calculation or accessing/using the providers: 
    energy_x
    energy_c
    potential_x_alpha_ao
    potential_c_alpha_ao
    potential_x_beta_ao
    potential_c_beta_ao
 
    if exchange_functional = mu_func, then you will automatically have access to what you need, such as kohn sham orbital optimization and so on ...