SyTen

◆ gen_vac()

Basis syten::gen_vac ( Basis  in)

Fuses in with in.adjoint() and removes every sector of the resulting basis which is not the vacuum.

References syten::Basis::a(), syten::Basis::add(), syten::Tensor< rank >::b(), syten::Basis::dir, gM(), syten::Basis::isVacuum(), isVacuum(), and SYTEN_ASSERT_MSG.

Referenced by syten::MPS::Lat::SU3::genSpinLattice(), syten::IPEPS::FullCTM::init_vac(), and syten::IPEPS::ldot().

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