Skip to content

ディープテック経済

市場が追いついたら、もう遅い。

Menu
Menu

布罗奇球在cirq

Posted on 2023年1月23日2023年1月23日 by DeepRecommend
https://youtu.be/A25ntzRO7fY
!pip install cirq
!pip install cirq-web
import cirq
from cirq_web import BlochSphere

zero_state = [1+0j, 0+0j]
state_vector = cirq.to_valid_state_vector(zero_state)

sphere = BlochSphere(state_vector=state_vector)
display(sphere)

发表回复 取消回复

您的邮箱地址不会被公开。 必填项已用 * 标注

分类

  • アーカイブ (22)

归档

  • 2023 年 4 月 (7)
  • 2023 年 3 月 (5)
  • 2023 年 2 月 (9)
  • 2023 年 1 月 (57)
  • 2022 年 12 月 (8)
  • 2022 年 11 月 (1)
© 2025 ディープテック経済 | Powered by Minimalist Blog WordPress Theme