API Reference
The API reference below is generated from docstrings in the source code.
Index
FewBodyVMC.CoulombOperatorFewBodyVMC.OperatorsFewBodyVMC.VMCSolutionFewBodyVMC.coulomb_weightsFewBodyVMC.energiesFewBodyVMC.jacobi_coordinatesFewBodyVMC.particle_coordinatesFewBodyVMC.solve
Docstrings
FewBodyVMC.CoulombOperator — Type
Coulomb interaction coefficient / norm(X' * w) in Jacobi coordinates.
FewBodyVMC.Operators — Type
Operators([masses[, charges]])Hamiltonian builder using the same particle ordering and shorthand as FewBodyECG.jl. ops += "Kinetic" adds the internal kinetic energy and ops += "Coulomb" adds every pair with coefficient q[i] * q[j].
FewBodyVMC.VMCSolution — Type
Result of a variational Monte Carlo calculation.
FewBodyVMC.coulomb_weights — Method
Return Coulomb pair weights in insertion order.
FewBodyVMC.energies — Method
Return the one-element vector containing the VMC ground-state estimate.
FewBodyVMC.jacobi_coordinates — Method
Transform an N × 3 particle-position matrix to Jacobi coordinates.
FewBodyVMC.particle_coordinates — Method
Back-transform Jacobi coordinates to centre-of-mass-free particle positions.
FewBodyVMC.solve — Method
solve(operators, wavefunction, method::VariationalMonteCarlo; rng=MersenneTwister(123))Sample abs2(wavefunction) and return a VMCSolution. The default RNG makes examples and tests reproducible.