FeynKit · latest
On this page

Symbols

symbolica.community.hepkit Class

Symbols()

Canonical expression heads owned by diagrams and imported models.

Tensor and representation vocabulary belongs to symbolica.community.tensor. Symbols are constructed on demand so importing the module leaves time to set a license key. Use these references for diagram patterns and momentum construction without depending on internal namespaces. External and loop momenta belong to Kinematics. Model parameters and couplings belong to their model; obtain those through model.parameter(name).symbol or model.coupling(name).symbol instead.

Examples

from symbolica.community import hepkit as hep
Q = hep.Symbols.edge_momentum()
edge_momentum = Q(0)
mass = hep.Model.standard_model().particle("e-").mass

Member details

edge_momentum

Static method#
edge_momentum() -> Expression

Momentum family indexed by graph edge.

Examples

from symbolica.community import hepkit as hep
reference = hep.Symbols.edge_momentum()

denominator

Static method#
denominator() -> Expression

Tagged propagator denominator head; its fourth argument is the inverse denominator.

Examples

from symbolica.community import hepkit as hep
reference = hep.Symbols.denominator()

dimension

Static method#
dimension() -> Expression

Lorentz dimension used by generated diagram expressions.

Examples

from symbolica.community import hepkit as hep
reference = hep.Symbols.dimension()

half_edge

Static method#
half_edge() -> Expression

Half-edge index family used to match external tensor slots.

Examples

from symbolica.community import hepkit as hep
reference = hep.Symbols.half_edge()

polarization

Static method#
polarization() -> Expression

Vector polarization wavefunction head.

Examples

from symbolica.community import hepkit as hep
reference = hep.Symbols.polarization()

polarization_conjugate

Static method#
polarization_conjugate() -> Expression

Conjugated vector polarization wavefunction head.

Examples

from symbolica.community import hepkit as hep
reference = hep.Symbols.polarization_conjugate()

ufo_metric

Static method#
ufo_metric() -> Expression

Metric head in model propagator definitions.

Examples

from symbolica.community import hepkit as hep
reference = hep.Symbols.ufo_metric()

ufo_index

Static method#
ufo_index() -> Expression

Index placeholder head in model propagator definitions.

Examples

from symbolica.community import hepkit as hep
reference = hep.Symbols.ufo_index()

ufo_momentum

Static method#
ufo_momentum() -> Expression

Momentum head in model propagator definitions.

Examples

from symbolica.community import hepkit as hep
reference = hep.Symbols.ufo_momentum()

model_conjugate

Static method#
model_conjugate() -> Expression

Complex-conjugation helper used in imported model formulas.

Examples

from symbolica.community import hepkit as hep
model = hep.Model.standard_model()
conjugate = hep.Symbols.model_conjugate()(model.parameter("CKM1x1").symbol)