Skip to content

Conversation

JoeyT1994
Copy link
Collaborator

@JoeyT1994 JoeyT1994 commented Sep 24, 2025

This PR adds a PartitionedGraphView wrapper for the PartitionsGraph such that the higher level graph is the one now exposed to the standard Graphs.jl functions such as vertices, edges, neighbors ... etc..

A few tests are added too.

@mtfishman Let me know how much functionality you think should be ported over to this wrapper, or if we keep it minimal and on an "as needed" basis as we try to use this in ITensorNetworksnext

@JoeyT1994
Copy link
Collaborator Author

@mtfishman this is good to merge on my end

@mtfishman mtfishman changed the title PartitionedGraphView PartitionsGraphView Sep 26, 2025
@mtfishman mtfishman merged commit 941fe8a into ITensor:main Sep 26, 2025
12 of 13 checks passed
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

Successfully merging this pull request may close these issues.

2 participants