I accidentally noticed this work and the graphs that dynamically show the optimization process are very attractive. I would like to ask if it would be convenient to publish the code. This is very important for research.
Hey @R-X, thanks for your question!
This Bloch sphere animation was created using QuTip, and you can find a simple example for how to create one yourself here: Plotting on the Bloch Sphere — QuTiP 4.7 Documentation
So long as you have the data in form of
(x,y,z), you can obtain a set of images on the time axis and then animate them.
I hope this helps!