A Magnus Expansion Package

Renan Cabrera L. and Herschel Rabitz

Princeton University

Abstract

We present, a package for the symbolic calculation of the Magnus expansion through multiple independent methods. One example is given for the calculation of the quantum time-evolution operator under the action of a dipolar interaction. In addition to computing symbolic expressions, the package also offers a C++ code generator for better performance.