This is simplied version for profiling the redfield sovler.

In order to run this example properly, python3.5, numpy and line_profiler are needed. Then you can run the example as:

python setup.py build_ext --inplace

python test.py