Skip to content

ilkerpolat6/DM_solver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DM Solver

Welcome to the gihub page of the DM (Density Matrix) solver. This is a simple program that solves the time evolution of a density matrix, given a time dependent Hamiltonian. Most of the commonly used pulseshapes in experiments are supported. Also functionality to simulate pink/white noise is included. To speed up the execution of the code, it it written in c++ (as it has decent multi-threading and typed variables). Not to worry though! The code is cythonized, which means that you can fully access the library from python.

Requirements

Before you can compile the library, you will need to install the following dependencies:

  • Armadillo
  • Openblas (Note that you can also use INTEL MKL if you like)
  • Open MP
  • GOMP
  • DSP lib (Already included, no need to install seperately)
  • cython (install with pip)
  • matplotlib (install with pip)

Installation

Compile and install all the c++ libraries as given in the requirements. In Linux you can install most of them probably with your package manager. On Windows I can imagine that the installation might be mode cumbersome.

Once you installed the dependencies, you can compile the program by typing the following in a command line:

python setup.py install

You can than import the module by typing the following in your python script:

import  c_solver.DM_solver as DM

Note for os X: make sure to use the gcc compiler when compiling, if you have problems, you can try running in the command line:

export CC=gcc-8
export CXX=g++-8

Documentation

Documentation for the library can be found at:

https://DM_solver.readthedocs.io

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 68.2%
  • Jupyter Notebook 18.9%
  • C++ 6.2%
  • Cython 4.7%
  • TeX 1.7%
  • C 0.3%