本日は大晦日です。今年最後の記事は、前回のこちらの記事の縮小バージョンとしました。
ある説によれば(科学的に十分な解明はなされていないが)、「こまどり」は、ある条件下で、「量子もつれ」という状態の量子(ここでは電子)のペアをたくさん作ります。2種類あります。一つは[1]singletと呼ばれる、スピンの向きが逆のペアであり、もう一つはスピンの向きが揃った状態の[2]tripletです。この2種の状態は、相互に行ったり来たり遷移します。
I am a professor emeritus of CS at Kanagawa Institute of Technology, Japan. Originally my specialty was parallel and distributed systems. My current interests include machine learning, natural language processing, creating mobile apps with MIT App Inventor, and quantum computing. In the web version of this blog, clicking the icon on the right (a plastic sphere) will take you to the "List of Quantum Computing Articles". - Fujio Yamamoto (for e-mail, add "@ieee.org" after "yamamotof")
本日は大晦日です。今年最後の記事は、前回のこちらの記事の縮小バージョンとしました。
ある説によれば(科学的に十分な解明はなされていないが)、「こまどり」は、ある条件下で、「量子もつれ」という状態の量子(ここでは電子)のペアをたくさん作ります。2種類あります。一つは[1]singletと呼ばれる、スピンの向きが逆のペアであり、もう一つはスピンの向きが揃った状態の[2]tripletです。この2種の状態は、相互に行ったり来たり遷移します。
Summary:
The European robin, a migratory bird, is said to sense the direction of Earth’s magnetic field by using quantum entanglement, helping it navigate toward its destination. Although the mechanism has not yet been fully explained scientifically, I used this idea as a simple example for quantum computing and explored the question, “Why is quantum entanglement necessary?”
🟢Robins may sense Earth’s magnetism using quantum entanglement
A short article in the Japanese science magazine Newton (May 2022) suggested that migratory birds might make use of quantum effects. According to the article, when a robin’s eye receives blue light, a protein in the retina called cryptochrome produces many pairs of electrons in a quantum-entangled state. These pairs come in two types:
[1] singlet, where the spins point in opposite directions, and
[2] triplet, where the spins are aligned.
It is said that by comparing the proportions of these two states, the bird can sense the angle of Earth’s magnetic field.
Here, we assume that the bird is trying to fly roughly in the direction of the Earth's magnetic field. As illustrated below, if all pairs are in the singlet state, the bird perceives itself as facing parallel to the magnetic field and flies in that direction. If singlet and triplet appear in equal amounts, it perceives itself as perpendicular to the field and will look for another direction.
🟢Checking the idea with my own quantum-circuit simulator
The article itself was only a brief overview. Rather than stopping there, I decided to reproduce the situation using my own quantum-circuit simulator. Since the robin is thought to judge direction from the proportion of singlet states, I modeled this behavior for quantum computing and ran simulations.
To summarize the results: when the singlet proportion was 0.5, the corresponding angle was 90°, so the bird could not proceed. After “trying again,” the bird found a case where the singlet proportion became 0.93. The corresponding angle was 30°, which seems suitable for flight — so the bird could continue in that direction.
This is exactly a practical use of quantum computing. As an exercise for beginners, it is a very good learning problem.
In the circuit I created, two qubits are first flipped with X gates, then passed through a Bell circuit to generate a singlet. After that, I simply apply a rotation gate RY(θ) to the first qubit. By changing θ, the proportion of singlet states increases or decreases, representing different angles between the bird and Earth’s magnetic field.
🟢Testing on IBM’s real quantum computer
Up to this point, everything was done in my simulator. However, when I ran the same circuit on IBM’s real quantum hardware, I obtained nearly the same results, as shown below.
🟢Why is quantum entanglement necessary?
The discussion so far is already complete in one sense — but why do we need quantum entanglement at all? In fact, if we remove the Bell circuit from the circuit above, it still seems possible to change the proportion of singlet and triplet states. That is a very good question, and my answer is as follows.
However, because entangled states are more fragile than tensor-product (separable) states, it may not necessarily turn out exactly as described below.
In short, I believe entanglement is required in order to follow “the rules of the quantum world.” Although I did not explain it earlier, in the first diagram I wrote the words “cancellation” near the singlet and “amplification” near the triplet. These words actually matter.
First, it would be extremely difficult, considering environmental disturbances, to prepare many pairs of electrons whose spins are perfectly anti-aligned from the beginning. On the other hand, if the electron pairs are entangled, it becomes possible to maintain a stable situation in which “the total spin is zero.” This is what I meant by “cancellation.”
Next, Earth’s magnetic field is very weak. When electron pairs are in an entangled state, it becomes easier for them to transition between singlet and triplet with only a very small amount of energy. For example, when moving to the triplet state, the electrons do not respond to the magnetic field one by one. Instead, they respond as an entangled pair, so their sensitivity can be amplified. That is the meaning of the term “amplification” in the triplet diagram.
In summary, if we were only changing the proportions of singlet and triplet states in a purely logical or statistical sense, quantum entanglement would not seem necessary. However, when we take into account the actual “behavior of quantum systems inside living organisms,” the story changes. What happens inside the eye of the European robin is not just a simple chemical reaction, but rather a highly refined form of “quantum computing” shaped by nature over tens of millions of years.
【要旨】渡り鳥の一種、ヨーロッパコマドリは、量子もつれを利用して地磁気の向きを感知し、目的地を目指すと言われる。まだ、科学的に解明はされていないようだが、これを簡単な量子コンピューティングの例題とした。また、"なぜ量子もつれが必要なのか?"も考察した。
→簡略バージョンはこちら
→English version is here
→Linkedinにも投稿しました。(いくつかのQ&Aを含む)
🟢コマドリは「量子もつれ」を使って地磁気を感知する
日本の科学雑誌Newton(2022-05)に、渡り鳥は量子を利用している可能性があるとの短い記事(実質1ページのみ)がありました。それによれば、「こまどり」は、青い光を受けると、網膜のタンパク質(クリプトクロム)に、「量子もつれ」状態の多数の電子のペアを作ります。そのペアには、スピンの向きが逆向きの[1]シングレットと、スピンの向きが揃っている[2]トリプレットの2種類があります。これら2つの存在割合から、地磁気に対する角度を感知できるとのことです。
ここでは、この鳥は、ほぼ地磁気の向きに飛ぼうとしていると仮定します。下図の通り、もしも、全てが[1]シングレットであるならば、自分の向きと地磁気の向きが並行と感知するので、その方向へ飛ぶことになるでしょう。また、[1]シングレットと[2]トリプレットが同数ならば、地磁気に対して垂直だと感知するので、頭を振って別の方向を探すでしょう。
🟢自作の量子回路シミュレータで確認する
上記の記事は短い概説でした。でも、ここでお話しだけに終わらせずに、自作の量子回路シミュレータを使って、この状況を再現することにしました。つまり、コマドリは、[1]シングレットが占める割合で地磁気の方向を判断するのですから、これを量子コンピューティング向けにモデル化し、シュミレーションを行いました。
詳細は略しますが、下図の通り、例えば、[1]シングレットの割合が0.5となる場合は、角度90°ですから、これでは進めません。気を取り直して、首を振っていると、[1]シングレットの割合が0.93となる場合がありました。その時の角度は30°ですから、これならいいいだろう。そのまま、その方向へ飛んで行ける。
これはまさに、量子コンピューティングの利用です!学び始めた人向けの練習問題として、とても良いのではないでしょうか!
作成した量子回路では、2つの量子ビットをXゲートで反転させた後、Bell回路を通します。これで、シングレットを生成できます。引き続き、1番目の量子ビットに回転ゲートRY(θ)を与えるだけです。これによって、自分と地磁気との角度θに応じて、シングレットの割合を増減させることができます。
🟢IBMの量子コンピュータ実機でも確認
ここまでは、自作シミュレータでやりましたが、IBMの量子コンピュータ実機でも、下図の通り、ほぼ同様の結果となることが確認できました。
量子コンピューティングに関する入門書はかなり多くなってきた。日本語の本は少ないが、洋書はそうなっている。最近、下図の書籍を購入した。K-12(高校生)向けとされているが、大学生にも十分読み応えがあり、しっかりと基礎を築ける書籍である。もちろん、情報系などの大学教員にも間違いなく有用と感じたので、簡単に紹介したい。(他にも良書はあるので、これが最適というつもりはないが、稀有の書であろう。)
C. Hughes, J. Isaacson, A. Perry, R.F. Sun, J. Turner,
Quantum Computing for the Quantum Curious, Springer, 2021.
🟢ハードカバーのカラー版はAdmazonなどで購入できる。(¥7,300)
🟢無料の完全なpdf版も提供されている。上図左下隅の「Open Access」との表示がそれを意味している!ここからダウンロードできるが、AmazonからKindle版も無償で入手できる。
いくつか特徴を挙げる。
(1)量子力学の観点を重視
著者は、Fermi National Accelerator Laboratory(米国フェルミ国立加速器研究所)の物理学者たちである。それだけに、量子コンピューティングを単なる情報科学の世界とせず、量子力学の観点を丁寧に説いている。しかも、それを高校数学を習得していれば分かる程度の数式で説明している。
(2)量子物理実験をシミュレーションで
例えば、最も基本的な事項であるSuperposition(量子状態重ね合わせ)は、物理的にはどのように作られるのか。それを、Beam Splitterや、有名なStern-Gerlachの実験で見せている。それらの多くは、英国のSt. Andrews大学が提供している量子力学シュミレーションツールで確認できるようにしている。Entanglement(量子もつれ)等についても同様である。
また、深い内容だが楽しく学べそうな、FermilabによるK12向けチュートリアルにも言及している。