ITensor / ITensorNetworks.jl

A package with general tools for working with higher-dimensional tensor networks based on ITensor.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`iterate` for `ITensorNetwork`s

leburgel opened this issue · comments

What would be the desirable behavior for iterating over general ITensorNetworks? In #18 I just defaulted to iterating over the vertex_data of the network, since currently concrete AbstractITensorNetwork subtypes only have tensors living on the vertices of the network. Will there ever be ITensorNetworks with data on the edges, in which case iteration becomes a lot less straightforward, or would this be implemented as a different type altogether if something like this is ever needed?