Hamiltonians¶
-
class
qflow.hamiltonians.
Hamiltonian
¶ -
external_potential
(self: qflow.hamiltonians.Hamiltonian, arg0: numpy.ndarray[float64[m, n]]) → float¶
-
internal_potential
(self: qflow.hamiltonians.Hamiltonian, arg0: numpy.ndarray[float64[m, n]]) → float¶
-
kinetic_energy
(self: qflow.hamiltonians.Hamiltonian, arg0: numpy.ndarray[float64[m, n]], arg1: _qflow_backend.wavefunctions.Wavefunction) → float¶
-
kinetic_energy_numeric
(self: qflow.hamiltonians.Hamiltonian, arg0: numpy.ndarray[float64[m, n]], arg1: _qflow_backend.wavefunctions.Wavefunction) → float¶
-
local_energy
(*args, **kwargs)¶ Overloaded function.
local_energy(self: qflow.hamiltonians.Hamiltonian, arg0: numpy.ndarray[float64[m, n]], arg1: _qflow_backend.wavefunctions.Wavefunction) -> float
local_energy(self: qflow.hamiltonians.Hamiltonian, arg0: _qflow_backend.samplers.Sampler, arg1: _qflow_backend.wavefunctions.Wavefunction, arg2: int) -> float
-
local_energy_array
(self: qflow.hamiltonians.Hamiltonian, arg0: _qflow_backend.samplers.Sampler, arg1: _qflow_backend.wavefunctions.Wavefunction, arg2: int) → numpy.ndarray[float64[1, n]]¶
-
local_energy_gradient
(self: qflow.hamiltonians.Hamiltonian, arg0: _qflow_backend.samplers.Sampler, arg1: _qflow_backend.wavefunctions.Wavefunction, arg2: int) → numpy.ndarray[float64[1, n]]¶
-
local_energy_numeric
(*args, **kwargs)¶ Overloaded function.
local_energy_numeric(self: qflow.hamiltonians.Hamiltonian, arg0: numpy.ndarray[float64[m, n]], arg1: _qflow_backend.wavefunctions.Wavefunction) -> float
local_energy_numeric(self: qflow.hamiltonians.Hamiltonian, arg0: numpy.ndarray[float64[m, n]], arg1: _qflow_backend.wavefunctions.Wavefunction) -> float
-
mean_distance_array
(self: qflow.hamiltonians.Hamiltonian, arg0: _qflow_backend.samplers.Sampler, arg1: int) → numpy.ndarray[float64[1, n]]¶
-
mean_radius_array
(self: qflow.hamiltonians.Hamiltonian, arg0: _qflow_backend.samplers.Sampler, arg1: int) → numpy.ndarray[float64[1, n]]¶
-
mean_squared_radius_array
(self: qflow.hamiltonians.Hamiltonian, arg0: _qflow_backend.samplers.Sampler, arg1: int) → numpy.ndarray[float64[1, n]]¶
-
onebodydensity
(self: qflow.hamiltonians.Hamiltonian, arg0: _qflow_backend.samplers.Sampler, arg1: int, arg2: float, arg3: int) → numpy.ndarray[float64[1, n]]¶
-
optimize_wavefunction
(self: qflow.hamiltonians.Hamiltonian, arg0: _qflow_backend.wavefunctions.Wavefunction, arg1: _qflow_backend.samplers.Sampler, arg2: int, arg3: int, arg4: SgdOptimizer, arg5: float, arg6: bool) → None¶
-
twobodydensity
(self: qflow.hamiltonians.Hamiltonian, arg0: _qflow_backend.samplers.Sampler, arg1: int, arg2: float, arg3: int) → numpy.ndarray[float64[m, n]]¶
-
-
class
qflow.hamiltonians.
HarmonicOscillator
¶ -
__init__
(self: qflow.hamiltonians.HarmonicOscillator, omega_ho: float = 1, omega_z: float = 1, h: float = 0.001) → None¶
-
gross_pitaevskii_energy
(self: qflow.hamiltonians.HarmonicOscillator, arg0: numpy.ndarray[float64[m, n]], arg1: _qflow_backend.wavefunctions.Wavefunction) → float¶
-