Function sequant::mbpt::op::apply_to_vac

Function Documentation

qns_t sequant::mbpt::op::apply_to_vac(const ExprPtr &expr)

computes the quantum number change effected by a given Operator or Operator Product when applied to the vacuum state

Parameters:

expr – the operator or operator product whose quantum number change is to be computed

Returns:

the quantum number change effected by expr

Pre:

expr must be an Operator or an Operator Product