JP7444804B2 - 制御方法およびサンプリング装置 - Google Patents
制御方法およびサンプリング装置 Download PDFInfo
- Publication number
- JP7444804B2 JP7444804B2 JP2021022168A JP2021022168A JP7444804B2 JP 7444804 B2 JP7444804 B2 JP 7444804B2 JP 2021022168 A JP2021022168 A JP 2021022168A JP 2021022168 A JP2021022168 A JP 2021022168A JP 7444804 B2 JP7444804 B2 JP 7444804B2
- Authority
- JP
- Japan
- Prior art keywords
- spin
- interaction
- group
- variable
- auxiliary
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims description 67
- 238000005070 sampling Methods 0.000 title claims description 66
- 230000003993 interaction Effects 0.000 claims description 115
- 238000004364 calculation method Methods 0.000 claims description 113
- 230000015654 memory Effects 0.000 claims description 92
- 230000005366 Ising model Effects 0.000 claims description 48
- 230000010365 information processing Effects 0.000 claims description 40
- 238000009826 distribution Methods 0.000 claims description 28
- 238000007620 mathematical function Methods 0.000 claims description 24
- 230000007704 transition Effects 0.000 claims description 22
- 239000011159 matrix material Substances 0.000 claims description 20
- 238000000342 Monte Carlo simulation Methods 0.000 claims description 10
- 230000008685 targeting Effects 0.000 claims description 4
- 238000012545 processing Methods 0.000 description 27
- 230000006870 function Effects 0.000 description 25
- 238000003860 storage Methods 0.000 description 24
- 239000013598 vector Substances 0.000 description 21
- 230000008569 process Effects 0.000 description 13
- 238000004891 communication Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 12
- 238000005315 distribution function Methods 0.000 description 8
- 238000010801 machine learning Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 230000006872 improvement Effects 0.000 description 3
- 239000000696 magnetic material Substances 0.000 description 3
- 239000004065 semiconductor Substances 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 239000000470 constituent Substances 0.000 description 2
- 238000010606 normalization Methods 0.000 description 2
- 238000004088 simulation Methods 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001537 neural effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000007639 printing Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000017105 transposition Effects 0.000 description 1
Images
Landscapes
- Complex Calculations (AREA)
Description
スピン間の相互作用関係を含むイジングモデルのボルツマン分布を対象として、マルコフ連鎖モンテカルロ法に基づくスピンの次状態のサンプリングを行うように情報処理装置を動作させる制御方法であって、
前記イジングモデルに対するサンプリングを、N個(Nは自然数)の前記スピンσi(i=1~Nのうちの任意の数)からなるスピン群σと、各々の前記スピンσiの向きを規定する連続変数として、前記N個の補助変数xi(i=1~N)からなる第1補助変数群xおよび前記N個の補助変数yi(i=1~N)からなる第2補助変数群yと、を備え、前記スピンσiに対して全ての前記第1補助変数群xと全ての前記第2補助変数群yとが結線され相互作用関係を有する完全3部グラフ構造による相互作用モデルでのサンプリングにより代替し、
前記相互作用モデルの前記相互作用関係の値が、元の前記イジングモデルの相互作用関係及びその最小固有値で前記情報処理装置のメモリに設定され、
前記相互作用モデルにおいて状態遷移を行う際に、前記スピン群σ、前記第1補助変数群x、および前記第2補助変数群yの3つの変数群のうちの1つの群の全変数を一斉更新するように前記情報処理装置を動作させる、
制御方法として実現される。
スピン間の相互作用関係を含むイジングモデルのボルツマン分布を対象として、マルコフ連鎖モンテカルロ法に基づくスピンの次状態のサンプリングを行うために、
前記イジングモデルに対する統計量として、N個(Nは自然数)のスピンσi(i=1~Nのうちの任意の数)からなるスピン群σと、各々の前記スピンσiの向きを規定する連続変数として、前記N個の補助変数xi(i=1~N)からなる第1補助変数群xおよび前記N個の補助変数yi(i=1~N)からなる第2補助変数群yと、を備え、前記スピンσiに対して全ての前記第1補助変数群xと全ての前記第2補助変数群yとが結線され相互作用関係を有する完全3部グラフ構造による相互作用モデルでの遷移確率P(σ,σ’)を算出する算出部と、
前記算出部により算出された、前記スピン群σ、前記第1補助変数群x、および前記第2補助変数群yの3つの変数群のうちの1つの群の全変数を一斉更新する制御を行う変数制御部と、
を備えるサンプリング装置として実現される。
ここで、サンプリングの対象とするスピンの数がN個(Nは自然数)の場合、以下のように定義することができる。すなわち、上記の式1において、任意のi番目(i=1~Nのうちの任意の整数)のスピンの値をσi、任意のj番目(j=1~Nのうちi以外の整数)のスピンの値をσj、かかるi番目のスピンとj番目のスピンとの間の相互作用係数の行列をJi,j、i番目のスピンに働く外部磁場係数をhiと、各々表すことができる。また、上記の相互作用係数の行列(J)において、対角成分Ji、i(i=1~N)は0である。
なお、演算部20により実現される機能を、例えば、プロセッサ(CPU、GPU等)にプログラムを実行させることにより仮想的に実現してもよく、この場合、図4に点線で模式的に示すように、当該処理が呼び出される毎に実行される(起動する動作を行う)ことになる。
同図に示すように、演算部20は、相互作用係数メモリ511、外部磁場係数メモリ512、スピンメモリ513、第一補助変数メモリ514、第二補助変数メモリ515、積和演算装置516、数学関数演算装置517を含む。
スピンメモリ513には、前述した完全3部グラフのスピンσの各スピンの状態を示すN次元ベクトルの情報が格納される。第一補助変数メモリ514と第二補助変数メモリ515には、それぞれ、前述した完全3部グラフの補助変数xと補助変数yの状態を示すN次元ベクトルの情報が格納される(図3参照)。
上記のうち、信号TSは、整数1~3に対応した3値を周期的に繰り返す信号であり、式15、式17、及び式19のどの演算を実行するかを指定する。言い換えると、信号TSは、上述した3つの値(スピンσ、補助変数x、補助変数y)のうちの何れの値を更新するかを指定する信号である。非制限的な一具体例では、信号TSは、式15の演算を実行する場合は整数1、式17の演算を実行する場合は整数2、および、式19の演算を実行する場合は整数3を出力する。
11 プロセッサ(変数制御部)
12 主記憶装置
13 補助記憶部
14 操作入力部
15 出力部
16 通信部
20 演算部(算出部)
511 相互作用係数メモリ
512 外部磁場係数メモリ
513 スピンメモリ
514 第一補助変数メモリ
515 第二補助変数メモリ
516 積和演算装置(積和演算部)
517 数学関数演算装置(数学関数演算部)
600 記憶部
601 イジング形式問題データ
602 演算装置制御プログラム
611 モデル係数設定部
612 固有値計算部
613 変数値初期化部
614 相互作用演算実行部
615 スピン値読出部
801 (3N個の)ユニット
802 アレイユニット
803 相互作用ドライバ(変数制御部)
804 SRAMインターフェース
805 コントローラ
W 相互作用モデルの相互作用係数
h イジングモデルの外部磁場係数
Claims (7)
- スピン間の相互作用関係を含むイジングモデルのボルツマン分布を対象として、マルコフ連鎖モンテカルロ法に基づくスピンの状態のサンプリングを行うように情報処理装置を動作させる制御方法であって、
前記イジングモデルに対するサンプリングを、N個(Nは自然数)の前記スピンσi(i=1~Nのうちの任意の数)からなるスピン群σと、各々の前記スピンσiの向きを規定する連続変数として、前記N個の補助変数xi(i=1~N)からなる第1補助変数群xおよび前記N個の補助変数yi(i=1~N)からなる第2補助変数群yと、を備え、前記スピンσiに対して全ての前記第1補助変数群xと全ての前記第2補助変数群yとが結線され相互作用関係を有する完全3部グラフ構造による相互作用モデルでのサンプリングにより代替し、
前記相互作用モデルの前記相互作用関係の値が、元の前記イジングモデルの相互作用関係及びその最小固有値で前記情報処理装置のメモリに設定され、
前記相互作用モデルにおいて状態遷移を行う際に、前記スピン群σ、前記第1補助変数群x、および前記第2補助変数群yの3つの変数群のうちの1つの群の全変数を一斉更新するように前記情報処理装置を動作させる、
制御方法。 - スピン間の相互作用関係を含むイジングモデルのボルツマン分布を対象として、マルコフ連鎖モンテカルロ法に基づくスピンの状態のサンプリングを行うために、
前記イジングモデルに対する統計量として、N個(Nは自然数)の前記スピンσi(i=1~Nのうちの任意の数)からなるスピン群σと、各々の前記スピンσiの向きを規定する連続変数として、前記N個の補助変数xi(i=1~N)からなる第1補助変数群xおよび前記N個の補助変数yi(i=1~N)からなる第2補助変数群yと、を備え、前記スピンσiに対して全ての前記第1補助変数群xと全ての前記第2補助変数群yとが結線され相互作用関係を有する完全3部グラフ構造による相互作用モデルでの遷移確率P(σ,σ’)を算出する算出部と、
前記算出部により算出された、前記スピン群σ、前記第1補助変数群x、および前記第2補助変数群yの3つの変数群のうちの1つの群の全変数を一斉更新する制御を行う変数制御部と、
を備えるサンプリング装置。 - 請求項2に記載のサンプリング装置において、
前記算出部により算出される、前記スピンの値、該スピンに係る第1および第2補助変数の3つの変数のうちの何れか一つの前記変数の値を格納するN個の変数メモリと、
前記N個の変数メモリに同一の信号(TS)を供給する選択信号供給部と、を備え、
前記変数制御部は、前記全変数を一斉更新する際に、前記スピン群σおよび前記補助変数群x、yのうちの一つの群を選んで前記N個の前記変数メモリ内の値の更新方法を選択する信号(TS)を選択信号供給部から出力させる制御を行う、
サンプリング装置。 - 請求項3に記載のサンプリング装置において、
前記イジングモデルの相互作用関係を規定する相互作用係数Jとその最小固有値-λより規定される相互作用モデルの相互作用係数Wを格納する相互作用係数メモリと、
前記イジングモデルの外部磁場係数hを格納する外部磁場係数メモリと、を備え、
前記算出部は、前記相互作用係数メモリ、前記外部磁場係数メモリ、および前記N個の変数メモリに格納された値を用いて、N個の前記スピンの次状態を算出する、
サンプリング装置。 - 請求項4に記載のサンプリング装置において、
前記相互作用係数Jは、対称行列であり、
前記相互作用係数Wは、前記相互作用係数Jと該相互作用係数Jの最小固有値に基づいて定められる、
サンプリング装置。 - 請求項5に記載の情報処理装置において、
前記算出部は、前記スピン及び補助変数の値、前記相互作用係数W、を変数として積和演算を実行する積和演算部を備える、
サンプリング装置。 - 請求項6に記載の情報処理装置において、
前記算出部は、対応する前記変数メモリに格納される値の次状態を演算する数学関数演算部を含む、
サンプリング装置。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021022168A JP7444804B2 (ja) | 2021-02-15 | 2021-02-15 | 制御方法およびサンプリング装置 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021022168A JP7444804B2 (ja) | 2021-02-15 | 2021-02-15 | 制御方法およびサンプリング装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2022124418A JP2022124418A (ja) | 2022-08-25 |
JP7444804B2 true JP7444804B2 (ja) | 2024-03-06 |
Family
ID=82941459
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2021022168A Active JP7444804B2 (ja) | 2021-02-15 | 2021-02-15 | 制御方法およびサンプリング装置 |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7444804B2 (ja) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020202312A1 (ja) | 2019-03-29 | 2020-10-08 | 株式会社日立製作所 | 情報処理装置、演算装置、及び情報処理方法 |
-
2021
- 2021-02-15 JP JP2021022168A patent/JP7444804B2/ja active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020202312A1 (ja) | 2019-03-29 | 2020-10-08 | 株式会社日立製作所 | 情報処理装置、演算装置、及び情報処理方法 |
Non-Patent Citations (1)
Title |
---|
James Martens and Ilya Sutskever,Parallelizable Sampling of Markov Random Fields,Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics,2010年05月15日,volume 9,pages 517-552,http://proceedings.mlr.press/v9/martens10a.htm |
Also Published As
Publication number | Publication date |
---|---|
JP2022124418A (ja) | 2022-08-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6874219B2 (ja) | 情報処理装置、演算装置、及び情報処理方法 | |
JP7007520B2 (ja) | 情報処理装置、演算装置、及び情報処理方法 | |
JP2021520546A (ja) | 量子計算のための方法及びシステム | |
JP6925546B1 (ja) | 演算システム、情報処理装置、および最適解探索処理方法 | |
CN115169565B (zh) | 一种小分子化学体系的哈密顿量模拟方法和装置 | |
JP6895415B2 (ja) | 計算装置、計算プログラム、記録媒体及び計算方法 | |
JP7444804B2 (ja) | 制御方法およびサンプリング装置 | |
US11574030B1 (en) | Solving optimization problems using a hybrid computer system | |
JP7457325B2 (ja) | 最適化装置、評価装置、それらの方法、およびプログラム | |
JP7357795B2 (ja) | 情報処理方法および情報処理システム | |
JP7398401B2 (ja) | 最適化方法、情報処理装置及びそれを用いたシステム | |
JP7470019B2 (ja) | 情報処理システム | |
JP7341804B2 (ja) | 情報処理装置および情報処理方法 | |
JP2022048780A (ja) | 計算装置、計算方法およびプログラム | |
JP2024049148A (ja) | 情報処理方法、及び情報処理装置 | |
JP7425210B2 (ja) | 情報処理システムおよび最適解探索処理方法 | |
Moreno et al. | Study and Application of Quantum Optimization Algo-rithms | |
US20230267170A1 (en) | Information processing system, information processing method, and non-transitory computer-readable recording medium for information processing program | |
US20220343202A1 (en) | Arithmetic circuit, arithmetic device, information processing apparatus, and method for searching for ground state of ising model | |
JP7361175B2 (ja) | 計算装置、計算プログラム、記録媒体及び計算方法 | |
US20230153376A1 (en) | Optimization method, information processing device, and information processing system | |
WO2022249785A1 (ja) | 求解装置、求解方法およびプログラム | |
JP2024508076A (ja) | 量子回路シミュレーション方法、装置、コンピュータ機器及びプログラム | |
JP2024507393A (ja) | 量子回路の作成方法と装置及びコンピュータ機器とプログラム | |
CN117859138A (zh) | 用于量子计算生成联合概率分布的系统和方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230203 |
|
TRDD | Decision of grant or rejection written | ||
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20240214 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20240220 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20240222 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7444804 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |