SparsePauliOp.to_operator

SparsePauliOp.to_operator()[source]

Convert to a matrix Operator object