QPSK Function Library