Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Eternity II puzzle by beginners (Qiskit Camp As...
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Yuki
November 20, 2019
Technology
0
210
Eternity II puzzle by beginners (Qiskit Camp Asia 2019)
https://community.qiskit.org/events/asia/
Yuki
November 20, 2019
Tweet
Share
More Decks by Yuki
See All by Yuki
ECMAScript Pattern Matching (#tc39_study)
yukidmy
0
420
Other Decks in Technology
See All in Technology
生成AIと余白 〜開発スピードが向上した今、何に向き合う?〜
kakehashi
PRO
0
170
Red Hat OpenStack Services on OpenShift
tamemiya
0
140
We Built for Predictability; The Workloads Didn’t Care
stahnma
0
150
Cloud Runでコロプラが挑む 生成AI×ゲーム『神魔狩りのツクヨミ』の裏側
colopl
0
150
(技術的には)社内システムもOKなブラウザエージェントを作ってみた!
har1101
0
330
量子クラウドサービスの裏側 〜Deep Dive into OQTOPUS〜
oqtopus
0
150
CDKで始めるTypeScript開発のススメ
tsukuboshi
1
570
Webhook best practices for rock solid and resilient deployments
glaforge
2
310
22nd ACRi Webinar - ChipTip Technology Eric-san's slide
nao_sumikawa
0
100
10Xにおける品質保証活動の全体像と改善 #no_more_wait_for_test
nihonbuson
PRO
2
340
pool.ntp.orgに ⾃宅サーバーで 参加してみたら...
tanyorg
0
1.3k
usermode linux without MMU - fosdem2026 kernel devroom
thehajime
0
240
Featured
See All Featured
Context Engineering - Making Every Token Count
addyosmani
9
670
Claude Code のすすめ
schroneko
67
210k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Statistics for Hackers
jakevdp
799
230k
Accessibility Awareness
sabderemane
0
57
Prompt Engineering for Job Search
mfonobong
0
160
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
430
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
230
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
72
The browser strikes back
jonoalderson
0
420
Marketing to machines
jonoalderson
1
4.7k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
760
Transcript
Eternity II Puzzle by Beginners #48 IBM Qiskit Camp Asia
2019 (Nov 18-21, 2019) Kumagai Masahito, Yuki Yamada, Shuta Kobayashi and Ken Wei IBM Qiskit Camp Asia 2019
Eternity II Photo Credit: Karen Carr
• Edge-matching puzzle ◦ 256 pieces (16 by 16 grid)
• Designed to be difficult to solve by brute-force computer search Eternity II → Let’s solve this with quantum computers! Photo Credit: Karen Carr
Problem Settings Adjacent edges must match Each piece is unique
Pieces can be used in 4 orientations Gray = edge Rules
Our Approach • Start from edge → Proceed to inside
repeatedly
Our Approach • Start from edge → Proceed to inside
repeatedly • Fix one corner • Enumerate all possibilities for other positions • Filter the possibilities by requirements • Find a correct combination ? ? ? ? ? ? ? ? ? ? ?
Implementation - Simplified Case • Find an answer for 2
by 2 grid ◦ (Original: 16 by 16 grid) Expected output
Implementation - Quantum Circuit
Implementation - Quantum Circuit 10 qubits & 17 ancilla bits
Experimentation Result We got a correct answer https://github.com/kumagaimasahito/Eternity/blob/master/eternity_group2.ipynb
Future Works • Decrease the number of ancilla bits in
our quantum circuit • Try other experimentations on bigger puzzles • Implement Grover algorithm for finding Directed Hamiltonian Cycle Special thanks: Ken Wei (IBM), Asa Eagle!
Blue: 1 Red: 2 Green: 3 ※Clockwise Directed Hamiltonian Cycle
Directed Hamiltonian Cycle
Directed Hamiltonian Cycle
Directed Hamiltonian Cycle