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

Fix externalinds, add tests for externalinds and internalinds #123

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

JoeyT1994
Copy link
Contributor

@JoeyT1994 JoeyT1994 commented Jan 12, 2024

This gives a quick bug fix for externalinds, so it searches over the vertices of the ITensorNetwork instead of the edges.
Two tests are added to an existing testset for externalinds and internalinds.

externalinds and internalinds are now exported so the user can just call externalinds(tn) to get a vector of all open indices in tn.

@mtfishman mtfishman changed the title Fixed ExternalInds. Added Test and Exported ExternalInds and Internal… Fix externalinds, add tests for externalinds and internalinds Jan 12, 2024
@mtfishman
Copy link
Member

Looks good, thanks!

@mtfishman mtfishman merged commit 9a75be2 into ITensor:main Jan 12, 2024
8 of 11 checks passed
@JoeyT1994 JoeyT1994 deleted the ExternalIndsFix branch June 16, 2024 13:46
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