[ITensors] [ENHANCEMENT] Sparse output for onehot
#1333
Labels
enhancement
New feature or request
ITensors
Issues or pull requests related to the `ITensors` package.
The
onehot
function currently outputs a dense tensor which is not very efficient to contract. Ideally, this function would output an ITensor with sparse storage.It seems like there is not yet an NDTensor TensorStorage type which implements a sparse array though I see that there is movement in overhauling the TensorStorage system (#1250).
The text was updated successfully, but these errors were encountered: