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 IndexedBase objects: psi[i] is flavor i of 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 group acting on this field's FULL component space (Kronecker product over all non-abelian reps).

Attributes

dim

Total number of gauge components (product over non-abelian reps).

spin

bar_components

Dirac adjoints ψ̄, one IndexedBase per gauge component

mat

column matrix of components — use in matrix expressions.