quantum_package/src/MO_Basis/README.rst

251 lines
8.1 KiB
ReStructuredText
Raw Normal View History

2014-04-03 16:23:27 +02:00
==========
MOs Module
==========
2014-04-10 22:26:42 +02:00
Molecular orbitals are expressed as
.. math::
\phi_k({\bf r}) = \sum_i C_{ik} \chi_k({\bf r})
where :math:`\chi_k` are *normalized* atomic basis set.
2014-04-10 22:26:42 +02:00
The current set of molecular orbitals has a label ``mo_label``.
When the orbitals are modified, the label should also be updated to keep
everything consistent.
When saving the MOs, the ``mo_basis`` directory of the EZFIO file is copied
2014-04-10 22:41:04 +02:00
in the ``save`` directory, named by the current ``mo_label``. All this is
done with the script named ``save_current_mos.sh`` in the ``scripts`` directory.
2014-04-10 22:26:42 +02:00
2015-05-04 19:44:09 +02:00
Assumptions
===========
.. Do not edit this section. It was auto-generated from the
2015-05-27 11:02:13 +02:00
.. NEEDED_MODULES_CHILDREN file by the `update_README.py` script.
2015-05-04 19:44:09 +02:00
ASSUMPTONS
==========
* The AO basis functions are normalized.
2014-04-03 16:23:27 +02:00
Needed Modules
2014-04-04 00:41:43 +02:00
==============
2015-07-28 16:45:45 +02:00
.. Do not edit this section It was auto-generated
2015-06-04 12:15:54 +02:00
.. by the `update_README.py` script.
2014-04-03 16:23:27 +02:00
2015-06-04 12:15:54 +02:00
.. image:: tree_dependency.png
2015-06-24 11:33:27 +02:00
* `AO_Basis <http://github.com/LCPQ/quantum_package/tree/master/src/AO_Basis>`_
2015-04-13 10:44:49 +02:00
* `Electrons <http://github.com/LCPQ/quantum_package/tree/master/src/Electrons>`_
2015-07-28 17:02:00 +02:00
Needed Modules
==============
.. Do not edit this section It was auto-generated
.. by the `update_README.py` script.
.. image:: tree_dependency.png
* `AO_Basis <http://github.com/LCPQ/quantum_package/tree/master/src/AO_Basis>`_
* `Electrons <http://github.com/LCPQ/quantum_package/tree/master/src/Electrons>`_
Documentation
=============
.. Do not edit this section It was auto-generated
.. by the `update_README.py` script.
2016-09-22 12:15:20 +02:00
`ao_cart_to_sphe_coef <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/ao_ortho_canonical.irp.f#L1>`_
matrix of the coefficients of the mos generated by the
orthonormalization by the S^{-1/2} canonical transformation of the aos
ao_cart_to_sphe_coef(i,j) = coefficient of the ith ao on the jth ao_ortho_canonical orbital
`ao_cart_to_sphe_inv <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/ao_ortho_canonical.irp.f#L73>`_
AO_cart_to_sphe_coef^(-1)
`ao_cart_to_sphe_num <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/ao_ortho_canonical.irp.f#L2>`_
matrix of the coefficients of the mos generated by the
orthonormalization by the S^{-1/2} canonical transformation of the aos
ao_cart_to_sphe_coef(i,j) = coefficient of the ith ao on the jth ao_ortho_canonical orbital
`ao_cart_to_sphe_overlap <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/ao_ortho_canonical.irp.f#L51>`_
AO overlap matrix in the spherical basis set
2019-02-05 21:59:26 +01:00
`ao_ortho_cano_to_ao <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/mos.irp.f#L329>`_
2017-10-27 12:20:00 +02:00
Transform A from the AO basis to the orthogonal AO basis
.br
C^(-1).A_ao.Ct^(-1)
`ao_ortho_canonical_coef <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/ao_ortho_canonical.irp.f#L95>`_
2016-09-22 12:15:20 +02:00
matrix of the coefficients of the mos generated by the
orthonormalization by the S^{-1/2} canonical transformation of the aos
ao_ortho_canonical_coef(i,j) = coefficient of the ith ao on the jth ao_ortho_canonical orbital
2017-10-27 12:20:00 +02:00
`ao_ortho_canonical_coef_inv <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/ao_ortho_canonical.irp.f#L86>`_
ao_ortho_canonical_coef^(-1)
`ao_ortho_canonical_num <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/ao_ortho_canonical.irp.f#L96>`_
2016-09-22 12:15:20 +02:00
matrix of the coefficients of the mos generated by the
orthonormalization by the S^{-1/2} canonical transformation of the aos
ao_ortho_canonical_coef(i,j) = coefficient of the ith ao on the jth ao_ortho_canonical orbital
2017-10-27 12:20:00 +02:00
`ao_ortho_canonical_overlap <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/ao_ortho_canonical.irp.f#L144>`_
2016-09-22 12:15:20 +02:00
overlap matrix of the ao_ortho_canonical.
Expected to be the Identity
2019-02-05 21:59:26 +01:00
`ao_to_mo <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/mos.irp.f#L213>`_
2015-06-04 12:15:54 +02:00
Transform A from the AO basis to the MO basis
2017-10-27 12:20:00 +02:00
.br
2019-02-05 21:59:26 +01:00
Ct.A_ao.C
2015-06-04 12:15:54 +02:00
2014-05-13 13:57:58 +02:00
2015-06-24 11:33:27 +02:00
`cholesky_mo <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/cholesky_mo.irp.f#L1>`_
2017-10-27 12:20:00 +02:00
Cholesky decomposition of AO Density matrix
.br
n : Number of AOs
m : Number of MOs
.br
P(LDP,n) : Density matrix in AO basis
.br
C(LDC,m) : MOs
.br
tol_in : tolerance
.br
rank : Nomber of local MOs (output)
.br
2019-02-05 21:59:26 +01:00
`give_all_mos_at_r <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/utils.irp.f#L276>`_
2017-10-27 12:20:00 +02:00
Undocumented
2015-04-13 10:44:49 +02:00
2019-02-05 21:59:26 +01:00
`give_specific_mos_at_r <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/utils.irp.f#L283>`_
2017-10-27 12:20:00 +02:00
Undocumented
2019-02-05 21:59:26 +01:00
`mix_mo_jk <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/mos.irp.f#L295>`_
2015-04-13 10:44:49 +02:00
subroutine that rotates the jth MO with the kth MO
to give two new MO's that are
'+' = 1/sqrt(2) (|j> + |k>)
'-' = 1/sqrt(2) (|j> - |k>)
by convention, the '+' MO is in the lower index (min(j,k))
by convention, the '-' MO is in the greater index (max(j,k))
2015-06-04 12:15:54 +02:00
2015-12-04 20:02:35 +01:00
`mo_as_eigvectors_of_mo_matrix <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/utils.irp.f#L47>`_
2015-06-04 12:15:54 +02:00
Undocumented
2019-02-05 21:59:26 +01:00
`mo_as_eigvectors_of_mo_matrix_sort_by_observable <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/utils.irp.f#L155>`_
2016-09-22 12:15:20 +02:00
Undocumented
2019-02-05 21:59:26 +01:00
`mo_as_svd_vectors_of_mo_matrix <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/utils.irp.f#L108>`_
2015-06-04 12:15:54 +02:00
Undocumented
2017-10-27 12:20:00 +02:00
`mo_class <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/ezfio_interface.irp.f#L6>`_
Core|Inactive|Active|Virtual|Deleted
2019-02-05 21:59:26 +01:00
`mo_coef <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/mos.irp.f#L57>`_
2014-05-13 13:57:58 +02:00
Molecular orbital coefficients on AO basis set
mo_coef(i,j) = coefficient of the ith ao on the jth mo
2014-05-14 00:01:31 +02:00
mo_label : Label characterizing the MOS (local, canonical, natural, etc)
2014-05-13 13:57:58 +02:00
2015-06-04 12:15:54 +02:00
2019-02-05 21:59:26 +01:00
`mo_coef_in_ao_ortho_basis <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/mos.irp.f#L105>`_
2017-10-27 12:20:00 +02:00
MO coefficients in orthogonalized AO basis
.br
C^(-1).C_mo
2015-06-04 12:15:54 +02:00
2019-02-05 21:59:26 +01:00
`mo_coef_transp <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/mos.irp.f#L150>`_
2017-10-27 12:20:00 +02:00
Molecular orbital coefficients on AO basis set
2015-06-04 12:15:54 +02:00
2019-02-05 21:59:26 +01:00
`mo_label <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/mos.irp.f#L119>`_
2014-05-14 00:01:31 +02:00
Molecular orbital coefficients on AO basis set
mo_coef(i,j) = coefficient of the ith ao on the jth mo
mo_label : Label characterizing the MOS (local, canonical, natural, etc)
2014-05-13 13:57:58 +02:00
2015-06-04 12:15:54 +02:00
2019-02-05 21:59:26 +01:00
`mo_num <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/mos.irp.f#L38>`_
mo_tot_num without the highest deleted MOs
`mo_occ <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/mos.irp.f#L178>`_
MO occupation numbers
2015-06-04 12:15:54 +02:00
2015-06-24 11:33:27 +02:00
`mo_overlap <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/mo_overlap.irp.f#L2>`_
2015-06-04 12:15:54 +02:00
Undocumented
2019-02-05 21:59:26 +01:00
`mo_sort_by_observable <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/utils.irp.f#L237>`_
2015-06-04 12:15:54 +02:00
Undocumented
2019-02-05 21:59:26 +01:00
`mo_to_ao <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/mos.irp.f#L241>`_
2015-04-13 10:44:49 +02:00
Transform A from the MO basis to the AO basis
2017-10-27 12:20:00 +02:00
.br
(S.C).A_mo.(S.C)t
2015-04-13 10:44:49 +02:00
2015-06-04 12:15:54 +02:00
2019-02-05 21:59:26 +01:00
`mo_to_ao_no_overlap <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/mos.irp.f#L268>`_
2015-04-13 10:44:49 +02:00
Transform A from the MO basis to the S^-1 AO basis
2019-02-05 21:59:26 +01:00
Useful for density matrix
2015-04-13 10:44:49 +02:00
2015-06-04 12:15:54 +02:00
2015-06-24 11:33:27 +02:00
`mo_tot_num <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/mos.irp.f#L1>`_
2019-02-05 21:59:26 +01:00
Number of MOs
2014-05-13 13:57:58 +02:00
2015-06-04 12:15:54 +02:00
2017-10-27 12:20:00 +02:00
`permut_mos <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/mo_permutation.irp.f#L1>`_
Undocumented
2019-02-05 21:59:26 +01:00
`s_mo_coef <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/mos.irp.f#L165>`_
2015-04-13 10:44:49 +02:00
Product S.C where S is the overlap matrix in the AO basis and C the mo_coef matrix.
2015-06-24 11:33:27 +02:00
`save_mos <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/utils.irp.f#L1>`_
Undocumented
2015-12-04 20:02:35 +01:00
`save_mos_truncated <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/utils.irp.f#L24>`_
Undocumented
2016-09-22 12:15:20 +02:00
2017-10-27 12:20:00 +02:00
`svd_mo <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/cholesky_mo.irp.f#L53>`_
Singular value decomposition of the AO Density matrix
.br
n : Number of AOs
m : Number of MOs
.br
P(LDP,n) : Density matrix in AO basis
.br
C(LDC,m) : MOs
.br
tol_in : tolerance
.br
rank : Nomber of local MOs (output)
.br
2016-09-22 12:15:20 +02:00
`swap_mos <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis/swap_mos.irp.f#L1>`_
Undocumented