Kernel Dead

5 views
Skip to first unread message

KINGSHUK ADHIKARY

unread,
Apr 25, 2024, 5:17:22 AMApr 25
to QuTiP: Quantum Toolbox in Python
Hello,

I'd like to draw attention to a common issue in Jupyter notebooks, such as "The kernel appears to have died. It will restart automatically". I believe most Qutip users have faced this issue. Is there any possible solution to avoid this error? Even I don't know what the reasons are behind it.

Thanks in advance.



Regards,
Kingshuk Adhikary

Éric Giguère

unread,
Apr 25, 2024, 11:20:37 AMApr 25
to QuTiP: Quantum Toolbox in Python
Hi Kingshuk Adhikary,

This is usually errors in compiled code, mostly segfault.

There are know cases of segfault using eigen solvers. These are tricky as they depend on the OS, lapack version etc.
Sometime installing numpy and scipy with conda instead of pip or vise versa can solve the issue.

If the error is in qutip code but not related to the eigen solver, you can open an issue with Qutip (https://github.com/qutip/qutip/issues).

Regards,
Reply all
Reply to author
Forward
0 new messages