Skip to content

Commit e82d227

Browse files
committed
Docstring update
1 parent 96695d2 commit e82d227

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

src/states/infiniteweightpeps.jl

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ const PEPSWeight{T,S} = AbstractTensorMap{T,S,1,1}
1010
"""
1111
struct SUWeight{E<:PEPSWeight}
1212
13-
Schmidt bond weights used in simple/cluster update. Weight elements are always real.
13+
Schmidt bond weights used in simple/cluster update.
14+
Weight elements are always real and non-negative.
15+
The domain and codomain of each weight matrix
16+
must be an un-dualed `ElementarySapce`.
1417
1518
## Fields
1619
@@ -94,6 +97,20 @@ end
9497
9598
Represents an infinite projected entangled-pair state on a 2D square lattice
9699
consisting of vertex tensors and bond weights.
100+
The vertex tensor, x-weight and y-weight at row `i`, column `j`
101+
are defined as (the numbers show the axis order)
102+
```
103+
2
104+
105+
yᵢⱼ
106+
107+
1
108+
2
109+
110+
5←-Tᵢⱼ←-3 1←-xᵢⱼ←-2
111+
↓ ↘
112+
4 1
113+
```
97114
98115
## Fields
99116

0 commit comments

Comments
 (0)