| 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:
| [out] | contractor | the contracter tha will be transformed into a new contractor |
| [in] | current_op | the current local operator |
| [in] | current_i | the current identity operator |
| [in] | from_left | wheter the contractor comes from the left side |
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: