It would be good to think about the interface for converting from sparse ITensor types to Dense, or other less sparse types where it makes sense. It would be good to have the following operations, with some proposed names:
Convert to Dense:
Convert to Diag:
Convert to BlockSparse:
Right now, I believe all of the dense conversion functions are implemented (but none of the others are).
It would be good to think about the interface for converting from sparse ITensor types to Dense, or other less sparse types where it makes sense. It would be good to have the following operations, with some proposed names:
Convert to
Dense:Diag -> Dense(dense)BlockSparse -> Dense(dense,removeqns) (denseis implemented but notremoveqns)DiagBlockSparse -> Dense(dense)Convert to
Diag:DiagBlockSparse -> Diag(diag,removeqns)Convert to
BlockSparse:DiagBlockSparse -> BlockSparse(denseblocks)Right now, I believe all of the
denseconversion functions are implemented (but none of the others are).