示例#1
0
from basisgen import irrep, algebra, Field, EFT

BL, BR = Field.strength_tensors(
    name='B',
    internal_irrep=irrep('SU2', '0'),
    charges=[0],
)

my_eft = EFT(algebra('SU2'), [BL, BR])

invariants = my_eft.invariants(max_dimension=8, use_eom=False)

print(invariants)
示例#2
0
文件: smeft.py 项目: vaspkit/basisgen
def sm_irrep(highest_weight_str):
    return irrep('SU3 x SU2', highest_weight_str)


phi = Field(name='phi',
            lorentz_irrep=scalar,
            internal_irrep=sm_irrep('0 0 1'),
            charges=[Fraction(1, 2)],
            statistics=boson,
            dimension=1)
phic = phi.conjugate

BL, BR = Field.strength_tensors(
    name='B',
    internal_irrep=sm_irrep('0 0 0'),
    charges=[0],
)

WL, WR = Field.strength_tensors(
    name='W',
    internal_irrep=sm_irrep('0 0 2'),
    charges=[0],
)

GL, GR = Field.strength_tensors(
    name='G',
    internal_irrep=sm_irrep('1 1 0'),
    charges=[0],
)