@@ -24,13 +24,13 @@ If you already have the state of interest, it is straightforward to convert it t
2424```
2525
2626However, typically this is not the case, as storing the full state becomes expensive rather quickly.
27- Then, ` FiniteMPS ` are best constructed by first specifying a [ ` FiniteMPSManifold ` ] ( @ref ) that encodes the physical and (maximal) virtual spaces:
27+ Then, ` FiniteMPS ` are best constructed by first specifying a [ ` FiniteMPSStructure ` ] ( @ref ) that encodes the physical and (maximal) virtual spaces:
2828
2929``` @example states
3030pspaces = fill(ℂ^2, 10) # physical spaces (Vector)
3131max_virtualspace = ℂ^4 # single max virtual space
32- manifold = FiniteMPSManifold (pspaces, max_virtualspace)
33- ψ = rand(manifold ) # random normalized FiniteMPS
32+ structure = FiniteMPSStructure (pspaces, max_virtualspace)
33+ ψ = rand(structure ) # random normalized FiniteMPS
3434```
3535
3636Finally, it is also possible to build them from explicit MPS tensors, by passing them directly.
@@ -128,19 +128,19 @@ An [`InfiniteMPS`](@ref) represents a periodically repeating unit cell of MPS te
128128
129129### Construction
130130
131- Similar to ` FiniteMPS ` , the easiest way of constructing an ` InfiniteMPS ` is by specifying an [ ` InfiniteMPSManifold ` ] ( @ref ) describing one unit cell:
131+ Similar to ` FiniteMPS ` , the easiest way of constructing an ` InfiniteMPS ` is by specifying an [ ` InfiniteMPSStructure ` ] ( @ref ) describing one unit cell:
132132
133133``` @example states
134134pspaces = [ℂ^2, ℂ^2] # 2-site unit cell
135135vspaces = [ℂ^4, ℂ^5] # virtual space to the left of each site
136- manifold = InfiniteMPSManifold (pspaces, vspaces)
137- ψinf = rand(manifold )
136+ structure = InfiniteMPSStructure (pspaces, vspaces)
137+ ψinf = rand(structure )
138138```
139139
140140Alternatively, we may also start from explicit site tensors:
141141
142142``` @example states
143- As = [rand(ComplexF64, imanifold [i]) for i in 1:length(imanifold )]
143+ As = [rand(ComplexF64, structure [i]) for i in 1:length(structure )]
144144ψinf2 = InfiniteMPS(As)
145145```
146146
@@ -165,9 +165,9 @@ It represents a window of mutable tensors (a finite MPS), embedded in an infinit
165165It can therefore be created accordingly, ensuring that the edges match:
166166
167167``` @example states
168- infinite_state = rand(InfiniteMPSManifold (ℂ^2, ℂ^4))
169- finite_manifold = FiniteMPSManifold (fill(ℂ^2, 5), ℂ^4; left_virtualspace=ℂ^4, right_virtualspace=ℂ^4)
170- finite_state = rand(ComplexF64, finite_manifold )
168+ infinite_state = rand(InfiniteMPSStructure (ℂ^2, ℂ^4))
169+ finite_structure = FiniteMPSStructure (fill(ℂ^2, 5), ℂ^4; left_virtualspace=ℂ^4, right_virtualspace=ℂ^4)
170+ finite_state = rand(ComplexF64, finite_structure )
171171window = WindowMPS(infinite_state, finite_state, infinite_state)
172172```
173173
0 commit comments