Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iterate for ITensorNetworks #32

Open
leburgel opened this issue Dec 22, 2022 · 0 comments
Open

iterate for ITensorNetworks #32

leburgel opened this issue Dec 22, 2022 · 0 comments

Comments

@leburgel
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant