Here is my code snippet computing the relaxed energy to compute the dipole moment and polarizability using the pyhton interface:
psi4.set_options({
'perturb_h': True,
'perturb_with': 'dipole',
'perturb_dipole':h.tolist(), # h is a np array of size 3 containing the field strength
})
E_perturbed = psi4.energy('scf') #- mol.nuclear_repulsion_energy()
return E_perturbed
How can I compute the unrelaxed energies for the same purpose?