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.
Glossary
IQ Sample

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.
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.
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.
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
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
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
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
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
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
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
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.
Related Terms
Explore the core concepts and preprocessing techniques essential for transforming raw IQ data streams into effective inputs for neural network classifiers.
Complex Baseband
The mathematical representation of a signal centered at zero frequency, where the modulating information is expressed as a complex-valued stream. This is the direct equivalent of the IQ sample pair, separating the signal from its high-frequency carrier for digital processing.
I/Q Preprocessing
A critical sequence of signal conditioning steps applied to raw IQ samples to create a standardized input tensor for a machine learning classifier. This pipeline typically includes:
- I/Q Normalization to prevent numerical instability
- I/Q Centering to remove residual Carrier Frequency Offset (CFO)
- I/Q Correction to compensate for hardware non-idealities like gain imbalance
Raw I/Q Input
A neural network input modality where the time-domain complex baseband samples are fed directly into the model without explicit feature extraction. This approach relies on the network to learn optimal representations, often using a Dual-Channel Input (treating I and Q as separate real-valued channels) or a Complex-Valued Input architecture.
I/Q Spectrogram
A time-frequency representation generated by applying the Short-Time Fourier Transform (STFT) to an IQ stream. This converts raw time-domain samples into a 2D image, making the signal's spectral evolution over time directly suitable for powerful image-based Convolutional Neural Networks (CNNs).
I/Q Augmentation
A data regularization technique that applies realistic channel impairments to IQ samples to expand training dataset diversity. Common augmentations include:
- Phase Rotation to teach rotational invariance
- Additive White Gaussian Noise (AWGN) addition
- Simulated fading and multipath from a Channel Simulation model
I/Q Dataset
A curated collection of labeled IQ sample recordings representing various modulation schemes, channel conditions, and signal-to-noise ratios. These datasets, often containing Synthetic I/Q generated via software simulation, are fundamental for training and benchmarking automatic modulation classification models.

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.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us