qiskit.aqua.operators.primitive_ops.PauliOp.to_spmatrix¶ PauliOp.to_spmatrix()[source]¶ Returns SciPy sparse matrix representation of the Operator. Return type spmatrix Returns CSR sparse matrix representation of the Operator. Raises ValueError – invalid parameters.