Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
オンラインワークショップ資料
Search
hiroki8080
January 19, 2017
Programming
260
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
オンラインワークショップ資料
量子コンピュータもどきをつくろう第2回の資料です。
hiroki8080
January 19, 2017
More Decks by hiroki8080
See All by hiroki8080
オンラインワークショップ資料
hiroki8080
0
240
オンラインワークショップ資料
hiroki8080
0
220
ワークショップまとめ資料3
hiroki8080
0
170
ワークショップまとめ資料2
hiroki8080
0
150
ワークショップまとめ資料
hiroki8080
0
220
Other Decks in Programming
See All in Programming
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
390
Event is what happens
moro
2
850
S3 TablesのIcebergデータに、AIエージェントからアクセスしてみた / 20261016developersio2026joetsu-accessing-iceberg-in-s3tables-via-agent
kasacchiful
PRO
0
160
機械に任せるテスト、人が見るテスト ⽣成AIで引き直した、運⽤保守フェーズの線引き
dske104
0
190
個人開発者よ、Honoを使え(おじさんver)
tanahiro2010
2
260
TechTown - Creating Composable Callables in Contemporary C++
rollbear
0
130
Performance Optimization With LLMs
xleitix
0
110
C#の現在地 進化の歴史と、AI時代の.NET Everywhere
neuecc
5
5.2k
AmebaブログはKMPから卒業します
kmars0605
0
200
JIS keyboard support in Omarchy
lef237
0
130
残高管理から台帳サービスへの進化
artoy
1
200
KiroのSpecで「五目並べ」を作ってみる
satoshi256kbyte
1
380
Featured
See All Featured
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
740
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
590
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
410
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
890
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
760
Building the Perfect Custom Keyboard
takai
2
910
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
Transcript
オンライン ワークショップ テーマ:量子コンピュータもどきをつくろう(その2)
目次 基礎情報③ 量子挙動の実装方法検討 量子挙動の実装方法検討②
基礎情報③ 量子・・・ 物質量における最小の単位。(つまりとても小さなエネルギーや物質のこと。量子 というものがあるわけではない。) 波のように振る舞うこともあれば、粒のように振る舞うこともある。(前回出てきた 二つの状態) (シュレーディンガー方程式により、その振る舞いの確率が決まるらしい) ↓例えばこういうことらしい 量子 スリット
飛ばす 互いが干渉 し合って波状 に広がる 量子 スリット 飛ばす 波状じゃなく スリット状に なる! センサー 間にセンサーを 入れて観測する と・・・
量子の挙動を実装 • 今回やりたい事に粒子か波かはあまり関係ないので、粒子として考えることにする • つまり二つの状態を同時に持ち、観測することで状態がきまる部分 • これをどうやって実装するか・・ • 量子コンピュータで使われるの量子アニーリングと呼ばれる計算方法があるので、それが使え そう(実際には使われている)
• 量子アニーリングって?・・・ • 以下のような順で解を求める 1.三次元の格子状に並べた複数の粒子に 特定の方向から磁場を与える。 (一つの粒子が二つの異なる方向の回転を持った状態になる) 2.磁場の力を少しずつ弱めながら、それぞれの回転の 相互作用を強くしていく (例えば隣接する回転の向きを同じ向きに変えたり、 逆にするようなもの。 コンピュータにおけるプログラミングっぽい) 3.最終的に全体のエネルギーが最小となる状態を解とする。 4.実際にはごく短時間でこの手順を行う必要があり、 何回も繰り返すことで解の正解率を高めていく。 • 量子アニーリングにおける最小エネルギーってなんだろう?
量子の挙動を実装② • 量子アニーリングをシミュレートする際に巡回セールスマン問題と いう組み合わせ最適化問題が使えるようだ • 巡回セールスマン問題って?・・・ • 都市の集合において、それぞれの2つの都市の移動コストが設定 されているとき、全ての都市を一度ずつ巡って出発点に戻った際 の最小コストを求める問題
• それぞれの都市を通るか通らないかという2つの状態を量子に持 たせれば量子アニーリングで最適解が求められる • つまり、量子の挙動としてはどんなものを実装すればよいか・・ • 都市に対して通るか通らないかという状態を保持 • 量子間の相互処理は・・ • 移動コストが合計されていく • 移動元と移動先以外には道を通らない(帰り道は例外) • これだけで良いものか・・