<?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>Bernstein-Vazirani アルゴリズムに突入。ベルンシュタイン・ヴァジラニ アルゴリズム も参考にしたい。ここでも $a \cdot x$ はそれぞれの 2 進表現 $\{a_i\}$, $\{x_i\}$ に関する 2 を法とする内積 $\sum_i a_i x_i \mod 2$ として考える。数式類は Deutsch-Jozsa アルゴリズムで出てきたものを再利用できるので、ほとんどそのまま読める。新しい式は以下だろう:\begin{align*} \frac{1}{2^n} \sum_{x=0}^{2^n-1} (-1)^{a\cdot x + x \cdot y} = \…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frandommemory.hatenablog.com%2Fentry%2F2022%2F01%2F23%2F222928&quot; title=&quot;Qiskit (22) ― Bernstein-Vazirani アルゴリズム - らんだむな記憶&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-23 22:29:28</published>
  <title>Qiskit (22) ― Bernstein-Vazirani アルゴリズム</title>
  <type>rich</type>
  <url>https://randommemory.hatenablog.com/entry/2022/01/23/222928</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
