qiskit.aqua.operators.legacy.WeightedPauliOperator.reorder_paulis¶ WeightedPauliOperator.reorder_paulis()[source]¶ Reorder the paulis based on the basis and return the reordered paulis. Return type List[List[Union[complex, Pauli]]] Returns the ordered paulis based on the basis.