German
Sprachen
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.opflow.primitive_ops.PauliSumOp.to_spmatrix

PauliSumOp.to_spmatrix()[Quellcode]

Returns SciPy sparse matrix representation of the PauliSumOp.

Rückgabe

CSR sparse matrix representation of the PauliSumOp.

Verursacht

ValueError – invalid parameters.

Rückgabetyp

spmatrix