Four-loop gluon numerators
Generate four-loop gluon propagator diagrams, select a topology, and reduce its projected numerator.
The high-energy physics toolkit
HEPkit brings together a collection of packages for state-of-the-art particle physics. Generate Feynman diagrams, manipulate tensors, compute loop amplitudes, and reduce integrals in one coherent workflow, powered by Symbolica.
from symbolica.community import hepkit
# Choose a model and a process.
model = hepkit.Model.qcd()
process = model.process(["g"], ["g"])
# Generate one-loop diagrams.
result = process.generate_diagrams(loops=1)
Shared symbolic expressions. Connected physics tools.
Edit the code and run real particle-physics calculations right here in your browser. No installation needed.
Generate four-loop gluon propagator diagrams, select a topology, and reduce its projected numerator.
Calculate the spin-averaged squared amplitude and angular cross section, including the electron mass and photon interference.
Reduce loop-momentum tensor numerators in symbolic dimension using HEPkit’s covariant tensor reducer.
Generate and certify IBP rules for the equal-mass Mercedes graph, explore the rules, and reduce integrals in symbolic dimension.
Compare exact hyperlogarithmic integration with AMFlow and DiffExp, varying the masses and spacelike momentum of a two-loop kite.
Open a notebook and choose Run to start calculating. The first notebook downloads about 40 MB.
Packages and contributors
HEPkit brings together packages for Feynman diagrams, tensor algebra, and loop integrals.
The shared engine for symbolic algebra and numerical computation. It connects the packages below and makes them accessible from Python.
Particle models and UFO import, Feynman-diagram generation, amplitudes, kinematics, Cross-Free Families, and covariant tensor reduction.
Abstract-index tensors, dense and sparse tensor data, automatic index matching, and tensor-network contractions.
Symbolic identities and simplification for Dirac matrices, color structures, metrics, and Levi-Civita tensors. Available through the shared tensor interface.
Half-edge graphs, subgraph operations, topology algorithms, layout, and diagram drawing for physics calculations.
Generation, manipulation, and canonization of graphs with multiple edges and mixed directed and undirected connections.
Native parametric and Laporta IBP reduction, connected to HEPkit through a shared integral-family representation.
Reduces one-loop integral families and scalar-product numerators to scalar master integrals, keeping the spacetime dimension symbolic.
Symbolica expressions and native numerical evaluation for scalar tadpole, bubble, triangle, and box integrals. Based on OneLOop by Andreas van Hameren.
Canonical matching, tensor reduction, and analytic or numerical evaluation of single-scale vacuum integrals.
Numerical evaluation of Feynman integrals using auxiliary mass flow and differential-equation transport in physical kinematics. Built on Symbolica and RustRed, with methods from AMFlow and DiffExp.
Exact integration with hyperlogarithms, multiple polylogarithms, and linear-reducibility analysis. A Symbolica-based Rust port of HyperFLINT.
Sector decomposition and numerical integration of Feynman integrals, including tensor numerators. Uses quasi-Monte Carlo and Havana integration with HEPkit’s graphs and symbolic expressions.
Python API reference
Explore HEPkit’s Python API, from particle models and amplitudes to tensor algebra and integral reduction.