Skip to content

Belief Propagation #17

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

Merged
merged 32 commits into from
Nov 30, 2022
Merged

Belief Propagation #17

merged 32 commits into from
Nov 30, 2022

Conversation

JoeyT1994
Copy link
Contributor

Added functions for belief propagation
Added functions for creating special initial states (partition function of classical models)
Added extra capability for flattened networks (combining and uncombining their indices)
Added functions for forming subgraphs
Added a few extra utility functions
Added Boundary MPS contractor
Added belief propagation example

@mtfishman
Copy link
Member

Thanks @JoeyT1994. It looks like there is something funny going on with the formatting. Could you format your code by running:

julia> using JuliaFormatter

julia> format(".")

in the directory ~/.julia/dev/ITensorNetworks?

@mtfishman
Copy link
Member

@JoeyT1994 I'll merge this and then fix issues caused by #22.

After I do that, it would be good to add some tests for these functions in a follow up PR.

@mtfishman mtfishman merged commit 4a85e5e into ITensor:main Nov 30, 2022
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