Goal (PLAN.md): one model layer, the two-body GEM and the N-body correlated-Gaussian solver behind one system layer, one command line, one C ABI with bindings, the Python analysis ported to C++, run record v2, parity with v1.4.
| Content | Release | ||
|---|---|---|---|
| 1 | Model layer (fitted A/B and AL1, AL2, AP1, AP2) for 2–4 bodies; request interface (docs/API.md); libqs + qs.h; C++, Python, Julia, Wolfram bindings; qs run |
v1.5.0 | [x] |
| 2 | Statistics of the analysis (model_selection.py, selection.py, the declared errors of sweep.py) in C++, checked against the Python results |
v1.6.0 | [x] |
| 3 | Sweep runner in C++ (replaces sweep.py), resumable, one JSON per run |
v1.7.0 | [x] |
| 4 | Run record v2 and the report columns (state, J^PC, data, pull, σ_th, σ_PM, convergence flag); tables and figures | v1.8.0 | [x] |
| 5 | One qs command line absorbing qgem, qgem_few, qgem_study; remove the Python analysis |
v2.0.0 | [x] |
| 6 | N = 5 in the correlated-Gaussian engine (PLAN.md: numerics for N = 2–5) | v2.1.0 | [x] |
qgem, qgem_few, qgem_study) and the Python analysis keep working until their
replacements reach parity; nothing is removed before.few/system.hpp): the two-body code (PairModel, every
partial wave) and the N-body code integrate the same list, and the tests require them to agree.src/analysis: statistics (the functions of model_selection.py; Shapiro-Wilk and the beta and normal
distributions without scipy), records (records, configurations, physical set, declared errors) and selection.
qs selection on the records of the v1.4 sweep gives docs/report/data/selection.csv byte for byte; the declared
errors agree with analysis/apriori.py (the test fixture tests/data/selection is cut from those records). The
Python scripts stay until the report and the sweeps are ported (increments 3-5).
src/analysis/sweeps, qs sweep. Parity: the job lists of all 24 sweeps (1065 command lines, seeds included) equal
those of analysis/sweep.py on the records of the v1.4 sweep; tests/data/selection/jobs keeps three of them. One
difference: a failed studies run is kept as <tag>.failed, so that it is run again (Python marked it as done).
qs report, qs multiquark, qs al1 (src/analysis) and the figures (src/root/figures.cpp, built with ROOT).
tables.md agree with the Python output except for the label
“fit mu_s” (was “fitmu_s”), the sign of the unconstrained eigenvectors (largest component positive), large integer
values printed with %.6g and the round-off of the largest norm error. 20 of the 21 figures are identical pixel for
pixel; ranking_floor differs in that label. The test ReportParity compares a cut of those records
(tests/data/report) with the Python output.jpc, floor_mode, sigma_pm_GeV and converged (docs/API.md). At a declared error σ_PM
costs one more iterated fit. B_c has neither σ_PM nor a flag (it is predicted from the two fits).qs fit, qs few and qs study (src/apps) replace qgem, qgem_few and qgem_study; the options are
unchanged. The sweeps and the multiquark runs start qs again with these commands (the sweeps from a copy of the
binary kept beside the results). analysis/ is removed; its checks are GoogleTest cases (test_statistics,
test_selection, test_apriori, test_sd_sign). The Python binding and examples/ stay. docs/report/ is the
report of v1.4 and is not regenerated.
Five bodies, L = 0, for the order q q q q q̄ (src/few): Jacobi sets of baryon + meson and pair + pair + antiquark
form, the three colour singlets (|1 1⟩ and |8 8⟩ with the pair 01 in 3̄ or 6), the spin states of five spin-1/2, and a
limit on the dimension of the dense matrices. The colour weights are now the expectation values of the projectors
averaged over the exchange group, which is exact for any set of identical particles (for N ≤ 4 the numbers are
unchanged: three reference runs, with three and four bodies, agree to every printed digit). Tests (test_few_five):
harmonic forces with unequal masses, the baryon + meson threshold, a basis closed under the 24 permutations in which
the antisymmetrised levels are levels of the unsymmetrised problem. Not done: a convergence study, pentaquark spectra,
the orders with more than one antiquark (colour singlets of other particle types).
Every sweep was rerun with the C++ runner (laptop, 26 jobs, 5.9 h) and compared record by record with the released archives of version 1. A record agrees if every state mass and σ_th are within 0.05 MeV (and χ², for the v1.1.0 archive, within 0.05).
| sweep | archive | records | agree |
|---|---|---|---|
lm |
v1.1.0 | 80 | 80 |
minuit |
v1.1.0 | 80 | 68 |
main |
v1.1.0 | 80 | 74 |
floor0 |
v1.1.0 | 19 | 19 |
floor |
v1.1.0 | 80 | 74 |
floor2 |
v1.1.0 | 160 | 158 |
joint, joint2, widths |
v1.1.0 | 53 | 53 |
cv |
v1.1.0 | 80 | 74 |
stats |
v1.1.0 | 21 | 21 |
nested |
v1.1.0 | 80 | 74 |
bopt, bgrid, shape, rel |
v1.1.0 | 127 | 127 |
rep, oneloop, screen |
v1.2.0 | 28 | 28 |
cx (all of A and B) |
v1.2.0 | 56 | 52 |
apriori, apriori_half, apriori_double |
v1.3.0 | 114 | 114 |
The numbers printed by the studies runs are the same as in the v1.2.0 archive.
The differences do not come from the rewrite. 26 of the runs concerned were repeated with a version 1.4.0 build on
exactly the inputs of the version 2 run: all differing records of main (6), minuit (12) and cx (4), and four
further ones (of main, floor and cv) whose decay widths differ from the archive. 24 of them are identical to
version 2 in every number. The other two, B-apt-con-none-cx and B-frozen-con-none-cx, agree in the fitted masses
within 3 × 10⁻⁴ MeV; their B_c “predictions” of 30 and 38 GeV, which come from a runaway direction (the b b̄ quark mass
against the constant c, with no spin terms), agree within 0.34 MeV. So the archived records differ from what version
1.4.0 itself gives today.
Where the differing records are:
main: C-free-coff (B_c by 142 MeV), D-const-con (18 MeV), D-free-con, A-apt-con-first, C-const-con,
C-free-con (at most 1.4 MeV). None is in the physical set. The differing records of floor, floor2, cv and
nested belong to configurations of this list.minuit (a diagnostic, one start per fit): the differences of the main kind, and the run of B-apt-coff-first,
which now stops in a poor b b̄ minimum (σ_th 21 MeV; the final fit has 3.5 MeV). The final fit is unaffected. The
report no longer lists Minos errors for such a run.cx: A-const-con-none-cx, B-apt-con-none-cx, B-frozen-con-none-cx (the runaway direction above; the B_c
value is meaningless in all three) and A-apt-con-first-cx (0.46 MeV).The report regenerated from the new records (docs/report) agrees with the v1.4 tables in the selection, the
a-priori verdicts and the level tables; its header says what differs. The multiquark and AL1 tables had been compared
earlier and agree.