量子機械学習の概念
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Google の古典的コンピュータを超える量子の実証実験では、ノイズの多い 53 量子ビットを使用して、既存のアルゴリズムを使用する最大の古典的なコンピュータでは 10,000 年かかる計算を量子コンピュータで 200 秒で実行できることを実証しました。これは、NISQ(ノイズあり中規模量子)コンピューティング時代の始まりを示しています。今後数年間で、数十から数百のノイズの多い量子ビットを備えた量子デバイスが実現することが予想されています。
量子コンピューティング
量子コンピューティングは量子力学の特性に依存し、古典的なコンピュータでは不可能な問題を計算します。量子コンピュータは量子ビットを使用します。量子ビットはコンピュータの通常のビットに似ていますが、重ね合わせを使って、量子絡み合い(エンタングルメント)を相互に共有する機能が追加されています。
古典的なコンピュータは、決定論的な古典的な演算を実行するか、サンプリング方法を使用して確率的なプロセスをエミュレートします。重ね合わせとエンタングルメントを利用することにより、量子コンピュータは、古典的なコンピュータでは大規模にエミュレートすることが難しい量子演算を実行できます。NISQ 量子コンピューティングは、最適化、量子シミュレーション、暗号化、機械学習などで活用できます。
量子機械学習
量子機械学習(QML)は、量子データとハイブリッド量子古典モデルの 2 つの概念に基づいて構築されています。
量子データ
量子データは、自然または人工の量子システムで発生する任意のデータソースです。Google が量子超越性を実証するために Sycamore プロセッサから収集したサンプルのように、量子コンピュータによって生成されたデータも量子データの例です。量子データは重ね合わせと絡み合いを示し、同時確率分布を導出します。古典的コンピュータではこのような表現や保存には指数関数的な量のリソースが必要とされます。量子超越性実証実験は 2^53 ヒルベルト空間の非常に複雑な同時確率分布からサンプリングすることが可能であることを示しました。
NISQ プロセッサによって生成された量子データはノイズが多く、通常、測定が行われる直前に絡み合っています。ヒューリスティックな機械学習手法は、ノイズの多い絡み合ったデータから有用な古典的情報を最大限に抽出するモデルを作成します。TensorFlow Quantum (TFQ) ライブラリは、量子データの相関を解き、一般化するモデルの開発のための原理を提供し、既存の量子アルゴリズムを改善したり、新しい量子アルゴリズムを発見したりする機会を開きます。
以下は、量子デバイスで生成またはシミュレーションできる量子データの例です。
- 化学シミュレーション — 化学構造とダイナミクスに関する情報を抽出します。材料科学、計算化学、計算生物学、創薬への応用の可能性を秘めています。
- 量子物質シミュレーション — 多体量子効果を示す高温超伝導またはその他のエキゾチックな物質の状態をモデル化および設計します。
- 量子制御 — ハイブリッド量子古典モデルは、最適な開ループまたは閉ループの制御、キャリブレーション、およびエラー軽減を実行するように変分的にトレーニングできます。これには、量子デバイスと量子プロセッサのエラー検出および訂正戦略が含まれます。
- 量子通信ネットワーク — 機械学習を使用して、非直交量子状態を区別します。構造化された量子リピーター、量子レシーバー、および精製ユニットの設計と構築に適用できます。
- 量子計測 —量子センシングや量子イメージングなどの量子的に強化されたされた高精度測定は、本質的に小規模な量子デバイスであるプローブで行われ、変分量子モデルによって設計または改善することができます。
量子古典ハイブリッドモデル
量子モデルは、量子力学的な起源を持つデータを表現および一般化することができます。短期的な量子プロセッサはまだ小型でノイズが多いため、量子モデルは量子プロセッサだけを使用して量子データを一般化することはできません。NISQ プロセッサは、効果を発揮するために、従来のコプロセッサと連携して動作する必要があります。TensorFlow は、CPU、GPU、TPU 全体のヘテロジニアスコンピューティングをすでにサポートしているため、ベースプラットフォームとして量子古典ハイブリッドアルゴリズムを実験するために使用できます。
量子ニューラルネットワーク(QNN)は、量子コンピュータで最適に実行されるパラメータ化された量子計算モデルを記述するために使用されます。量子ニューラルネットワークは、多くの場合、PQC(パラメータ化された量子回路)とも呼ばれています。
研究
NISQ 時代では、古典的アルゴリズムよりも高速化された既知の量子アルゴリズム (Shor の因数分解アルゴリズムや Grover の検索アルゴリズムなど) は、まだ実用的な規模では使用できません。
TensorFlow Quantum の目標は、NISQ 時代のアルゴリズムの発見を支援することであり、特に次のことに関心があります。
- 古典的な機械学習を使用して NISQ アルゴリズムを強化。古典的な機械学習の手法によって、量子コンピューティングの理解が深まることが期待されます。古典的なリカレントニューラルネットワークを介した量子ニューラルネットワークのメタ学習では、リカレントニューラルネットワーク(RNN)を使用して QAOA や VQE などのアルゴリズムの制御パラメータの最適化が、単純な既製のオプティマイザよりも効率的であることを明らかにします。また、量子制御向けの機械学習では強化学習を使用してエラーを軽減し、より高品質な量子ゲートを生成します。
- 量子回路で量子データをモデル化。古典的な量子データのモデリングはデータソースの正確な説明がある場合にのみ可能ですが、これらが提供されていない場合もあります。この問題を解決するには量子コンピュータ自体でモデリングを試して、重要な統計を測定/観測します。量子畳み込みニューラルネットワークは、物質のさまざまなトポロジカル相を検出するために、畳み込みニューラルネットワーク(CNN)に類似した構造で設計された量子回路を示します。量子コンピュータはデータとモデルを保持します。 古典的なプロセッサは、モデル出力からの測定サンプルのみを認識し、データ自体は認識しません。Robust entanglement renormalization on a noisy quantum computer(ノイズの多い量子コンピュータでのロバストなエンタングルメント再正規化)では、著者は DMERA モデルを使用して量子多体システムに関する情報を圧縮する方法を紹介します。
量子機械学習のその他の関心分野。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2022-08-09 UTC。
[null,null,["最終更新日 2022-08-09 UTC。"],[],[],null,["# Quantum machine learning concepts\n\n\u003cbr /\u003e\n\nGoogle's\n[quantum beyond-classical experiment](https://ai.googleblog.com/2019/10/quantum-supremacy-using-programmable.html)\nused 53 *noisy* qubits to demonstrate it could perform a calculation\nin 200 seconds on a quantum computer that would take 10,000 years on the largest\nclassical computer using existing algorithms. This marks the beginning of the\n[Noisy Intermediate-Scale Quantum](https://quantum-journal.org/papers/q-2018-08-06-79/) (NISQ)\ncomputing era. In the coming years, quantum devices with tens-to-hundreds of\nnoisy qubits are expected to become a reality.\n\nQuantum computing\n-----------------\n\nQuantum computing relies on properties of quantum mechanics to compute problems\nthat would be out of reach for classical computers. A quantum computer uses\n*qubits* . Qubits are like regular bits in a computer, but with the added ability\nto be put into a *superposition* and share *entanglement* with one another.\n\nClassical computers perform deterministic classical operations or can emulate\nprobabilistic processes using sampling methods. By harnessing superposition and\nentanglement, quantum computers can perform quantum operations that are\ndifficult to emulate at scale with classical computers. Ideas for leveraging\nNISQ quantum computing include optimization, quantum simulation, cryptography,\nand machine learning.\n\nQuantum machine learning\n------------------------\n\n*Quantum machine learning* (QML) is built on two concepts: *quantum data* and\n*hybrid quantum-classical models*.\n\n### Quantum data\n\n*Quantum data* is any data source that occurs in a natural or artificial quantum\nsystem. This can be data generated by a quantum computer, like the samples\ngathered from the\n[Sycamore processor](https://www.nature.com/articles/s41586-019-1666-5)\nfor Google's demonstration of quantum supremacy. Quantum data exhibits\nsuperposition and entanglement, leading to joint probability distributions that\ncould require an exponential amount of classical computational resources to\nrepresent or store. The quantum supremacy experiment showed it is possible to\nsample from an extremely complex joint probability distribution of 2\\^53 Hilbert\nspace.\n\nThe quantum data generated by NISQ processors are noisy and typically entangled\njust before the measurement occurs. Heuristic machine learning techniques can\ncreate models that maximize extraction of useful classical information from\nnoisy entangled data. The TensorFlow Quantum (TFQ) library provides primitives\nto develop models that disentangle and generalize correlations in quantum\ndata---opening up opportunities to improve existing quantum algorithms or discover\nnew quantum algorithms.\n\nThe following are examples of quantum data that can be generated or simulated on\na quantum device:\n\n- *Chemical simulation* ---Extract information about chemical structures and dynamics with potential applications to material science, computational chemistry, computational biology, and drug discovery.\n- *Quantum matter simulation* ---Model and design high temperature superconductivity or other exotic states of matter which exhibits many-body quantum effects.\n- *Quantum control* ---Hybrid quantum-classical models can be variationally trained to perform optimal open or closed-loop control, calibration, and error mitigation. This includes error detection and correction strategies for quantum devices and quantum processors.\n- *Quantum communication networks* ---Use machine learning to discriminate among non-orthogonal quantum states, with application to design and construction of structured quantum repeaters, quantum receivers, and purification units.\n- *Quantum metrology* ---Quantum-enhanced high precision measurements such as quantum sensing and quantum imaging are inherently done on probes that are small-scale quantum devices and could be designed or improved by variational quantum models.\n\n### Hybrid quantum-classical models\n\nA quantum model can represent and generalize data with a quantum mechanical\norigin. Because near-term quantum processors are still fairly small and noisy,\nquantum models cannot generalize quantum data using quantum processors alone.\nNISQ processors must work in concert with classical co-processors to become\neffective. Since TensorFlow already supports heterogeneous computing across\nCPUs, GPUs, and TPUs, it is used as the base platform to experiment with hybrid\nquantum-classical algorithms.\n\nA *quantum neural network* (QNN) is used to describe a parameterized quantum\ncomputational model that is best executed on a quantum computer. This term is\noften interchangeable with *parameterized quantum circuit* (PQC).\n\nResearch\n--------\n\nDuring the NISQ-era, quantum algorithms with known speedups over classical\nalgorithms---like\n[Shor's factoring algorithm](https://arxiv.org/abs/quant-ph/9508027) or\n[Grover's search algorithm](https://arxiv.org/abs/quant-ph/9605043)---are\nnot yet possible at a meaningful scale.\n\nA goal of TensorFlow Quantum is to help discover algorithms for the NISQ-era,\nwith particular interest in:\n\n1. *Use classical machine learning to enhance NISQ algorithms.* The hope is that techniques from classical machine learning can enhance our understanding of quantum computing. In [meta-learning for quantum neural networks via classical recurrent neural networks](https://arxiv.org/abs/1907.05415), a recurrent neural network (RNN) is used to discover that optimization of the control parameters for algorithms like the QAOA and VQE are more efficient than simple off the shelf optimizers. And [machine learning for quantum control](https://www.nature.com/articles/s41534-019-0141-3) uses reinforcement learning to help mitigate errors and produce higher quality quantum gates.\n2. *Model quantum data with quantum circuits.* Classically modeling quantum data is possible if you have an exact description of the datasource---but sometimes this isn't possible. To solve this problem, you can try modeling on the quantum computer itself and measure/observe the important statistics. [Quantum convolutional neural networks](https://www.nature.com/articles/s41567-019-0648-8) shows a quantum circuit designed with a structure analogous to a convolutional neural network (CNN) to detect different topological phases of matter. The quantum computer holds the data and the model. The classical processor sees only measurement samples from the model output and never the data itself. In [Robust entanglement renormalization on a noisy quantum computer](https://arxiv.org/abs/1711.07500), the authors learn to compress information about quantum many-body systems using a DMERA model.\n\nOther areas of interest in quantum machine learning include:\n\n- Modeling purely classical data on quantum computers.\n- Quantum-inspired classical algorithms.\n- [Supervised learning with quantum classifiers](https://arxiv.org/abs/1810.03787).\n- Adaptive layer-wise learning for quantum neural network.\n- [Quantum dynamics learning](https://arxiv.org/abs/1909.12264).\n- [Generative modeling of mixed quantum states](https://arxiv.org/abs/1910.02071) .\n- [Classification with quantum neural networks on near term processors](https://arxiv.org/abs/1802.06002)."]]