QMolecule¶
- class QMolecule(filename=None)[source]¶
Molecule data class containing driver result.
When one of the chemistry
drivers
is run and instance of this class is returned. This contains various properties that are made available in a consistent manner across the various drivers.Note that values here, for the same input molecule to each driver, may be vary across the drivers underlying code implementation. Also some drivers may not provide certain fields such as dipole integrals in the case of
PyQuanteDriver
.This class provides methods to save it and load it again from an HDF5 file
Attributes
Returns: A list of core orbital indices.
returns temp file path
Returns one body electron integrals.
Returns two body electron integrals.
returns x_dipole_integrals
returns y_dipole_integrals
returns z_dipole_integrals
Methods
QMolecule.Z
(natom)Check if dipole integrals are present.
loads info saved.
log properties
QMolecule.onee_to_spin
(mohij[, mohij_b, …])Convert one-body MO integrals to spin orbital basis
QMolecule.oneeints2mo
(ints, moc)Converts one-body integrals from AO to MO basis
QMolecule.remove_file
([file_name])remove file
QMolecule.save
([file_name])Saves the info from the driver.
QMolecule.twoe_to_spin
(mohijkl[, …])Convert two-body MO integrals to spin orbital basis
QMolecule.twoeints2mo
(ints, moc)Converts two-body integrals from AO to MO basis
QMolecule.twoeints2mo_general
(ints, moc1, …)