Reuse & Permissions

It is not necessary to obtain permission to reuse this article or its components as it is available under the terms of the Creative Commons Attribution 4.0 International license. This license permits unrestricted use, distribution, and reproduction in any medium, provided attribution to the author(s) and the published article's title, journal citation, and DOI are maintained. Please note that some figures may have been included with permission from other third parties. It is your responsibility to obtain the proper permission from the rights holder directly for these figures.

Export citation

Export citation

Choose format for download:

Download Citation
  • Open Access

Neural-network-based design and implementation of fast and robust quantum gates

Marko Kuzmanović1, Ilya Moskalenko1, Yu-Han Chang1, Ognjen Stanisavljević1, Christopher Warren2, Emil Hogedal2, Anuj Aggarwal2, Irshad Ahmad2, Janka Biznárová2 et al.

Mamta Dahiya2, Marcus Rommel2, Andreas Nylander2, Giovanna Tancredi2, and Gheorghe Sorin Paraoanu1

Phys. Rev. Applied 26, 034070 – Published 29 September, 2026

DOI: https://doi.org/10.1103/4zzl-qbsf

Abstract

We present a continuous-time, neural-network-based approach to optimal control in quantum systems, with a focus on pulse engineering for quantum gates. Leveraging the framework of neural ordinary differential equations (neural ODEs), we construct control fields as outputs of trainable neural networks, thereby eliminating the need for discrete parametrization or predefined bases. This allows for the generation of smooth, control-hardware-agnostic pulses that can be optimized directly using differentiable integrators. As a case study, we design and experimentally implement a short and detuning-robust π/2 pulse for photon number parity measurements in superconducting transmon circuits. This is achieved through simultaneous optimization for robustness and suppressing the leakage outside of the computational basis. These pulses have very high fidelity (≈99.95%) and realize the parity measurement with an efficiency greater than 99.9% over a detuning range of ≈±20  MHz, thereby outperforming traditional techniques while retaining comparable gate durations. This showcases the potential of neural ODEs for high-performance quantum control in experimentally relevant settings.

View figure in article

Physics Subject Headings (PhySH)

Article Text

References (59)

  1. P. Krantz, M. Kjaergaard, F. Yan, T. P. Orlando, S. Gustavsson, and W. D. Oliver, A quantum engineer’s guide to superconducting qubits, Appl. Phys. Rev. 6, 021318 (2019).
  2. M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information: 10th Anniversary Edition (Cambridge University Press, Cambridge, England, 2010).
  3. F. Motzoi, J. M. Gambetta, P. Rebentrost, and F. K. Wilhelm, Simple pulses for elimination of leakage in weakly nonlinear qubits, Phys. Rev. Lett. 103, 110501 (2009).
  4. H. K. Cummins and J. A. Jones, Use of composite rotations to correct systematic errors in NMR quantum computation, New J. Phys. 2, 6 (2000).
  5. B. T. Torosov and N. V. Vitanov, Arbitrarily accurate variable rotations on the bloch sphere by composite pulse sequences, Phys. Rev. A 99, 013402 (2019).
  6. B. T. Torosov and N. V. Vitanov, Experimental demonstration of composite pulses on IBM’s quantum computer, Phys. Rev. Appl. 18, 034062 (2022).
  7. M. Harutyunyan, F. Holweck, D. Sugny, and S. Guérin, Digital optimal robust control, Phys. Rev. Lett. 131, 200801 (2023).
  8. N. Khaneja, T. Reiss, C. Kehlet, T. Schulte-Herbrüggen, and S. J. Glaser, Optimal control of coupled spin dynamics: Design of NMR pulse sequences by gradient ascent algorithms, J. Magn. Res. 172, 296 (2005).
  9. T. Caneva, T. Calarco, and S. Montangero, Chopped random-basis quantum optimization, Phys. Rev. A 84, 022326 (2011).
  10. A. Pagano, M. M. Müller, T. Calarco, S. Montangero, and P. Rembold, Role of bases in quantum optimal control, Phys. Rev. A 110, 062608 (2024).
  11. P. Rembold, Quantum optimal control of spin systems and trapped atoms, Ph.D. thesis, Universität zu Köln, 2022.
  12. N. Oshnik, P. Rembold, T. Calarco, S. Montangero, E. Neu, and M. M. Müller, Robust magnetometry with single nitrogen-vacancy centers via two-step optimization, Phys. Rev. A 106, 013107 (2022).
  13. P. Doria, T. Calarco, and S. Montangero, Optimal control technique for many-body quantum dynamics, Phys. Rev. Lett. 106, 190501 (2011).
  14. P. M. Poggi, G. De Chiara, S. Campbell, and A. Kiely, Universally robust quantum control, Phys. Rev. Lett. 132, 193801 (2024).
  15. M. Werninghaus, D. J. Egger, F. Roy, S. Machnes, F. K. Wilhelm, and S. Filipp, Leakage reduction in fast superconducting qubit gates via optimal control, npj Quantum Inf. 7, 14 (2021).
  16. Y. Ding, Y. Ban, J. D. Martín-Guerrero, E. Solano, J. Casanova, and X. Chen, Breaking adiabatic quantum control with deep learning, Phys. Rev. A 103, L040401 (2021).
  17. M.-Z. Ai, Y. Ding, Y. Ban, J. D. Martín-Guerrero, J. Casanova, J.-M. Cui, Y.-F. Huang, X. Chen, C.-F. Li, and G.-C. Guo, Experimentally realizing efficient quantum control with reinforcement learning, Sci. China Phys. Mech. Astron. 65, 250312 (2022).
  18. L. Giannelli, S. Sgroi, J. Brown, G. S. Paraoanu, M. Paternostro, E. Paladino, and G. Falci, A tutorial on optimal control and reinforcement learning methods for quantum technologies, Phys. Lett. A 434, 128054 (2022).
  19. J. Brown, S. Sgroi, L. Giannelli, G. S. Paraoanu, E. Paladino, G. Falci, M. Paternostro, and A. Ferraro, Reinforcement learning-enhanced protocols for coherent population-transfer in three-level quantum systems, New J. Phys. 23, 093035 (2021).
  20. F. Preti, T. Calarco, and F. Motzoi, Continuous quantum gate sets and pulse-class meta-optimization, PRX Quantum 3, 040311 (2022).
  21. H. Hutin, P. Bilous, C. Ye, S. Abdollahi, L. Cros, T. Dvir, T. Shah, Y. Cohen, A. Bienfait, F. Marquardt et al., Preparing Schrödinger cat states in a microwave cavity using a neural network, PRX Quantum 6, 010321 (2025).
  22. K. Hornik, M. Stinchcombe, and H. White, Multilayer feedforward networks are universal approximators, Neural Netw. 2, 359 (1989).
  23. R. T. Q. Chen, Y. Rubanova, J. Bettencourt, and D. Duvenaud, Neural ordinary differential equations, Adv. Neural Inf. Process. Syst. 31 (NeurIPS 2018) (2018).
  24. F. Sauvage and F. Mintert, Optimal control of families of quantum gates, Phys. Rev. Lett. 129, 050507 (2022).
  25. U. Güngördü and J. P. Kestner, Robust quantum gates using smooth pulses and physics-informed neural networks, Phys. Rev. Res. 4, 023155 (2022).
  26. B. Bhattacharyya, F. An, D. Kozbiel, A. J. Goldschmidt, and F. T. Chong, Using optimal control to guide neural-network interpolation of continuously-parameterized gates, in 2024 IEEE International Conference on Quantum Computing and Engineering (QCE) (IEEE, New York, 2024), Vol. 1, pp. 1336–1346.
  27. O. Milul, B. Guttel, U. Goldblatt, S. Hazanov, L. M. Joshi, D. Chausovsky, N. Kahn, E. Çiftyürek, F. Lafont, and S. Rosenblum, Superconducting cavity qubit with tens of milliseconds single-photon coherence time, PRX Quantum 4, 030336 (2023).
  28. T. Krisnanda, P. Song, A. Copetudo, C. Y. Fontaine, T. Paterek, T. C. H. Liew, and Y. Y. Gao, Experimental demonstration of enhanced quantum tomography via quantum reservoir processing, Quantum Sci. Technol. 10, 035041 (2025).
  29. T. Krisnanda, C. Y. Fontaine, A. Copetudo, P. Song, K. X. Lee, N.-N. Huang, F. Valadares, T. C. H. Liew, and Y. Y. Gao, Demonstrating efficient and robust bosonic state reconstruction via optimized excitation counting, PRX Quantum 6, 010303 (2025).
  30. B. Vlastakis, G. Kirchmair, Z. Leghtas, S. E. Nigg, L. Frunzio, S. M. Girvin, M. Mirrahimi, M. H. Devoret, and R. J. Schoelkopf, Deterministically encoding quantum information using 100-photon Schrödinger cat states, Science 342, 607 (2013).
  31. P. Bertet, A. Auffeves, P. Maioli, S. Osnaghi, T. Meunier, M. Brune, J. M. Raimond, and S. Haroche, Direct measurement of the Wigner function of a one-photon Fock state in a cavity, Phys. Rev. Lett. 89, 200402 (2002).
  32. L. G. Lutterbach and L. Davidovich, Method for direct measurement of the Wigner function in cavity QED and ion traps, Phys. Rev. Lett. 78, 2547 (1997).
  33. L. Sun, A. Petrenko, Z. Leghtas, B. Vlastakis, G. Kirchmair, K. M. Sliwa, A. Narla, M. Hatridge, S. Shankar, J. Blumoff, L. Frunzio, M. Mirrahimi, M. H. Devoret, and R. J. Schoelkopf, Tracking photon jumps with repeated quantum non-demolition parity measurements, Nature (London) 511, 444 (2014).
  34. J. J. McCord, S. Dogra, and G. S. Paraoanu, Coherent interaction-free detection of noise, Phys. Rev. A 110, 032404 (2024).
  35. J. J. McCord, S. Dogra, and G. S. Paraoanu, Theory of coherent interaction-free detection of pulses, Phys. Rev. Res. 5, 033012 (2023).
  36. S. Dogra, J. J. McCord, and G. S. Paraoanu, Coherent interaction-free detection of microwave pulses with a superconducting circuit, Nat. Commun. 13, 7528 (2022).
  37. N. N. Gusarov, M. R. Perelshtein, P. J. Hakonen, and G. S. Paraoanu, Optimized emulation of quantum magnetometry via superconducting qubits, Phys. Rev. A 107, 052609 (2023).
  38. A. R. Shlyakhov, V. V. Zemlyanov, M. V. Suslov, A. V. Lebedev, G. S. Paraoanu, G. B. Lesovik, and G. Blatter, Quantum metrology with a transmon qutrit, Phys. Rev. A 97, 022115 (2018).
  39. S. Danilin, A. V. Lebedev, A. Vepsäläinen, G. B. Lesovik, G. Blatter, and G. S. Paraoanu, Quantum-enhanced magnetometry by phase estimation algorithms with a single artificial atom, npj Quantum Inf. 4, 29 (2018).
  40. A. V. Dixit, S. Chakram, K. He, A. Agrawal, R. K. Naik, D. I. Schuster, and A. Chou, Searching for dark matter with a superconducting qubit, Phys. Rev. Lett. 126, 141302 (2021).
  41. S. A. Caldwell et al., Parametrically activated entangling gates using transmon qubits, Phys. Rev. Appl. 10, 034050 (2018).
  42. M. Roth, M. Ganzhorn, N. Moll, S. Filipp, G. Salis, and S. Schmidt, Analysis of a parametrically driven exchange-type gate and a two-photon excitation gate between superconducting qubits, Phys. Rev. A 96, 062323 (2017).
  43. R. T. Q. Chen, torchdiffeq (2018), https://github.com/rtqichen/torchdiffeq.
  44. K. Diederik and J. Ba, Adam: A method for stochastic optimization, arXiv:1412.6980.
  45. A. Osman, J. Fernández-Pendás, C. Warren, S. Kosen, M. Scigliuzzo, A. Frisk Kockum, G. Tancredi, A. Fadavi Roudsari, and J. Bylander, Mitigation of frequency collisions in superconducting quantum processors, Phys. Rev. Res. 5, 043001 (2023).
  46. E. Magesan, J. M. Gambetta, B. R. Johnson, C. A. Ryan, J. M. Chow, S. T. Merkel, M. P. da Silva, G. A. Keefe, M. B. Rothwell, T. A. Ohki, M. B. Ketchen, and M. Steffen, Efficient measurement of quantum gate error by interleaved randomized benchmarking, Phys. Rev. Lett. 109, 080505 (2012).
  47. E. Magesan, J. M. Gambetta, and J. Emerson, Scalable and robust randomized benchmarking of quantum processes, Phys. Rev. Lett. 106, 180504 (2011).
  48. J. B. Bronzan, Parametrization of su (3), Phys. Rev. D 38, 1994 (1988).
  49. Z. Li, P. Liu, P. Zhao, Z. Mi, H. Xu, X. Liang, T. Su, W. Sun, G. Xue, J.-N. Zhang et al., Error per single-qubit gate below 1e-4 in a superconducting qubit, npj Quantum Inf. 9, 111 (2023).
  50. M. P. Bland, F. Bahrami, J. G. Martinez, P. H. Prestegaard, B. M. Smitham, A. Joshi, E. Hedrick, A. Pakpour-Tabrizi, S. Kumar, A. Jindal et al., 2d transmons with lifetimes and coherence times exceeding 1 millisecond, arXiv:2503.14798.
  51. R. Li, K. Kubo, Y. Ho, Z. Yan, Y. Nakamura, and H. Goto, Realization of high-fidelity CZ gate based on a double-transmon coupler, Phys. Rev. X 14, 041050 (2024).
  52. L. Ding, M. Hays, Y. Sung, B. Kannan, J. An, A. Di Paolo, A. H. Karamlou, T. M. Hazard, K. Azar, D. K. Kim, B. M. Niedzielski, A. Melville, M. E. Schwartz, J. L. Yoder, T. P. Orlando, S. Gustavsson, J. A. Grover, K. Serniak, and W. D. Oliver, High-fidelity, frequency-flexible two-qubit fluxonium gates with a transmon coupler, Phys. Rev. X 13, 031035 (2023).
  53. T. Abad, J. Fernández-Pendás, A. Frisk Kockum, and G. Johansson, Universal fidelity reduction of quantum operations from weak dissipation, Phys. Rev. Lett. 129, 150504 (2022).
  54. A. Bengtsson, P. Vikstål, C. Warren, M. Svensson, X. Gu, A. F. Kockum, P. Krantz, C. Križan, D. Shiri, I.-M. Svensson, G. Tancredi, G. Johansson, P. Delsing, G. Ferrini, and J. Bylander, Improved success probability with greater circuit depth for the quantum approximate optimization algorithm, Phys. Rev. Appl. 14, 034010 (2020).
  55. Z. Chen et al., Measuring and suppressing quantum state leakage in a superconducting qubit, Phys. Rev. Lett. 116, 020501 (2016).
  56. P. J. Schreier and L. L. Scharf, Statistical Signal Processing of Complex-Valued Data: The Theory of Improper and Noncircular Signals (Cambridge University Press, Cambridge, England, 2010).
  57. I. Björkman, M. Kuzmanović, and G. S. Paraoanu, Observation of the two-photon Landau-Zener-Stückelberg-Majorana effect, Phys. Rev. Lett. 134, 060602 (2025).
  58. S. Kukita, H. Kiya, and Y. Kondo, General off-resonance-error-robust symmetric composite pulses with three elementary operations, Phys. Rev. A 106, 042613 (2022).
  59. S. Kukita, H. Kiya, and Y. Kondo, Short composite quantum gate robust against two common systematic errors, J. Phys. Soc. Jpn. 91, 104001 (2022).

Outline

Information

Sign In to Your Journals Account

Filter

Filter

Article Lookup

Enter a citation