Professional Documents
Culture Documents
Quantum
Cracking current encryption
Cryptography
Theoretically Secure
Polynomial time O(n3) Integer factorization (Hack-Proof) Communication
Who is interested in Quantum Computing?
c e are
rc h a ft w
Se
a Sp So
et
er n
Int
nt
m e
e rn e
ov rc
. G me
re U.S o m
dwa e-C
r
Ha
PAKISTAN??
Agenda
• Basics of Quantum Computing
• Quantum Algorithms
• Experimental Progress
Schrodinger equation
- Equation of quantum LC oscillator:
Charge (Q), Current can oscillate at SET of NATURAL FREQUENCIES
1 3 5
, , , ...
2 √ 𝐿𝐶 2 √ 𝐿𝐶 2 √ 𝐿𝐶
Discrete Energy Levels: E0 E1 E2 , .. .
𝛥𝐸 𝛥𝐸 𝛥𝐸
Classical case: Single solution Q(t) VS Quantum case: Multiple solutions Q(t)
Quantum Bit (2)
1 3 5
, , , ...
2 √ 𝐿𝐶 2 √ 𝐿𝐶 2 √ 𝐿𝐶
+
Discrete E0 E1 E2 , .. .
Energy Levels 𝛥𝐸 𝛥𝐸 𝛥𝐸
-
Oscillator Oscillator
Initial energy new energy
level level
Is satisfied by +
→ Complex Oscillator new energy level
→ numbers
will be
as well as Pulse
Pulse
energy:
energy:
¿𝜑 ⟩ =𝛼 ¿0 ⟩ +𝛽 ¿1 ⟩ 𝛼
[ ]
or ¿ 𝜑 ⟩ = 𝛽 , 2 + |2 = 1
-x +x =-|0>
|0>, |1> → classical binary states =-|1>
-y = |1>
→ α and β are complex
¿𝜑 ⟩ =𝑎 ¿0 ⟩ +ei θ b∨1 ⟩
→ Three degrees of freedom a, b, θ
Quantum Bit (Qubit) has both magnitude (a, b) of |0> and |1> and phase (θ)
¿𝜑 ⟩ 2
¿𝜑 ⟩ 1
Phase of Qubit enables constructive and destructive interference
¿𝜑 ⟩ 1= 𝐴 ¿0 ⟩ +𝐵 ¿1 ⟩ ¿ 𝜑 ⟩ 1+¿ 𝜑 ⟩ 2=¿ 𝟎 ⟩ ¿𝜑 ⟩ 1−∨𝜑 ⟩ 2=¿𝟏 ⟩
¿𝜑 ⟩ 2=𝐶 ¿ 0 ⟩ − 𝐷 ¿1 ⟩
Introduction to Quantum Bit
Quantum Bit Classical Bit Val: 0 +y = |0>
Unit Vector ANYWHERE on the Circle (actually Sphere) Classical Bit Val: 1
¿𝜑 ⟩ =𝛼 ¿0 ⟩ +𝛽 ¿1 ⟩ 𝛼
[ ]
or ¿ 𝜑 ⟩ = 𝛽 , 2 + |2 = 1
-x +x =-|0>
|0>, |1> → classical binary states =-|1>
[]
𝛼 Multiplication!
𝑈 ¿ 𝜑 ⟩=𝑈 ( 𝛼 ¿ 0 ⟩ + 𝛽 ¿1 ⟩ )=𝑈
𝛽
Introduction to Single-Qubit Quantum
Gates
Bit-Flip (NOT) gate X VS Classical NOT gate
0 1
𝑋=
[ 0
1
1
0 ] 𝑋 ( 𝛼 ¿ 0 ⟩ + 𝛽 ¿1 ⟩ ) =𝛼 ¿ 1 ⟩ + 𝛽 ¿ 0 ⟩ 1 0
[ ]
Two-qubits 𝛼1 𝛼 2
¿ 𝜑 ⟩ 12 = ¿𝜑 ⟩ 1 ⊗ ¿𝜑 ⟩ 2 =
[ ] [ ]
𝛼1
𝛽1
⊗
𝛼2
𝛽2
𝛼 𝛽
= 1 2
𝛽1 𝛼 2 4 dimensional vector e.g. for n = 300 qubits
2300 > number of atoms
𝛽 1 𝛽2
In the universe!
. . . . .
[ ]
𝛼 1 𝛼 2 ... 𝛼𝑛
n-qubits 𝛼 1 𝛼 2 ... 𝛽 𝑛
)
¿ 𝜑 ⟩ 123. .. 𝑛 = ¿ 𝜑 ⟩1 ⊗ ¿ 𝜑 ⟩2 ⊗ ... ⊗ ¿𝜑 ⟩𝑛 = .
.
2n dimensional vector
.
𝛽 1 𝛽2 ... 𝛽𝑛
Multi-Qubit Gates : Entanglement (1)
Two-Qubits Gate: Controlled NOT (CNOT) Another Example:
2
∀ 𝑎𝑖 ∈ ℂ 1 1
❑
¿ 𝜑 ⟩ 𝑋𝑌 =𝑎1 ¿ 00 ⟩ +𝑎2 ¿ 01 ⟩ +𝑎3 ¿ 10 ⟩ +𝑎4 ¿ 11 ⟩ ¿ 𝜑 ⟩𝑋 = ( ¿ 0 ⟩ + ¿1 ⟩ ) ¿ 𝜑 ⟩𝑌= ( ¿ 0 ⟩ − ¿ 1⟩ )
√2 √2
[ ]
1 0 0 0 1
¿𝑋⟩ ¿𝑋⟩ 0 1 0 0
¿ 𝜑 ⟩ 𝑋𝑌 = ¿ 𝜑 ⟩ 𝑋 ⊗ ¿ 𝜑 ⟩ 𝑌 =
2
( ¿ 00 ⟩ − ¿ 01 ⟩ + ¿ 10 ⟩ − ¿ 11 ⟩ )
𝐶𝑁𝑂𝑇 =
0 0 0 1
¿𝑌 ⟩ ¿ 𝑋 ⊕𝑌 ⟩ 0 0 1 0 CNOT ¿ 𝜑 ⟩ 𝑋𝑌 =
1
2
( ¿ 00 ⟩ − ¿ 01 ⟩ − ¿10 ⟩ + ¿ 11 ⟩ )
1 1
¿ ( ¿ 0 ⟩ − ¿1 ⟩ ) ⊗ ( ¿ 0 ⟩ − ¿1 ⟩ )
❑ √2 √2
𝑎2 ,𝑎4 =0 ⇒ 𝐶𝑁𝑂𝑇 ¿ 𝜑 ⟩ 𝑋𝑌 =𝑎1 ¿ 00 ⟩ +𝑎3 ¿ 11 ⟩
¿𝑥⟩ ¿𝑥⟩
Using Toffoli gates, we can simulate any
¿𝑦⟩ ¿𝑦⟩ classical boolean logic circuit
¿𝑧 ⟩ ¿( 𝑥∧𝑦 ) ⊕ 𝑧 ⟩
¿ 𝜑 ⟩ =𝛼 ¿ 0 ⟩ +𝛽 ¿1 ⟩ M OR .
w.p. 2
𝑛
¿ 𝜑 ⟩ =𝑎 0 ¿ 000...0 ⟩ + 𝑎1 ¿ 000...1 ⟩ +...+𝑎 𝑘 ¿ 011. ..1 ⟩ +...+𝑎 2 𝑛
−1
¿ 111...1 ⟩
|1>
n-qubit Measurement:
𝑛 𝑛
¿ 𝜑 ⟩ =¿ 11 1…1 ⟩ w . p . ¿ 𝑎2 𝑛− 1∨¿ ¿
𝑛 2
¿ 𝜑 ⟩ =¿ 000 … 1 ⟩ w . p . ¿𝑎1 ∨¿ ¿
2
¿ 𝜑 ⟩ =¿ 000. ..0 ⟩ w . p . ¿𝑎0 ∨¿ ¿
2
Quantum Algorithm should Measure such that |ai|2 of correct solution string is close to 1
What we have learned so far
• Quantum Superposition:
• Allows qubit in state |0> and |1> simultaneously (e.g. |0> + |1>)
• Quantum Entanglement:
• State of one qubit depends on the state of the other ( e.g. |00> + |11>)
• Quantum Measurement:
• Reading qubit(s) state collapses superposition (or entanglement) (e.g.
Measuring (|0>+|1>) → 0 or 1 w.p. 0.5 each)
Agenda
• Basics of Quantum Computing
• Quantum Algorithms
• Experimental Progress
¿
4 1
s = (1,0,1)
¿𝜑 ⟩4 =¿ ( ¿ 000 ⟩ − ¿001 ⟩ +¿010
1
⟩ − ¿011 ⟩ −
¿ 𝜑 ⟩ =¿ 0004¿𝜑⟩ =
⟩ ¿ 0 ⟩ 4
¿ Phase Kick-Back
√ 3⟩ )( ¿ 0 ⟩ − ¿1 ⟩ )
¿100 ⟩ +¿101 ⟩ − ¿110 ⟩ +¿111
Quantum Grover’s Search Algorithm(1)
Problem: Find solution to an unstructured search problem (e.g. NP-complete problems)
Search space containing N candidate solutions
¿ 𝜑 ⟩=
1
( ¿ 00 ⟩ + ¿ 01 ⟩ + ¿ 10 ⟩ + ¿ 11 ⟩ )( ¿ 0 ⟩ − ¿ 1 ⟩ ) ¿0⟩ H f(x) M
√8
¿ 1⟩ H H ¿ 1⟩
𝑓 (𝑥)=
{
¿ 𝑥 ⟩ if ¿ 𝑥 ⟩ ∉Solution
− ¿ 𝑥 ⟩ if ¿ 𝑥 ⟩ ∈Solution Phase-kick back
in solution state
⟨ 𝑎 ⟩ =1/ 4 ( 𝑎1 +𝑎 2 +𝑎 3+ 𝑎 4 )
[ ][ ]
1 −1 1 1 1 𝑎1 =
¿ 𝜑 ⟩= ( ¿ 00 ⟩ + ¿ 01 ⟩ − ¿ 10 ⟩ + ¿ 11 ⟩ ) ( ¿ 0 ⟩ − ¿1 ⟩ ) 1 1 −1 1 1 𝑎2
√8
2 1 1 −1 1 𝑎3
1 1 1 1 −1 𝑎4
¿ 𝜑 ⟩= ( ¿ 10 ⟩ ) ( ¿ 1 ⟩ )
√8
Solution obtained using only 1 Grover Iteration Inversion about the mean
Quantum Grover’s Search Algorithm(2)
1. Create equal Superposition of N states (e.g. N = 16)
√ √
𝑁 −1
1 𝑁− 𝑀 𝑀
¿𝜑 ⟩ = ∑ ¿ 𝑥 ⟩ = ¿𝛼 ⟩ + ¿ 𝛽⟩ Grover Iteration
√ 𝑁 𝑥= 0 𝑁 𝑁 # of correct solutions = M
AI Labs at Google,
Machine Learning NASA Intel
Jobs Scheduling Computer aided Design
Support Vector Machine Classifier
Integer Factorization(Exponential
Speedup)
Problem: Given N, a product of two very large unknown prime number x, y. Find x, y
Solution: Choose a s.t.
Classical: Finding eigenvalues of N x N matrix takes O(N3) → O(2n^3) Exponential in n
For n-bit integer N Best-known Classical Algorithm for Integer Factorization: Sub-Exponential in n
GCD (a, N) = 1, a < N
M
|Input qubits>
N = (ar/2-1) (ar/2+1)
Quantum Inverse
Period (r)
Modular Quantum M
Period r is hidden in Exponentiation Fourier M
Eigenvalues of U(x) = ax mod N Transform
M
U(x) = ax mod N
n
M
Quantum Modular Exponentiation:
in
Open threat to widely used RSA based public-key cryptosystems e.g. Internet!
Quantum Teleportation
Qubit state cannot be copied to another qubit (No-Cloning Theorem)
If MA = 1: Apply Z on C 1
|A>=𝛼 ¿ 0 ⟩ +𝛽 ¿ 1 ⟩ H MA ¿ 𝐴𝐵𝐶 ⟩ =
√2
( 𝛼 ¿ 0 ⟩ + 𝛽 ¿ 1 ⟩ )( ¿ 00 ⟩ + ¿ 11 ⟩ )
If MB = 1: Apply X on C
|B> MB
¿ 𝐴𝐵𝐶 ⟩ =
1
( 𝛼 ¿ 000 ⟩ + 𝛽 ¿ 110 ⟩ +𝛼 ¿ 011 ⟩ + 𝛽 ¿ 101 ⟩ )
√ 2
Apply on |C>
|C> X Z 𝛼 ¿0 ⟩ +𝛽 ¿ 1 ⟩ 1
¿𝐴𝐵𝐶⟩= (¿0 ⟩(𝛼 ¿0⟩+𝛽¿1⟩)+¿¿01⟩(𝛼 ¿1⟩+ 𝛽¿0⟩)+¿¿10⟩(𝛼 ¿0⟩− 𝛽¿1⟩)+¿¿11⟩(𝛼 ¿1⟩− 𝛽¿0⟩) XZ
|BC>=
1
√2
( ¿ 00 ⟩ + ¿11 ⟩ ) Einstein-Podolsky-Rosen
(EPR Pair) √2 Both X, Z
Teleportation: Re-creating Quantum State at the Destination |AB> |C>¿ 𝛼 ¿ 0 ⟩ +𝛽 ¿ 1 ⟩
Destroying Quantum State at the Origin
Quantum Communication
Cannot make clones of qubit state Measuring qubit state changes the state of qubit
¿ 1⟩ H
1
( ¿ 0 ⟩ − ¿1 ⟩ ) = ¿ − ⟩
{¿ 0 ⟩ , ¿ 1 ⟩} ¿
√2 H H
0 1 0 1
Measurement Basis Measurement Basis
{, } { or }
Two ways to encode classical
0: = = = or
prob. 0.5 each
bit into qubit
1: = =
0: = → or , = If encoding basis is kept secret,
1: = prob. 0.5 each = then Measuring Changes
Quantum Key Distribution(1)
Classical Channel
Sender: Receiver
Eve
Alice Bob
Classical Channel
Alice bit 1 1 1 0 0 1 0 1 1
Alice Basis
Eve Basis
Bob Basis
Bob’s bit 0 10 0 0 0 1 0 1 10
Hacked bits
Secret Key: 0 1 0 1 1
Quantum Key Distribution(2)
How can Alice and bob detect the presence of Eve (Eavesdropper)??
Insight: Eve introduces error into Bob’s measurement
Prob. (Alice key bit = Bob’s key bit) = Prob. (Eve chose correct basis) +
Prob. (Eve chose incorrect basis) Prob. (Bob’s still gets correct key bit)
=½ + ½ ½ = ¾
Prob.Prob.
(Perfect match
(Perfect between
match AliceAlice
between and and 1 keyn bit)
Bob’sBob’s ¾=
key =bits)
Prob. (eavesdropper is detected) = Prob. (bit hacked) = Prob. (one or more mismatch in Alice and Bob’s n key bits) = 1 -
Advantage: By increasing the length of Key, eavesdropper can be detected with arbitrarily high probability
• Quantum Algorithms
• Experimental Progress
x
V1
V4
V2
V5
V3 V6
V
Digital to Ballistic Shuttling of ions
Microelectromechanical
(MEMS) Mirror Analogue
Converter
Laser Pulses
Laser Control
System
Individual addressing of ion
Quantum Gates
FPGA
Experimental Progress in Quantum
Computing
D-Wave Customers:
Size of
quantum
processor Company
# qubits
127 IBM
Superposition??
80 Rigetti
Fully Quantum
D-Wave Quantum
?
53 Google Computer Entanglement??
IonQ 2007 28-qubits
20 VS
2011 128-qubits
12 Honeywell General Purpose
2013 512-qubits Quantum
11 Baidu
2015 >1000-qubits Computing??
Quantum Superposition, Entanglement Only Quantum Tunneling
Experimental Challenges in Quantum
Computing
• Practically, quantum device component (qubits, gates) are very noisy
and unreliable than classical computers (Both Bit-flip and Phase-flip errors)
Qubit State
-1
Entangled
--
Special
Recovery
-1 -1
-1 -1
-- -1 -1
-- -1 -1
¿𝑥⟩ --
-1 -1 -1
Qubit State
Entangled
Special
Checks
--
Parity
4-cat
4-cat
4-cat
4-cat
4-cat
4-cat
4-cat
4-cat
4-cat
4-cat
4-cat
4-cat
dec.
dec.
dec.
dec.
dec.
dec
--
--
Large Number of Additional Qubits, Gates to reduce effective Noise Level from O(p) -> O(p2)
Quantum practically superior than
Classical
How many physical qubits?
Classical Computers: 2048-bit number impossible to be factorized in realistic time scale
Current world record of Integer factorization: 768-bit integer factorized in 2005
Practically we need
3 million qubits quantum computer to factorize
2,048-bits number in 5 months
-Ahsan et al., 2015
Worldwide attention to my PhD research
• Designing a Million-Qubit Quantum Computer Using a Resource Performance
Simulator
• Cited in IBM patent US11314908B2
• Cited (X-category) in Google patent WO2022/051030 A3
• Cited in the book ‘Quantum Computing Progress and Prospects’ published by National
Academies of Sciences, Engineering and Medicine USA. ISBN 978-0-309-47969-1
• Quantum Algorithms
• Experimental Progress
Q&A
A little bit of quantum mechanics
In Quantum Mechanics, the measurable physical state (e.g. position, momentum) of a system
e1 e2 . . . en Eigenvalues of H
𝑑
𝑖h ¿ ¿ 𝜑 ⟩ =[ 𝑝 1
1 1 1
𝑝𝑛 ]
1
𝑑𝑡 𝑝2 . . .
Satisfies Schrodinger equation
¿ 𝜑 ⟩ =[ 𝑝 ]
2 2 2 2
𝑝 . . . 𝑝
Schrodinger’s equation 1 2 𝑛
1 2
Linear Superposition: 𝛼 ¿ 𝜑 ⟩ + 𝛽 ¿ 𝜑 ⟩ Also satisfies Schrodinger equation