sf.physics.bargmann.reorder_abc

mrmustard.physics.bargmann.reorder_abc(Abc, order)[source]

Reorders the indices of the A matrix and b vector of an (A,b,c) triple.

Parameters:
  • Abc (tuple) – the (A,b,c) triple

  • order (Sequence[int]) – the new order of the indices

Returns:

The reordered (A,b,c) triple