<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>derwind</author_name>
  <author_url>https://blog.hatena.ne.jp/derwind/</author_url>
  <blog_title>らんだむな記憶</blog_title>
  <blog_url>https://randommemory.hatenablog.com/</blog_url>
  <categories>
    <anon>quantum_computing</anon>
  </categories>
  <description>書籍のコードと同様に textbook のコードでも $U_f: \ket{x}\ket{0} \to \ket{x} \ket{f_s(x)}$ と 2-to-1 の時に $f_s(s^*) = f_s(0)$ であることを確認する。オラクルの問い合わせ関数だけの回路を通すと 2 つ目のレジスタから $\ket{f_s(x)}$ が観測されるので、$x = 0$ を代入した場合と、$x = s$ を代入した場合で $\ket{f_s(0)} = \ket{f_s(s)}$ として同じものが観測されるはず、ということである。 b = '11' def simon_oracle_with_mea…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frandommemory.hatenablog.com%2Fentry%2F2022%2F01%2F29%2F000602&quot; title=&quot;Qiskit (27) ― Simon のアルゴリズム - らんだむな記憶&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-01-29 00:06:02</published>
  <title>Qiskit (27) ― Simon のアルゴリズム</title>
  <type>rich</type>
  <url>https://randommemory.hatenablog.com/entry/2022/01/29/000602</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
