Symbols
Symbols
class SymbolsCanonical 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-").massMethods
| Name | Description |
|---|---|
denominator |
Tagged propagator denominator head; its fourth argument is the inverse denominator. |
dimension |
Lorentz dimension used by generated diagram expressions. |
edge_momentum |
Momentum family indexed by graph edge. |
half_edge |
Half-edge index family used to match external tensor slots. |
model_conjugate |
Complex-conjugation helper used in imported model formulas. |
polarization |
Vector polarization wavefunction head. |
polarization_conjugate |
Conjugated vector polarization wavefunction head. |
ufo_index |
Index placeholder head in model propagator definitions. |
ufo_metric |
Metric head in model propagator definitions. |
ufo_momentum |
Momentum head in model propagator definitions. |
denominator
Symbols.denominator() -> ExpressionTagged propagator denominator head; its fourth argument is the inverse denominator.
Examples
from symbolica.community import hepkit as hep
reference = hep.Symbols.denominator()dimension
Symbols.dimension() -> ExpressionLorentz dimension used by generated diagram expressions.
Examples
from symbolica.community import hepkit as hep
reference = hep.Symbols.dimension()edge_momentum
Symbols.edge_momentum() -> ExpressionMomentum family indexed by graph edge.
Examples
from symbolica.community import hepkit as hep
reference = hep.Symbols.edge_momentum()half_edge
Symbols.half_edge() -> ExpressionHalf-edge index family used to match external tensor slots.
Examples
from symbolica.community import hepkit as hep
reference = hep.Symbols.half_edge()model_conjugate
Symbols.model_conjugate() -> ExpressionComplex-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)polarization
Symbols.polarization() -> ExpressionVector polarization wavefunction head.
Examples
from symbolica.community import hepkit as hep
reference = hep.Symbols.polarization()polarization_conjugate
Symbols.polarization_conjugate() -> ExpressionConjugated vector polarization wavefunction head.
Examples
from symbolica.community import hepkit as hep
reference = hep.Symbols.polarization_conjugate()ufo_index
Symbols.ufo_index() -> ExpressionIndex placeholder head in model propagator definitions.
Examples
from symbolica.community import hepkit as hep
reference = hep.Symbols.ufo_index()ufo_metric
Symbols.ufo_metric() -> ExpressionMetric head in model propagator definitions.
Examples
from symbolica.community import hepkit as hep
reference = hep.Symbols.ufo_metric()ufo_momentum
Symbols.ufo_momentum() -> ExpressionMomentum head in model propagator definitions.
Examples
from symbolica.community import hepkit as hep
reference = hep.Symbols.ufo_momentum()