This is where navigation should be.

IQAM4 - Inverse QAM of order 4

iqam4(xi) demodulates a signal mapping the input coefficients to the closest complex root of unity, and returning the associated bit pattern. This is the inverse operation of qam4.