4

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?

Sanchayan Dutta
  • 18,015
  • 8
  • 50
  • 112
Jack
  • 71
  • 3

1 Answers1

1

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

Paul Nation
  • 2,299
  • 9
  • 8