Quarkonium-System

Validation

A number from a variational code can be wrong in quiet ways: a mistyped coefficient, a sign convention, a basis that has not converged, a fit stuck in a side minimum. This page lists what guards against each.

Tests

ctest --preset release runs about 180 tests; the asan preset runs them under the address and undefined-behaviour sanitizers, leaving out those labelled slow or heavy. The CI runs both presets on every push.

what is checked against what
every analytic matrix element independent numerical quadrature (tests/reference_quadrature.hpp)
derivatives (\partial H/\partial\theta), mass gradients finite differences
spin algebra explicit operators on Clebsch–Gordan states
solver exactly solvable potentials (harmonic oscillator, hydrogen, Airy levels of the linear potential)
Models C and D non-relativistic limit; closure against exact momentum-space products
fit machinery straight-line toy problems with known answers
statistics (special functions, tests, resampling) published values and exact cases
S–D interference sign independent numerical integration of the Dirac current
few-body engine the two-body GEM, exact oscillator systems, symmetry relations
published potentials of Semay and Silvestre-Brac published meson masses (AL1, AP1; π and ρ for AP2); the two solvers against each other for all four
reports and selection stored input records with expected tables

tests/validation/ holds a slower check of the statistics on the charmonium fit (leverages, exact leave-one-out refits, bootstrap, MCMC), with the ctest label slow.

Numerical error of the masses

Each fit reports (\lvert M(2n-1)-M(n)\rvert) per state (column num), well below 1 keV for the default basis in the non-relativistic models, against model errors of several MeV. --nested-check tabulates (n=10,19,37,73,145); --optimize-basis and the bgrid sweep show the dependence on (r_1,r_{\max}).

Parity of version 2 with version 1.4

Version 2 removed the Python analysis layer and rewrote it in C++. Both were run on the same inputs (multiquark and AL1 tables, a-priori analysis), and every sweep was rerun and compared with the version 1 archives. All differences found in the sweeps are reproduced by version 1.4.0 itself; the development log lists them.

Known limits