FeynKit · latest

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

Where FeynKit ends
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.