French
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.opflow.primitive_ops.PauliOp.to_spmatrix

PauliOp.to_spmatrix()[source]

Returns SciPy sparse matrix representation of the Operator.

Type renvoyé

spmatrix

Renvoie

CSR sparse matrix representation of the Operator.

Lève

ValueError – invalid parameters.