Envelope of I/Q data
If your signal is an analytical signal, then envelope(real(X)) would simply be your answer. This would be identical to using the Hilbert transform to extract the Quadrature part of the signal from the Inphase part. If your signal is not analytical, your envelope would simply be:
$$G = \sqrt{I^2 + Q^2} $$