我最近开始使用Python的QuTip。我想用qutip.Bloch()绘制布洛赫球体中两级系统的演化图,但我不知道如何绘制这样的图作为一条连续线。
这是我目前使用的代码:
bola = Bloch()
bola.add_points(pnts)
bola.point_marker = ['o']
bola.point_size=[8]
bola.show()当然,我得到了一个标准的布洛赫球面,有很多离散点。有没有办法用一条直线把这些点连接起来?
发布于 2015-01-29 23:46:52
将方法更改为lines:
bola.add_points(pnts,meth='l')
https://stackoverflow.com/questions/25898403
复制相似问题