Matt Fishman
Matt Fishman
I've been thinking about similar things in relation to designing labelled graph types, i.e. a graph with vertex labels that could be anything, as opposed to the `SimpleGraph` type in...
Good point that this is related to [DimensionalData.jl](https://github.com/rafaqz/DimensionalData.jl) and other packages with named dimensions/indices (like [AxisKeys.jl](https://github.com/mcabbott/AxisKeys.jl), which seems a bit more flexible?). Here's a fun demonstration: ```julia using AxisKeys using...
Thanks for the report, I'll take a look (it looks like a problem with some generic code in the [NDTensors.jl](https://github.com/ITensor/NDTensors.jl) library). That fix looks like a good workaround in the...
I think slicing an MPS/MPO with a unit range should return an MPS/MPO, if we make that change we can just update other code like the one you quote accordingly....
Looks like `NDTensors.map_diag` needs to be generalized to handle the element type widening.
It's a bit hacky, but one strategy could be be to change [`NDTensors.map_diag`](https://github.com/ITensor/ITensors.jl/blob/v0.9.5/NDTensors/src/tensor/tensor.jl#L450-L454) to: ```julia # Should go in `NDTensors.Exposed`, and specialized definitions may need to be added # for...
I don't have time to review right now, but I don't like this interface, @emstoudenmire we should discuss before merging.
I'll close this because it would need to be implemented in [ITensorMPS.jl](https://github.com/ITensor/ITensorMPS.jl) and the design is being discussed in https://github.com/ITensor/ITensorMPS.jl/issues/96.
@vsaase, that is a good question and in general we would like to have lazy operations available for ITensor operations. We were even discussing making operations lazy by default, but...
Out of curiousity, what kind of sparsity are you interested in? We have support for block sparse tensors in ITensors.jl (based on a block sparse tensor type defined in https://github.com/ITensor/NDTensors.jl)....