function qpsk sampling