feynlag.fields.Field¶
- class feynlag.fields.Field(name, reps=None, component_names=None, real=False, self_conjugate=False, tex=None)[source]¶
Base class for all fields.
- Parameters:
name – field name; used as prefix for auto-generated components.
reps – dict
{GaugeGroup: representation}(charge for a U(1), dimension label for SU(2)/SU(3)).component_names – explicit component names (physics-friendly, e.g.
['H1p', 'H10']for an SU(2) doublet). Default:name_1 … name_n(or justnamefor a singlet).real – whether components are real symbols.
self_conjugate – particle is its own antiparticle.
tex – LaTeX name.
- __init__(name, reps=None, component_names=None, real=False, self_conjugate=False, tex=None)[source]¶
Methods
__init__(name[, reps, component_names, ...])charge(u1_group)U(1) charge of this field (0 if not charged under it).
dag()Hermitian conjugate of the component column: a row Matrix.
generators(group)Generator matrices of
groupacting on this field's FULL component space (Kronecker product over all non-abelian reps).Attributes
dimTotal number of gauge components (product over non-abelian reps).
matcolumn matrix of components — use in matrix expressions.