Skip to content

Commit 099366b

Browse files
committed
fixed typo
1 parent db826ff commit 099366b

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

docs/code/python/outputs/guide_uniten_manipulation_Transpose_tagged.out

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ contiguous : True
55
valid blocks: 6
66
is diag : False
77
on device : cytnx device: CPU
8-
row col
9-
-----------
10-
| |
8+
row col
9+
-----------
10+
| |
1111
a -->| 2 4 |--> c
12-
| |
13-
b -->| 2 |
14-
| |
15-
-----------
12+
| |
13+
b -->| 2 |
14+
| |
15+
-----------
1616

1717
Rowrank of T = 2
1818
-----------------------
@@ -22,13 +22,13 @@ contiguous : False
2222
valid blocks: 6
2323
is diag : False
2424
on device : cytnx device: CPU
25-
row col
26-
-----------
27-
| |
25+
row col
26+
-----------
27+
| |
2828
c -->| 4 2 |--> a
29-
| |
29+
| |
3030
| 2 |--> b
31-
| |
32-
-----------
31+
| |
32+
-----------
3333

3434
Rowrank of transposed T = 1

example/TDVP/tdvp1_dense.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,8 @@ def prepare_rand_init_MPS(Nsites, chi, d):
270270
lbls.append(["0","1","2"]) # store the labels for later convinience.
271271

272272
for k in range(1,Nsites):
273-
dim1 = A[k-1].shape()[2] dim2 = d
273+
dim1 = A[k-1].shape()[2]
274+
dim2 = d
274275
dim3 = min(min(chi, A[k-1].shape()[2] * d), d ** (Nsites - k - 1))
275276
A[k] = cytnx.UniTensor.normal([dim1, dim2, dim3],0.,1., seed=0).set_rowrank(2)
276277

0 commit comments

Comments
 (0)