From 01d9f73ae136df2762bac95b0b9db1220d08f9de Mon Sep 17 00:00:00 2001 From: Matthew Fishman Date: Tue, 12 May 2026 19:54:24 -0400 Subject: [PATCH 1/2] Drop stale visualize(::IndsNetwork) doc entry The function was removed from src/indsnetwork.jl in #356 along with the IndsNetwork-based ITensorNetwork constructor family, but this entry in docs/src/experimental_methods.md was missed. --- docs/src/experimental_methods.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/docs/src/experimental_methods.md b/docs/src/experimental_methods.md index d3b027de..763f0675 100644 --- a/docs/src/experimental_methods.md +++ b/docs/src/experimental_methods.md @@ -261,11 +261,6 @@ Methods which still need to be discussed, modified, or deprecated. map_inds(f, is::IndsNetwork, args...; sites = nothing, links = nothing, kwargs...) ``` -* Visualize an `IndsNetwork` by wrapping it in a default `ITensorNetwork` (`indsnetwork.jl`): - ```julia - visualize(is::IndsNetwork, args...; kwargs...) - ``` - ## ProjTTN System From 5b4d02e2178f2e1824295c4970eba866eebb72aa Mon Sep 17 00:00:00 2001 From: Matthew Fishman Date: Tue, 12 May 2026 20:15:21 -0400 Subject: [PATCH 2/2] Drop more stale doc references: data_graph_type, edge_data_eltype, setindex!(bpc, ...) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `data_graph_type` was an accessor in the pre-#365 DataGraph-based storage layout. After #365 inlined storage into NamedGraph + Dictionary fields, no implementation of `data_graph_type` remains in src/, but the docs still listed it for `AbstractFormNetwork`, `QuadraticFormNetwork`, `AbstractBeliefPropagationCache`, `AbstractTTN` (as a prose label), and `TreeTensorNetwork`. Drop all of those entries. `edge_data_eltype(::Type{<:AbstractIndsNetwork})` was a misnamed reference — the actual function is `DataGraphs.edge_data_type`. Fix the name. `setindex!(bpc, factor, vertex)` is documented for both `AbstractBeliefPropagationCache` and `BeliefPropagationCache`, but neither type has a corresponding method in src/. Drop both entries. --- docs/src/developer_methods.md | 5 ----- docs/src/experimental_methods.md | 5 ++--- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/docs/src/developer_methods.md b/docs/src/developer_methods.md index 0e132df0..c9fb876f 100644 --- a/docs/src/developer_methods.md +++ b/docs/src/developer_methods.md @@ -18,7 +18,6 @@ * Graph plumbing forwarded to the underlying tensor network (`formnetworks/abstractformnetwork.jl`): ```julia data_graph(f::AbstractFormNetwork) - data_graph_type(f::AbstractFormNetwork) ``` * Lists of vertices in each role: those tagged with the operator/bra/ket suffix (`formnetworks/abstractformnetwork.jl`): @@ -142,7 +141,6 @@ ket_vertex_suffix(qf::QuadraticFormNetwork) tensornetwork(qf::QuadraticFormNetwork) data_graph(qf::QuadraticFormNetwork) - data_graph_type(qf::QuadraticFormNetwork) ``` * Copy a `QuadraticFormNetwork` (deep-copies the inner bilinear form) (`formnetworks/quadraticformnetwork.jl`): @@ -185,7 +183,6 @@ (`caches/abstractbeliefpropagationcache.jl`): ```julia # How many of these are user-facing versus internal? - setindex!(bpc::AbstractBeliefPropagationCache, factor::ITensor, vertex) partitioned_tensornetwork(bpc::AbstractBeliefPropagationCache) messages(bpc::AbstractBeliefPropagationCache) copy(bpc::AbstractBeliefPropagationCache) @@ -201,7 +198,6 @@ network behind a cache (`caches/abstractbeliefpropagationcache.jl`): ```julia similar_type(bpc::AbstractBeliefPropagationCache) - data_graph_type(bpc::AbstractBeliefPropagationCache) data_graph(bpc::AbstractBeliefPropagationCache) tensornetwork(bpc::AbstractBeliefPropagationCache) scalartype(bpc::AbstractBeliefPropagationCache) @@ -372,7 +368,6 @@ ```julia copy(bp_cache::BeliefPropagationCache) messages(bp_cache::BeliefPropagationCache) - setindex!(bpc::BeliefPropagationCache, factor::ITensor, vertex) ``` * Partition-graph related queries — list partitions, quotient edges between partitions, and diff --git a/docs/src/experimental_methods.md b/docs/src/experimental_methods.md index 763f0675..e89d3753 100644 --- a/docs/src/experimental_methods.md +++ b/docs/src/experimental_methods.md @@ -37,7 +37,7 @@ Methods which still need to be discussed, modified, or deprecated. set_ortho_region(tn::AbstractTTN, new_region) ``` -* Underlying-graph type forwarded to `data_graph_type` (`treetensornetworks/abstracttreetensornetwork.jl`): +* Underlying-graph type for `AbstractTTN` (`treetensornetworks/abstracttreetensornetwork.jl`): ```julia underlying_graph_type(G::Type{<:AbstractTTN}) ``` @@ -135,7 +135,6 @@ Methods which still need to be discussed, modified, or deprecated. * `AbstractITensorNetwork` interface, forwarded to the wrapped `ITensorNetwork` (`treetensornetworks/treetensornetwork.jl`): ```julia data_graph(tn::TTN) - data_graph_type(G::Type{<:TTN}) copy(tn::TTN) ``` @@ -179,7 +178,7 @@ Methods which still need to be discussed, modified, or deprecated. ```julia vertex_data(graph::AbstractIndsNetwork, args...) edge_data(graph::AbstractIndsNetwork, args...) - edge_data_eltype(::Type{<:AbstractIndsNetwork{V, I}}) where {V, I} + edge_data_type(::Type{<:AbstractIndsNetwork{V, I}}) where {V, I} ``` * Merge two `AbstractIndsNetwork`s, returning an `IndsNetwork` over the merged graph (`abstractindsnetwork.jl`):