SyTen

◆ makeParity()

Operator syten::T3N::Lat::makeParity ( T3N::Lattice const &  lat,
std::string_view  identityId = "I" 
)

Given a ptr into a node of an identity operator, it turns the subtree below that node into a parity operator.

Parameters
noderoot of the subtree to be made a parity operator
symmetry1-indexed number of the particle number symmetry
label0-indexed particle number label of the symmetry

References syten::T3N::Tree::Node< T >::ndt, syten::T3N::Operator::uIdx, and syten::T3N::Tree::Node< T >::v.

Referenced by syten::T3N::Lat::U1U1Z::addFermiHubbard_band_parity_SSOs(), syten::T3N::Lat::U1U1Z::addFermiHubbard_split_band_parity_SSOs(), and syten::T3N::Lat::U1U1::addFermiHubbardSplitSSOs().

+ Here is the caller graph for this function: