sort_spinors
Sort Majorana spinor bilinears
Sorts Majorana spinor bilinears using the Majorana flip property,
which for anti-commuting spinors takes the form
ˉψ1Γr1⋯rnψ2=αβn(−)12n(n−1)ˉψ1Γr1⋯rnψ2.
Here α and β determine the properties of the charge
conjugation matrix,
CT=αC,CΓrC−1=βΓTr.
Here is an example.{\chi, \psi, \psi_{m}}::Spinor(dimension=10, type=MajoranaWeyl).
{\chi, \psi, \psi_{m}}::AntiCommuting.
\bar{#}::DiracBar.
\Gamma{#}::GammaMatrix.
{\psi_{m}, \psi, \chi}::SortOrder.
ex:=\bar{\chi} \Gamma_{m n} \psi;
ˉχΓmnψ
sort_spinors(_);
−ˉψΓmnχ