Unified approach for computing sum of sources over CQ-MAC