tequila.quantumchemistry.QuantumChemistryPsi4¶
-
class
tequila.quantumchemistry.
QuantumChemistryPsi4
(parameters: tequila.quantumchemistry.qc_base.ParametersQC, transformation: Union[str, Callable] = None, active_orbitals=None, reference=None, *args, **kwargs)[source]¶ Bases:
tequila.quantumchemistry.qc_base.QuantumChemistryBase
-
__init__
(parameters: tequila.quantumchemistry.qc_base.ParametersQC, transformation: Union[str, Callable] = None, active_orbitals=None, reference=None, *args, **kwargs)[source] - Parameters
parameters –
transformation –
active_orbitals (dictionary :) – dictionary with irreps as keys and a list of integers as values i.e. occ = {“A1”:[0,1], “A2”:[0]} means the occupied active space is made up of spatial orbitals 0A1, 1A1 and 0A2 as list: Give a list of spatial orbital indices i.e. occ = [0,1,3] means that spatial orbital 0, 1 and 3 are used
reference ((Default value=None)) – List of orbitals which form the reference Can be given in the same format as active_orbitals If given as None then the first N_electron/2 orbitals are taken and the corresponding active orbitals are removed
args –
kwargs –
Attributes
Methods
Compute closed-shell CC amplitudes
Compute the CCSD amplitudes
Compute the CIS amplitudes of the molecule
Compute energy given a method.
Compute closed-shell mp2 amplitudes
Same functionality as qc_base.compute_rdms (look there for more information), plus the additional option to compute 1- and 2-RDM using psi4 by the keyword psi4_rdms
- param args
Initialize direclty from openfermion MolecularData object
Notes
Creates a molecule in openfermion format by running psi4 and extracting the data Will check for previous outputfiles before running Will not recompute if a file was found
- param initial_amplitudes
initial amplitudes given as ManyBodyAmplitudes structure or as string
UpGCCSD Ansatz similar as described by Lee et.
Returns orbital energies of a given irrep or all orbital energies of all irreps (default)
- returns
Given the spin-ful 1- and 2-particle reduced density matrices, compute the spin-free RDMs by spin summation.
Does a really lazy workaround .
-