-
Notifications
You must be signed in to change notification settings - Fork 2
Revised Belief Propagation #26
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
Open
jack-dunham
wants to merge
85
commits into
ITensor:main
Choose a base branch
from
jack-dunham:bp
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
85 commits
Select commit
Hold shift + click to select a range
b4ae4d7
Working BP Commit
JoeyT1994 d77d063
BP Code
JoeyT1994 b80e36e
Express BP in terms of `SweepIterator` interface
jack-dunham fe44b80
Add method for `setmessages!` that allows messages from one cache to …
jack-dunham 3ce0898
Network is now passed to `forest_cover_edge_sequence` directly.
jack-dunham f6e4fd0
test file formatting
jack-dunham 63840a9
Add `DataGraphsPartitionedGraphsExt` glue for `TensorNetwork` type
jack-dunham ba22ab5
Make abstract tensor network interface more generic.
jack-dunham 49b0870
BP Caching overhauls
jack-dunham db46c04
Remove dead deps
jack-dunham 400e373
Fix merge
jack-dunham b9aafe8
Fix type inference in TensorNetwork construction
jack-dunham 4090e61
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] be0750e
Remove `ITensorBase` dep
jack-dunham b971b89
`forest_cover_edge_sequence` now constructs a temporary `NamedGraph` …
jack-dunham 9ebf031
[LazyNamedDimsArrays] Fix `parenttype` method
jack-dunham 16fe303
BP Cache now uses new `DataGraphs`interface
jack-dunham 24a4335
Adjust `default_message` to take a `message` type as its first argument
jack-dunham c43884e
Remove unnecessary code and fix ambiguities in `AbstractTensorNetwork`
jack-dunham dd6f645
`TensorNetwork` type now uses new DataGraphs interface
jack-dunham 7bb579c
Sweeping algorithms based on AlgorithmsInterface.jl (#30)
mtfishman 032447a
Upgrade to NamedDimsArrays.jl v0.11 (#38)
mtfishman b256d79
[LazyNamedDimsArrays] New `symnameddims` method that pulls out indice…
jack-dunham b2da9d8
The function `region_scalar` should now return a scalar, rather than …
jack-dunham 8506e26
Fix double counting in `edge_scalars` function
jack-dunham 938180a
Minor code formatting
jack-dunham 4461967
Expressed belief propagation in terms of AlgorithmsInterface
jack-dunham d68860a
Fixes to TensorNetwork construction from tensor list
jack-dunham 2f5c783
Minor simplifications to `contract_network` interface.
jack-dunham 9a45a5b
Merge branch 'main' into bp
jack-dunham 4eec9b6
Upgrade DataGraphs and NamedGraphs dependencies
jack-dunham 202724c
[AlgorithmsInterfaceExtensions] Allowing mapping over a generic itera…
jack-dunham 69542e3
Upgrade serial BP to use own `<:Algorithm` structs.
jack-dunham 9925069
Simplify BP cache to only store factors
jack-dunham 292f2fa
Upgrade to DataGraphs v0.3.1 and NamedGraphs v0.10
jack-dunham 9d937aa
Fix compat
jack-dunham 5432fe2
Fix broken merge
jack-dunham c916c84
Bug fix; upgrade tests
jack-dunham 4a511a1
Add 2D TN test
jack-dunham 5b97af3
Formatting
jack-dunham fef588d
Merge branch 'main' into bp
jack-dunham 62dae14
Merge branch 'bp' of https://github.com/jack-dunham/ITensorNetworksNe…
jack-dunham 951cee6
Simplify BP code
jack-dunham 1f1920c
Add spin ice test
jack-dunham 5f3be98
Version Bump
jack-dunham 487683a
Use `abs2` in message diff function.
jack-dunham aa24243
Add method for setting intitial messages; improve spin ice tests.
jack-dunham 9248686
Remove redundant `default_message_diff_function` function.
jack-dunham 9d7abea
Upgrade to DataGraphs and NamedGraphs to 0.4 and 0.11
jack-dunham f23b261
Merge branch 'main' into bp
jack-dunham 1126331
Formatting
jack-dunham 76b48be
Upgrade to simplified `similar_graph`
jack-dunham 330074a
Remove edge arg in `similar_graph`.
jack-dunham cab6af3
Inline message computation into `solve!`; use type instead of alg str…
jack-dunham b5e6e36
Add in `PartitionedGraphs` interface methods for `TensorNetwork` and …
jack-dunham 0786e82
Test BP with differing precisions; remove `atol` test criteria.
jack-dunham 86fee1f
Use `map` instead of comprehension when returning messages.
jack-dunham b40dc99
Fix `nested_algorithm` methods on iterables.
jack-dunham 2454330
Merge branch 'bp' of https://github.com/jack-dunham/ITensorNetworksNe…
jack-dunham 3dcd192
Cleanup `AbstractBeliefPropagationCache` interface.
jack-dunham b3ad81b
Remove `Graphs.connected_components` method for `TensorNetwork`
jack-dunham d42b8c6
Remove unecessary `symnameddims` method.
jack-dunham e4dad19
Remove confusing code comment.
jack-dunham fc0203b
Remove `beliefpropagation_sweep` in favour of constructor call.
jack-dunham 1e68a18
Fix message type initialization failing when only factors are provided.
jack-dunham 76581a1
Formatting.
jack-dunham bf2a59f
Remove `edge_data_type` method for `AbstractTensorNetwork`
jack-dunham 6e92749
Add some tests for `TensorNetwork` type.
jack-dunham f52e34b
Bug fixes; more tests
jack-dunham cf44dd6
Using `Inf` instead of `NaN` for delta initialization in `StopWhenCon…
jack-dunham 1032177
Add some basic tests for `PartitionedGraphs` interactions with `Tenso…
jack-dunham aa78c20
Add tests via Claude.
jack-dunham f836155
Refine and redistribute generated tests
jack-dunham 01de55f
Further BP test improvements
jack-dunham c533c89
Fix incomplete `sitenames` and `siteaxes` definitions.
jack-dunham 122c2e7
Remove `default_message` and other fixes.
jack-dunham 9b415ec
Fix test imports
jack-dunham 26f12bc
Formatting.
jack-dunham e9dc540
Fix and test tensor network graph manipulation functions.
jack-dunham 25df289
Refactor `BeliefPropagationCache` -> `MessageCache`, remove abstract …
jack-dunham 3b20434
Simplify `factors` and `messages` methods on `AbstractGraph`
jack-dunham fecb55b
Allow a custom stopping criteria input into `beliefpropagation` using…
jack-dunham 7211f29
Hard code edge type in `MessageCache`.
jack-dunham ef5c2ca
Merge branch 'bp' of https://github.com/jack-dunham/ITensorNetworksNe…
jack-dunham 364f50d
Remove `MessageCache` undef initializer.
jack-dunham File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.