SyTen

◆ contract_local_sites()

void syten::MPS::TEBD::contract_local_sites ( Tensor< 2 > &  contractor,
Tensor< 4 > const &  current_op,
Tensor< 4 > const &  current_i,
bool const  from_left = true 
)

Contracts sites of an MPO into an contractor:

V
<[I]<
V V >[I]> V V
[CONTR] --> | | [CONTR] --> [CONTR]
V V <[O]< V V
<[O]<
V
Parameters
[out]contractorthe contracter tha will be transformed into a new contractor
[in]current_opthe current local operator
[in]current_ithe current identity operator
[in]from_leftwheter the contractor comes from the left side
Returns
void

References syten::MPS::Operator::dIdx, syten::MPS::Operator::lIdx, syten::MPS::norm(), syten::MPS::Operator::rIdx, and syten::MPS::Operator::uIdx.

+ Here is the call graph for this function: