Skip to content

[ITensors] [ENHANCEMENT] Sparse output for onehot #1333

Open
@stuartthomas25

Description

@stuartthomas25

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    ITensorsIssues or pull requests related to the `ITensors` package.enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions