NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Analytic Filter-Function Derivatives for Quantum Optimal Control

Isabel Nha Minh Le, Julian D. Teske, Tobias Hangleiter, Pascal Cerfontaine, Hendrik BluhmPhysical 2022 · DOI

Abstract

Autocorrelated noise appears in many solid-state qubit systems and hence needs to be taken into account when developing gate operations for quantum information processing. However, explicitly simulating this kind of noise is often less efficient than approximate methods. Here, we focus on the filter function formalism, which allows the computation of gate fidelities in the presence of autocorrelated classical noise. This formalism can be combined with optimal control algorithms to design control pulses that optimally implement quantum gates. To enable the use of gradient-based algorithms with fast convergence, we present analytically derived filter function gradients with respect to control pulse amplitudes and analyze the computational complexity of our results. When comparing pulse optimization using our derivatives to a gradient-free approach, we find that the gradient-based method is roughly 2 orders of magnitude faster for our test cases. We also provide a modular computational implementation compatible with quantum optimal control packages.

Introduction

Quantum computers are notoriously sensitive to environmental noise. In solid-state systems, such as superconducting qubits or spin qubits, this noise is frequently "colored"—exhibiting a specific frequency spectrum like $1/f$ noise rather than being purely white. Designing high-fidelity electromagnetic pulses to operate these qubits requires Quantum Optimal Control (QOC) strategies that can account for these autocorrelations.

Traditionally, calculating gate infidelity under colored noise involves computationally intensive simulations. The filter function formalism provides a more efficient alternative by quantifying a quantum channel's susceptibility to noise as a function of frequency. However, the optimization of control pulses within this framework has historically relied on gradient-free methods or numerical gradients, which are often slow or numerically unstable. This work addresses this gap by providing exact analytical formulas for filter function gradients.

Methodology

The authors derived analytical derivatives of the filter function specifically for piecewise-constant control pulse amplitudes. The derivation utilizes several key theoretical tools:

  • Magnus Expansion: A first-order Magnus expansion is employed to approximate the noise-induced error vector, a valid approach for the high-fidelity (small noise) regime.
  • Interaction Picture Transformation: By transforming to the interaction picture of the control Hamiltonian, the noise effects are isolated, enabling the analytical differentiation of the control propagator.
  • Software Integration: The resulting derivatives were implemented in the open-source Python framework filter_functions and designed for compatibility with the qopt quantum optimal control package.

Performance Benchmarks

To evaluate the efficacy of the analytical gradients, the researchers benchmarked the L-BFGS-B algorithm (a gradient-based optimizer) against the Nelder-Mead algorithm (a common gradient-free simplex method). The tests utilized a generic 4-level quantum system subjected to "pink noise" ($1/f$ spectral density).

Convergence time comparison between the gradient-free Nelder-Mead algorithm (red) and the gradient-based L-BFGS-B algorithm (blue). The latter achieves a speedup of approximately two orders of magnitude.

The results demonstrate a dramatic performance improvement. The gradient-based optimization was approximately 100 times faster than the gradient-free approach. While L-BFGS-B is more susceptible to local minima—requiring roughly twice as many restarts as Nelder-Mead to find the global optimum—the massive speedup per run makes it the significantly more efficient choice for pulse design.

Computational Complexity and Scalability

A rigorous complexity analysis was performed to ensure the method scales well for practical quantum systems. The run time for calculating the gradients scales linearly with the number of frequency samples ($n_\omega$) and the number of control/noise operators. However, it scales quadratically with the number of time steps ($n_{\Delta t}^2$).

Empirical scaling of the run time for calculating filter function gradients. (a) Scaling with the number of time steps $n_{\Delta t}$ follows $O(n_{\Delta t}^{1.92})$. (b) Scaling with system dimension $d$ follows $O(d^{4.35})$.

As shown in the empirical data, the computational cost grows with the system dimension $d$ at a rate of approximately $d^{4.35}$. While this suggests limits for very large systems, the method remains highly manageable for the small-to-medium quantum registers currently at the forefront of research.

Conclusion

By providing the missing analytical gradients for the filter function formalism, this work enables a 100x speedup in quantum pulse optimization. This efficiency gain is critical for designing robust gates in the presence of autocorrelated noise. Future work may involve combining these gradients with global optimization strategies like basin-hopping or applying the speed of these derivatives to real-time qubit re-calibration in experimental settings.

Summary updated

BibTeX
@inproceedings{le2022analytic,
  author = {Isabel Nha Minh Le and Julian D. Teske and Tobias Hangleiter and Pascal Cerfontaine and Hendrik Bluhm},
  title = {{Analytic Filter-Function Derivatives for Quantum Optimal Control}},
  booktitle = {Physical},
  year = {2022},
  doi = {10.1103/physrevapplied.17.024006},
}
Figure