Quantum ToolkitFunctionsconvert_to_paulisumOn this pageconvert_to_paulisum convert_to_paulisum(Operator input) -> PauliSum Converts an Operator to a PauliSumMap. Only valid Pauli operators X,Y,Z, and I are allowed. Parameters input: The operator to convert to an operator sum. Returns The PauliSumMap representation of the operator.