feynlag.pheno.colour.line_colour_tensor¶
- feynlag.pheno.colour.line_colour_tensor(kind, dims, order=None, generators=None, structure=None)[source]¶
K_dof a one-line diagram with two external bosons, as{(x, y, a₁, a₂): value}— bar-slot colour, field-slot colour and the colour index of each external boson (in the order ofdims[2:]).- Parameters:
kind –
'fermion'(both bosons on the line),'gluon'(the line emits the colour group’s gauge boson, which meets the two external bosons at thegggvertex) or'singlet'(a colour-singlet mediator).dims –
(d_bar, d_field, d_boson1, d_boson2); a colour singlet has dimension1.order – for
'fermion',(first, second)— which boson (0or1) sits at the vertex next to the bar slot and which next to the field slot; the tensor is(M_first · M_second)[x, y]withM = T^afor a coloured boson and1for a singlet.generators – the line’s generator list
T^a(needed whenever a coloured boson couples to it).structure – for
'gluon', the structure constants as{(a, b, c): f^{abc}}. The tensor isΣ_c T^c[x, y] f^{c a₁ a₂}— mediator index first, then the external bosons in order, the leg order the Lorentz tensor of the three-boson vertex is built with.