qiskit.opflow.list_ops.ListOp.to_spmatrix¶
- ListOp.to_spmatrix()[código fonte]¶
Returns SciPy sparse matrix representation of the Operator.
- Tipo de retorno
Union
[spmatrix
,List
[spmatrix
]]- Retorno
CSR sparse matrix representation of the Operator, or List thereof.