Verified Implementation of GRAPE Pulse Optimization for Quantum Gates with Hardware-Representative Noise Models
Rylan Malarchick
TL;DR
In the NISQ era, gate fidelity is constrained by decoherence and control noise. The paper introduces QubitPulseOpt, an open-source, hardware-calibrated quantum optimal control workflow that builds Lindblad-based digital twins from live device parameters and applies GRAPE optimization to derive high-fidelity pulses connected to the IQM Garnet processor. Key contributions include a rigorously verified software stack (864 tests, 74% code coverage, Power-of-10 safety standards) and simulation results showing up to $77$-fold reductions in gate error over Gaussian pulses in hardware-representative noise. This approach provides a reproducible, engineering-grade path to noise-aware quantum control, bridging the sim-to-real gap and enabling scalable development of high-fidelity gates, with future work targeting real hardware execution, multi-qubit gates, and cross-platform validation.
Abstract
Gate fidelity in noisy intermediate-scale quantum (NISQ) computers remains the primary bottleneck limiting practical quantum computation, constrained by decoherence and control noise. Quantum optimal control (QOC) techniques, such as the gradient ascent pulse engineering (GRAPE) algorithm, offer a powerful approach to designing noise-robust pulses that actively mitigate these effects. However, most QOC implementations operate in idealized simulation environments that fail to capture the real-time parameter drift inherent to physical quantum hardware, creating a critical ``sim-to-real'' gap. In this work, I present QubitPulseOpt, an open-source, rigorously-tested Python framework designed to bridge this gap through hardware-representative optimal control. The framework demonstrates API connectivity to IQM's Garnet quantum processor (20-qubit superconducting device) and implements a workflow that constructs a high-fidelity ``digital twin'' using hardware-representative parameters. Using this simulation framework, I demonstrate that GRAPE-optimized pulses achieve a simulated gate error reduction of 77$\times$ compared to standard Gaussian pulses. The framework's reliability is ensured through a 864-test verification suite (74\% code coverage) and adherence to NASA JPL Power-of-10 safety-critical coding standards, establishing a new paradigm for trustworthy quantum control software. All results are from verified GRAPE optimizations with full provenance documentation.
