scine_autocas.interfaces.qcmaquis¶
Module to handle qcmaquis output files.
This module implements the Qcmaquis class which evaluates entropies and mutual information from the qcmaquis hdf5 output.
Classes
|
Class to handle all qcmaquis output. |
- class scine_autocas.interfaces.qcmaquis.Qcmaquis[source]¶
Class to handle all qcmaquis output.
This class purpose is to read qcmaquis output and evaluate entropies from the provided measurements.
Attributes
hdf5_converter
(Hdf5Converter) reads the qcmaquis hdf5 output file
orbital_rdm_builder
(OrbitalRDMBuilder) evaluates the one and two orbital rdm from data provided by the hdf5 converter
s1_entropy
(np.ndarray) stores the sinlge orbital entropy
s2_entropy
(np.ndarray) stores the two orbital two orbital entropy
mutual_information
(np.ndarray) stores the mutual information
n_orbitals
(int) the number of orbitals in the active space
energy
(float) the energy of the qcmaquis calculation
- __slots__ = ('hdf5_converter', 'orbital_rdm_builder', 's1_entropy', 's2_entropy', 'mutual_information', 'n_orbitals', 'energy')¶
- hdf5_converter: scine_autocas.interfaces.qcmaquis.qcmaquis_hdf5_utils.Hdf5Converter¶
extracts one and two orbital RDM from QCMaquis results fil
- orbital_rdm_builder: scine_autocas.interfaces.qcmaquis.qcmaquis_orbital_rdm_builder.OrbitalRDMBuilder¶
evaluates and stores the orbital RMDs
- s1_entropy: numpy.ndarray¶
single orbital entrop
- s2_entropy: numpy.ndarray¶
two orbital entrop
- mutual_information: numpy.ndarray¶
mutual information
- __doc__ = 'Class to handle all qcmaquis output.\n\n This class purpose is to read qcmaquis output and evaluate entropies from\n the provided measurements.\n\n Attributes\n ----------\n hdf5_converter : Hdf5Converter\n reads the qcmaquis hdf5 output file\n orbital_rdm_builder : OrbitalRDMBuilder\n evaluates the one and two orbital rdm from data provided by the hdf5 converter\n s1_entropy : np.ndarray\n stores the sinlge orbital entropy\n s2_entropy : np.ndarray\n stores the two orbital two orbital entropy\n mutual_information : np.ndarray\n stores the mutual information\n n_orbitals : int\n the number of orbitals in the active space\n energy : float\n the energy of the qcmaquis calculation\n '¶
- __module__ = 'scine_autocas.interfaces.qcmaquis'¶
- make_s1(one_ordm)[source]¶
Evaluate single orbital entropy from one orbital RDM.
- Parameters
- one_ordmnp.ndarray
one orbital RDM
- Returns
- s1np.ndarray
single orbital entropy
- Raises
- AttributeError
if hdf5_converter has not read the output yet
- rtype
ndarray
..
- make_s2(two_ordm)[source]¶
Evaluate two orbital entropy from two orbital RDM.
- Parameters
- two_ordmnp.ndarray
two orbital RDM
- Returns
- s2np.ndarray
two orbital entropy
- Raises
- AttributeError
if hdf5_converter has not read the output yet
- rtype
ndarray
..
- make_mutual_information()[source]¶
Evaluate the mutual information.
- Returns
- mutual_informationnp.ndarray
mutual information
- Raises
- AttributeError
if s1 and s2 entropies are not evaluated
- rtype
ndarray
..
Modules
Module to related objects. |
|
Module to read and store qcmaquis measurements |
|
|
Module to provide functionalities to evaluate RDMs from qcmaquis calculations. |