ITensorNetworks.jl
ITensorNetworks.jl copied to clipboard
`iterate` for `ITensorNetwork`s
What would be the desirable behavior for iterating over general ITensorNetwork
s? 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 ITensorNetwork
s 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?