Development of Neural Network-Based Optimal Control Pulse Generator for Quantum Logic Gates Using the GRAPE Algorithm in NMR Quantum Computer
Pith reviewed 2026-05-23 07:49 UTC · model grok-4.3
The pith
A neural network trained on GRAPE pulses maps any single-qubit gate directly to its optimal NMR control pulse shape.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
By developing the neural network using the GRAPE algorithm, the authors discover the function that maps any single-qubit gate to its corresponding pulse shape. This model enables the real-time generation of arbitrary single-qubit pulses. When combined with the GRAPE-generated pulse for the CNOT gate, it creates a comprehensive and effective set of universal gates that can efficiently implement any algorithm in noisy intermediate-scale quantum computers.
What carries the argument
Neural network trained on GRAPE-generated pulses from a fixed initial point that approximates the direct mapping from single-qubit gate parameters to control pulse shapes.
If this is right
- Arbitrary single-qubit pulses can be produced in real time without running optimization for each new gate.
- Together with one fixed GRAPE CNOT pulse the network supplies a complete universal gate set for NISQ-era devices.
- The same training procedure can be applied to other quantum platforms whose Hamiltonians are similar to the NMR case.
- Numerical simulations and physical experiments on the benchtop system both confirm that the generated pulses reach the desired target unitaries.
Where Pith is reading between the lines
- Circuit compilation time could drop because a trained forward pass replaces per-gate numerical optimization.
- Retraining or fine-tuning the network on pulses that include realistic noise or different initial conditions would test whether the mapping remains accurate under experimental imperfections.
- Extending the input representation to include two-qubit interaction parameters could allow the same architecture to generate entangling gates as well.
Load-bearing premise
A network trained exclusively on GRAPE pulses that all start from the same initial point will generalize to produce accurate pulses for any target single-qubit gate.
What would settle it
On the three-qubit benchtop NMR system, apply a network-generated pulse for a single-qubit gate outside the training distribution and measure whether its achieved fidelity is substantially lower than the fidelity of the corresponding GRAPE-optimized pulse.
Figures
read the original abstract
In this paper, we introduce a neural network to generate optimal control pulses for general single-qubit quantum logic gates, within a Nuclear Magnetic Resonance (NMR) quantum computer. By utilizing a neural network, we can efficiently implement any single-qubit quantum logic gates within a reasonable time scale. The network is trained by control pulses generated by the GRAPE algorithm, all starting from the same initial point. After implementing the network, we tested it using numerical simulations. Also, we present the results of applying Neural Network-generated pulses to a three-qubit benchtop NMR system and compare them with simulation outcomes. These numerical and experimental results showcase the precision of the Neural Network-generated pulses in executing the desired dynamics. Ultimately, by developing the neural network using the GRAPE algorithm, we discover the function that maps any single-qubit gate to its corresponding pulse shape. This model enables the real-time generation of arbitrary single-qubit pulses. When combined with the GRAPE-generated pulse for the CNOT gate, it creates a comprehensive and effective set of universal gates. This set can efficiently implement any algorithm in noisy intermediate-scale quantum computers (NISQ era), thereby enhancing the capabilities of quantum optimal control in this domain. Additionally, this approach can be extended to other quantum computer platforms with similar Hamiltonians.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper trains a neural network on GRAPE-generated control pulses for single-qubit gates in an NMR quantum computer, with all training pulses starting from the identical initial condition. The authors claim that the resulting model discovers the mapping from any single-qubit unitary to its optimal pulse shape, enabling real-time generation; they report numerical simulations and three-qubit benchtop NMR experiments showing that the NN pulses execute the desired dynamics, and combine the approach with a GRAPE CNOT pulse to obtain a universal gate set for NISQ devices.
Significance. If the network were shown to generalize reliably beyond its training distribution, the method could accelerate pulse design for single-qubit operations in NMR and related platforms. The work does not, however, supply evidence that the learned mapping is independent of the shared initial condition used in GRAPE, nor does it quantify performance on out-of-distribution gates; therefore the claimed advance in real-time arbitrary-gate synthesis remains unsecured.
major comments (2)
- [Abstract] Abstract: the assertion that the network 'discovers the function that maps any single-qubit gate to its corresponding pulse shape' is load-bearing for the central claim, yet all training data are generated by GRAPE runs that share one fixed initial pulse. Because the quantum-control landscape is non-convex, distinct initial conditions routinely yield different but equally valid pulses for the same target; the learned mapping may therefore be an artifact of that single optimization trajectory rather than a general function.
- [Abstract] Abstract (numerical and experimental validation paragraph): the reported simulations and three-qubit NMR experiments are said to 'showcase the precision' of the NN pulses, but no information is given on the diversity of the test-set gates, the distribution of achieved fidelities, or whether any test gates lie outside the convex hull of the training set. Without these data the generalization step required by the central claim cannot be evaluated.
minor comments (1)
- [Abstract] The abstract states that the approach 'can be extended to other quantum computer platforms with similar Hamiltonians' without indicating which Hamiltonian features are essential or providing a concrete example.
Simulated Author's Rebuttal
We thank the referee for their careful reading and constructive feedback. We address each major comment below and indicate the revisions we will make to the manuscript.
read point-by-point responses
-
Referee: [Abstract] Abstract: the assertion that the network 'discovers the function that maps any single-qubit gate to its corresponding pulse shape' is load-bearing for the central claim, yet all training data are generated by GRAPE runs that share one fixed initial pulse. Because the quantum-control landscape is non-convex, distinct initial conditions routinely yield different but equally valid pulses for the same target; the learned mapping may therefore be an artifact of that single optimization trajectory rather than a general function.
Authors: We acknowledge that all GRAPE training pulses were generated from a single fixed initial condition. This is a substantive limitation given the non-convex control landscape, and the network may indeed be learning a mapping specific to that optimization trajectory rather than a fully general function. We will revise the abstract to qualify the claim, stating that the network learns to reproduce GRAPE pulse shapes obtained from the fixed initialization used in training. We will also add a brief discussion of the non-convexity issue and the possibility of multiple optima. No new multi-initial-condition experiments are planned for this revision. revision: partial
-
Referee: [Abstract] Abstract (numerical and experimental validation paragraph): the reported simulations and three-qubit NMR experiments are said to 'showcase the precision' of the NN pulses, but no information is given on the diversity of the test-set gates, the distribution of achieved fidelities, or whether any test gates lie outside the convex hull of the training set. Without these data the generalization step required by the central claim cannot be evaluated.
Authors: We agree that the current manuscript lacks the quantitative details needed to assess generalization. In the revised version we will expand the numerical and experimental sections to report: (i) the number and selection criteria for test gates (e.g., rotation angles sampled uniformly over the Bloch sphere), (ii) the distribution of achieved fidelities (mean, standard deviation, and minimum), and (iii) an explicit check of whether test gates lie outside the convex hull of the training distribution. These additions will directly address the referee's concern. revision: yes
- Evidence that the learned mapping is independent of the shared initial condition used for GRAPE (this would require generating and comparing pulses from multiple distinct initial conditions, which was not done in the original study).
Circularity Check
NN mapping function reduces to GRAPE fitting by construction
specific steps
-
fitted input called prediction
[Abstract]
"Ultimately, by developing the neural network using the GRAPE algorithm, we discover the function that maps any single-qubit gate to its corresponding pulse shape. This model enables the real-time generation of arbitrary single-qubit pulses."
The network is trained exclusively on control pulses generated by GRAPE (all from the same initial point). The claimed mapping is therefore obtained by fitting to these GRAPE outputs; the 'discovered function' reduces by construction to an approximation of the training-set optimizer rather than an independent result.
full rationale
The paper's central claim is that training a neural network on GRAPE pulses discovers the general mapping from single-qubit gates to pulse shapes. This directly matches the fitted-input-called-prediction pattern: the network is supervised on GRAPE outputs (all from one fixed initial condition), so the asserted function is an approximation of those optimizer results rather than an independent derivation. No other circularity patterns are present; the work is otherwise self-contained as an empirical approximation technique.
Axiom & Free-Parameter Ledger
free parameters (1)
- neural network weights and biases
axioms (1)
- domain assumption GRAPE algorithm outputs are suitable ground-truth targets for the desired single-qubit unitaries
Reference graph
Works this paper leans on
- [1]
-
[2]
J. A. Jones, Controlling nmr spin systems for quan- tum computation, Progress in Nuclear Magnetic Resonance Spectroscopy 140–141, 49 (2024)
work page 2024
-
[3]
J. A. Jones, Quantum computing with nmr, Progress in Nuclear Magnetic Resonance Spec- troscopy 59,2, 91 (2011)
work page 2011
-
[4]
N. Khaneja, C. K. Timo Reiss, T. Schulte- Herbr¨ uggen, and S. J.Glaser, Optimal control of coupled spin dynamics: design of nmr pulse se- quences by gradient ascent algorithms, Journal of Magnetic Resonance 172,2, 296 (2005)
work page 2005
-
[5]
U. Rasulov, A. Acharya, M. Carravetta, G. Math- ies, and I. Kuprov, Simulation and design of shaped pulses beyond the piecewise-constant approxima- tion, Journal of Magnetic Resonance 353, 107478 (2023)
work page 2023
-
[6]
J. P. Peterson, R. S. Sarthour, and R. Laflamme, Enhancing quantum control by improving shaped- pulse generation, PHYSICAL REVIEW D (2020)
work page 2020
-
[7]
M. Kuzmanovi´ c, I. Bj¨ orkman, J. J. McCord, S. Do- gra, and G. S. Paraoanu, High-fidelity robust qubit control by phase-modulated pulses, PHYSICAL REVIEW RESEARCH (2024)
work page 2024
-
[8]
C. A. Ryan, C. Negrevergne, M. Laforest, E. Knill, and R. Laflamme, Liquid state nmr as a test-bed for developing quantum control methods, NIST (2008)
work page 2008
-
[9]
Y. Chen, Y. Hao, Z. Wu, B.-Y. Wang, R. Liu, Y. Hou, J. Cui, M.-H. Yung, , and X. Peng, Ac- celerating quantum optimal control through itera- tive gradient-ascent pulse engineering, PHYSICAL REVIEW A 108 (2023)
work page 2023
-
[10]
M. H. Ram, V. R. Krithika, P. Batra, , and T. S. Mahesh, Robust quantum control using hybrid pulse engineering, PHYSICAL REVIEW A 105, 042437 (2022)
work page 2022
-
[11]
J. Lia, X. Yang, X. Peng, and C.-P. Sun, Hybrid quantum-classical approach to quantum optimal control, PHYSICAL REVIEW LETTERS (2017)
work page 2017
-
[12]
X. dong Yang, C. Arenz, I. Pelczer, Q.-M. Chen, R.-B. Wu, X. Peng, and H. Rabitz, Assessing three closed-loop learning algorithms by searching for high-quality quantum control pulses, PHYSICAL REVIEW A (2020)
work page 2020
-
[13]
P. Kairys and T. S. Humble, Efficient quantum gate discovery with optimal control, IEEE International Conference on Quantum Computing and Engineer- ing (QCE) (2021)
work page 2021
-
[14]
B. Riaz, C. Shuang, and S. Qamar, Optimal con- trol methods for quantum gate preparation: a com- parative study, Quantum Information Processing18 (2019)
work page 2019
-
[15]
D. L. Goodwin and I. Kuprov, Modified newton- raphson grape methods for optimal control of spin systems, The journal of Chemical Physics 144 (2016)
work page 2016
-
[16]
F. Sauvage and F. Mintert, Optimal control of fam- ilies of quantum gates, PHYSICAL REVIEW LET- TERS 129 (2022)
work page 2022
-
[17]
H. Ma, D. Dong, S. X. Ding, and C. Chen, Curriculum-based deep reinforcement learning for quantum control, IEEE Transactions on Neural Net- works and Learning Systems 34 (2022)
work page 2022
- [18]
-
[19]
U. G¨ ung¨ ord¨ u and J. P. Kestner, Robust quan- tum gates using smooth pulses and physics- informed neural networks, PHYSICAL REVIEW RESEARCH 4 (2022)
work page 2022
-
[20]
A. Norambuena, M. Mattheakis, F. J. Gonz´ alez, and R. Coto, Physics-informed neural networks for quantum control, arXiv:2206.06287 (2023)
-
[21]
A. Youssry, Y. Yang, R. J. Chapman, B. Haylock, F. Lenzini, M. Lobino, and A. Peruzzo, Experimen- tal graybox quantum system identification and con- trol, npj Quantum Information volume (2024)
work page 2024
- [22]
-
[23]
C. Wu, B. Qi, C. Chen, and D. Dong, Robust learn- ing control design for quantum unitary transforma- tions, IEEE Transactions on Cybernetics 17 (2016)
work page 2016
-
[24]
X.-C. Yang, M.-H. Yung, and X. Wang, Neural- network-designed pulse sequences for robust control of singlet-triplet qubits, PHYSICAL REVIEW A 042324 (2018)
work page 2018
-
[25]
X. Wang, A. Kumar, C. R. Shelton, and B. M. Wong, Harnessing deep neural networks to solve inverse problems in quantum dynamics: machine- learned predictions of time-dependent optimal con- trol fields, Physical Chemistry Chemical Physics (2020)
work page 2020
-
[26]
R.-H. He, R. W. S.-S. Nie, J. Wu, J.-H. Zhang, and Z.-M. Wang, Deep reinforcement learning for uni- versal quantum state preparation via dynamic pulse control, EPJ Quantum Technology (2021)
work page 2021
-
[27]
M. Y. Niu, S. Boixo, V. N. Smelyanskiy, and 12 H. Neven, Universal quantum control through deep reinforcement learning, npj Quantum Information (2019)
work page 2019
-
[28]
R.-B. Wu, H. Ding, D. Dong, and X. Wang, Learn- ing robust and high-precision quantum controls, PHYSICAL REVIEW A (2019)
work page 2019
-
[29]
T. F¨ osel, P. Tighineanu, T. Weiss, and F. Mar- quardt, Reinforcement learning with neural net- works for quantum feedback, PHYSICAL REVIEW X (2018)
work page 2018
-
[30]
A. Jang, X. He, and F. Liu, Physics-guided self- supervised learning: Demonstration for generalized rf pulse design, Magnetic Resonance in Medicine93, 657 (2024)
work page 2024
- [31]
-
[32]
J. Gezelter and R. Freeman, Use of neural networks to design shaped radiofrequency pulses, Journal of Magnetic Resonance (1969) 90, 397 (1990)
work page 1969
-
[33]
M. S. Vinding and T. E. Lund, Clipped deepcontrol: Deep neural network two-dimensional pulse design with an amplitude constraint layer, Artificial Intel- ligence in Medicine 135, 102460 (2023)
work page 2023
-
[34]
P. Tokarz, Artificial intelligence-powered pulse se- quences in nuclear magnetic resonance and magnetic resonance imaging: Historical trends, current inno- vations and perspectives, Scientiae Radices (2024)
work page 2024
-
[35]
M. S. Vinding, B. Skyum, R. Sangill, and T. E. Lund, Ultrafast (milliseconds), multidimensional rf pulse design with deep learning, Magnetic Reso- nance in Medicine 82, 586 (2019)
work page 2019
-
[36]
M. S. Vinding, C. S. Aigner, S. Schmitter, and T. E. Lund, Deepcontrol: 2drf pulses facilitating inhomo- geneity and b0 off-resonance compensation in vivo at 7 t, Magnetic Resonance in Medicine 85, 3308 (2021)
work page 2021
-
[37]
R. Tomi-Tricot, V. Gras, B. Thirion, F. Maucon- duit, N. Boulant, H. Cherkaoui, P. Zerbib, A. Vi- gnaud, A. Luciani, and A. Amadon, Smartpulse, a machine learning approach for calibration-free dy- namic rf shimming: Preliminary study in a clinical environment, Magnetic Resonance in Medicine 82, 2016 (2019)
work page 2016
-
[38]
M. Becker, Y.-T. Cheng, A. Voigt, A. Chenakkara, M. He, S. Lehmkuhl, M. Jouda, and J. G. Korvink, Artificial intelligence-driven shimming for parallel high field nuclear magnetic resonance, Sci Rep 13 (2023)
work page 2023
-
[39]
D. Xu, A. B. ¨Ozg¨ uler, G. D. Guglielmo, N. Tran, G. N. P. andLuca Carloni, and F. Fahim, Neural net- work accelerator for quantum control, IEEE/ACM Third International Workshop on Quantum Com- puting Software (QCS) , 43 (2022)
work page 2022
-
[40]
T. E. Skinner, K. Kobzar, B. Luy, M. R. Bendall, W. Bermel, N. Khaneja, and S. J. Glaser, Opti- mal control design of constant amplitude phase- modulated pulses: Application to calibration-free broadband excitation, Journal of Magnetic Reso- nance 179, 241 (2006)
work page 2006
-
[41]
M. Kuzmanovi´ c, I. Bj¨ orkman, J. J. McCord, S. Do- gra, and G. S. Paraoanu, High-fidelity robust qubit control by phase-modulated pulses, Phys. Rev. Res. 6, 013188 (2024)
work page 2024
-
[42]
D. Lu, A. Brodutch, J. Park, H. Katiyar, T. Jochym-O’Connor, and R. Laflamme, Nmr quan- tum information processing, Electron Spin Reso- nance (ESR) Based Quantum Computing (2016)
work page 2016
-
[43]
Bhole, Coherent control for quantum information processing, PhD thesis (2020)
G. Bhole, Coherent control for quantum information processing, PhD thesis (2020)
work page 2020
-
[44]
D. P. Kingma and J. Ba, Adam: A method for stochastic optimization, CoRR abs/1412.6980 (2014)
work page internal anchor Pith review Pith/arXiv arXiv 2014
-
[45]
I. Goodfellow, Y. Bengio, and A. Courville, Deep Learning (MIT Press, 2016)
work page 2016
-
[46]
H. Singh, Arvind, and K. Dorai, Constructing valid density matrices on an nmr quantum informa- tion processor via maximum likelihood estimation, Physics Letter A (2016)
work page 2016
- [47]
-
[48]
T. F. H. David G. Cory, Amr F. Fahmy, Ensemble quantum computing by nmr spectroscopy, Proceed- ings of the National Academy of Sciences 94, 1634 (1997)
work page 1997
-
[49]
J. Li, D. Lu, Z. Luo, R. Laflamme, X. Peng, and J. Du, Approximation of reachable sets for coher- ently controlled open quantum systems: Applica- tion to quantum state engineering, Phys. Rev. A 94, 012312 (2016)
work page 2016
-
[50]
G. Feng, S.-Y. Hou, H. Zou, W. Shi, S. Yu, Z. Sheng, X. Rao, K. Ma, C. Chen, B. Ren, G. Miao, J. Xi- ang, and B. Zeng, Spinq triangulum: A commercial three-qubit desktop quantum computer, IEEE Nan- otechnology Magazine 16, 20 (2022)
work page 2022
-
[51]
The quantum state tomography on an nmr system, Physics Letters A 305, 349 (2002). 13
work page 2002
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.