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

Add normalize flag in default message update #195

Merged
merged 4 commits into from
Sep 3, 2024

Conversation

JoeyT1994
Copy link
Contributor

This is quick PR too add support for turning off/ on normalization in the default_message_update function for belief propagation.

This avoids having to define a new function when wishing to avoid normalization. Having normalize = false is very useful when wishing to contract sub-trees inside a tensor network exactly.

@mtfishman
Copy link
Member

Looks good, thanks!

@mtfishman mtfishman merged commit 11e1761 into ITensor:main Sep 3, 2024
5 of 6 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