Template Class CSRMatrix¶
Defined in File CSRMatrix.hpp
Class Documentation¶
-
template<class Precision, class IndexT>
class CSRMatrix¶ Manage memory of Compressed Sparse Row (CSR) sparse matrix. CSR format represents a matrix M by three (one-dimensional) arrays, that respectively contain nonzero values, row offsets, and column indices.
- Template Parameters
Precision – Floating-point precision type.
IndexT – Integer type.
api/classPennylane_1_1LightningGPU_1_1MPI_1_1CSRMatrix
Download Python script
Download Notebook
View on GitHub