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: README.md
+11-13Lines changed: 11 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,19 +89,17 @@ Major non-breaking changes include:
89
89
90
90
### Transferring `TensorMap` data from older versions to v0.13:
91
91
92
-
To export `TensorMap` data from TensorKit.jl v0.12.7 or earlier, please use a format that is explicit about all "blocks" of the tensor, i.e. all coupled sectors and their corresponding matrix blocks. Therefore, on the
93
-
older version of TensorKit.jl, use the following code to save the data:
94
-
95
-
```julia
96
-
using JLD2
97
-
filename ="choose_some_filename.jld2"
98
-
t_dict =Dict(
99
-
:codomain=>repr(codomain(t)),
100
-
:domain=>repr(domain(t)),
101
-
:data=>Dict(repr(c) =>Array(b) for (c, b) inblocks(t))
102
-
)
103
-
save_object(filename, t_dict)
104
-
```
92
+
To export `TensorMap` data from TensorKit.jl v0.12.7 or earlier, you should first export the
93
+
data there in a format that is explicit about how tensor data is associated with the
94
+
structural part of the tensor, i.e. the splitting and fusion tree pairs. Therefore, on the
95
+
older version of TensorKit.jl, use the following code to save the data
0 commit comments