Usage

Most useful documentation in Jupyter notebooks included in the ‘examples’ folder.

But the basic gist is as follows.

import spylind
# Define some Hamiltonians
# solve
# Plot

For the slightly lower level:

Main functions needed:

spylind.spylind.makeMESymb(H_L, c_opL=[], e_opL=[], rhoS=None, bReturnMatrixEquation=False)[source]

Take the Hamiltonia,coeficients and return density matrix evolution expressions Format for H: [H0, [coeff_sym1, H1], [coeff_sym2, H2] …]

spylind.spylind.seperate_DM_equation(eq)[source]
spylind.spyIVP.ODESolver(dy_dtD, dims={}, tSym=t, driving_syms=[], state_dep_syms=[], bDecompose_to_re_im=False, backend='numpy', default_dtype=<class 'numpy.complex128'>)[source]