German
Sprachen
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.opflow.primitive_ops.PauliOp.to_spmatrix

PauliOp.to_spmatrix()[Quellcode]

Returns SciPy sparse matrix representation of the Operator.

Rückgabe

CSR sparse matrix representation of the Operator.

Verursacht

ValueError – invalid parameters.

Rückgabetyp

spmatrix