openfermion.linalg.swap_rows

Swap rows i and j of matrix M.