Published November 2, 2025 | Journal article | Version v1 | https://doi.org/10.21105/joss.08813

GRAPE.jl: Gradient Ascent Pulse Engineering in Julia

  • 1. DEVCOM Army Research Laboratory, United States
  • 2. Universität Ulm, Institute for Quantum Optics, Germany

Files

GRAPE.jl-v1.0.0.zip

Files (467.7 kB)

Name Size Download all
md5:bef413661d7d648da8392ff4d5920200
229.4 kB Preview Download
md5:3124e5022ab8e10cf2066f282ff458d8
238.3 kB Preview Download

Additional details

Dates

Issued
November 2, 2025

References

  1. Goerz, M. H., Carrasco, S. C., Marshall, A., & Malinovsky, V. S. (2025). GRAPE.jl: Gradient Ascent Pulse Engineering in Julia (Version v1.0.0) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.17487150
  2. Brumer, P., & Shapiro, M. (2003). Principles and applications of the quantum control of molecular processes. Wiley Interscience.
  3. Nielsen, M., & Chuang, I. L. (2000). Quantum computation and quantum information. Cambridge University Press.
  4. Degen, C. L., Reinhard, F., & Cappellaro, P. (2017). Quantum sensing. Reviews of Modern Physics, 89(3), Article 035002. https://doi.org/10.1103/revmodphys.89.035002
  5. Brif, C., Chakrabarti, R., & Rabitz, H. (2010). Control of quantum phenomena: past, present and future. New Journal of Physics, 12(7), 075008. https://doi.org/10.1088/1367-2630/12/7/075008
  6. Sola, I. R., Chang, B. Y., Malinovskaya, S. A., & Malinovsky, V. S. (2018). Quantum Control in Multilevel Systems. In Advances In Atomic, Molecular, and Optical Physics (pp. 151–256). Elsevier. https://doi.org/10.1016/bs.aamop.2018.02.003
  7. Dowling, J. P., & Milburn, G. J. (2003). Quantum technology: the second quantum revolution. Philosophical Transactions of the Royal Society of London. Series A: Mathematical, Physical and Engineering Sciences, 361(1809), 1655–1674. https://doi.org/10.1098/rsta.2003.1227
  8. Koch, J., Yu, T. M., Gambetta, J., Houck, A. A., Schuster, D. I., Majer, J., Blais, A., Devoret, M. H., Girvin, S. M., & Schoelkopf, R. J. (2007). Charge-insensitive qubit design derived from the Cooper pair box. Physical Review A, 76(4), Article 042319. https://doi.org/10.1103/physreva.76.042319
  9. Goerz, M. H., Motzoi, F., Whaley, K. B., & Koch, C. P. (2017). Charting the circuit QED design landscape using optimal control theory. Npj Quantum Information, 3(1). https://doi.org/10.1038/s41534-017-0036-0
  10. Griewank, A., & Walther, A. (2008). Evaluating Derivatives: Principles and Techniques of Algorithmic Differentiation, Second Edition (Second). Society for Industrial and Applied Mathematics. https://doi.org/10.1137/1.9780898717761
  11. Watts, P., Vala, J., Müller, M. M., Calarco, T., Whaley, K. B., Reich, D. M., Goerz, M. H., & Koch, C. P. (2015). Optimizing for an arbitrary perfect entangler. I. Functionals. Physical Review A, 91(6). https://doi.org/10.1103/physreva.91.062306
  12. Goerz, M. H., Gualdi, G., Reich, D. M., Koch, C. P., Motzoi, F., Whaley, K. B., Vala, J., Müller, M. M., Montangero, S., & Calarco, T. (2015). Optimizing for an arbitrary perfect entangler. II. Application. Physical Review A, 91(6). https://doi.org/10.1103/physreva.91.062307
  13. Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., Desmaison, A., Köpf, A., Yang, E., DeVito, Z., Raison, M., Tejani, A., Chilamkurthy, S., Steiner, B., Fang, L., … Chintala, S. (2019). PyTorch: An imperative style, high-performance deep learning library. In H. M. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alché-Buc, E. A. Fox, & R. Garnett (Eds.), Advances in neural information processing systems 32 (pp. 8024–8035). Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019. https://papers.neurips.cc/paper/9015-pytorch-an-imperative-style-high-performance-deep-learning-library.pdf
  14. Abadi, M., Barham, P., Chen, J., Chen, Z., Davis, A., Dean, J., Devin, M., Ghemawat, S., Irving, G., Isard, M., Kudlur, M., Levenberg, J., Monga, R., Moore, S., Murray, D. G., Steiner, B., Tucker, P., Vasudevan, V., Warden, P., … Zheng, X. (2016). TensorFlow: A system for large-scale machine learning. 12th USENIX Symposium on Operating Systems Design and Implementation (OSDI 16), 265. https://www.tensorflow.org
  15. Bradbury, J., Frostig, R., Hawkins, P., Johnson, M. J., Leary, C., Maclaurin, D., Necula, G., Paszke, A., VanderPlas, J., Wanderman-Milne, S., & Zhang, Q. (2018). JAX: Composable transformations of Python+NumPy programs. GitHub. https://github.com/jax-ml/jax
  16. Goerz, M. H., Reich, D. M., & Koch, C. P. (2014). Optimal control theory for a unitary operation under dissipative evolution. New Journal of Physics, 16(5), 055012. https://doi.org/10.1088/1367-2630/16/5/055012
  17. Goerz, M. H., Carrasco, S. C., & Malinovsky, V. S. (2022). Quantum Optimal Control via Semi-Automatic Differentiation. Quantum, 6, 871. https://doi.org/10.22331/q-2022-12-07-871
  18. Goerz, M. H., & contributors. (2025). QuantumControl.jl: Julia framework for quantum dynamics and control. GitHub. https://github.com/JuliaQuantumControl/QuantumControl.jl
  19. Goerz, M. H., & contributors. (2025). QuantumPropagators.jl: Propagators for quantum dynamics and optimal control. GitHub. https://github.com/JuliaQuantumControl/QuantumPropagators.jl
  20. QDYN: Fortran 95 library and utilities for quantum dynamics and optimal control. (2025). https://www.qdyn-library.net
  21. Zhu, C., Byrd, R. H., Lu, P., & Nocedal, J. (1997). Algorithm 778: L-BFGS-B: Fortran subroutines for large-scale bound-constrained optimization. ACM Transactions on Mathematical Software, 23(4), 550–560. https://doi.org/10.1145/279232.279236
  22. Qi, Y., & contributors. (2022). LBFGSB: Julia wrapper for L-BFGS-B nonlinear optimization code. GitHub. https://github.com/Gnimuc/LBFGSB.jl
  23. Bezanson, J., Edelman, A., Karpinski, S., & Shah, V. B. (2017). Julia: A Fresh Approach to Numerical Computing. SIAM Review, 59(1), 65–98. https://doi.org/10.1137/141000671
  24. de Fouquieres, P., Schirmer, S. G., Glaser, S. J., & Kuprov, I. (2011). Second order gradient ascent pulse engineering. Journal of Magnetic Resonance, 212(2), 412–417. https://doi.org/10.1016/j.jmr.2011.07.023
  25. Khaneja, N., Reiss, T., Kehlet, C., Schulte-Herbrüggen, T., & Glaser, S. J. (2005). Optimal control of coupled spin dynamics: design of NMR pulse sequences by gradient ascent algorithms. Journal of Magnetic Resonance, 172(2), 296–305. https://doi.org/10.1016/j.jmr.2004.11.004

1–25 of 41