FewBodyVMC.jl solves quantum few-body bound-state problems using variational Monte Carlo. It combines Hamiltonians from FewBodyHamiltonians.jl with trial wave functions and provides a solve-based interface for energy estimation, sampling diagnostics, and convergence analysis.
Run the following command in the Julia REPL or a notebook:
import Pkg; Pkg.add(url="https://github.com/JuliaFewBody/FewBodyVMC.jl.git")After installation, build a three-body Hamiltonian and trial wavefunction:
using FewBodyVMC
ops = Operators([1836.15267343, 3670.48296788, 1.0], [1.0, 1.0, -1.0])
ops += "Kinetic"
ops += "Coulomb"
ψ = DiatomicOneElectronWavefunction(ops)- Home: https://JuliaFewBody.github.io/FewBodyVMC.jl
- HD⁺ Example: https://JuliaFewBody.github.io/FewBodyVMC.jl/dev/example
- H₂⁺ Example: https://JuliaFewBody.github.io/FewBodyVMC.jl/dev/h2plus
- API Reference: https://JuliaFewBody.github.io/FewBodyVMC.jl/dev/api
See CITATION.bib for the relevant reference(s).