SyTen

◆ add()

void syten::STensorImpl::SBasis::add ( Sector const &  sec,
Index const  sz 
)

Adds a quantum number sector of size sz to the basis, does not affect the identifiers.

Only use this temporarily to construct the basis.

References sectors, and SYTEN_ASSERT_MSG.

Referenced by syten::STensorImpl::combine_bases(), syten::IPEPSv2::expectation_value(), syten::IPEPSv2::Lat::gen_boson_u1(), syten::IPEPSv2::Lat::gen_boson_u1_disorder(), syten::STensorImpl::gen_merge(), syten::IPEPSv2::Lat::gen_spin_nil(), syten::Pyten::init_stensor(), syten::STensorImpl::intersection(), syten::STensorImpl::project_state(), and syten::T3N::Lattice::siteBasis().

+ Here is the caller graph for this function: