When I plot the block vector in qiskit plot_bloch_vector([0,1,0], title=""New Bloch Sphere"")
, I keep getting
AttributeError: 'Arrow3D' object has no attribute '_path2d'
in my jupyter notebook. Any idea how to fix it?
When I plot the block vector in qiskit plot_bloch_vector([0,1,0], title=""New Bloch Sphere"")
, I keep getting
AttributeError: 'Arrow3D' object has no attribute '_path2d'
in my jupyter notebook. Any idea how to fix it?
Most likely because you are using an old version matplotlib. You can upgrade it in your coding environment by
pip install --upgrade matplotlib
BTW, regarding to how to create an environment for Qiskit in Jupyter notebook, here is a detailed instruction:
entangledquery.com/t/how-to-use-qiskit-in-jupyter-notebook/5/#post-11