Skip to content

Latest commit

 

History

221 Commits

Folders and files

Repository files navigation

FewBodyECG.jl

Stable Dev Build Status Coverage

FewBodyECG.jl solves quantum few-body bound-state problems with explicitly correlated Gaussian variational bases. Build Hamiltonians with Operators, choose a solver method with solve, and inspect a Solution with convergence reports, stage histories, wavefunctions, and plotting recipes.

Install

import Pkg
Pkg.add("FewBodyECG")

Quickstart

using FewBodyECG
using Plots

ops = Operators([1.0e15, 1.0], [+1.0, -1.0])
ops += "Kinetic"
ops += "Coulomb"

sol = solve(ops, SVM(basis = 25, candidates = 20, scale = 1.0))
sol

plot(sol, -0.5)

v2.0

v2.0 is a breaking API release. The old solve_ECG* entry points and SolverResults utilities are replaced by solve(ops, method), Solution, energy, energy_history, wavefunction, and plotting recipes. See CHANGELOG.md for the migration table.

Features

  • Unified solve API with stochastic SVM/Refine, gradient-based GVM/DynamicGVM, and → pipelines.
  • Honest ConvergenceReport values on every Solution.
  • Incremental whitened eigensolver for stochastic basis growth.
  • Rank-0 stochastic/gradient solvers plus Rank-1/Rank-2 manual matrix-layer support.
  • RecipesBase plotting without depending on Plots at package load time.

Releases

Packages

Used by

Contributors

Languages