際際滷

際際滷Share a Scribd company logo
Quantum Computing
Brief overview + introductory hands-on
Karim Elgammal
Who am I?
- Researcher at KTH
- PhD from KTH as well!
Time management:
~25 min introduction
~25 min hands-on
Quantum computing intrtoduction workshop   karim elgammal - at facebook developer circle feb 2020
Faster solutions?
- ? x ? = 21
- ? x ? = 121
- ? x ? = 8713
Applications
54678741054867874548816146132465768165724616845168234234970239482138746
21384723847294712947104104738752941940124890274901467129047219047104619
20472904729047242133626342844244215645454123511315213152115212512551351
65581569165613551356155115004545455111222142464563554865154546356521256
28153466354136551256434515342513486134556123583451355132563513519047219
04710461920472904729047242133626342844244215645454123511315213152115212
51255135165581569165613551356155115004545455111222142464563554865154546
35652125628153466354136551256413847238472947129471041047387529419401248
90274901467129047219047104619204729047290472421336263428442442156454541
23511315213152115212222142464563554865154546356521256281534663541365512
56413847238472947129471041047387529419401248902749014671290472190471046
19204729047290472421336263428442442156454541235113152121384723847294712
94710410473875294194012489027490146712904721904710490274901467129047219
04710461920472904729047242133626342844244215645454123511315212138472384
72947129471041047387529419401248902749014671290472190471046192047290472
90472421336263428442442156454541235113188165466417952212351212111225182
24009856757056856718085566786146132465768165724616845168234234970239482
13874621384723847294678741054867874548816146132465768165724616845168234
23497023967129047219047104619204729047290472421336263428442442156454541
23511315212138472384729471294710410473875294194012489027490146712904721
90471046192047290472904724213362634284424421564545412351131881614613246
57681657246168451682342349702394821342844244215645454123511315212138472
38472947129471041047387529419401248902749014671290472190471046192047290
47290472421336263428442442156454541235113188161461324657681657246168451
68234234970239482138746213847238472946787410548678745488161461324657681
65724616845168234234970239671290472190471046192047874621384723847294678
74105486787454881614613246
Applications
Applications
Solvable using Shors algorithm a quantum
algorithm
Application?
From coincentral
Application?
From datavirtualizationblog
Research area: Post quantum cryptography
From MIT
Research area: Post quantum cryptography
From MIT
Application: simulating and understanding quantum
system
Use a quantum system
(quantum computer)
a Quantum system
(nature)
To simulate
Application: simulating quantum system
Pharmaceutical
industry &
medecine
Application: Pharmaceutical industry & medecine
Application: simulating quantum system
Application: accelerate inventing new materials
Speed up
(exponential)
(polynomial)
Quantum machine learning!
Theory!
From univ. Of HK
1981
Theory! Qubits and Superposition
The Bloch Sphere by Smite-Meister - Own work, CC BY-SA 3.0
Theory! Quantum gates
The X quantum gate
The Z quantum gate
The H Hadamard gate
Quantum computing intrtoduction workshop   karim elgammal - at facebook developer circle feb 2020
Programing on a quantum computer
Hardware of Quantum Computers
Cloud platforms
Quantum developers?
Startups > 100
Time for hands-on
Update
Check all latest links on
https://github.com/KarimElgammal/QuantumComputi
ng/tree/master/Facebook_Developer_Circle_Feb202
0_workshop
Prerequisites:
Jupyter? pip3 install jupyter
Qiskit? pip3 install qiskit
Matplotlib? pip3 install matplotlib
Pipenv? pipenv shell
Store your token in a file then name it tocken.txt
Download jupyter file http://bit.ly/39lcmuG for testing purpose
Superposition experiment - flip a coin!
Update your Jupyter notebook implementing H gate on 1 qubit
Fill in: http://bit.ly/3bmXNJ3
Superposition experiment - flip a coin!
Update your Jupyter notebook implementing H gate on 1 qubit
Solution: http://bit.ly/2vh2SlB
2 qubit operations
- Fill the missing gaps in http://bit.ly/2SxNoRV according to the steps
2 qubit operations
- Solution: http://bit.ly/3bperri
8-sided dice
Follow this jupyter http://bit.ly/2SxNoRV
8-sided dice
Solution: http://bit.ly/2SrjYVu
Quantum random number generator
http://bit.ly/3bsLBGs
Using Shors algorithm
http://bit.ly/2St1J28
Homework: implement Shor as detailed in the next slide and compare your result
with the proposed solution!
Shors Algorithm
From wikipedia
The github repository
https://github.com/KarimElgammal/QuantumComputing
Refs. and more reading?
- https://quantumcomputingreport.com/
- https://blog.cloudflare.com/the-quantum-menace/
- https://quantum.country/qcvc
- http://michaelnielsen.org/blog/quantum-computing-for-the-determined/
Thank you!
Add me on linkedIn
Please answer the feedback questionnaire

More Related Content

Quantum computing intrtoduction workshop karim elgammal - at facebook developer circle feb 2020