Generates a parity tensor \( p \) with diagonal entries 1 for states with even fermion number and -1 for states with odd fermion number.
Requires correct labelling of the sectors as fermionic using Fermionic
.
References syten::MPS::genMPOId(), syten::minus_on_swap(), syten::MPS::Operator::rIdx, and syten::MPS::Operator::uIdx.