SyTen

◆ mpo_cmp_prod()

Tensor< 4 > syten::MPS::mpo_cmp_prod ( Tensor< 4 > const &  lower,
Tensor< 4 > const &  upper,
bool const  fuse_lhs 
)

Builds a new rank-4 MPO component from two rank-4 MPO components lower and upper multiplied over the upper (for lower) and lower (for upper) physical indices.

If fuse_lhs is true, the lhs basis will be combined into 1-dimensional blocks using a combinator.

References syten::Basis::flipped(), syten::genCombinator(), syten::genFuse(), syten::genSplit(), and syten::Tensor< rank >::getBasis().

Referenced by syten::MPS::QcLatticeGenerator::construct_su2u1(), syten::MPS::ProjectedPurification::correlator(), syten::MPS::ChemHelper::createLeftSSO(), syten::MPS::RDMs::TwoParticleRDM::inner_first_constr(), syten::MPS::RDMs::TwoParticleRDM::inner_first_constr_one_one_path1(), syten::MPS::RDMs::TwoParticleRDM::inner_first_constr_one_one_path3(), syten::MPS::RDMs::TwoParticleRDM::inner_first_constr_one_one_path5(), syten::MPS::RDMs::TwoParticleRDM::inner_first_constr_one_one_path6(), syten::MPS::RDMs::TwoParticleRDM::inner_first_constr_one_one_path7(), syten::MPS::RDMs::TwoParticleRDM::inner_first_constr_one_one_path8(), syten::MPS::RDMs::TwoParticleRDM::inner_first_constr_one_one_path9(), syten::MPS::RDMs::TwoParticleRDM::inner_first_constr_path1(), syten::MPS::RDMs::TwoParticleRDM::inner_first_constr_path2_1(), syten::MPS::RDMs::TwoParticleRDM::inner_first_constr_path2_2(), syten::MPS::RDMs::TwoParticleRDM::inner_first_constr_path3_1(), syten::MPS::RDMs::TwoParticleRDM::inner_first_constr_path3_2(), syten::MPS::RDMs::TwoParticleRDM::inner_first_constr_two_path1(), syten::MPS::RDMs::TwoParticleRDM::inner_second_constr_path1(), syten::MPS::RDMs::TwoParticleRDM::inner_second_constr_path2(), syten::MPS::RDMs::TwoParticleRDM::inner_second_constr_path4(), syten::MPS::ProjectedPurification::local_expectation(), syten::MPS::Operator::operator*=(), and switch_sites().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: