feynlag.fields.Fermion¶
- class feynlag.fields.Fermion(name, reps=None, component_names=None, chirality=None, nflavors=1, self_conjugate=False, tex=None)[source]¶
Spin-1/2 field with chirality and flavor structure.
Components are
IndexedBaseobjects:psi[i]is flavoriof a gauge component. Full fermionic dynamics (bilinear vertex extraction, SVD/Takagi diagonalization) arrive in Phase 4; the declaration layer already supports invariance checking through the gauge representations.- __init__(name, reps=None, component_names=None, chirality=None, nflavors=1, self_conjugate=False, tex=None)[source]¶
Methods
__init__(name[, reps, component_names, ...])bar(component)The ψ̄ IndexedBase matching a gauge component.
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).
spinbar_componentsDirac adjoints ψ̄, one IndexedBase per gauge component
matcolumn matrix of components — use in matrix expressions.