compute the total energy
Energy(molecule, method, options)
list of lists; each list has 4 elements, the string of an atom's symbol and atom's x, y, and z coordinates
(optional) method = name/procedure where name is one of 'HartreeFock' (default), 'DensityFunctional','ActiveSpaceCI', 'ActiveSpaceSCF', 'CoupledCluster', 'FullCI','MP2', 'Variational2RDM', 'Parametric2RDM', 'ContractedSchrodinger'
(optional) equation(s) of the form option = value where option is any valid option of the chosen method
Energy computes the molecule's total energy, the sum of the electronic energy and the nuclear repulsion energy.
The procedure returns the energy as a float.
The default method is 'HartreeFock' method whose correlation energy is 0.
The result depends upon the chosen molecule, method, and basis set among other options such as charge, spin, and symmetry.
Because the methods employ Maple remember tables, the procedure only computes the energy if it has not been previously computed by calling the method directly or indirectly through another property.
Computation of the energy of the hydrogen fluoride HF molecule with the HartreeFock (default) and MP2 methods
molecule ≔ H,0,0,0,F,0,0,0.95;
output_hf ≔ Energymolecule;
output_hf ≔ Energymolecule, method='MP2';
Download Help Document
What kind of issue would you like to report? (Optional)