Matchete`
Matchete`

HcSimplify

HcSimplify[Lagrangian]

identifies terms with their hermitian conjugate and retains only one of them under the head HcTerms.

Examples