QuantumToolbox.jl: An efficient Julia framework for simulating open quantum systems
Alberto Mercurio, Yi-Te Huang, Li-Xun Cai, Yueh-Nan Chen, Vincenzo Savona, Franco Nori
TL;DR
QuantumToolbox.jl delivers a fast, flexible Julia framework for simulating open quantum systems with a QuTiP-like API, leveraging backend-agnostic design, GPU acceleration, and Distributed.jl support. It provides a comprehensive suite of solvers for Schrödinger, Lindblad, Monte Carlo, time-dependent, and stochastic dynamics, along with dynamic Hilbert-space adaptation (DFD/DSF) and experimental automatic differentiation for gradient-based optimization. The paper demonstrates strong performance gains over existing tools across CPU and GPU backends, and showcases advanced capabilities such as steady-state Fourier analysis and quantum trajectory parallelism. The platform aims to accelerate both theoretical investigations and practical quantum technologies, while highlighting current AD limitations and future expansion opportunities.
Abstract
We present QuantumToolbox$.$jl, an open-source Julia package for simulating open quantum systems. Designed with a syntax familiar to users of QuTiP (Quantum Toolbox in Python), it harnesses Julia's high-performance ecosystem to deliver fast and scalable simulations. The package includes a suite of time-evolution solvers supporting distributed computing and GPU acceleration, enabling efficient simulation of large-scale quantum systems. We also show how QuantumToolbox$.$jl can integrate with automatic differentiation tools, making it well-suited for gradient-based optimization tasks such as quantum optimal control. Benchmark comparisons demonstrate substantial performance gains over existing frameworks. With its flexible design and computational efficiency, QuantumToolbox$.$jl serves as a powerful tool for both theoretical studies and practical applications in quantum science.
