openfermion.linalg.swap_columns

Swap columns i and j of matrix M.