@@ -145,17 +145,12 @@ const PEPS_C_Hamiltonian{S,N} = MPSKit.MPO_C_Hamiltonian{
145
145
PEPS_C_Hamiltonian (GL, GR) = MPSKit. MPODerivativeOperator (GL, (), GR)
146
146
147
147
const PEPS_AC_Hamiltonian{S,N} = MPSKit. MPO_AC_Hamiltonian{
148
- <: GenericMPSTensor{S,N} ,
149
- <: PEPSSandwich ,
150
- <: GenericMPSTensor{S,N} ,
148
+ <: GenericMPSTensor{S,N} ,<: PEPSSandwich ,<: GenericMPSTensor{S,N}
151
149
}
152
150
PEPS_AC_Hamiltonian (GL, O, GR) = MPSKit. MPODerivativeOperator (GL, (O,), GR)
153
151
154
152
const PEPS_AC2_Hamiltonian{S,N} = MPSKit. MPO_AC2_Hamiltonian{
155
- <: GenericMPSTensor{S,N} ,
156
- <: PEPSSandwich ,
157
- <: PEPSSandwich ,
158
- <: GenericMPSTensor{S,N} ,
153
+ <: GenericMPSTensor{S,N} ,<: PEPSSandwich ,<: PEPSSandwich ,<: GenericMPSTensor{S,N}
159
154
}
160
155
PEPS_AC2_Hamiltonian (GL, O1, O2, GR) = MPSKit. MPODerivativeOperator (GL, (O1, O2), GR)
161
156
@@ -170,11 +165,7 @@ function MPSKit.C_hamiltonian(site::Int, below, ::InfiniteTransferMatrix, above,
170
165
end
171
166
172
167
function MPSKit. AC_hamiltonian (
173
- site:: Int ,
174
- below,
175
- operator:: InfiniteTransferPEPS ,
176
- above,
177
- envs,
168
+ site:: Int , below, operator:: InfiniteTransferPEPS , above, envs
178
169
)
179
170
GL = leftenv (envs, site, below)
180
171
GL = twistdual (GL, 1 )
@@ -184,11 +175,7 @@ function MPSKit.AC_hamiltonian(
184
175
end
185
176
186
177
function MPSKit. AC2_hamiltonian (
187
- site:: Int ,
188
- below,
189
- operator:: InfiniteTransferPEPS ,
190
- above,
191
- envs,
178
+ site:: Int , below, operator:: InfiniteTransferPEPS , above, envs
192
179
)
193
180
GL = leftenv (envs, site, below)
194
181
GL = twistdual (GL, 1 )
0 commit comments