@@ -38,7 +38,7 @@ julia> using ITensorNetworks: ITensorNetwork
38
38
39
39
julia> tn = ITensorNetwork (path_graph (4 ); link_space= 2 )
40
40
ITensorNetworks. ITensorNetwork{Int64} with 4 vertices:
41
- 4 - element Dictionaries . Indices {Int64}
41
+ 4 - element NamedGraphs . OrderedDictionaries . OrderedIndices {Int64}
42
42
1
43
43
2
44
44
3
@@ -93,7 +93,7 @@ julia> using NamedGraphs.NamedGraphGenerators: named_grid
93
93
94
94
julia> tn = ITensorNetwork (named_grid ((2 , 2 )); link_space= 2 )
95
95
ITensorNetworks. ITensorNetwork{Tuple{Int64, Int64}} with 4 vertices:
96
- 4 - element Dictionaries . Indices {Tuple{Int64, Int64}}
96
+ 4 - element NamedGraphs . OrderedDictionaries . OrderedIndices {Tuple{Int64, Int64}}
97
97
(1 , 1 )
98
98
(2 , 1 )
99
99
(1 , 2 )
@@ -128,7 +128,7 @@ julia> neighbors(tn, (1, 2))
128
128
129
129
julia> tn_1 = subgraph (v -> v[1 ] == 1 , tn)
130
130
ITensorNetworks. ITensorNetwork{Tuple{Int64, Int64}} with 2 vertices:
131
- 2 - element Dictionaries . Indices {Tuple{Int64, Int64}}
131
+ 2 - element NamedGraphs . OrderedDictionaries . OrderedIndices {Tuple{Int64, Int64}}
132
132
(1 , 1 )
133
133
(1 , 2 )
134
134
@@ -142,7 +142,7 @@ with vertex data:
142
142
143
143
julia> tn_2 = subgraph (v -> v[1 ] == 2 , tn)
144
144
ITensorNetworks. ITensorNetwork{Tuple{Int64, Int64}} with 2 vertices:
145
- 2 - element Dictionaries . Indices {Tuple{Int64, Int64}}
145
+ 2 - element NamedGraphs . OrderedDictionaries . OrderedIndices {Tuple{Int64, Int64}}
146
146
(2 , 1 )
147
147
(2 , 2 )
148
148
@@ -167,7 +167,7 @@ julia> using ITensorUnicodePlots: @visualize
167
167
168
168
julia> s = siteinds (" S=1/2" , named_grid (3 ))
169
169
ITensorNetworks. IndsNetwork{Int64, ITensors. Index} with 3 vertices:
170
- 3 - element Dictionaries . Indices {Int64}
170
+ 3 - element NamedGraphs . OrderedDictionaries . OrderedIndices {Int64}
171
171
1
172
172
2
173
173
3
@@ -187,7 +187,7 @@ and edge data:
187
187
188
188
julia> tn1 = ITensorNetwork (s; link_space= 2 )
189
189
ITensorNetworks. ITensorNetwork{Int64} with 3 vertices:
190
- 3 - element Dictionaries . Indices {Int64}
190
+ 3 - element NamedGraphs . OrderedDictionaries . OrderedIndices {Int64}
191
191
1
192
192
2
193
193
3
@@ -204,7 +204,7 @@ with vertex data:
204
204
205
205
julia> tn2 = ITensorNetwork(s; link_space=2)
206
206
ITensorNetworks.ITensorNetwork{Int64} with 3 vertices:
207
- 3-element Dictionaries.Indices {Int64}
207
+ 3-element NamedGraphs.OrderedDictionaries.OrderedIndices {Int64}
208
208
1
209
209
2
210
210
3
@@ -305,20 +305,20 @@ julia> @visualize Z̃;
305
305
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
306
306
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
307
307
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
308
- ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀Z̃ ( 3 , 1 ) ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
309
- ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠔⠁⠀⠀⠀⠉⠉⠑⠒⠒⠢⠤⠤⣀⣀⡀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
310
- ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠔⠁ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈2⠉⠑ ⠒⠒⠤⠤⠤⣀⣀⡀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀
311
- ⠀⠀⠀⠀⠀⠀⠀⠀⠀ ( 2 ) ' ⠁ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ Z̃ (3 , 2 )⠀⠀
312
- ⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠔⠁ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠤⠊ ⠀⠀⠀⠀⠀⠀⠀
313
- ⠀⠀⠀⠀⠀⠀⠀⢀⠔⠁ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠⠒ ⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀
314
- ⠀⠀⠀⠀⠀⢀⠔⠁⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀2⠊ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
315
- ⠀Z̃ ( 2 , 1 )⠤⠤⣀⣀⣀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠⠊⠁ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
316
- ⠀⠀⠀⠀⠀⢣⠀⠀ ⠀⠀⠀⠀⠀⠀⠉⠉⠑⠒2⠢⠤⠤⣀⣀⡀ ⠀⠀⠀⠀⠀⠀⠀⣀⠔⠉⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
317
- ⠀⠀⠀⠀⠀⢸ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉ Z̃ (2 , 2 )⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
318
- ⠀⠀⠀⠀⠀2⡄ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⠤⠤ ⠒⠊⠉⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
319
- ⠀⠀⠀⠀⠀⠀⡇ ⠀⠀⠀⠀⠀⠀⠀⠀⣀⡠ ⠤2⠒⠉⠁⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
320
- ⠀⠀⠀⠀⠀⠀⢱⠀⢀⣀⠤⠔ ⠒⠊⠉⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
321
- ⠀⠀Z̃ (1 , 2 )⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
308
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀Z̃ ( 2 , 1 ) ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
309
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ( 2 ) ' ⠤⠤⠔⠒⠒⠉⠉⠀⠀⢱⠀⠈⠉⠑⠒⠢⠤⢄⣀2 ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
310
+ ⠀⠀⠀⠀⠀⠀⠀⣀⣀⠤⠤⠔⠒⠊⠉⠉ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⡆ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉ ⠒⠒⠤⠤⢄⣀⡀ ⠀⠀⠀⠀⠀
311
+ ⠀Z̃ ( 3 , 1 ) ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢱ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀Z̃ (1 , 2 )⠀⠀
312
+ ⠀⠀⠀⠀⠀⢸ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⡆ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠔⠁ ⠀⠀⠀⠀⠀⠀⠀
313
+ ⠀⠀⠀⠀⠀⠀⡇⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀2 ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⠔ ⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀
314
+ ⠀⠀⠀⠀⠀⠀⢸ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡇ ⠀⠀⠀⠀⠀⠀⠀⡠2 ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
315
+ ⠀⠀⠀⠀⠀⠀⠀⡇ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⠀⠀⠀⠀⠀⡠⠊ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
316
+ ⠀⠀⠀⠀⠀⠀⠀2⡀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡇⠀⢀⠤⠊ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
317
+ ⠀⠀⠀⠀⠀⠀⠀⠀⢇ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ Z̃ (2 , 2 )⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
318
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠸⡀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⡠⠤ ⠒⠊⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
319
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⢇ ⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀ ⠤2⠒⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
320
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠸⡀⠀⣀⡠⠤ ⠒⠊⠉⠁ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
321
+ ⠀⠀⠀⠀⠀⠀ Z̃ (3 , 2 )⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
322
322
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
323
323
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
324
324
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
0 commit comments