English

Solve the Master Equation by Python-An Introduction to the Python Computing Environment

Computational Physics 2011-05-11 v4 Quantum Physics

Abstract

A brief introduction to the Python computing environment is given. By solving the master equation encountered in quantum transport, we give an example of how to solve the ODE problems in Python. The ODE solvers used are the ZVODE routine in Scipy and the bsimp solver in GSL. For the former, the equation can be in its complex-valued form, while for the latter, it has to be rewritten to a real-valued form. The focus is on the detailed workflow of the implementation process, rather than on the syntax of the python language, with the hope to help readers simulate their own models in Python.

Cite

@article{arxiv.1103.0325,
  title  = {Solve the Master Equation by Python-An Introduction to the Python Computing Environment},
  author = {Wei Fan and Yan Xu and Bing Chen and Qianqian Ye},
  journal= {arXiv preprint arXiv:1103.0325},
  year   = {2011}
}

Comments

26 pages, 5 figures

R2 v1 2026-06-21T17:33:57.529Z