qiskit.opflow.list_ops.ListOp.to_spmatrix¶ ListOp.to_spmatrix()[source]¶ Returns SciPy sparse matrix representation of the Operator. Type renvoyé Union[spmatrix, List[spmatrix]] Renvoie CSR sparse matrix representation of the Operator, or List thereof.