Skip to main content
QUICK REVIEW

[Paper Review] Quantum Optimal Control via Semi-Automatic Differentiation

Michael H. Goerz, Sebastián C. Carrasco|arXiv (Cornell University)|May 27, 2022
Quantum Computing Algorithms and ArchitectureComputer Science5 citations
TL;DR

This paper introduces semi-automatic differentiation (semi-AD), a hybrid framework that combines gradient-based quantum optimal control with automatic differentiation to enable direct optimization of non-analytic functionals—such as gate concurrence and quantum Fisher information—in open quantum systems. By separating time propagation from functional evaluation via analytical chain rule application, the method drastically reduces memory and runtime overhead, enabling efficient optimization of complex figures of merit in superconducting qubit systems.

ABSTRACT

We develop a framework of "semi-automatic differentiation" that combines existing gradient-based methods of quantum optimal control with automatic differentiation. The approach allows to optimize practically any computable functional and is implemented in two open source Julia packages, GRAPE.jl and Krotov.jl, part of the QuantumControl.jl framework. Our method is based on formally rewriting the optimization functional in terms of propagated states, overlaps with target states, or quantum gates. An analytical application of the chain rule then allows to separate the time propagation and the evaluation of the functional when calculating the gradient. The former can be evaluated with great efficiency via a modified GRAPE scheme. The latter is evaluated with automatic differentiation, but with a profoundly reduced complexity compared to the time propagation. Thus, our approach eliminates the prohibitive memory and runtime overhead normally associated with automatic differentiation and facilitates further advancement in quantum control by enabling the direct optimization of non-analytic functionals for quantum information and quantum metrology, especially in open quantum systems. We illustrate and benchmark the use of semi-automatic differentiation for the optimization of perfectly entangling quantum gates on superconducting qubits coupled via a shared transmission line. This includes the first direct optimization of the non-analytic gate concurrence.

Motivation & Objective

  • Address the limitation of traditional quantum optimal control methods that require analytically derivable functionals, restricting optimization to simple targets like state overlaps.
  • Overcome the prohibitive memory and computational cost of full automatic differentiation (AD) in quantum dynamics, especially for large-scale systems.
  • Enable direct optimization of complex, non-analytic figures of merit in quantum information and quantum metrology, such as entanglement measures and quantum Fisher information.
  • Facilitate robust control in open quantum systems by allowing AD-based gradient computation without full AD of time evolution.
  • Extend the applicability of GRAPE and Krotov’s methods to arbitrary functionals through a modular, efficient, and extensible framework.

Proposed method

  • Formally rewrite the optimization functional in terms of propagated states, state overlaps, or quantum gates to enable analytical application of the chain rule.
  • Decompose the gradient computation into two parts: time propagation (computed efficiently via modified GRAPE schemes) and functional evaluation (handled via automatic differentiation).
  • Apply the chain rule to separate the derivative of the functional with respect to control fields into a product of the derivative of the functional with respect to the propagated state and the derivative of the state with respect to controls.
  • Use automatic differentiation only for the functional evaluation component, avoiding full AD of the time evolution, thereby reducing memory and computational cost.
  • Implement the framework in two open-source Julia packages, GRAPE.jl and Krotov.jl, part of the QuantumControl.jl ecosystem, supporting GPU acceleration and sparse linear algebra.
  • Leverage existing AD backends (e.g., Zygote, jax) for functional evaluation while decoupling them from the time evolution, allowing efficient and modular integration.

Experimental results

Research questions

  • RQ1Can semi-automatic differentiation enable efficient optimization of non-analytic functionals such as gate concurrence in quantum control?
  • RQ2How does the proposed method reduce the memory and computational overhead typically associated with full automatic differentiation in quantum dynamics?
  • RQ3To what extent can semi-AD be integrated into existing quantum optimal control frameworks like GRAPE and Krotov’s method without sacrificing performance or modularity?
  • RQ4Can semi-AD support the direct optimization of quantum metrological figures of merit, such as the quantum Fisher information, in open quantum systems?
  • RQ5What is the performance gain of semi-AD over traditional analytical gradient methods or finite difference approximations in complex quantum control tasks?

Key findings

  • The authors successfully demonstrate the first direct optimization of the non-analytic gate concurrence for superconducting transmon qubits coupled via a shared transmission line.
  • Semi-automatic differentiation reduces the computational and memory cost of AD by isolating the functional evaluation from time evolution, enabling efficient gradient computation.
  • The method achieves significant performance gains over full AD, particularly in large-scale systems, by avoiding storage of gradients for every linear algebra operation during time propagation.
  • Benchmarking shows that semi-AD outperforms finite difference methods in terms of accuracy and efficiency, especially for high-dimensional control problems.
  • The framework enables the optimization of complex figures of merit such as quantum Fisher information and population transfer functionals in open quantum systems.
  • The implementation in GRAPE.jl and Krotov.jl is production-ready and supports GPU acceleration, with example code and benchmarks publicly available via Zenodo (DOI: 10.5281/zenodo.7386493).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.