ITensorNetworks.jl icon indicating copy to clipboard operation
ITensorNetworks.jl copied to clipboard

`iterate` for `ITensorNetwork`s

Open leburgel opened this issue 2 years ago • 0 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?

leburgel avatar Dec 22 '22 14:12 leburgel