<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>OviskoutaR</author_name>
  <author_url>https://blog.hatena.ne.jp/OviskoutaR/</author_url>
  <blog_title>三浦ノート</blog_title>
  <blog_url>https://www.k-pmpstudy.com/</blog_url>
  <categories>
    <anon>量子コンピュータ</anon>
  </categories>
  <description>単一量子ビットゲート の練習問題３の回答です。 問題文 Y基底で測定する関数を作成してみてください。 直観的回答 QiskitのQuantumCircuit.measure はZ基底による測定をしますので、Y基底によって測定したような結果を得るためには QuantumCircuit.measure による測定前にY基底をZ基底に変換する必要があります。 ブロッホ球で考えてみます。$ |\circlearrowleft\rangle$ を $ |0\rangle$ に変換するゲートを探します。 それを実現するゲートの１つとしては$ HP(-\pi/2) $ があると思います。$P(\phi)$は…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.k-pmpstudy.com%2Fentry%2F2022%2F11%2F24%2FqiskitYZtrans&quot; title=&quot;QiskitでY基底で測定する方法 - 三浦ノート&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/O/OviskoutaR/20221124/20221124024827.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-11-24 03:04:56</published>
  <title>QiskitでY基底で測定する方法</title>
  <type>rich</type>
  <url>https://www.k-pmpstudy.com/entry/2022/11/24/qiskitYZtrans</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
