feynlag.invariance.u1_charge_breakdown¶
- feynlag.invariance.u1_charge_breakdown(term, fields, group)[source]¶
Monomials of
termthat carry a non-zero charge under a U(1).A diagnostic for a failed abelian invariance check: each monomial’s charge is the sum over its factors (a conjugated scalar and a bar leg count with the opposite sign, powers multiply), and an invariant term has every monomial neutral.
- Returns:
[(monomial, charge)]for the charged monomials (coefficients stripped), in term order.