Fidelity-informed neural pulse compilation of a continuous family of quantum gates with uncertainty-margin analysis
Arash Fath Lipaei 3,†, Ebrahim Khaleghian 1,†,∗, Selin Aslan 4, Gani Göral 5, Zidong Lin 6, and Özgür E. Müstecaplıoğlu 1,2 \orcid 0000-0002-9134-3951 · 2026
Read Fidelity-informed neural pulse compilation of a continuous family of quantum gates with uncertainty-margin analysis by Arash Fath Lipaei 3,†, Ebrahim Khaleghian 1,†,∗, Selin Aslan 4, Gani Göral 5, Zidong Lin 6, and Özgür E. Müstecaplıoğlu 1,2 \orcid 0000-0002-9134-3951 (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2604-11314.txt.
Introduction
Lipaei and five colleagues compile single-qubit gates with knobs that vary into control pulses with a physics-informed neural compiler. Trained end to end through quantum dynamics that allow gradients, without ready-made optimal pulses, it is fine-tuned to care about rare failures. It generalizes across Haar-random targets with nominal fidelity above 0.99 and answers in under a millisecond. Robust GRAPE wins per-target fidelity, but the neural compiler spreads cost across the family. Hardware tests on a three-spin NMR processor confirm broadened radio-frequency tolerance.
Catalog record
| CREATOR | Arash Fath Lipaei 3,†, Ebrahim Khaleghian 1,†,∗, Selin Aslan 4, Gani Göral 5, Zidong Lin 6, and Özgür E. Müstecaplıoğlu 1,2 \orcid 0000-0002-9134-3951 |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 47247 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2604.11314
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Fidelity-informed neural pulse compilation of a continuous family of quantum gates with uncertainty-margin analysis Arash Fath Lipaei 3,†, Ebrahim Khaleghian 1,†,∗, Selin Aslan 4, Gani Göral 5, Zidong Lin 6, and Özgür E. Müstecaplıoğlu 1,2 \orcid 0000-0002-9134-3951 Abstract We develop a fidelity-informed neural pulse-compilation framework for a continuous family of single-qubit gates on a three-qubit liquid-state nuclear magnetic resonance (NMR) processor. Instead of decomposing each target unitary into a sequence of calibrated basis gates, the method learns a direct map from the axis–angle parameters of an arbitrary U 2 ∈ SU ( 2 ) U_{2}\in\mathrm{SU}(2) operation to a piecewise-constant radio-frequency control sequence that implements the desired transformation. Training is performed end-to-end through the time-ordered propagator of the driven Hamiltonian using global-phase-insensitive unitary fidelity as the learning signal. We show numerically that a single model generalizes across a continuous range of gate parameters and experimentally validate representative compiled pulses on a benchtop three-qubit NMR device. In addition, we analyze sensitivity to structured perturbations in Hamiltonian and control parameters by introducing a prescribed uncertainty set and performing a comparative risk-aware redesign based on right-tail Conditional Value-at-Risk (RU-CVaR). This stage produces pulse solutions with broader tolerance margins within the chosen uncertainty model. The results demonstrate continuous pulse-level gate synthesis in an experimentally accessible setting and illustrate a hardware-aware compilation strategy that can be extended to other quantum platforms. While the uncertainty model considered here is tailored to NMR, the neural compilation and risk-aware optimization framework are general and may be useful in architectures where calibration overhead, parameter drift, or control constraints make repeated per-gate optimization costly. keywords quantum optimal control, neural networks, NMR quantum computing, continuous quantum gates, pulse-level compilation, uncertainty analysis Preprint 1 Introduction Quantum algorithms are ultimately realized on physical hardware as controlled time evolutions generated by platform-specific Hamiltonians, rather than as abstract unitary matrices alone [ 1 , 2 ] . This distinction is especially transparent in liquid-state nuclear magnetic resonance (NMR) processors, where shaped radio-frequency (RF) pulses manipulate coupled nuclear spins and the implemented operation depends directly on the underlying drift and control Hamiltonians [ 3 , 4 , 5 ] . Accordingly, the quality of a gate is determined not only by its logical form but also by how effectively it can be synthesized under pulse-level control constraints [ 6 , 1 ] . A common compilation strategy decomposes target operations into a discrete gate library followed by calibrated control routines [ 7 , 8 ] . While natural for circuit models, this approach becomes less efficient for continuously parameterized unitaries appearing in variational quantum algorithms, adaptive protocols, and analog-inspired ansätze [ 9 , 10 , 11 , 23 ] . In such cases, discrete decompositions can increase circuit depth, while repeated per-gate optimization may introduce additional calibration and compilation overhead [ 23 , 12 ] . Direct pulse-level compilation provides an alternative by synthesizing a single control waveform that implements the full transformation. A key challenge is to construct a compiler that generalizes across a continuous family of target gates instead of solving separate optimal-control problems. Continuous-family control and fidelity-based optimization have been explored previously [ 23 , 24 ] . Here we build on these ideas to develop a neural pulse-level compiler for a continuous family of single-qubit gates and validate it experimentally on a three-qubit liquid-state NMR platform. Given the axis–angle parameters of an arbitrary U_{2}\in\mathrm{SU}(2) gate, the model outputs a modulated RF sequence applied through a single global channel. Training is performed end-to-end through the physical propagator using global-phase-insensitive unitary fidelity. The resulting compiler maps gate parameters directly to implementable control sequences without labeled pulse data. Numerical results show generalization across unseen gates, and representative compiled pulses are verified experimentally on a benchtop NMR processor. We further study sensitivity to structured perturbations in Hamiltonian and control parameters through a comparative risk-aware redesign based on right-tail Conditional Value-at-Risk (RU-CVaR) [ 13 , 1 ] . This stage penalizes poor outcomes under adverse scenarios and therefore favors solutions located in flatter, less fragile regions of the control landscape, conceptually related to established ideas in robust quantum control and composite-pulse design [ 14 , 15 , 16 , 17 ] . Although liquid-state NMR already provides relatively high controllability, it offers a clean experimental testbed for demonstrating continuous pulse-level compilation [ 3 , 5 ] . The same principle becomes potentially more valuable in architectures where calibration overhead, parameter drift, and control nonidealities are more pronounced, such as superconducting qubits, Rydberg arrays, or other analog–digital platforms [ 18 , 19 , 20 , 21 , 22 ] . The paper is organized as follows. After introducing the target gate family and the NMR control setting, we present the neural pulse-compilation framework and the fidelity-based learning formulation. We then describe the uncertainty-aware analysis and the associated robust redesign strategy. Next, we report numerical results on compilation accuracy, interpolation across the continuous gate family, and sensitivity to structured perturbations, followed by representative experimental validation on the NMR platform. We close with the main conclusions and broader outlook, with supplementary derivations, implementation details, and extended results collected in the appendices. 2 Physical model and control task We consider a three-qubit liquid-state NMR system with a single global radio-frequency (RF) control channel. Each qubit corresponds to a nuclear spin- 1/2 , and the intrinsic dynamics are governed by Zeeman splittings and scalar (Ising-type) spin–spin couplings. In a rotating frame and under standard secular approximations, the time-dependent Hamiltonian is written as [ 24 ] : H(t)=H_{0}+H_{c}(t), (1) where the drift Hamiltonian is H_{0}=\pi\sum_{i=1}^{3}v_{i}\sigma_{z}^{(i)}+\pi\sum_{1\leq i<j\leq 3}J_{ij}(\sigma_{x}^{(i)}\sigma_{x}^{(j)}+\sigma_{y}^{(i)}\sigma_{y}^{(j)}+\sigma_{z}^{(i)}\sigma_{z}^{(j)}). (2) Here v_{i} denote the effective Larmor frequencies (chemical shifts) and J_{ij} the scalar couplings between spins i and j . Control is implemented through a single transverse RF field with fixed or time-dependent amplitude A(t) and phase \phi(t) , H_{c}(t)=A(t)\cos\!\bigl(\phi(t)\bigr)H_{x}+A(t)\sin\!\bigl(\phi(t)\bigr)H_{y}, (3) with collective spin operators H_{x}=\sum_{i}\sigma_{x}^{(i)} and H_{y}=\sum_{i}\sigma_{y}^{(i)} . Time is discretized into T slices of duration \Delta t , yielding the time-ordered propagator U(T)=\prod_{t=1}^{T}\exp\!\bigl[-i\Delta t\,H(t)\bigr]. (4) 3 Target gates and fidelity metric The control objective is to implement an arbitrary single-qubit operation on the first spin, while leaving the remaining qubits unchanged. A general single-qubit unitary is parameterized using an axis–angle representation [ 45 ] , U_{2}(\gamma,\theta,\phi)=\cos\!\frac{\gamma}{2}\,I_{2}-i\sin\!\frac{\gamma}{2}\,\bigl(n_{x}\sigma_{x}+n_{y}\sigma_{y}+n_{z}\sigma_{z}\bigr), (5) where \boldsymbol{n}=(\sin\theta\cos\phi,\sin\theta\sin\phi,\cos\theta) defines the rotation axis. The target operation on the full register is obtained by lifting, U_{F}=U_{2}(\gamma,\theta,\phi)\otimes I_{2}\otimes I_{2}. (6) To quantify performance, we employ the global-phase-insensitive unitary fidelity F(U_{F},U)=\frac{1}{d^{2}}\left|\mathrm{Tr}\!\left(U_{F}^{\dagger}U\right)\right|^{2},\qquad d=8, (7) which is the natural figure of merit for coherent gate synthesis in closed quantum systems. 4 Fidelity-informed neural pulse compiler Rather than optimizing a separate control pulse for each target gate, we train a neural network to represent a continuous pulse-level compiler . The network takes as input the gate parameters (\gamma,\theta,\phi) , encoded via trigonometric features, \boldsymbol{x}=(\cos\gamma,\sin\gamma,\cos\theta,\sin\theta,\cos\phi,\sin\phi), (8) and outputs a vector of controls. Training is driven solely by the physical fidelity defined above, with loss \mathcal{L}=1-F(U_{F},U(T)). (9) Importantly, no precomputed “optimal” pulses are required; the learning signal is obtained directly from the simulated time evolution of the controlled Hamiltonian [ 23 ] . Gradients are propagated through the time-ordered product using automatic differentiation and the Fréchet derivative of the matrix exponential, following established optimal-control techniques. Gradient propagation through the time-ordered unitary