HarmonicPotential¶
-
class
HarmonicPotential
(molecule)[source]¶ Bases:
qiskit.chemistry.algorithms.pes_samplers.potentials.potential_base.PotentialBase
Implements a 1D Harmonic potential.
Input units are Angstroms (distance between the two atoms), and output units are Hartrees (molecular energy).
- Parameters
molecule (
Molecule
) – the underlying molecule.- Raises
ValueError – Only implemented for diatomic molecules
Methods
Returns the estimated dissociation energy for the current fit.
After fitting the data to the fit function, predict the energy at a point x.
Fits a potential to computed molecular energies.
Functional form of the potential.
Returns the fundamental frequency for the current fit (in s^-1).
Returns the interatomic distance corresponding to minimal energy.
Returns the maximum energy level for which the particular implementation still provides a good approximation of reality.
Returns the smallest molecular energy for the current fit.
This (1D) potential represents a single vibrational mode
The potential will usually be well-defined (even if not useful) for arbitrary x so we return a fairly large interval here.
Mostly for internal use. Preprocesses the data passed to fit_to_data()
Updates the underlying molecule.
Returns the n-th vibrational energy level for the current fit (in Hartrees).
Returns the wave number for the current fit (in cm^-1).