Function sequant::mbpt::op::can_change_qns¶
Defined in File op.cpp
Function Documentation¶
-
bool sequant::mbpt::op::can_change_qns(const ExprPtr &op_or_op_product, const qns_t &target_qns, const qns_t &source_qns = {})¶
Checks if a given Operator or Operator Product can change the quantum numbers from
source_qnstotarget_qns.- Parameters:
op_or_op_product – the operator or operator product to check
target_qns – the target quantum numbers
source_qns – the source quantum numbers