|
Calling Sequence
|
|
Variational2RDM(molecule, options)
Variational2RDM(nelectrons, mo_integrals = table)
|
|
Parameters
|
|
molecule
|
-
|
list of lists; each list has 4 elements, the string of an atom's symbol and atom's x, y, and z coordinates
|
options
|
-
|
(optional) equation(s) of the form option = value where option is one of active, conditions, casscf, nuclear_gradient, return_rdm, populations, symmetry, unit, conv_tol, max_memory, max_cycle, max_cycle_sdp, initial_mo, conv_tol_hf, diis_hf, diis_space_hf, diis_start_cycle_hf, direct_scf_hf, direct_scf_tol_hf, level_shift_hf, max_cycle_hf, nuclear_gradient_hf, populations_hf
|
nelectrons
|
-
|
integer; number of electrons
|
mo_integrals
|
-
|
mo_integrals = table where the table has two entries one_electron_integrals and two_electron_integrals that contain the one- and two-electron integrals, respectively. The integrals must be specified as Matrices in the format given on the help page for MOIntegrals. The table can have two additional entries to add pointgroup symmetry, group and mo_symmetry, in which group is a string with the pointgroup (i.e. "D2h", "C2h", "C2v", "D2", "Cs", "Ci", "C2", or "C1") and mo_symmetry is a Vector containing strings of the molecular orbitals' irreducible representations (i.e. the Vector returned as mo_symmetry by HartreeFock).
|
|
|
|
|
Description
|
|
•
|
The variational 2-RDM method computes the ground-state energy of a molecule as a variational functional of the two-electron reduced density matrix (2-RDM). The 2-RDM is computed subject to N-representability conditions, which are necessary constraints for the 2-RDM to represent an N-electron density matrix.
|
•
|
The 2-RDM is computed directly without the many-electron wave function through a special type of constrained optimization known as semidefinite programming.
|
•
|
The optional conditions keyword controls the N-representability conditions employed in the calculation. It can be set to the following strings: "D", "DQ", "DQG" (default), and "DQGT".
|
•
|
The optional return_rdm keyword controls whether or not the spin-free 1- and/or 2-RDMs are returned. If set to "rdm1" (default), the 1-RDM is returned, if set to "rdm1_and_rdm2", the 1- and 2-RDMs are returned, and if set to "none", RDMs are not returned.
|
•
|
The optional active keyword can be provided to control the size of the active space. The active keyword can be assigned to a list of two elements [N,r] containing the number N of active electrons and the number r of active orbitals or a set {} containing the indices of the molecular orbitals to be treated as active. If the active keyword is not assigned, then a [2,2] active space is automatically chosen for even N and a [3,3] active space for odd N.
|
•
|
The optional casscf keyword controls whether or not the orbitals of the active space are optimized. If set to false (default), the orbitals are not optimized, and if set to true, the orbitals are optimized.
|
•
|
The second calling sequence requires the number of electrons nelectrons and a keyword mo_integrals set to a Maple table that contains the one- and two-electron integrals. This calling sequence allows for using custom Hamiltonians in the Variational 2-RDM method.
|
|
|
Outputs
|
|
The table of following contents:
|
-
|
float -- total electronic energy of the system
|
|
-
|
float -- the difference between the variational 2-RDM method's energy and the Hartree-Fock energy
|
|
-
|
Matrix -- coefficients expressing natural molecular orbitals (columns) in terms of atomic orbitals (rows)
|
|
-
|
Matrix -- coefficients expressing canonical molecular orbitals (columns) in terms of atomic orbitals (rows)
|
|
-
|
Vector -- molecular (natural) orbital occupations
|
|
-
|
integer -- 1 or 0, whether the energies are converged or not
|
|
-
|
string -- name of the molecule's point group symmetry
|
|
-
|
Vector -- string label for each atomic orbital consisting of the atomic symbol and the orbital name
|
|
-
|
list -- list of integers and/or integer ranges indicating the molecular orbitals that are active for correlation
|
|
-
|
Matrix -- one-particle reduced density matrix (1-RDM) in molecular-orbital (MO) representation
|
|
-
|
Matrix -- two-particle reduced density matrix (2-RDM) in molecular-orbital (MO) representation
|
|
-
|
Vector -- dipole moment according to its x, y and z components
|
|
-
|
Matrix -- atomic-orbital populations
|
|
-
|
Vector -- atomic charges from the populations
|
|
-
|
Matrix -- analytical nuclear gradient
|
|
|
|
|
Options
|
|
•
|
basis = string -- name of the basis set. See Basis for a list of available basis sets. Default is "sto-3g".
|
•
|
spin = nonnegint -- twice the total spin S (= 2S). Default is 0.
|
•
|
charge = nonnegint -- net charge of the molecule. Default is 0.
|
•
|
symmetry = string/boolean -- is the Schoenflies symbol of the abelian point-group symmetry which can be one of the following: D2h, C2h, C2v, D2, Cs, Ci, C2, C1. true (default) finds the appropriate symmetry while false does not use symmetry.
|
•
|
unit = string -- "Angstrom" or "Bohr". Default is "Angstrom".
|
•
|
ghost = list of lists -- each list has the string of an atom's symbol and the atom's x, y, and z coordinates. See Ghost Atoms.
|
•
|
conditions = string -- "D", "DQ", "DQG," or "DQGT". Default is "DQG".
|
•
|
active = list or set -- [number of electrons, number of active orbitals] or {integer indices of the active orbitals}
|
•
|
return_rdm = string -- options to return the 1-RDM and/or 2-RDM: "none", "rdm1", "rdm1_and_rdm2". Default is "rdm1".
|
•
|
casscf = boolean -- optimize the active orbitals through rotations with the inactive orbitals. Default is false.
|
•
|
pair = boolean -- treat the active orbitals with a pair variational 2-RDM method corresponding to the doubly occupied configuration interaction approximation. Default is false.
|
•
|
populations = string -- atomic-orbital population analysis: "Mulliken" and "Mulliken/meta-Lowdin". Default is "Mulliken".
|
•
|
nuclear_gradient = boolean -- option to return the analytical nuclear gradient if available. Default is false.
|
•
|
conv_tol = float -- converge threshold. Default is 5*
|
•
|
max_cycle = posint -- max number of iterations. Default is 50.
|
•
|
max_cycle_sdp = posint -- max number of SDP iterations. Default is 50000.
|
•
|
max_memory = posint/boolean -- allowed memory in MB. Default is 4000.
|
•
|
verbose = posint -- positive integer between 1 and 5 that controls printing. Default is 1.
|
•
|
initial_mo = list -- initial molecular orbitals (MOs) as a list: [ t[mo_coeff], t[mo_symmetry] ] where t[mo_coeff] is the Matrix of MOs (columns) in terms of atomic orbitals (rows) and t[mo_symmetry] is the Vector of MO symmetries (see HartreeFock output).
|
•
|
Attributes for Hartree Fock:
|
•
|
conv_tol_hf = float -- converge threshold. Default is
|
•
|
diis_hf = boolean -- whether to do diis. Default is true.
|
•
|
diis_space_hf = posint -- diis's space size. By default, 8 Fock matrices and errors vector are stored.
|
•
|
diis_start_cycle_hf = posint -- the step to start diis. Default is 1.
|
•
|
direct_scf_hf = boolean -- direct SCF in which integrals are recomputed is used by default.
|
•
|
direct_scf_tol_hf = float -- direct SCF cutoff threshold. Default is
|
•
|
level_shift_hf = float/int -- level shift (in a.u.) for virtual space. Default is
|
•
|
max_cycle_hf = posint -- max number of iterations. Default is 50.
|
•
|
nuclear_gradient_hf = boolean -- option to return the analytical nuclear gradient. Default is false.
|
•
|
populations_hf = string -- atomic-orbital population analysis: "Mulliken" and "Mulliken/meta-Lowdin". Default is "Mulliken".
|
•
|
mo_integrals = table -- table with two entries one_electron_integrals and two_electron_integrals containing the one- and two-electron integrals, respectively. The integrals must be specified as Matrices in the format given on the help page for MOIntegrals. The table can have two additional entries to add pointgroup symmetry, group and mo_symmetry, in which group is a string with the pointgroup (i.e. "D2h", "C2h", "C2v", "D2", "Cs", "Ci", "C2", or "C1") and mo_symmetry is a Vector containing strings of the molecular orbitals' irreducible representations (i.e. the Vector returned as mo_symmetry by HartreeFock).
|
|
|
References
|
|
5.
|
L. E. McNamara, J.-N. Boyn, C. Melnychuk, S. W. Anferov, D. A. Mazziotti, R. D Schaller, and J. S Anderson, J. Am. Chem. Soc. 144, 16447-16455 (2022). "Bright, modular, and switchable near-infrared II emission from compact tetrathiafulvalene-based diradicaloid complexes"
|
|
|
Examples
|
|
>
|
|
A variational 2-RDM calculation of the molecule
>
|
|
| (1) |
>
|
|
Consider the molecule porphyrin
>
|
|
| (2) |
>
|
|
>
|
|
With the second calling sequence we can customize the Hamiltonian by defining the electron integrals. For example, let us demonstrate by using the integrals returned by MOIntegrals
>
|
|
>
|
|
>
|
|
>
|
|
>
|
|
>
|
|
>
|
|
| (3) |
Note that the returned energy needs to be corrected for the nuclear repulsion energy
>
|
|
To verify this result, we compare with computing the energy by the standard approach
>
|
|
|
|
|