This PR accompanies https://github.com/ITensor/ITensors.jl/pull/626. It makes some small adjustments accounting for the change to using an Index Tuple storage in the ITensor type, as well as some other miscellaneous changes.
The most significant design change is making it so that calls like Tensor(Dense(randn(4)), (2, 2)) now return a Tensor that stores a view of the tensor storage instead of making a copy. This effectively would deprecate tensor.
This PR accompanies https://github.com/ITensor/ITensors.jl/pull/626. It makes some small adjustments accounting for the change to using an Index Tuple storage in the ITensor type, as well as some other miscellaneous changes.
The most significant design change is making it so that calls like
Tensor(Dense(randn(4)), (2, 2))
now return a Tensor that stores a view of the tensor storage instead of making a copy. This effectively would deprecatetensor
.