Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我最近开始使用 QuTip for Python。我想使用 绘制 Bloch 球体中两级系统的演变qutip.Bloch(),但我不知道如何将这样的图绘制为连续线。
qutip.Bloch()
这是我目前使用的代码:
bola = Bloch() bola.add_points(pnts) bola.point_marker = ['o'] bola.point_size=[8] bola.show()
当然,我得到一个带有很多离散点的标准布洛赫球体。有没有办法用直线连接点?
将方法更改为行:
bola.add_points(pnts,meth='l')