fastdla.SparsePauliSumArray.to_matrices

SparsePauliSumArray.to_matrices(*, sparse=False, npmod=np)

Convert to an array of dense matrices.

Return type:

numpy.ndarray | list[csr_array]