qiskit.chemistry.algorithms.pes_samplers.MorsePotential.fit_function¶
-
static
MorsePotential.
fit_function
(x, d_e, alpha, r_0, m_shift)[source]¶ Functional form of the potential.
- Parameters
x (
float
) – x parameter of morse potentiald_e (
float
) – d_e parameter of morse potentialalpha (
float
) – alpha parameter of morse potentialr_0 (
float
) – r_0 parameter of morse potentialm_shift (
float
) – m_shift parameter of morse potential
- Return type
float
- Returns
potential functional form