FeynKit notebook showcases
Eight executable Marimo notebooks cover the FeynKit components and numerical integration. Start with a small scalar model, then choose the physics operation you want to explore. Diagrams, tables, and symbolic expressions are computed by the same APIs documented in the reference.
Choose a showcase
A first diagram follows the facade from a normalized model to generated one-loop graphs and notebook figures.
Models, generation, and graphs explores parameter cards, process selectors, loop ranges, serialization, and momentum bases.
Cross-free families inspects orientations, surfaces, denominator products, and native Symbolica expressions.
Numerical integration with CFF and LTD compares stability, coordinate maps, and adaptive sampling against OneLOop in a full native host.
Kinematics and jets covers momenta, Lorentz transformations, angular distances, and jet algorithms.
Loading UFO models normalizes a raw model and inspects its diagnostics before generating diagrams.
Vacuum tensor reduction projects low- and high-rank numerators and turns a vacuum graph into scalar contributions.
Four-loop gluon numerators generates the complete one-flavor QCD propagator collection and contracts selected numerators.
Component coverage
| Component | Showcase |
|---|---|
feynkit facade | A first diagram |
feynkit-py | All eight notebooks through symbolica.community.hepkit |
feynkit-model | Models and parameter cards |
feynkit-generator | Processes and generation |
feynkit-graph | Serialization and momentum bases |
feynkit-cff | Cross-free families |
| CFF numerical evaluation and sampling | Numerical integration |
feynkit-kinematics | Kinematics and jets |
feynkit-ufo | Loading UFO models |
feynkit-tensor | Vacuum tensor reduction |
The Python notebooks exercise the focused Rust components through symbolica.community.hepkit. The interface guide links the Rust and Python references. For tensor-aware notation and algebraic identities, continue to the Spenso + Idenso showcase.
Running a notebook locally
Use a shared Symbolica host containing FeynKit, as described in the host guide. Its Python environment needs marimo==0.24.0 and anywidget>=0.9,<1; Python linnet is optional for explicit graph interoperability. Notebook graphs use browser-measured MathML. Install optional typst>=0.15 for outlined graph labels and vector exports. The UFO example additionally needs Python 3.11 or newer and the pinned UFO loader 1.0.1. Set SYMBOLICA_LICENSE through your local environment when required by your Symbolica distribution.
The numerical integration showcase runs its symbolic multiloop gallery, CFF/LTD plots, and sampling in the browser with NumPy and Matplotlib. Only its independent OneLOop reference needs the native community host; no substitute reference is used.
Run the following from the checkout, replacing the interpreter path with that environment’s Python. The command opens an editable Marimo notebook using FeynKit’s built-in models.
just notebook feynkit/00_quickstart_marimo /path/to/pythonEach showcase page links its source and gives the corresponding command. The notebook rendering guide explains the SVG, HTML, Typst, and symbolic display APIs used by the examples.