Inferensys

Glossary

IQ Sample

A discrete time-domain measurement representing the instantaneous state of a modulated signal, composed of an In-Phase (I) and Quadrature (Q) component to capture both amplitude and phase information.
Stylish WeWork-like workspace with hot desks and document wall, professional searching through enterprise knowledge base on a mounted ultrawide display, warm industrial pendants overhead.
IN-PHASE & QUADRATURE COMPONENT

What is an IQ Sample?

A discrete time-domain measurement representing the instantaneous state of a modulated signal, composed of an In-Phase (I) and Quadrature (Q) component to capture both amplitude and phase information.

An IQ sample is a complex numerical pair that captures the instantaneous amplitude and phase of a radio frequency signal at a specific sampling instant. The In-Phase (I) component represents the projection of the signal onto a reference cosine carrier, while the Quadrature (Q) component represents the projection onto a 90-degree shifted sine carrier, together forming a complete vector representation in the complex baseband.

This dual-component structure is the native language of modern software-defined radio and serves as the direct input for raw I/Q input neural networks. By preserving both magnitude and angular relationships, the IQ sample allows machine learning classifiers to learn discriminative features directly from the time-domain waveform without requiring explicit feature extraction or transformation into I/Q spectrograms.

SIGNAL REPRESENTATION

Key Characteristics of IQ Samples

IQ samples form the fundamental data structure for software-defined radio and machine learning-based signal processing. Each discrete measurement captures the complete instantaneous state of a modulated waveform.

01

Complex Baseband Representation

An IQ sample is a complex number where the real part is the In-Phase (I) component and the imaginary part is the Quadrature (Q) component. This mathematical structure captures both amplitude and phase simultaneously.

  • Amplitude: sqrt(I² + Q²)
  • Phase: arctan(Q/I)
  • Eliminates the carrier frequency, representing only the modulating information
  • Enables efficient digital processing at lower sample rates than RF sampling would require
02

Dual-Channel Architecture

IQ samples are generated by a quadrature demodulator that mixes the incoming RF signal with two local oscillator signals offset by exactly 90 degrees.

  • I channel: Mixed with cos(ωt), producing the in-phase component
  • Q channel: Mixed with sin(ωt), producing the quadrature component
  • The 90-degree phase offset ensures the two channels are orthogonal
  • Orthogonality prevents information loss during downconversion
  • Hardware imperfections in this 90-degree relationship cause I/Q imbalance
03

Time-Domain Sampling

Each IQ sample represents the signal state at a specific instant in time, with the sample rate determining temporal resolution. The Nyquist criterion requires sampling at least twice the signal bandwidth.

  • Typical sample rates range from kS/s to GS/s depending on application
  • Sample synchronization recovers the optimal sampling instant at symbol centers
  • I/Q resampling adjusts the rate through decimation or interpolation
  • I/Q segmentation divides continuous streams into fixed-length inference windows
  • Overlapping segments can increase temporal coverage for real-time classification
04

Native Neural Network Input

Modern deep learning classifiers accept IQ samples directly as raw I/Q input, eliminating manual feature extraction. The network learns optimal representations from the time-domain complex data.

  • Dual-channel input: Treats I and Q as separate real-valued channels (like image RGB)
  • Complex-valued input: Processes IQ natively with complex weights and activations
  • Preserves phase relationships that would be lost in magnitude-only representations
  • Enables end-to-end learning from waveform to modulation classification
  • Requires I/Q normalization to prevent numerical instability during training
05

Channel Impairment Sensitivity

Raw IQ samples carry the imprint of all channel effects encountered during transmission. These impairments must be addressed through preprocessing or learned compensation.

  • Carrier Frequency Offset (CFO) causes continuous constellation rotation
  • DC Offset manifests as a non-zero mean in the IQ stream
  • Additive White Gaussian Noise (AWGN) degrades the signal-to-noise ratio
  • I/Q imbalance distorts the constellation geometry
  • I/Q correction applies inverse filtering to restore orthogonality
  • I/Q augmentation deliberately adds impairments during training for robustness
06

Dataset and Training Foundation

Labeled collections of IQ samples form the I/Q dataset used to train and benchmark modulation classifiers. Both real-world captures and synthetic generation play critical roles.

  • Synthetic I/Q provides perfectly labeled data for rare or classified signal types
  • Channel simulation applies fading, multipath, and noise models to synthetic signals
  • Real-world datasets like RadioML contain millions of labeled IQ segments
  • I/Q augmentation expands training diversity through phase rotation and noise addition
  • Dataset quality directly determines classifier generalization to field conditions
IQ SAMPLE FUNDAMENTALS

Frequently Asked Questions

Clear, technically precise answers to the most common questions about In-Phase and Quadrature (IQ) sample processing for automatic modulation classification and digital signal processing workflows.

An IQ sample is a discrete time-domain measurement representing the instantaneous state of a modulated signal, composed of an In-Phase (I) and Quadrature (Q) component that together capture both amplitude and phase information. The I component represents the projection of the signal onto a reference carrier cosine wave, while the Q component represents the projection onto a 90-degree phase-shifted sine wave. This dual-channel representation forms a complex baseband signal s(t) = I(t) + jQ(t), where the instantaneous amplitude is sqrt(I² + Q²) and the instantaneous phase is arctan(Q/I). Because any bandpass signal can be perfectly represented by its complex envelope, IQ sampling is the universal language of modern software-defined radio (SDR) and digital communication receivers, preserving the full vector state of the modulation constellation at each sampling instant.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.