FeynKit
Standalone model, diagram, and symbolic-physics tools
FeynKit is a collection of reusable Rust and Python tools for perturbative quantum field theory: validated models, Feynman diagrams, deterministic generation, cross-free family (CFF) and loop-tree duality (LTD) energy representations, relativistic kinematics, and covariant tensor reduction. Rust clients use the focused crates or the feynkit facade. Python clients use symbolica.community.hepkit inside a shared Symbolica kernel.
Use the focused crates independently, alongside the linnet-* graph libraries and spenso-* tensor libraries, or within the gammaloop-* application and APIs. The interface guide maps the components to their responsibilities; a calculation can combine several of them.
Choose a starting point
- Generate and inspect a small diagram with the Rust or Python quickstart.
- Load a UFO model, configure generation, or retain symbolic couplings with the model-to-diagram tutorial.
- Reduce vacuum or external-momentum tensor numerators with the tensor-reduction guide.
- Compare supported algebra and outstanding calculations with the FeynCalc example audit.
- Explore every component in the executable notebook showcases.
- Render diagrams and inspect CFF or LTD results with the notebook guide.
- Embed the Python module in a Symbolica distribution using the community-host integration guide.
FeynKit returns reusable models, finalized diagrams, and symbolic results. It does not own a GammaLoop state, numerical integration, event accumulation, or a complete scattering calculation. GammaLoop supplies those application layers.
Shared representations
A FeynmanDiagram retains its model, particle and interaction assignments, numerator, external-state projector, scalar prefactor, loop routing, and physical cuts. Generation builds these once; downstream applications add their own numerical caches. CFF surface IDs resolve through the arena returned with the expression, including when related expressions share it.
FeynKit builds on Linnet graphs and uses Spenso tensor notation with Idenso identities. Its vacuum projector is also the default numerator-reduction backend in Vakint scalar-integral matching and evaluation remain Vakint’s responsibility.
The interface guide links all Rust components and the Python reference. Contributors can follow the ownership architecture and CFF arena invariants.