You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/specialitensornetworks.jl
+39-8Lines changed: 39 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@ using ITensors: delta
2
2
using ITensors.NDTensors: dim
3
3
using DataGraphs: IsUnderlyingGraph
4
4
using Distributions: Distribution
5
+
using Random: Random, AbstractRNG
5
6
6
7
"""
7
8
RETURN A TENSOR NETWORK WITH COPY TENSORS ON EACH VERTEX.
@@ -28,37 +29,67 @@ end
28
29
"""
29
30
Build an ITensor network on a graph specified by the inds network s. Bond_dim is given by link_space and entries are randomised (normal distribution, mean 0 std 1)
0 commit comments