How can I draw an animation of state evolution?

like the animations here:
https://strawberryfields.ai/photonics/demos/run_gate_visualization.html

Hi @Shertin!

I’m not sure how those were produced exactly, but it’s usually a loop producing frames which is then made into a gif. The matplotlib.animation doc and this tutorial should be helpful.

Let me know if this helps!

Hi @CatalinaAlbornoz, thanks for you reply! It really helps!

I’m glad it helped @Shertin!