Skip to content
Merged
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
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ITensorNetworks"
uuid = "2919e153-833c-4bdc-8836-1ea460a35fc7"
authors = ["Matthew Fishman <mfishman@flatironinstitute.org>, Joseph Tindall <jtindall@flatironinstitute.org> and contributors"]
version = "0.14.1"
version = "0.14.2"

[deps]
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
Expand Down Expand Up @@ -66,7 +66,7 @@ IterTools = "1.4.0"
KrylovKit = "0.6, 0.7, 0.8, 0.9, 0.10"
MacroTools = "0.5"
NDTensors = "0.3, 0.4"
NamedGraphs = "0.6.0"
NamedGraphs = "0.7.1"
OMEinsumContractionOrders = "0.8.3, 0.9, 1"
Observers = "0.2.4"
SerializedElementArrays = "0.1"
Expand Down
2 changes: 1 addition & 1 deletion src/caches/abstractbeliefpropagationcache.jl
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ end

#Forward from partitioned graph
for f in [
:(PartitionedGraphs.partitioned_graph),
:(PartitionedGraphs.partitionedge),
:(PartitionedGraphs.partitionvertices),
:(PartitionedGraphs.partitions_graph),
:(PartitionedGraphs.vertices),
:(PartitionedGraphs.boundary_partitionedges),
]
Expand Down
3 changes: 2 additions & 1 deletion src/caches/beliefpropagationcache.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ using NamedGraphs.PartitionedGraphs:
partitionvertices,
partitionedges,
partitioned_vertices,
partitions_graph,
unpartitioned_graph,
which_partition
using SimpleTraits: SimpleTraits, Not, @traitfn
Expand Down Expand Up @@ -95,7 +96,7 @@ function set_default_kwargs(alg::Algorithm"bp", bp_cache::BeliefPropagationCache
end

function default_bp_maxiter(bp_cache::BeliefPropagationCache)
return default_bp_maxiter(partitioned_graph(bp_cache))
return default_bp_maxiter(partitions_graph(bp_cache))
end
function default_bp_edge_sequence(bp_cache::BeliefPropagationCache)
return default_edge_sequence(partitioned_tensornetwork(bp_cache))
Expand Down
4 changes: 2 additions & 2 deletions src/edge_sequences.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ using Graphs: IsDirected, connected_components, edges, edgetype
using ITensors.NDTensors: Algorithm, @Algorithm_str
using NamedGraphs: NamedGraphs
using NamedGraphs.GraphsExtensions: GraphsExtensions, forest_cover, undirected_graph
using NamedGraphs.PartitionedGraphs: PartitionEdge, PartitionedGraph, partitioned_graph
using NamedGraphs.PartitionedGraphs: PartitionEdge, PartitionedGraph, partitions_graph
using SimpleTraits: SimpleTraits, Not, @traitfn

default_edge_sequence_alg() = "forest_cover"
function default_edge_sequence(pg::PartitionedGraph)
return PartitionEdge.(edge_sequence(partitioned_graph(pg)))
return PartitionEdge.(edge_sequence(partitions_graph(pg)))
end

@traitfn function edge_sequence(
Expand Down
22 changes: 11 additions & 11 deletions test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,33 +33,33 @@ UnicodePlots = "b8865327-cd53-5732-bb35-84acbb429228"

[compat]
AbstractTrees = "0.4.5"
Adapt = "4.3.0"
Adapt = "4.3"
Aqua = "0.8.11"
Compat = "4.16.0"
Compat = "4.16"
DataGraphs = "0.2.6"
Dictionaries = "0.4.4"
Distributions = "0.25.118"
EinExprs = "0.6.8, 0.7"
Glob = "1.3.1"
Graphs = "1.12.0"
Graphs = "1.12"
GraphsFlows = "0.1.1"
ITensorMPS = "0.3.6"
ITensorNetworks = "0.14.1"
ITensors = "0.7, 0.8, 0.9"
KrylovKit = "0.8, 0.9, 0.10"
LinearAlgebra = "1.10.0"
Metis = "1.5.0"
LinearAlgebra = "1.10"
Metis = "1.5"
NDTensors = "0.3, 0.4"
NamedGraphs = "0.6.6"
NamedGraphs = "0.7"
OMEinsumContractionOrders = "0.9.5, 1"
Observers = "0.2.5"
OrdinaryDiffEqTsit5 = "1.1.0"
Pkg = "1.10.0"
Random = "1.10.0"
SafeTestsets = "0.1.0"
OrdinaryDiffEqTsit5 = "1.1"
Pkg = "1.10"
Random = "1.10"
SafeTestsets = "0.1"
SplitApplyCombine = "1.2.3"
StableRNGs = "1.0.2"
Suppressor = "0.2.8"
TensorOperations = "5.1.4"
Test = "1.10.0"
Test = "1.10"
UnicodePlots = "3.7.2"
Loading