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

Remove flatten networks and refactor test #170

Merged
merged 1 commit into from
May 7, 2024

Conversation

JoeyT1994
Copy link
Contributor

PR to remove flatten_networks(...) as it is not being used for anything meaningful anymore in the library.

The test where it was being used in test_contraction_sequence_to_graph now directly constructs a flatened network by just calling ITensorNetwork(g; link_space =2) avoiding any use of siteinds.

This should address Issue #164

@mtfishman
Copy link
Member

Great, thanks! Always nice to see code get deleted.

@mtfishman mtfishman merged commit 3107f81 into ITensor:main May 7, 2024
5 of 6 checks passed
@JoeyT1994 JoeyT1994 deleted the remove_flatten_networks 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