Skip to content

stephanlphilips/DM_solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DM Solver

Welcome to the github 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++. Not to worry though! The code just needs to be compiled and can be fully accessed from the python API.

Requirements

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

Installation

Compile and install all the c++ libraries as given in the requirements. In Linux/OS X (use brew) you can install them using your package manager. On Windows the installation will be mode cumbersome.

The libraries can be compiled using the makefile by running the following command in the DM_solver/lib/makefile folder:

make

If using brew in OS X, it is likely that clang will will be selected as your default compiler, this can resolved by adjusting the CC and CCX variables in the makefile, e.g. when gcc-12 is installed:

CC  = gcc-12
CXX = g++-12

It might by that you need to manually include the armadillo library (e.g. an error on #include <armadillo>), this can by done by adjusting the ARMA_lib variable in the makefile to the location where the library is located.

Documentation

The examples in the example folder should be self explanatory.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published