Skip to main content

Quantarhei: Open Quantum System Theory for Molecular Systems

Project description

QUANTArhei: Open Quantum System Theory for Molecular Systems

Quantarhei is a Molecular Open Quantum Systems Simulator written predominantly in Python. Its name is derived from the famous aphorism “Panta rhei” of the Greek philosopher Heraclitus of Ephesus. “Panta rhei” means “Everything flows” or “Everything is in flux” which is quite fitting when you change Panta into Quanta.

In “Quantarhei” the last four letter (“rhei”) should be written in Greek, i.e. (using LateX convention) “\rho \epsilon \iota”.

Quantarhei is in flux, but it already provides helper classes to define molecules, their aggregates and their interaction with external environment. It can calculate absorption spectra of individual molecules and their aggregates and excitation energy transfer dynamics using various types of Redfield and Foerster theories.

Quantarhei provides Python code (optimized with Numpy) for all its implemented methods and theories, and allows extensions and replacements of the reference Python code with optimised routines written in C, Fortran or other lower level languages.

In the first development stage, we concentrate on bringing to you tools to quickly build essential components of a quantum mechanical simulation, such as Hamiltonian, relaxation tensors, various initial conditions for density matrix etc.

Quantarhei is at its experimental stage. Current version is 0.0.33

Quantarhei is available in source form on GitHub and from PyPI for installation with the pip command.


The work on Quantarhei is supported by

Neuron Fund for Support of Science

through the Impuls grant in physics 2014 (2015-2017)


Czech Science Foundation (GACR)

through grants: 14-25752S (2014-2016) and 17-22160S (2017- )

New in 0.0.33

For users:

  • Evolution superoperators for relaxation tensors with constant coefficients (EvolutionSuperOperator class)
  • Liouville pathway analysis including relaxation pathways (in Aggregate class)
  • Small improvements and bug fixes

For developers:

  • Aggregate class is broken into smaller pieces which snowball the functionality. Basic class is AggregateBase; new functions of this powerful class are defined in separate child classes. Aggregate class inherits from the whole chain of classes
  • quantarhei.REAL and quantarhei.COMPLEX types should be now used for numpy arrays throughout the package. These types can be controlled and with it the used numerical precision and memory needs

New in 0.0.32

For users:

  • Electronic Lindblad form for vibronic Frenkel exciton model
  • Propagation with relaxation tensor (in particular Redfield and Time-dependent Redfield) in operator representation (where applicable it is much faster than with the tensorial representation)
  • Redfield tensor and Time-dependent Redfield tensor can be calculated for a model with arbitrary number of vibrational states
  • Aggregate can vibrationally trace arbitrary operator defined on its Hilbert space
  • Small improvements and bug fixes

New in version 0.0.31

For users:

  • Arbitrary time independent Lindblad form
  • quantarhei.wizard module which contains IPython magic commands and some helpful Python console commands
  • Simulation templates which can be fetched into IPython notebooks or console by %template magic command (IPython) or fetch_template (console and IPython)
  • Part of the test suit available for installed Quantarhei package
  • Some small improvements and bug fixes

For developers:

  • Makefile is back in the package root directory
  • examples directory depleted in favor of quantarhei/wizard/examples directory
  • New tests under quantarhei/tests directory (mostly unit tests which contain plots)
  • pytest required to run newtests with matplotlib plots

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for quantarhei, version 0.0.34
Filename, size File type Python version Upload date Hashes
Filename, size quantarhei-0.0.34.tar.gz (203.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page