Hamiltonian
TwoBody.Hamiltonian
— TypeHamiltonian(operator1, operator2, ...)
\[\hat{H} = \sum_i \hat{o}_i\]
The Hamiltonian is the input for each solver. This is an example for the non-relativistic Hamiltonian of hydrogen atom in atomic units:
\[\hat{H} = - \frac{1}{2} \nabla^2 - \frac{1}{r}\]
hamiltonian = Hamiltonian(
NonRelativisticKinetic(ℏ =1 , m = 1),
CoulombPotential(coefficient = -1),
)
Operators
TwoBody.NonRelativisticKinetic
— TypeNonRelativisticKinetic(ℏ=1, m=1)
\[-\frac{\hbar^2}{2m} \nabla^2\]
TwoBody.RestEnergy
— TypeTwoBody.RelativisticCorrection
— TypeRelativisticCorrection(c=1, m=1, n=2)
The p^{2n} term of the Taylor expansion:
\[\begin{aligned} \sqrt{p^2 c^2 + m^2 c^4} =& m \times c^2 \\ &+ 1 / 2 / m \times p^2 (n=1) \\ &- 1 / 8 / m^3 / c^2 \times p^4 (n=2) \\ &+ 1 / 16 / m^5 / c^4 \times p^6 (n=3) \\ &- 5 / 128 / m^7 / c^6 \times p^8 (n=4) \\ &+ \cdots \end{aligned}\]
Use c = 137.035999177
(from 2022 CODATA) in the atomic units.
TwoBody.RelativisticKinetic
— TypeRelativisticKinetic(c=1, m=1)
\[\sqrt{p^2 c^2 + m^2 c^4} - m c^2\]
Use c = 137.035999177
(from 2022 CODATA) in the atomic units.
TwoBody.ConstantPotential
— TypeConstantPotential(constant=1)
\[+ \mathrm{const.}\]
TwoBody.LinearPotential
— TypeLinearPotential(coefficient=1)
\[+ \mathrm{coeff.} \times r \]
TwoBody.CoulombPotential
— TypeCoulombPotential(coefficient=1)
\[+ \mathrm{coeff.} \times \frac{1}{r}\]
TwoBody.PowerLawPotential
— TypePowerLawPotential(coefficient=1, exponent=1)
\[+ \mathrm{coeff.} \times r^\mathrm{expon.}\]
TwoBody.GaussianPotential
— TypeGaussianPotential(coefficient=1, exponent=1)
\[+ \mathrm{coeff.} \times \exp(- \mathrm{expon.} \times r^2)\]
TwoBody.ExponentialPotential
— TypeExponentialPotential(coefficient=1, exponent=1)
\[+ \mathrm{coeff.} \times \exp(- \mathrm{expon.} \times r)\]
TwoBody.YukawaPotential
— TypeYukawaPotential(coefficient=1, exponent=1)
\[+ \mathrm{coeff.} \times \exp(- \mathrm{expon.} \times r) / r\]
TwoBody.DeltaPotential
— TypeDeltaPotential(coefficient=1)
\[+ \mathrm{coeff.} \times δ(r)\]
TwoBody.FunctionPotential
— TypeFunctionPotential(f)
\[+ f(r)\]
TwoBody.UniformGridPotential
— TypeUniformGridPotential(R, V)