We're celebrating World Quantum Day 2022! Join us

openfermion.linalg.swap_rows

Swap rows i and j of matrix M.