Dec 8 – 10, 2025
CERN
Europe/Zurich timezone

qruise-toolset: differentiable quantum simulation toolbox

Dec 9, 2025, 10:40 AM
20m
31/3-004 - IT Amphitheatre (CERN)

31/3-004 - IT Amphitheatre

CERN

105
Show room on map
Contributed Talk Contributed Talks

Speaker

Yousof Mardoukhi (Qruise GmbH)

Description

We introduce qruise-toolset, a differentiable quantum simulation toolbox with a Python interface and a Julia simulation backend. It is specifically tailored for simulating open quantum systems and solving quantum optimal control problems. The toolset allows the user to benefit from the performance that the Julia JIT compilation offers and still feel at home with the convenience that the Python programming language provides. Moreover, we lift the requirement of using automatic differentiation packages such as PyTorch, TensorFlow or JAX, which are mostly suited for deep neural network architectures. We bring the world of automatic differentiation in Julia to Python thanks to the Enzyme.jl package, through the LLVM intermediate representation of the quantum simulation problem. We have seen performance gains up to 50x for the function calls. The general simulation of large quantum systems with 15 qubits can be 2x faster than conventional quantum simulation packages such as QuTiP. More importantly, this unlocks powerful new workflows around data-driven learning of digital twins of complex quantum systems, thus closing the Sim2Real gap.

  1. Moses, W. and Churavy, V., 2020. Instead of rewriting foreign code for machine learning, automatically synthesize fast gradients. Advances in neural information processing systems, 33, pp.12472-12485.
  2. Moses, W.S., Churavy, V., Paehler, L., Hückelheim, J., Narayanan, S.H.K., Schanen, M. and Doerfert, J., 2021, November. Reverse-mode automatic differentiation and optimization of GPU kernels via Enzyme. In Proceedings of the international conference for high performance computing, networking, storage and analysis (pp. 1-16).
  3. Lattner, C. and Adve, V., 2003. A compilation framework for lifelong program analysis and transformation. In CGO (Vol. 4, p. 75).

Author

Yousof Mardoukhi (Qruise GmbH)

Presentation materials