← Back to section · Hardware & Chips

Arbitrary Waveform Generators and Pulse Shaping: Writing the Rotation Angle into the Waveform

A quantum gate is not a switching action but a precisely sculpted stretch of waveform. The AWG draws the waveform point by point, while pulse shaping decides the gate's speed, leakage and error. This article explains how sampling rate, quantisation and bandwidth limit waveform fidelity, and what Gaussian envelopes and DRAG corrections each fix.

Published 22 November 2026 · 5 min read · PQ Frontier

Arbitrary Waveform Generators and Pulse Shaping: Writing the Rotation Angle into the Waveform
AI-generated site artwork
Video explainer · Quantum control systems: how signals reach the qubits

In a classical computer, control signals are approximately square waves: high level, low level, and the rest is left to the logic gates. Quantum control is entirely different. Driving a qubit through a rotation relies on a microwave pulse whose envelope is sculpted point by point: the rotation angle is set by the pulse area, the rotation axis by its phase, and the errors hide in every detail of the waveform. The instrument that “draws” this waveform is the arbitrary waveform generator (AWG), and the discipline of deciding what shape to draw — and how to correct it — is pulse shaping.

The AWG’s three hard specifications

An AWG stores a waveform as a sequence of samples that a digital-to-analogue converter (DAC) plays back on a fixed clock. Three specifications decide how accurately it can draw. Sampling rate sets the time resolution: the higher it is, the better the AWG can render fast-changing envelopes, and the sooner it can synthesise the carrier directly — once sampling rates reach several gigasamples per second, a DAC can output microwave-band signals directly and dispense with the analogue mixing stage. Vertical resolution (bit depth) sets how fine the amplitude steps are: with too few bits, the quantisation steps become amplitude noise and put a floor under rotation-angle precision. Analogue bandwidth decides how steep the waveform edges can be and how wide its spectrum can spread; an AWG with insufficient bandwidth rounds off carefully designed sharp features.

Beyond these three, channel count and inter-channel synchronisation matter just as much: a multi-qubit processor needs dozens to hundreds of waveform channels playing in strict synchrony, and any timing skew between channels maps directly onto gate timing errors. Modern quantum control systems therefore use distributed clock and trigger architectures that hold synchronisation errors at the picosecond level. In addition, waveform memory depth determines how long an experimental sequence can be loaded at once, while the sequencer stitches waveform segments together in real time, inserting waits and conditional branches according to the experiment logic — the “arbitrary” in the name is ultimately delivered by sequencing capability.

The physics problems shaping must solve

Why not simply use rectangular pulses? Because a real qubit is not an ideal two-level system. Take the superconducting transmon: its levels are anharmonic, and the |1⟩→|2⟩ transition frequency sits only a few hundred megahertz below |0⟩→|1⟩. A rectangular pulse has a broad spectrum, and its high-frequency content will happily excite the qubit into |2⟩, causing leakage error — information escapes the computational subspace, a class of error that is especially awkward for error correction.

The basic shaping move is to choose a smooth envelope. A Gaussian envelope has a Gaussian spectrum with rapidly decaying sidelobes, greatly reducing excitation of neighbouring transitions, but the cost is a longer pulse and a slower gate — and the slower the gate, the more error decoherence accumulates. This is shaping’s first trade-off: spectral purity and speed cannot both be had, and one can only find the balance point between leakage error and decoherence error.

A more advanced technique is DRAG (Derivative Removal by Adiabatic Gate) correction: on top of the main envelope, it adds a quadrature component proportional to the envelope’s derivative, specifically cancelling the excitation amplitude of the leakage transition. It lets pulses stay short while suppressing leakage by one to two orders of magnitude, and is standard configuration for single-qubit gates on modern superconducting platforms. For two-qubit gates, shaping must also manage the frequency trajectory as the interaction is switched on — for instance, the shape of a flux pulse determines how fast the qubit frequency sweeps through the resonance point: too fast and population leaks non-adiabatically out of the computational subspace, too slow and phase errors accumulate, so net-zero pulses, symmetrisation and similar techniques are applied item by item.

Different qubit routes have different appetites for waveforms

The concrete form of shaping varies with the qubit route. Gates in ion traps are implemented by modulating the amplitude, phase and frequency of laser pulses, where shaping must manage the purity of optical sidebands and intensity noise; neutral-atom arrays use spatially addressed laser switching in time, adding a spatial dimension to the waveform; electrical drive pulses for spin qubits resemble classical pulse engineering, where edge speed and overshoot are the main enemies. But all routes share one logic: a gate is a waveform, the waveform’s spectrum and time-domain shape jointly determine the structure of its errors, and shaping is the art of trading off across that error map. The superconducting route, with its small anharmonicity and fast gates, has the most prominent leakage problem and the most systematised shaping techniques, and it is the main reference for this article’s discussion.

From designed waveform to qubit port: predistortion

The waveform an AWG outputs is not the waveform the qubit receives. The chain of cables, filters and attenuators has its own frequency response and memory effects: a step signal grows a long tail, fast edges are rounded off, and some frequencies fall into notches. Left untreated, even a perfectly designed waveform deforms in transit.

The engineering answer is predistortion: first measure the chain’s transfer characteristics in calibration experiments (for example, send known test pulses and infer the distortion from the qubit’s response), then compensate the waveform in reverse in the digital domain — where the chain attenuates, pre-emphasise; where the chain tails, add an opposing correction tail. For flux pulses, such corrections are typically parametrised as a sum of exponential decay terms and must be recalibrated periodically, because the chain’s thermal state and ageing make the distortion parameters drift slowly — predistortion tables, like gate parameters, have a shelf life. The I/Q mixing chain has its own characteristic flaws — local-oscillator leakage and image sidebands — which are removed by injecting DC offsets and gain/phase corrections in the digital domain. In short, the pulse-shaping battlefield is half physics (envelope design) and half system identification (chain compensation), and together they set the practical ceiling on gate fidelity.

Tags: Arbitrary Waveform GeneratorPulse ShapingQuantum Gate Control