How to compute normalized second order correlation function

382 views
Skip to first unread message

Parvendra Kumar

unread,
Jul 3, 2021, 1:39:18 PM7/3/21
to QuTiP: Quantum Toolbox in Python
Dear Group Members,

I hope you are doing well. 

I am quite new to qutip, trying to learn and apply various functions of qutip for a two-level atom coupled to cavity. I would like to calculate the normalized second order correlation function of cavity field, which is given as:
g2(t, tau)=<adagger(t)adagger(t+tau)a(t+tau)a(t)>/(<adagger(t)a(t)>  <adagger(t+tau)a(t+tau)>)

The numerator part of g2 can be easily computed using "correlation_3op_2t" function of qutip. 
However, I am struggling to compute one of the denominator part of g2  " <adagger(t+tau)a(t+tau)>)" , the other one can be computed using me solver of qutip.

Please see if some one can spare his/her precious time to help me out.  

Thanks and Regards,
Parvendra Kumar
DU, India
  

Dmbhm Esyan

unread,
Jul 3, 2021, 8:44:33 PM7/3/21
to qu...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "QuTiP: Quantum Toolbox in Python" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qutip+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qutip/b92ea645-f9f0-4b02-a1ac-9d5c23984eeen%40googlegroups.com.

Joaquin Guimbaogaspar

unread,
Jul 4, 2021, 6:48:01 AM7/4/21
to qu...@googlegroups.com
Dear Parvendra,

The term <adagger(t)a(t)> is equal to the cavity population term of the density matrix rho(cav) (i.e. The diagonal term corresponding the evoultion of number of photons). This means that for computing:

 <adagger(t)a(t)> <adagger(t+tau)a(t+tau)>

Yo can substitute by:

rho(cav)(t)*rho(cav)(t+tau)

You can extract the temporal array rho(cav)(t) from the solution of the master equation.

Joaquin





Enviado desde mi iPhone

El 4 jul 2021, a las 2:44, Dmbhm Esyan <haim...@gmail.com> escribió:



Parvendra Kumar

unread,
Jul 4, 2021, 9:12:54 AM7/4/21
to qu...@googlegroups.com
Dear Joaquin Guimbaogaspar,

Thanks for your inputs. Based on your suggestions, I tried the following
rho=mesolve(H, psi0, tlist, c_ops, [])  # computation of rho(t)
rho1=mesolve(H, rho.states[0], taulist, c_ops, [a.dag()*a]).expect[0]  #computation of <adagger(t1+tau)a(t1+tau)>=Tr(adagger(t1+tau)a(t1+tau)rho(t1+tau))

But I have to do it manually for all the  t's in the tlist. But I'm not sure whether there is a way of computing rho(t+tau) using a for loop function or any other way.

Your further inputs are appreciated in this regard.

Regards,
Parvendra

Parvendra Kumar

unread,
Jul 4, 2021, 9:13:31 AM7/4/21
to qu...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages