Skip to content
This repository has been archived by the owner before Nov 9, 2022. It is now read-only.


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


Source code on Github PyPI Documentation Docs Tests Coverage BSD License

Python package for interacting with the Fortran QDYN library and tools. Its purpose is to:

  • generate config files and input data for QDYN
  • read data generated by QDYN routines
  • provide tools for debugging, testing, and documenting QDYN
  • wrap QDYN's "utility" programs like qdyn_prop_traj and qdyn_optimize
  • provide interoperability of QDYN with other optimal control and quantum packages like scipy.optimize, qutip and krotov.

The package is not a direct wrapper around QDYN that would allow to call QDYN Fortran routines from Python.

Development of QDYN-pylib happens on Github.

You can read the full documentation online.


To install the latest released version of QDYN-pylib, run this command in your terminal:

pip install qdyn

This is the preferred method to install QDYN-pylib, as it will always install the most recent stable release.

If you don't have pip installed, the Python installation guide, respectively the Python Packaging User Guide can guide you through the process.

To install the latest development version of QDYN-pylib from Github.

pip install git+


To use QDYN-pylib in a Python project:

import qdyn