Skip to content

Make certain delta contractions return views of the original ITensor storage #570

Open
@mtfishman

Description

@mtfishman

Right now, delta contractions like randomITensor(i, j) * delta() and randomITensor(i, j) * delta(dag(j), j') make copies of the ITensor. However, we've decided that they should avoid copying the ITensor storage, so should return views to the tensor storage (like doing replaceinds). This would technically be breaking so we'll do it for the v0.2 release.

Metadata

Metadata

Assignees

Labels

performanceIssues related to performance

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions