stochastic wave-function evolution of the quantum Langevin equation

15 views
Skip to first unread message

hamids...@gmail.com

unread,
Oct 3, 2025, 11:12:50 AM (6 days ago) Oct 3
to QuTiP: Quantum Toolbox in Python
Hii all,

I need to simulate Eq.  4 in the picture below, and i  don't know which functions (mesolve, mcsolve, smesolve, ssesolve) i  have to use for my simulation. Please, I need someone to help me. 

Thank  you  
Capture11.PNG

ANIRUDDHA CHAKRABORTY

unread,
Oct 3, 2025, 1:57:09 PM (6 days ago) Oct 3
to qu...@googlegroups.com
I guess it should be mesolve for solving Lindblad equation but Linblad is Markovian (i.e time correlation is much smaller than system evolution time) 

Aniruddha

--
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 visit https://groups.google.com/d/msgid/qutip/39431f79-c9b6-4346-9452-3befaac563ddn%40googlegroups.com.

Hamid Sakhouf

unread,
Oct 3, 2025, 8:53:05 PM (5 days ago) Oct 3
to qu...@googlegroups.com
First of all, I would like to thank you for your  reply.   But how  can I implement   the white noise using  mesolve 

Éric Giguère

unread,
Oct 5, 2025, 4:24:17 PM (3 days ago) Oct 5
to QuTiP: Quantum Toolbox in Python
There is no solver for that exact equation, you will need to force it...

sesolve could be used with:

noise_array =  np.random.randn(N_dts) # **0.5?
H = H0 - 0.5j * L.dag() @ L +1j * L * Coefficient(lambda t, noise: noise, args={"noise": noise_array[0])

solver = SESolver(H, options={ "method": "vern7", "interpolate": False}) # Default "adams" method remember data between steps.
solver.start(psi_0, t_0)
for i, t in enumerate(np.linspace(t_0, t_final, dt)):
    state = solver.step(t + dt, args={"noise": noise_array[i]}) # evolve from t to t+dt and return the state at t+dt.

This will do the evolution with in chunks of `dt` with a different noise value for each steps.
`"interpolate": False` with verner method ensure each steps start from a clean state with the new noise value.

With just the limited info you shared, this seems a somewhat easy and promising method.



Hamid Sakhouf

unread,
Oct 6, 2025, 2:43:35 AM (3 days ago) Oct 6
to qu...@googlegroups.com
Thank you so much. This equation form this paper: https://arxiv.org/abs/2501.10349v1

Hamid Sakhouf

unread,
Oct 7, 2025, 10:01:49 AM (2 days ago) Oct 7
to qu...@googlegroups.com
Hi there,
I've been using the ssesolve function (qt.ssesolve(
                H,
                psi0,              
                t_list,
                sc_ops=[L_stochastic],  # Single collapse operator
                e_ops=e_ops,
                heterodyne=True,
                ntraj=500,  # Increased for better statistics
                options={
                    "dt": 0.0125,  # Larger time step for stability
                    "store_measurement": True,
                   
                   "store_states": False,

                    "map": "serial",  # Use serial for stability
                    "normalize_output": True,
                    "method": "platen"  # Explicit method specification
                }
            ))  for my quantum simulation work, and I've obtained results that are generally in line with what I need. However, I've encountered an unexpected behavior: when comparing results for γ=0 (no dissipation) versus γ≠0 (with dissipation), the SRE (Symmetric Relative Entropy) values for γ=0 are lower than those with γ≠0.
Based on my understanding, I would expect the opposite trend. Please help me understand why this might be happening or suggest ways to investigate this further.
Thank you for your assistance

Éric Giguère

unread,
Oct 7, 2025, 1:20:19 PM (2 days ago) Oct 7
to QuTiP: Quantum Toolbox in Python
It's close to yours, but there are extra terms. It would be the same if the `e_n` were zeros.
(dW is the white noise).

You should check that the right physic is simulated for your problem. 

Hamid Sakhouf

unread,
1:25 AM (3 hours ago) 1:25 AM
to qu...@googlegroups.com
Thank you so much, Eric, for this clarification. 


Reply all
Reply to author
Forward
0 new messages