Skip to content

Commit 0005598

Browse files
authored
Upgrade to NamedGraphs v0.5, Datagraphs v0.2 (#159)
1 parent 8b2fadf commit 0005598

File tree

77 files changed

+665
-740
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+665
-740
lines changed

Project.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ITensorNetworks"
22
uuid = "2919e153-833c-4bdc-8836-1ea460a35fc7"
33
authors = ["Matthew Fishman <[email protected]> and contributors"]
4-
version = "0.8.2"
4+
version = "0.9.0"
55

66
[deps]
77
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
@@ -46,19 +46,19 @@ ITensorNetworksEinExprsExt = "EinExprs"
4646
AbstractTrees = "0.4.4"
4747
Combinatorics = "1"
4848
Compat = "3, 4"
49-
DataGraphs = "0.1.13"
49+
DataGraphs = "0.2.2"
5050
DataStructures = "0.18"
5151
Dictionaries = "0.4"
5252
Distributions = "0.25.86"
5353
DocStringExtensions = "0.8, 0.9"
5454
EinExprs = "0.6.4"
5555
Graphs = "1.8"
5656
GraphsFlows = "0.1.1"
57-
ITensors = "0.3.58"
57+
ITensors = "0.3.58, 0.4"
5858
IsApprox = "0.1"
5959
IterTools = "1.4.0"
6060
KrylovKit = "0.6, 0.7"
61-
NamedGraphs = "0.1.23"
61+
NamedGraphs = "0.5.1"
6262
NDTensors = "0.2, 0.3"
6363
Observers = "0.2"
6464
PackageExtensionCompat = "1"

README.md

Lines changed: 32 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,13 @@ julia> ] add ITensorNetworks
3232
Here are is an example of making a tensor network on a chain graph (a tensor train or matrix product state):
3333

3434
```julia
35-
julia> using Graphs: neighbors
35+
julia> using Graphs: neighbors, path_graph
3636

37-
julia> using ITensorNetworks: ITensorNetwork, siteinds
37+
julia> using ITensorNetworks: ITensorNetwork
3838

39-
julia> using NamedGraphs: named_grid, subgraph
40-
41-
julia> tn = ITensorNetwork(named_grid(4); link_space=2)
39+
julia> tn = ITensorNetwork(path_graph(4); link_space=2)
4240
ITensorNetworks.ITensorNetwork{Int64} with 4 vertices:
43-
4-element Vector{Int64}:
41+
4-element Dictionaries.Indices{Int64}
4442
1
4543
2
4644
3
@@ -89,9 +87,13 @@ julia> neighbors(tn, 4)
8987
and here is a similar example for making a tensor network on a grid (a tensor product state or project entangled pair state (PEPS)):
9088

9189
```julia
90+
julia> using NamedGraphs.GraphsExtensions: subgraph
91+
92+
julia> using NamedGraphs.NamedGraphGenerators: named_grid
93+
9294
julia> tn = ITensorNetwork(named_grid((2, 2)); link_space=2)
9395
ITensorNetworks.ITensorNetwork{Tuple{Int64, Int64}} with 4 vertices:
94-
4-element Vector{Tuple{Int64, Int64}}:
96+
4-element Dictionaries.Indices{Tuple{Int64, Int64}}
9597
(1, 1)
9698
(2, 1)
9799
(1, 2)
@@ -126,7 +128,7 @@ julia> neighbors(tn, (1, 2))
126128

127129
julia> tn_1 = subgraph(v -> v[1] == 1, tn)
128130
ITensorNetworks.ITensorNetwork{Tuple{Int64, Int64}} with 2 vertices:
129-
2-element Vector{Tuple{Int64, Int64}}:
131+
2-element Dictionaries.Indices{Tuple{Int64, Int64}}
130132
(1, 1)
131133
(1, 2)
132134

@@ -140,7 +142,7 @@ with vertex data:
140142

141143
julia> tn_2 = subgraph(v -> v[1] == 2, tn)
142144
ITensorNetworks.ITensorNetwork{Tuple{Int64, Int64}} with 2 vertices:
143-
2-element Vector{Tuple{Int64, Int64}}:
145+
2-element Dictionaries.Indices{Tuple{Int64, Int64}}
144146
(2, 1)
145147
(2, 2)
146148

@@ -159,13 +161,13 @@ Networks can also be merged/unioned:
159161
```julia
160162
julia> using ITensors: prime
161163

162-
julia> using ITensorNetworks: , contract, contraction_sequence
164+
julia> using ITensorNetworks: , contract, contraction_sequence, siteinds
163165

164166
julia> using ITensorUnicodePlots: @visualize
165167

166168
julia> s = siteinds("S=1/2", named_grid(3))
167169
ITensorNetworks.IndsNetwork{Int64, ITensors.Index} with 3 vertices:
168-
3-element Vector{Int64}:
170+
3-element Dictionaries.Indices{Int64}
169171
1
170172
2
171173
3
@@ -185,7 +187,7 @@ and edge data:
185187

186188
julia> tn1 = ITensorNetwork(s; link_space=2)
187189
ITensorNetworks.ITensorNetwork{Int64} with 3 vertices:
188-
3-element Vector{Int64}:
190+
3-element Dictionaries.Indices{Int64}
189191
1
190192
2
191193
3
@@ -202,7 +204,7 @@ with vertex data:
202204
203205
julia> tn2 = ITensorNetwork(s; link_space=2)
204206
ITensorNetworks.ITensorNetwork{Int64} with 3 vertices:
205-
3-element Vector{Int64}:
207+
3-element Dictionaries.Indices{Int64}
206208
1
207209
2
208210
3
@@ -293,8 +295,8 @@ julia> @visualize Z;
293295

294296
julia> contraction_sequence(Z)
295297
2-element Vector{Vector}:
296-
NamedGraphs.Key{Tuple{Int64, Int64}}[Key((1, 1)), Key((1, 2))]
297-
Any[Key((2, 1)), Any[Key((2, 2)), NamedGraphs.Key{Tuple{Int64, Int64}}[Key((3, 1)), Key((3, 2))]]]
298+
NamedGraphs.Keys.Key{Tuple{Int64, Int64}}[Key((1, 1)), Key((1, 2))]
299+
Any[Key((2, 1)), Any[Key((2, 2)), NamedGraphs.Keys.Key{Tuple{Int64, Int64}}[Key((3, 1)), Key((3, 2))]]]
298300

299301
julia>= contract(Z, (1, 1) => (2, 1));
300302

@@ -303,20 +305,20 @@ julia> @visualize Z̃;
303305
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
304306
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
305307
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
306-
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀(2, 1)⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
307-
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀(2)'⠤⠤⠔⠒⠒⠉⠉⠀⠀⢱⠀⠈⠉⠑⠒⠢⠤⢄⣀2⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
308-
⠀⠀⠀⠀⠀⠀⠀⣀⣀⠤⠤⠔⠒⠊⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠒⠒⠤⠤⢄⣀⡀⠀⠀⠀⠀⠀
309-
(3, 1)⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀Z̃(1, 2)⠀⠀
310-
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠔⠁⠀⠀⠀⠀⠀⠀⠀
311-
⠀⠀⠀⠀⠀⠀⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀2⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⠔⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀
312-
⠀⠀⠀⠀⠀⠀⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠2⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
313-
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⠀⠀⠀⠀⠀⡠⠊⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
314-
⠀⠀⠀⠀⠀⠀⠀2⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡇⠀⢀⠤⠊⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
315-
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀(2, 2)⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
316-
⠀⠀⠀⠀⠀⠀⠀⠀⠸⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⡠⠤⠒⠊⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
317-
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⠤2⠒⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
318-
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠸⡀⠀⣀⡠⠤⠒⠊⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
319-
⠀⠀⠀⠀⠀⠀(3, 2)⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
308+
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀(3, 1)⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
309+
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠔⠁⠀⠀⠀⠉⠉⠑⠒⠒⠢⠤⠤⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
310+
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠔⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈2⠉⠑⠒⠒⠤⠤⠤⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀
311+
⠀⠀⠀⠀⠀⠀⠀⠀⠀(2)'⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀(3, 2)⠀⠀
312+
⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠔⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠤⠊⠀⠀⠀⠀⠀⠀⠀
313+
⠀⠀⠀⠀⠀⠀⠀⢀⠔⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠⠒⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀
314+
⠀⠀⠀⠀⠀⢀⠔⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀2⠊⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
315+
(2, 1)⠤⠤⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠⠊⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
316+
⠀⠀⠀⠀⠀⢣⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠑⠒2⠢⠤⠤⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⣀⠔⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
317+
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉(2, 2)⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
318+
⠀⠀⠀⠀⠀2⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⠤⠤⠒⠊⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
319+
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⡠⠤2⠒⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
320+
⠀⠀⠀⠀⠀⠀⢱⠀⢀⣀⠤⠔⠒⠊⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
321+
⠀⠀Z̃(1, 2)⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
320322
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
321323
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
322324
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
@@ -328,7 +330,7 @@ julia> @visualize Z̃;
328330
329331
330332
331-
This file was generated with [weave.jl](https://github.com/JunoLab/Weave.jl) with the following commands:
333+
This file was generated with [Weave.jl](https://github.com/JunoLab/Weave.jl) with the following commands:
332334
333335
```julia
334336
using ITensorNetworks: ITensorNetworks

examples/README.jl

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,9 @@ Random.seed!(ITensors.index_id_rng(), 1234);
3232
#' Here are is an example of making a tensor network on a chain graph (a tensor train or matrix product state):
3333
#+ term=true
3434

35-
using Graphs: neighbors
36-
using ITensorNetworks: ITensorNetwork, siteinds
37-
using NamedGraphs: named_grid, subgraph
38-
tn = ITensorNetwork(named_grid(4); link_space=2)
35+
using Graphs: neighbors, path_graph
36+
using ITensorNetworks: ITensorNetwork
37+
tn = ITensorNetwork(path_graph(4); link_space=2)
3938
tn[1]
4039
tn[2]
4140
neighbors(tn, 1)
@@ -46,6 +45,8 @@ neighbors(tn, 4)
4645
#' and here is a similar example for making a tensor network on a grid (a tensor product state or project entangled pair state (PEPS)):
4746
#+ term=true
4847

48+
using NamedGraphs.GraphsExtensions: subgraph
49+
using NamedGraphs.NamedGraphGenerators: named_grid
4950
tn = ITensorNetwork(named_grid((2, 2)); link_space=2)
5051
tn[1, 1]
5152
neighbors(tn, (1, 1))
@@ -57,7 +58,7 @@ tn_2 = subgraph(v -> v[1] == 2, tn)
5758
#+ term=true
5859

5960
using ITensors: prime
60-
using ITensorNetworks: , contract, contraction_sequence
61+
using ITensorNetworks: , contract, contraction_sequence, siteinds
6162
using ITensorUnicodePlots: @visualize
6263
s = siteinds("S=1/2", named_grid(3))
6364
tn1 = ITensorNetwork(s; link_space=2)
@@ -72,7 +73,7 @@ Z̃ = contract(Z, (1, 1) => (2, 1));
7273

7374
#' ## Generating this README
7475

75-
#' This file was generated with [weave.jl](https://github.com/JunoLab/Weave.jl) with the following commands:
76+
#' This file was generated with [Weave.jl](https://github.com/JunoLab/Weave.jl) with the following commands:
7677
#+ eval=false
7778

7879
using ITensorNetworks: ITensorNetworks

src/Graphs/abstractdatagraph.jl

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/Graphs/abstractgraph.jl

Lines changed: 0 additions & 71 deletions
This file was deleted.

src/ITensorNetworks.jl

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
module ITensorNetworks
2-
include("usings.jl")
3-
include("Graphs/abstractgraph.jl")
4-
include("Graphs/abstractdatagraph.jl")
2+
include("lib/BaseExtensions/src/BaseExtensions.jl")
3+
include("lib/ITensorsExtensions/src/ITensorsExtensions.jl")
54
include("observers.jl")
65
include("visualize.jl")
76
include("graphs.jl")
8-
include("itensors.jl")
97
include("abstractindsnetwork.jl")
108
include("indextags.jl")
119
include("indsnetwork.jl")
@@ -15,16 +13,15 @@ include("abstractitensornetwork.jl")
1513
include("contraction_sequences.jl")
1614
include("tebd.jl")
1715
include("itensornetwork.jl")
18-
include("mincut.jl")
19-
include("contract_deltas.jl")
20-
include("approx_itensornetwork/utils.jl")
21-
include("approx_itensornetwork/density_matrix.jl")
22-
include("approx_itensornetwork/ttn_svd.jl")
23-
include("approx_itensornetwork/approx_itensornetwork.jl")
24-
include("approx_itensornetwork/partition.jl")
25-
include("approx_itensornetwork/binary_tree_partition.jl")
16+
include("contract_approx/mincut.jl")
17+
include("contract_approx/contract_deltas.jl")
18+
include("contract_approx/utils.jl")
19+
include("contract_approx/density_matrix.jl")
20+
include("contract_approx/ttn_svd.jl")
21+
include("contract_approx/contract_approx.jl")
22+
include("contract_approx/partition.jl")
23+
include("contract_approx/binary_tree_partition.jl")
2624
include("contract.jl")
27-
include("utility.jl")
2825
include("specialitensornetworks.jl")
2926
include("boundarymps.jl")
3027
include("partitioneditensornetwork.jl")
@@ -36,14 +33,13 @@ include("caches/beliefpropagationcache.jl")
3633
include("contraction_tree_to_graph.jl")
3734
include("gauging.jl")
3835
include("utils.jl")
39-
include("ITensorsExtensions/ITensorsExtensions.jl")
4036
include("solvers/local_solvers/eigsolve.jl")
4137
include("solvers/local_solvers/exponentiate.jl")
4238
include("solvers/local_solvers/dmrg_x.jl")
4339
include("solvers/local_solvers/contract.jl")
4440
include("solvers/local_solvers/linsolve.jl")
4541
include("treetensornetworks/abstracttreetensornetwork.jl")
46-
include("treetensornetworks/ttn.jl")
42+
include("treetensornetworks/treetensornetwork.jl")
4743
include("treetensornetworks/opsum_to_ttn.jl")
4844
include("treetensornetworks/projttns/abstractprojttn.jl")
4945
include("treetensornetworks/projttns/projttn.jl")
@@ -66,8 +62,8 @@ include("inner.jl")
6662
include("expect.jl")
6763
include("environment.jl")
6864
include("exports.jl")
69-
include("ModelHamiltonians/ModelHamiltonians.jl")
70-
include("ModelNetworks/ModelNetworks.jl")
65+
include("lib/ModelHamiltonians/src/ModelHamiltonians.jl")
66+
include("lib/ModelNetworks/src/ModelNetworks.jl")
7167

7268
using PackageExtensionCompat: @require_extensions
7369
using Requires: @require

0 commit comments

Comments
 (0)