pythonqutip:在Bloch sph中绘制完整的行

2024-05-29 06:01:05 发布

您现在位置:Python中文网/ 问答频道 /正文

我最近开始使用qtip for Python。我想用qutip.Bloch()来描绘一个二能级系统在Bloch球体中的演化过程,但我不知道如何绘制出一条连续的线。在

这是我当前使用的代码:

bola = Bloch()
bola.add_points(pnts)
bola.point_marker = ['o']
bola.point_size=[8]
bola.show()

当然,我得到了一个标准的Bloch球,有很多离散点。有没有办法用直线把这些点连接起来?在


Tags: 代码addfor系统绘制pointspointbloch

热门问题