PauliOrder[exp]
orders the Pauli matrices in expr
alphabetically.
PauliOrder[exp, orderlist]
orders the Pauli matrices in expr according to orderlist
.
[k, j, i]
CSI
[%] PauliOrder
\overline{\sigma }^k.\overline{\sigma }^j.\overline{\sigma }^i
2 \overline{\sigma }^i \bar{\delta }^{jk}-2 \overline{\sigma }^j \bar{\delta }^{ik}+2 \overline{\sigma }^k \bar{\delta }^{ij}-\overline{\sigma }^i.\overline{\sigma }^j.\overline{\sigma }^k
[i, j, k]
CSID
[%] PauliOrder
\sigma ^i.\sigma ^j.\sigma ^k
\sigma ^i.\sigma ^j.\sigma ^k
[%%, {j, i, k}] PauliOrder
2 \sigma ^k \delta ^{ij}-\sigma ^j.\sigma ^i.\sigma ^k