LoginSignup
1

More than 5 years have passed since last update.

量子コンピュータ IBM Q のシュミレーションと実行の確率分布

Posted at

量子コンピューターでは、x,yに加え、
zとして位相が追加されます。

シュミレーションの結果では、
q(0) が Hであるため、一番下の桁の0 1 が両立し、
P(00111)=0.550 
P(00110)=0.450
の確率で出力となりました。

q00.png

これを実際に実行すると、
以下のように確率分布が大きく変わり、出力となりました。
P(00000)>0、P(11111)>0、で出現していることから多くの状態をとり得ることが分かります。

q022.png

5個の量子ビットの計算状態は以下となります。

q03.png

q04.png

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1