3
$\begingroup$

Is there anyone who reproduced the Bloch sphere given in the paper QuTiP: An open-source Python framework for the dynamics of open quantum systems by J. R. Johansson, P. D. Nation, Franco Nori? I am trying to reproduce the Figure 10: Bloch sphere representation of the Landau-Zener transition. The code they used is given in the appendix of the paper.

But when I am trying to plot this, I am getting an error:

AttributeError: 'numpy.ndarray' object has no attribute 'indices'

Can anyone please help me to correct this one to get the exact Bloch sphere plot?

$\endgroup$
0
$\begingroup$

That is a very old paper, corresponding to version one of the software. It is now on version 4.x. It is best to see the current documentation for how to use the Bloch sphere: http://qutip.org/docs/latest/guide/guide-bloch.html

$\endgroup$
  • $\begingroup$ Thank you so much $\endgroup$ – Jack Jun 13 at 11:13
  • $\begingroup$ Can you please help me to find an answer to this question: $\endgroup$ – Jack Jun 19 at 6:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.