Spanish
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.opflow.list_ops.ListOp.to_spmatrix

ListOp.to_spmatrix()[fuente]

Returns SciPy sparse matrix representation of the Operator.

Tipo del valor devuelto

Union[spmatrix, List[spmatrix]]

Devuelve

CSR sparse matrix representation of the Operator, or List thereof.