PauliSum.from_compact_str

classmethod PauliSum.from_compact_str(str_pauli_sum)[source]

Construct a PauliSum from the result of str(pauli_sum)

Return type:PauliSum