pith. sign in

arxiv: 2412.05856 · v3 · submitted 2024-12-08 · 🪐 quant-ph

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

classification 🪐 quant-ph
keywords neural networkGRAPE algorithmNMR quantum computersingle-qubit gatesoptimal control pulsesreal-time pulse generationuniversal gatesNISQ
0
0 comments X

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.

The paper trains a neural network using control pulses from the GRAPE algorithm, all begun from one shared initial condition, to learn the mapping from parameters of any single-qubit gate to the corresponding optimal pulse sequence for an NMR quantum computer. Numerical tests and physical runs on a three-qubit benchtop NMR system show that the network outputs produce the target dynamics with high fidelity. The result replaces repeated optimization with a single forward pass, allowing arbitrary single-qubit pulses to be generated in real time. When the network is paired with a separately computed GRAPE pulse for the CNOT gate, the combination supplies a universal gate set ready for use on NISQ devices.

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

These are editorial extensions of the paper, not claims the author makes directly.

  • 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

Figures reproduced from arXiv: 2412.05856 by Abolfazl Bahrampour, Alireza Bahrampour, Arash Fath Lipaei, Ebrahim Khaleghian, Morteza Nikaeen.

Figure 1
Figure 1. Figure 1: FIG. 1. The subspace of the GRAPE-generated pulse [PITH_FULL_IMAGE:figures/full_fig_p003_1.png] view at source ↗
Figure 2
Figure 2. Figure 2: FIG. 2. Cosine similarity analysis of 16 samples gen [PITH_FULL_IMAGE:figures/full_fig_p005_2.png] view at source ↗
Figure 3
Figure 3. Figure 3: FIG. 3. Cosine similarity analysis of 17,000 samples gen [PITH_FULL_IMAGE:figures/full_fig_p006_3.png] view at source ↗
Figure 4
Figure 4. Figure 4: FIG. 4. The neural network receives a [PITH_FULL_IMAGE:figures/full_fig_p006_4.png] view at source ↗
Figure 5
Figure 5. Figure 5: FIG. 5. Neural Network Architecture Overview. This [PITH_FULL_IMAGE:figures/full_fig_p007_5.png] view at source ↗
Figure 7
Figure 7. Figure 7: FIG. 7. Fidelity of unitary transformations given in Eq. [PITH_FULL_IMAGE:figures/full_fig_p007_7.png] view at source ↗
Figure 8
Figure 8. Figure 8: FIG. 8. The gate fidelities corresponding to the unitary [PITH_FULL_IMAGE:figures/full_fig_p008_8.png] view at source ↗
Figure 9
Figure 9. Figure 9: FIG. 9. 2D representation of the Fig.8 [PITH_FULL_IMAGE:figures/full_fig_p008_9.png] view at source ↗
Figure 11
Figure 11. Figure 11: FIG. 11. The tomography results, obtained after the [PITH_FULL_IMAGE:figures/full_fig_p009_11.png] view at source ↗
Figure 13
Figure 13. Figure 13: FIG. 13. Experimental results of the NMR spectrum [PITH_FULL_IMAGE:figures/full_fig_p009_13.png] view at source ↗
Figure 14
Figure 14. Figure 14: FIG. 14. The phase defined in Eq.10 is plotted against [PITH_FULL_IMAGE:figures/full_fig_p011_14.png] view at source ↗
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.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

2 major / 1 minor

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)
  1. [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.
  2. [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)
  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

2 responses · 1 unresolved

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
  1. 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

  2. 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

standing simulated objections not resolved
  • 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

1 steps flagged

NN mapping function reduces to GRAPE fitting by construction

specific steps
  1. 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

1 free parameters · 1 axioms · 0 invented entities

The claim rests on the assumption that GRAPE pulses constitute reliable training targets and that the network generalizes from that finite set; no new physical entities are introduced and the only free parameters are the network weights fitted to the GRAPE data.

free parameters (1)
  • neural network weights and biases
    Fitted during supervised training on the GRAPE pulse dataset to learn the gate-to-pulse mapping.
axioms (1)
  • domain assumption GRAPE algorithm outputs are suitable ground-truth targets for the desired single-qubit unitaries
    The paper treats GRAPE pulses as the reference for training without independent verification of optimality for every gate.

pith-pipeline@v0.9.0 · 5791 in / 1354 out tokens · 45414 ms · 2026-05-23T07:49:59.853089+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Reference graph

Works this paper leans on

51 extracted references · 51 canonical work pages · 1 internal anchor

  1. [1]

    Chang, L

    D. Chang, L. Vandersypen, and M. Steffen, Nmr im- plementation of a building block for scalable quan- tum computation, Chemical Physics Letters 338, 337 (2000)

  2. [2]

    J. A. Jones, Controlling nmr spin systems for quan- tum computation, Progress in Nuclear Magnetic Resonance Spectroscopy 140–141, 49 (2024)

  3. [3]

    J. A. Jones, Quantum computing with nmr, Progress in Nuclear Magnetic Resonance Spec- troscopy 59,2, 91 (2011)

  4. [4]

    Khaneja, C

    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)

  5. [5]

    Rasulov, A

    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)

  6. [6]

    J. P. Peterson, R. S. Sarthour, and R. Laflamme, Enhancing quantum control by improving shaped- pulse generation, PHYSICAL REVIEW D (2020)

  7. [7]

    Kuzmanovi´ c, I

    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)

  8. [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)

  9. [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)

  10. [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)

  11. [11]

    J. Lia, X. Yang, X. Peng, and C.-P. Sun, Hybrid quantum-classical approach to quantum optimal control, PHYSICAL REVIEW LETTERS (2017)

  12. [12]

    dong Yang, C

    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)

  13. [13]

    Kairys and T

    P. Kairys and T. S. Humble, Efficient quantum gate discovery with optimal control, IEEE International Conference on Quantum Computing and Engineer- ing (QCE) (2021)

  14. [14]

    B. Riaz, C. Shuang, and S. Qamar, Optimal con- trol methods for quantum gate preparation: a com- parative study, Quantum Information Processing18 (2019)

  15. [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)

  16. [16]

    Sauvage and F

    F. Sauvage and F. Mintert, Optimal control of fam- ilies of quantum gates, PHYSICAL REVIEW LET- TERS 129 (2022)

  17. [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)

  18. [18]

    Zhang, Z

    X.-M. Zhang, Z. Wei, R. Asad, X.-C. Yang, and X. Wang, When does reinforcement learning stand out in quantum control? a comparative study on state preparation, npj Quantum Information vol- ume , 5 (2019)

  19. [19]

    G¨ ung¨ ord¨ u and J

    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)

  20. [20]

    Norambuena, M

    A. Norambuena, M. Mattheakis, F. J. Gonz´ alez, and R. Coto, Physics-informed neural networks for quantum control, arXiv:2206.06287 (2023)

  21. [21]

    Youssry, Y

    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)

  22. [22]

    Sivak, A

    V. Sivak, A. Eickbusch, B. R. H. Liu, I. Tsiout- sios, and M. Devoret, Model-free quantum control with reinforcement learning, PHYSICAL REVIEW X (2022)

  23. [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)

  24. [24]

    Yang, M.-H

    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)

  25. [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)

  26. [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)

  27. [27]

    M. Y. Niu, S. Boixo, V. N. Smelyanskiy, and 12 H. Neven, Universal quantum control through deep reinforcement learning, npj Quantum Information (2019)

  28. [28]

    R.-B. Wu, H. Ding, D. Dong, and X. Wang, Learn- ing robust and high-precision quantum controls, PHYSICAL REVIEW A (2019)

  29. [29]

    F¨ osel, P

    T. F¨ osel, P. Tighineanu, T. Weiss, and F. Mar- quardt, Reinforcement learning with neural net- works for quantum feedback, PHYSICAL REVIEW X (2018)

  30. [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)

  31. [31]

    Zhang, K

    Y. Zhang, K. Jiang, W. Jiang, N. Wang, A. J. Wright, A. Liu, and J. Wang, Multi-task convo- lutional neural network-based design of radio fre- quency pulse and the accompanying gradients for magnetic resonance imaging, NMR in Biomedicine 34, e4443 (2021)

  32. [32]

    Gezelter and R

    J. Gezelter and R. Freeman, Use of neural networks to design shaped radiofrequency pulses, Journal of Magnetic Resonance (1969) 90, 397 (1990)

  33. [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)

  34. [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)

  35. [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)

  36. [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)

  37. [37]

    Tomi-Tricot, V

    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)

  38. [38]

    Becker, Y.-T

    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)

  39. [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)

  40. [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)

  41. [41]

    Kuzmanovi´ c, I

    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)

  42. [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)

  43. [43]

    Bhole, Coherent control for quantum information processing, PhD thesis (2020)

    G. Bhole, Coherent control for quantum information processing, PhD thesis (2020)

  44. [44]

    D. P. Kingma and J. Ba, Adam: A method for stochastic optimization, CoRR abs/1412.6980 (2014)

  45. [45]

    Goodfellow, Y

    I. Goodfellow, Y. Bengio, and A. Courville, Deep Learning (MIT Press, 2016)

  46. [46]

    Singh, Arvind, and K

    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)

  47. [47]

    Dogra, K

    S. Dogra, K. Dorai, and Arvind, Experimental con- struction of generic three-qubit states and their re- construction from two-party reduced states on an nmr quantum information processor, Physical Re- view A 91, 022312 (2015)

  48. [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)

  49. [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)

  50. [50]

    Feng, S.-Y

    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)

  51. [51]

    The quantum state tomography on an nmr system, Physics Letters A 305, 349 (2002). 13