Calculating atomic absorption spectra using steadystate

113 views
Skip to first unread message

Gal Winer

unread,
Jun 5, 2019, 4:18:52 AM6/5/19
to QuTiP: Quantum Toolbox in Python
Hi! 

I'm trying to use the steadystate function to obtain the imaginary part of the steady state density matrix for a range of parameters. 

My approach is as follows: 

1. A function, makeH(OmegaP,delta), returns the Hamiltonian for the range of parameters (e.g laser power and detuning) 
2. A function make calcAbsorption(H,Cops)  calls the steadystate function on passed H and collapse operator list, extracts the correct element from the density matrix and performs some algebraic operations on it. 
3. call these function for a grid of parameters. and use the output. 

I'm trying to speed this calculation up as much as possible as I will have to run it on large parameter grids. 

Is my approach reasonable? Do qutip object support symbolic expressions via Sympy? Any tricks I can use to speed things up? 

thanks for the help, 

Gal 






Eric

unread,
Jun 12, 2019, 5:35:58 PM6/12/19
to QuTiP: Quantum Toolbox in Python
Hi

qutip does not support symbolic expression.

The best help I can give would be to test different methods.
Iterative method can take a "preconditioner". Maybe your Hamiltonian are sufficiently similar that you can reuse the preconditioner matrix.

Eric
Reply all
Reply to author
Forward
0 new messages