French
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.opflow.OperatorBase.to_spmatrix

OperatorBase.to_spmatrix()[source]

Return SciPy sparse matrix representation of the Operator. Represents the evaluation of the Operator’s underlying function on every combination of basis binary strings.

Renvoie

The SciPy spmatrix equivalent to this Operator.

Type renvoyé

spmatrix