implements RelDFFull::apply_2rdm