FeynKit · latest
On this page

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

Component coverage

ComponentShowcase
feynkit facadeA first diagram
feynkit-pyAll eight notebooks through symbolica.community.hepkit
feynkit-modelModels and parameter cards
feynkit-generatorProcesses and generation
feynkit-graphSerialization and momentum bases
feynkit-cffCross-free families
CFF numerical evaluation and samplingNumerical integration
feynkit-kinematicsKinematics and jets
feynkit-ufoLoading UFO models
feynkit-tensorVacuum 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/python

Each 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.