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

Use optimal contraction sequence backend by default in BP updates #168

Merged
merged 16 commits into from
May 6, 2024

Conversation

JoeyT1994
Copy link
Contributor

This is short PR to update the inner(alg::Algorithm"bp", ...) and expect(alg::Algorithm"bp", ...) so that the calls to contract() inside them use optimal_contraction_sequence finding by default.

This speeds them up drastically and avoid memory issues that were appearing for larger networks due to non-optimal sequences being contracted.

@mtfishman
Copy link
Member

Looks good, thanks!

@mtfishman mtfishman merged commit f24e27b into ITensor:main May 6, 2024
5 of 6 checks passed
@mtfishman mtfishman changed the title Bp optimal sequence finding Use optimal contraction sequence backend by default in BP updates May 6, 2024
@JoeyT1994 JoeyT1994 deleted the bp_optimal_sequence_finding 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