TPBGroupedWeightedPauliOperator.reorder_paulis

TPBGroupedWeightedPauliOperator.reorder_paulis()

Reorder the paulis based on the basis and return the reordered paulis.

Returns

the ordered paulis based on the basis.

Return type

list[list[complex, paulis]]