Release notes

This page says, for each version, what to do when you upgrade, what is new, which values change and which requests are newly refused. It is the only page of the documentation that names versions.

The published release is 1.0.3. Version 1.0.4 is the version of the main branch, which this documentation describes; it is not published.

Version On PyPI
1.0.4 not published (the main branch)
1.0.3 30 November 2026: the current release
1.0.2 never published; contained in 1.0.3
1.0.1 17 October 2026
1.0.0 4 October 2026
0.2.0 3 September 2026
0.1.4 8 August 2026

If you installed pyAmpliCol from PyPI, you are upgrading to 1.0.3: read Upgrading to 1.0.3.

When you skip versions, read the sections of every version in between. Since 1.0.2 an artifact (the generated process directory) is read only by the version of pyAmpliCol that wrote it: regenerate your artifacts after every upgrade.

  1. 1.0.4
    1. Upgrading to 1.0.4
    2. Behavior that changes
    3. Fixes
  2. 1.0.3 release
    1. Upgrading to 1.0.3
    2. Values that change
    3. Requests newly refused
    4. What is new
    5. Known limits
    6. Platforms, dependencies and validation
  3. 1.0.2 release
  4. 1.0.1 release
  5. 1.0.0 release
  6. 0.2.0 release
  7. 0.1.4 release

1.0.4

Version 1.0.4 is the version of the main branch and is not yet published: pip install pyamplicol installs 1.0.3.

Upgrading to 1.0.4

Generate every artifact again. A 1.0.4 installation refuses a process artifact written by 1.0.3, and 1.0.3 one written by 1.0.4, with a message that says so; regenerated, it gives the same values to the last bit (one exception below). Prepared models (.pyamplicol-model) of 1.0.3, those shipped for built-in-sm and built-in-sm-heft included, keep working with the same values; cached compiled models and one-loop preparations are rebuilt when needed.

Behavior that changes

  • Command-line paths with a run card. In 1.0.3 a relative path given on the command line together with a card (the artifact, --momenta, a --set value) was read from the card’s folder. In 1.0.4 it is read from the working directory; paths written in the card stay relative to the card (Run card).
  • A Python color accuracy at one loop. A stated accuracy (ColorConfig(accuracy="lc"), or a card read with load_config) is now kept for a request with brackets, as on the command line, so such a one-loop artifact is leading color, with values other than 1.0.3’s silent full color; a loop-induced request is refused (loop-induced-colour-accuracy). An accuracy never stated still gives full color. A card from pyamplicol config template states accuracy = "lc": for one loop, remove that line or set the accuracy you want.

Fixes

  • An artifact generated from Python with generate(..., model=...) records that model, so check and appending work on it; 1.0.3 recorded the built-in Standard Model (check failed with tree-only-model).
  • A Generator keeps the model and expression settings of one call for that call only; in 1.0.3, plain calls after a [QCD] call ran at one loop.
  • profile --card works with the shipped u u~ > Z + 6g cards; 1.0.3 stopped with “no readable validation point”. profile --process takes an expression in any leg order, with points in that order, as evaluate.
  • BenchmarkRunner(config).run(path) applies evaluation.threads to a one-loop artifact it loads.
  • model compile and CompiledModel.write no longer append .pyAmplicol-model.json to a name ending with it or .compiled-model.json in another letter case; a write error names the file asked for.
  • The warning “recurrence generation uses prepared model settings for …” appears only for a setting the request states.
  • The refusal of a tree-level request on a JSON or UFO model without a prepared model, in the default execution mode, also names the compiled mode.

Documentation. Reorganized around what a user does; old addresses, sections included, forward to the new places.

1.0.3 release

Version 1.0.3 is the current release: the source tag v1.0.3 and the PyPI release. Version 1.0.3 contains 1.0.2, which was not published: coming from 1.0.1, read the 1.0.2 section too, which introduces one-loop matrix elements.

Upgrading to 1.0.3

Regenerate every artifact and prepare every model again. Nothing written by an earlier build is converted.

  • Regenerate. Artifacts, prepared models (.pyamplicol-model) and saved compiled models of earlier builds are refused with a message that says so (Process artifacts and portability, Troubleshooting). This includes development builds that called themselves 1.0.3.
  • Move off the eager execution mode. It is deprecated; what it does not serve is a typed error. Use recurrence, compiled or on-the-fly.
  • A refused one-loop point no longer raises. The default of on_failure changed from "raise" to "best-effort" (below). Code that caught EvaluationError for a single refused point now gets a result: read result.statuses and result.warnings, or pass on_failure="raise" (--on-failure raise) for the old behavior.
  • Profiling. The flat phase-space sample of a seed changes at the level of rounding for processes with a massive external leg: draw all shards of one profiled row with the same version.
  • Expect new refusals where a value would be wrong (below).

Values that change

Each of these values was returned without a message before 1.0.3.

What you computed Before 1.0.3 From 1.0.3
a tree with a three-gluon vertex and a colored particle with a width, every execution mode up to \(3 \times 10^{-5}\) off spin-summed (t t~ > u u~ g z), up to \(6 \times 10^{-3}\) per helicity, depending on the order of the legs; a non-transverse spin vector on a gluon up to a third off equal to MadGraph
evaluate on a color-correlated artifact generated at LC or NLC the full-color value (the correlated values were right) the value at the artifact’s accuracy
a run with process.reference_color_order other values in the compiled mode, and in the recurrence mode at LC the same values: the field only relabels
a massive fermion in the initial state trees above binary64 up to 12 % off (b~ t > w+ h); one loop in double-double and arbitrary precision up to 99 % off (g b > t w-); binary64 near the beam axis correct
the electroweak loop models at real masses inside unphysical windows (a top quark at 82 GeV with a 4.7 GeV bottom quark) 1.5 to 2.8 % off (g g > t t~ with QED corrections) correct
generated points (validation, probes) of a one-loop artifact whose fixed_parameters change an external mass off the mass shells the amplitude binds, reported as success on those shells; a point of your own off them is marked uncertified in the checked mode
one-loop values on NinjaRS, checked reduction some lanes lost most of their digits while reporting success (122 of 10,000 g g > g g g points below 5 digits) such lanes reduced again in higher precision: about a quarter more time on g g > g g g, nearly twice on g g > g g g g (one core); the unchecked reduction is unchanged
built-in SM, a Higgs propagator on a top-quark line some diagrams dropped, depending on the order of the recursion (t t~ > t t~ at { QCD = 0, QED = 2 }: 0.633 instead of 1.563) equal to the UFO sm and MadGraph
built-in SM + HEFT, a color singlet between a pure-gluon part of a tree and a quark line (g g > t t~ with HIG >= 1) projected in color by the compiled and eager modes (the squared Higgs term \(\tfrac{14}{9}\) of MadGraph’s), dropped by the others served at LC, NLC and full color, equal to MadGraph
built-in SM + HEFT, a Higgs joined by the effective vertex to another quark line (d d~ > t t~ g) dropped by the compiled and eager modes served by the recurrence, on-the-fly and compiled modes
built-in SM + HEFT, NLC of three gluons alone in the compiled mode (z z > g g g) up to 12.5 % low correct
built-in SM + HEFT, default coupling orders t t~ > h g kept one route (\(8.4 \times 10^{-4}\) instead of 3.05 at a test point) each order’s UFO expansion_order, as in MadGraph (HIG has hierarchy 2): both routes kept
one-loop values on TIRust (updated reduction libraries)   move by at most \(3.5 \times 10^{-11}\) relative over the regression suite; a scalar box with a soft massless line between two on-shell massive lines at a vanishing channel, which returned NaN or an unrelated value, is fixed

Requests newly refused

Each refusal carries a key and a remedy; all of them are listed in Refusals and errors.

Key What is refused
cms-five-flavour-massive-b the complex-mass scheme with a massive bottom quark on the five-flavor electroweak models (17 to 56 % off Recola); the strong corrections and a massless bottom stay served
cms-model-helper in the complex-mass scheme, a request that evaluates a model helper function whose complex continuation is not implemented
cms-revived-coupling in the complex-mass scheme, couplings that the restriction removed as zero but that are not exactly zero under that scheme
counterterm-parameter-branch a run-time value at which a counterterm changes form, for example MB = 0 on an artifact generated with MB nonzero (it gave NaN or the other form’s value)
model-helper a loop model that binds a helper function whose exact source cannot be read or lowered
restriction-card-entries a restriction card that assigns one SLHA entry two different values

Also refused now:

  • a run-time model parameter that changes a value the generation specialized on;
  • in profile, BenchmarkRunner and the Python profiling functions, model parameters that change an external mass: they draw points on the masses the loaded runtime binds;
  • in the eager mode, the HEFT shapes it does not serve (use another mode);
  • an explicitly requested reduction backend that cannot serve a call: it is refused, never switched;
  • with the lane rescue switched off (lane_rescue=False), an unchecked evaluation can fail at a point the earlier TIRust served (6 of 16 flat points of u u~ > t t~ g g); with the lane rescue on, the default, such points are served.

What is new

One-loop matrix elements (with those of 1.0.2, the first published release that has them):

  • Loop-induced processes, without a tree-level amplitude within their coupling-order limits (g g > h, g g > z z, h > g g): the square \(\lvert \mathcal{M}^{(1)} \rvert^2\) at full color (LC and NLC are refused), with resolved and correlated values, in Python and in the C, C++, Fortran, Rust and UMAMI interfaces. process.loop_induced routes them in a multiparticle request (One-loop matrix elements).
  • Two reduction backends, NinjaRS (integrand reduction) and TIRust (tensor-integral reduction), chosen with [loop] reduction and evaluation.reduction (--loop-reduction, reduction=). "auto", the default, takes TIRust for loop-induced processes and NinjaRS for virtual corrections, and evaluates a point TIRust refuses again on NinjaRS.
  • Accuracy controls: a target accuracy evaluation.reduction_target (default 1e-5 relative per point); stability checks in Python and in every native interface, off by default; a rescue policy through double-double and arbitrary precision; the lane rescue, on by default, which reduces a refused lane again in higher precision; the improvement of the input points to exact momentum conservation and on-shell legs above binary64 (evaluation.kinematics_improvement, default "z-shift"); an unchecked timing mode (evaluation.reduction_unchecked). Lanes served without accuracy evidence are marked uncertified (Numerical stability).
  • Best-effort values by default. A point that no configured method accepts is evaluated once more without the backends’ own checks and returned with status "best-effort", its refusal and an uncertainty; a point without any value is a failed lane. Nothing is printed per point: the result carries it (result.statuses, result.warnings), and result.emit_warnings() turns it into one NumericalAccuracyWarning. on_failure="return" keeps such points as failed lanes.
  • pyamplicol check tests the poles (Catani’s formula; finiteness for loop-induced processes), the Ward and the Goldstone identities of a one-loop run card or artifact. A row passes when its residue is below check.tolerance (--tolerance, default 1e-5) times its physical reference; a row that cannot be decided is inconclusive (exit code 4), never a pass.
  • The complex-mass scheme ([loop.model.scheme] mass_scheme = "complex-mass"), with typed refusals outside its domain, and a notice where a [QCD] request is not the complete order-\(\alpha_s\) correction.
  • Threads. The one-loop runtime runs both reductions, the tree programs and most of the assembly of the result in parallel: a 16-point call on 8 cores is about 2 to 5.5 times faster than on one. evaluation.threads (--threads, Runtime.load(threads=)) bounds the threads of a runtime. Values do not depend on the number of threads, bit for bit.
  • Runtime options are given the same way in every interface: one by one, or together as a runtime-options file, the [evaluation] table of a run card (Run card).
  • Helicity selection for full-color and NLC virtual corrections; LC with fixed decimal parameters; the automatic color catalog at LC and NLC; appending to an artifact; helicity and color-flow selection of a process named in another leg order.
  • A loop-induced stability estimate that is first order in the cancellation (stability_checks.floor_weight): fewer right values are flagged.
  • Large artifacts load several times faster with less memory. A multiprocess generation releases each subprocess once it is written, and one-loop values of a stored artifact do not depend on what the Python process did before.
  • Four one-loop examples ship with the package: loop_uux_ttxgg, loop_uux_ddxepem, loop_gg_zgg and loop_gg_epemmpmm (Quick start: one loop).
  • One-loop requests whose Born couplings read a model helper function (for example u u~ > d d~ g with both Born orders) failed to store in 1.0.2; they now store.

Tree level:

  • Results split by squared coupling order (evaluate_orders) in the compiled and on-the-fly modes too, and built-in SM requests whose Born amplitudes have several coupling orders, in every mode.
  • Newly served: massless fermion lines through a massive fermion (b b~ > w+ w-, u b > d t); color flows that vanish for some or all helicities (c d > u s, u u~ > d d~ at QCD = 0), also with color correlations; identical-flavor four-quark processes at QCD = 0; on built-in-sm-heft, gluons fusing into an internal Higgs that decays into color singlets (g g > z z, g g > h h) in every mode.
  • NoTreeDiagramError and RequestFilterError say why a tree request has no diagram. process.max_quark_lines and every other filter act in every mode, on every model and at one loop; pyamplicol model processes lists exactly what generation does.
  • Long-lived processes: compiled code is freed when a runtime is dropped, and exhausted memory maps raise a typed ResourceExhaustedError.

Command line:

  • Every command prints tables and short status lines only (--fields-description-help describes each table and column); --log-level defaults to warning. Known harmless log messages of dependencies are returned in the result’s warnings instead of printed.
  • check, evaluate, profile and self-test show their progress. Ctrl-C ends any command cleanly (exit code 130), with what was done so far; an interrupted generate writes nothing.
  • profile lists the causes of failures (failure_causes in --json). profile --stability runs on --n_core worker processes (default 10), over as many points as one minute per worker allows (at least 5; --stability-points fixes the number). A --samples-output file also records the loaded selector and its legs’ PDG codes (external_pdgs).
  • The UMAMI one-loop provider no longer aborts a whole bulk call when one row is returned best-effort.

Known limits

  • An evaluation without stability checks makes no statement about its accuracy. Binary64 loses digits in strongly forward scattering and in strongly boosted frames (Numerical stability).
  • In double-double and arbitrary precision, the estimate that guards a point of "auto"’s NinjaRS fallback is not a bound: strongly suppressed helicity rows near exactly forward kinematics can be served beyond their own target.
  • A NinjaRS lane rescued in binary64 keeps its binary64 numerator coefficients: about 8 correct digits where the cancellation was catastrophic. A lane that loses more than about 100 bits and is not zero comes back near zero, marked uncertified.
  • Threads do not speed up NinjaRS in double-double and arbitrary precision, tree programs with exact evaluators, or calls of a few milliseconds. With TIRust each extra thread holds about 120 MB on g g > g g g g, less on smaller processes.
  • check on a request with electroweak loop corrections and an unstable external particle of zero width (a top quark above \(m_W + m_b\)) fails its finite Ward cells although the values are right. Check it on a spectrum where the particle is stable.
  • With Python Symbolica 3.0.3 from PyPI, results of the Python interface can depend on what else was generated in the same Python process, at about \(10^{-30}\) relative, amplified at nearly degenerate \(2 \to 2\) kinematics. Generate each artifact in a fresh process where that matters.
  • Generation in the compiled mode keeps about 24 memory mappings per artifact in the process.

Platforms, dependencies and validation

1.0.3 is one source distribution and three cp311-abi3 wheels, for Python 3.11 or newer, on the platforms and with the validation described in Support.

Dependencies:

  • Python packages, each at an exact version from PyPI: Symbolica 3.0.3, ufo-model-loader 1.0.1, and the others pinned in the package metadata.
  • The wheels contain the native code. A source build takes SymJIT 2.28.5 and the other Rust crates from crates.io, and six Git sources at the exact revisions of Cargo.lock: Symbolica (its community branch), TIRust, NinjaRS and oneloopmaster among them (dependencies). It needs Rust 1.96 or newer.
  • Saved Symbolica evaluator states use the format that Python Symbolica 3.0.3 and newer read.

Format versions, which a reader compares when it opens a file (Support):

Interface or file Version
Python API 1
run card (schema_version) 1
process artifact schema 3
runtime physics 2
C ABI of tree-level artifacts (rusticol_abi_version) 1
C ABI of one-loop artifacts (rusticol_virtual_abi_version) 2

1.0.2 release

Version 1.0.2 was not published on PyPI and has no tag; its content is part of 1.0.3.

Upgrading. Artifacts written by 1.0.1 are refused: from this version on, an artifact is read only by the version that wrote it. Regenerate artifacts, compiled models and prepared models (.pyamplicol-model).

What is new.

  • One-loop virtual corrections: QCD corrections on MadGraph’s loop_sm, and QCD, electroweak and joint corrections on the shipped loop_qcd_qed_sm and loop_qcd_qed_sm_Gmu, with the finite part and the poles per squared coupling order, in binary64, double-double or arbitrary precision, through Runtime.load and the C, C++, Fortran and Rust interfaces (One-loop QCD with loop_sm, One-loop QCD+QED (electroweak)).
  • Processes with one initial particle (\(1 \to n\) decays, t > b w+) at tree level on UFO models and on the built-in SM (z > e+ e-), and at one loop on the loop models. Decay chains are refused.
  • Fixed internal limits were lifted: the loop rank is the reduction backend’s; the degree of the color FFT, grouping factors, flavor mappings, charges (exact rationals) and the powers of \(N_c\) at full color are unbounded; the native C++ compilation has no default timeout. The remaining tuning bounds are settings: color.adjoint_dense_max_gluons, color.fused_selector_max_sectors, generation.validation.max_resolved_components.

Values that change.

  • The built-in Standard Model equals the UFO sm (restriction no_masses) at tree level. Processes without colored legs (e+ e- > a a, e+ e- > mu+ mu-) were too small by \(1/(8\pi\alpha)^2 \approx 27.8\); massive vector bosons and Higgs bosons in the initial state are averaged over their own spin states; the recurrence mode counted every \(WW\gamma\) and \(WWZ\) vertex twice; the lepton and neutrino currents, the electroweak exchange between quark lines and the \(HHVV\) and four-Higgs contacts were incomplete (Models).
  • Four-quark HEFT trees on built-in-sm-heft and on UFO HEFT models were too large, because the \(Hgg\) vertex did not subtract the \(\mathrm{U}(1)\) part of its internal gluons: by \(\tfrac{9}{8}\) for q q~ > H q' q'~ and its crossings, by other factors with identical quark flavors or more gluons (1.36 for u u~ > H d d~ g).

Dependencies. Python Symbolica 3.0.3 from PyPI (or a Symbolica Community build of the community branch), SymJIT 2.28.3, ufo-model-loader 1.0.1, and NinjaRS and oneloopmaster for the one-loop reduction.

1.0.1 release

Upgrading. The multiparticle expansion of UFO models enumerates multisets and drops candidates that violate a charge conserved by every vertex. This renumbers the process identifiers of multiprocess requests on compiled models: check code that selects processes by identifier. Artifacts written by 1.0.1 need a 1.0.1 runtime.

What is new. Process grouping for multiprocess outputs (Process grouping):

  • Subprocesses with equal matrix elements are recorded in a new process-groups.json file of the artifact, with their leg permutation, rational factor and charge conjugation.
  • --flavor-blind generates one representative per flavor class, optionally including charge conjugation; every other flavor stays selectable from Python, the command line and the native interfaces, which route it to its representative. UMAMI exports flavor-blind members through their representative.
  • --analyze-process-groups numerical and pyamplicol group-processes find further relations numerically; pyamplicol inspect and the generation summary show the groups.

Dependencies. Symbolica 3.0.0, SymJIT 2.26.4, ufo-model-loader 1.0.0.

1.0.0 release

The tree-level version of pyAmpliCol, described in pyAmpliCol: fast tree-level matrix elements, arXiv:2610.10729. Same platforms and Python versions as 0.2.0.

  • Exact model constants, color weights and normalization factors are kept through evaluations above binary64; native evaluation is corrected; the exact NLC generation shortcut is kept.
  • Prepared models use the API of the published Symbolica 3.0.0. Optimized recurrence kernels are selected again for equivalent exact and floating-point coefficients, and batched recurrence evaluations avoid small batches at high multiplicity.
  • Completed on-the-fly caches can be saved and restored from Python and every native interface (Saving an OTF warm cache).
  • Symbolica’s package license removes the need for a personal key for pyAmpliCol; a personal license and the restricted mode remain available (Symbolica and licensing).
  • The compiled JIT at optimization level O2 selects compressed code by default.

0.2.0 release

  • Exact symmetric-group FFT contraction at full color (Color).
  • Helicity-parametric recurrence and on-the-fly scheduling.
  • The built-in SM+HEFT model and trusted UFO HEFT models (Models).
  • The resumable FullColor FFT profiling workflow, with its comparison reports (FullColor FFT profiling).

0.1.4 release

  • On-the-fly generation, with its one-point warm_up(...) step, next to the compiled, eager and recurrence modes (Execution modes and backends).
  • Warm-up entry points with progress for Python, C, C++, Fortran and Rust.
  • The packaged p p > Z j j on-the-fly example.