Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name = "TensorInference"
uuid = "c2297e78-99bd-40ad-871d-f50e56b81012"
authors = ["Jin-Guo Liu", "Martin Roa Villescas"]
version = "0.6.3"
authors = ["Jin-Guo Liu", "Martin Roa Villescas"]

[deps]
BitBasis = "50ba71b6-fa0f-514d-ae9a-0916efc90dcf"
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
OMEinsum = "ebe7aa44-baf0-506c-a96f-8464559b3922"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Expand All @@ -20,8 +22,10 @@ CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
TensorInferenceCUDAExt = "CUDA"

[compat]
BitBasis = "0.9.10"
CUDA = "4, 5"
DocStringExtensions = "0.8.6, 0.9"
Graphs = "1.13.3"
LinearAlgebra = "1"
OMEinsum = "0.9.1"
Pkg = "1"
Expand Down
5 changes: 5 additions & 0 deletions src/TensorInference.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ $(EXPORTS)
"""
module TensorInference

using BitBasis
using Graphs
using OMEinsum, LinearAlgebra
using OMEinsum: CacheTree, cached_einsum
using OMEinsum.OMEinsumContractionOrders.JSON
Expand Down Expand Up @@ -44,6 +46,8 @@ export update_temperature

# belief propagation
export BeliefPropgation, belief_propagate
export LoopSeriesTruncation, XORLoopSum, UnionLoopSum, Degree, Cyclomatic
export loop_series, loop_basis, loop_weight, bp_vacuum_weight, loop_corrections

# fileio
export save_tensor_network, load_tensor_network
Expand All @@ -60,6 +64,7 @@ include("mmap.jl")
include("sampling.jl")
include("cspmodels.jl")
include("belief.jl")
include("loop_series.jl")
include("fileio.jl")

end # module
Loading
Loading