Tensor< 4 > syten::MPS::BasisTransformation::ModeTransformation::transform | ( | Vec< SRDef > const & | a | ) | const |
applies the transformation to the state
References std::vector< T >::clear(), contrPsi, create_unitaries(), syten::Basis::flipped(), syten::genFuse(), syten::genSplit(), ph1_basis, ph2_basis, and syten::split().
Referenced by cost_function(), and cost_function_global().