qiskit.chemistry.algorithms.pes_samplers.HarmonicPotential.fit_function¶
-
static
HarmonicPotential.
fit_function
(x, k, r_0, m_shift)[source]¶ Functional form of the potential.
- Parameters
x (
float
) – x parameter of harmonic potential functional formk (
float
) – k parameter of harmonic potential functional formr_0 (
float
) – r_0 parameter of harmonic potential functional formm_shift (
float
) – m parameter of harmonic potential functional form
- Return type
float
- Returns
harmonic potential functional form