Quantum Leap in Next-Generation Computing

wso2.org 220 views 35 slides May 09, 2024
Slide 1
Slide 1 of 35
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35

About This Presentation

Quantum computers are rapidly evolving and are promising significant advantages in domains like machine learning or optimization, to name but a few areas. In this keynote we sketch the underpinnings of quantum computing, show some of the inherent advantages, highlight some application areas, and sho...


Slide Content

Prof. Dr. Dr. h.c. Frank Leymann
WSO2 Technology Fellow
University of Stuttgart, Germany
Quantum Leap
in Next-Generation Computing
( WSO2Con, Miami, FL, USA, May 7 - 9, 2024 )

© Frank Leymann 2
?
Why?

© Frank Leymann
Qubit vs. Bit:
The Fundamental Difference
3
0
1
A bit is either "0" or "1"
→ Two possible values
Bit
|0⟩
|1⟩
Qbit
A qubit is an arbitrary point
on this "Bloch sphere"
→ Infinitely many possible values
…Combination of and at the same time:

|0⟩|1⟩
α|0⟩+β|1⟩

© Frank Leymann
The Power of a Quantum Register
4
|0⟩
|1⟩
|0⟩
|1⟩
|0⟩
|1⟩
|0⟩
|1⟩

n qubits ⇒ values at the same time
2n
#atoms in universe ≤ ↦ n=300 Qbits
1090=(103)30≤(210)30=2300
…and all values are manipulated at the same time!
Quantum Parallelism
IBM has ≈ 400 qubits
commercially available
(the values are )
|00…0⟩,|10…0⟩,|01…0⟩,…,|11…1⟩

© Frank Leymann
Entanglement: The Miracle
5
roll
Arbitrary Distance
Determined State!
Arbitrary Distance
Entanglement is unique for quantum computing!
Every quantum algorithm showing exponential speedup
compared to classical algorithms, must exploit entanglement.

© Frank Leymann
Impact
6
Several problems that can not be solved efficiently on a classical computer
can be solved efficiently (or with higher precision) on a quantum computer
E.g. there are polynomial quantum algorithms for problems
for which only exponential classical algorithms are known
This allows to solve problems that can’t be solved classically by now in practice (or only "badly")
This enables e.g. new business models

© Frank Leymann
Example:
Efficient Quantum Algorithms
7
Computing Eigenvalues
⇒ E.g.: Feature Engineering

18018
= 2 · 3 · 3 · 7 · 11 · 13
= 2 · 3 · 3 · 7 · 143
= 2 · 3 · 3 · 1001
= 2 · 9009
= 2 · 3 · 3003
Factorization
⇒ E.g.: Cracking Keys
Molecule Simulation
⇒ E.g.: Material Science
Linear Equation Systems
⇒ E.g.: Machine Learning
A⋅x=b

© Frank Leymann
Example:
New Applications & Business Models
8
Manufacturing: Solving optimization problems
Scheduling, transport & logistics, robot movement,…
Product simulation: Solving linear equation systems
Stability of objects, combustion processes in engines & turbines,…
Material science: Eigenvalue computations
Catalysts for batteries, new pharmaceuticals, personalized medicine,…

© Frank Leymann
Quantum Machine Learning
9
Classical No-Free-Lunch theorem of supervised learning
The more training data is used,
the lower the average error in learning a neural net
Quantum No-Free-Lunch theorem of supervised learning
A single pair of maximally entangled training data suffice,
to train a quantum neural net with low average error
("in high dimensions")
The more the training data is entangled,
the less training data is needed
to learn a quantum neural net with low average error

© Frank Leymann
Example: Damper Parameterization
10
Predictor for chassis movement of a car driving on a bumpy road
…known from practice by an automotive company
Use a quantum neural net to learn this predictor
…using a simplified car model
Used training data of various entanglement strengths
Use of maximally entangled data learned the
correct predictor

© Frank Leymann
Quantum Optimization
11
Combinatorial optimization problems
Quadratic Binary Optimization (QUBO)
Traveling Salesman Problem
Dynamic Traveling Salesman Problem
Examples: gate assignment, task allocation, clustering,…
Note: All implemented use cases
have a "small" size

© Frank Leymann 12
?
When?

© Frank Leymann
Dephasing:
Minor disturbances or trembling
We are in the NISQ Era
13
Relaxation:
spontaneous transition
into diametral stateθRxθ()ψψ
x
Rx(θ)
Operation Errors:
rotation is a little imprecise
[can’t rotate an exact angle]
Decoherence
Fidelity
NISQ: Noisy Intermedidate Scale Quantum

© Frank Leymann
Consequence of NISQ
14
But "pumping" data into QC takes time
First part of an algorithm must prepare the input data
⇒ only "small" amount of data can be processed
G11
G12
G13
G14
G21
G22
G23
G32
G31
Depth
Width
Noise means that errors pile up over time
⇒ algorithms must be "small"
Few qubits or few parallel layers
More precise: width × depth << error-rate
Ideal: many qubits ⇒ no classical simulation possible!
Thus, today’s implementations should have low depth
⇒ quantum advantage possible

© Frank Leymann
Manipulating Qubits
15
Remember: a qubit q is a combination of and at the same time, i.e.
|0⟩|1⟩ q=α|0⟩+β|1⟩
: probability of being
|α|2 |0⟩
: probability of being
|β|2 |1⟩
Thus, - which means q is vector of length 1
|q|2=|α|2+|β|2=1
Manipulating a qubit means
to turn a vector of length 1
into another vector of length 1
Such length-preserving (linear) maps are called "unitary"
U=a11⋯a1n⋮⋱⋮an1⋯ann
Thus, quantum algorithms consists of series of unitary maps (matrices)
≈ Rotations of a qubit on the Bloch sphere

© Frank Leymann
Learning Curve: Quantum Programming
16
Skill development takes time
But quantum computing technology is currently developing faster than predicted!
Linear algebra in complex vector spaces
Programming a quantum computer is very different from classical programming
⇒ If you don't start now, you run the risk of being left behind!
Quantum Circuit

© Frank Leymann 17
?
How?

© Frank Leymann 18…we’ll need middleware for quantum.
How do we get quantum and classical working together?
It will be essential to have seamlessly integrated workflows
that can take the best of classical and quantum
to enable quantum as an accelerator
in a larger heterogeneous computing architecture.
(Announcement at IBM Summit, November 2022) Technology is developing faster than thought in the past!

© Frank Leymann
Setup
19
Solutions using quantum algorithms always require classical software too
Quantum applications are hybrid
⇒ need to use integration technologies (workflows,…)
Development of successful quantum applications require a team of...
…classical programmers, integration specialists, quantum algorithm programmers
Analyze existing quantum algorithms for indicating advantage over classical algorithms
Implement corresponding quantum application
Utility assessed based on a business-related problems that you can’t solve today
⇒ built a corresponding team
⇒ Assessment of solution based on vendor roadmap

© Frank Leymann
Developing Quantum Applications
20

© Frank Leymann
Example: Quantum Machine Learning
21
Clustering
Feature
Engineering
Retrieve
Data
Compute
Dist Matrix
Build
Dist Space
Compute
Embedding
Data
Preparation
Compute
Graph
Compute
CostFct
Compute
Cluster
+
Xform
CostHamilt
QAOACompute
Eigenval
Compute
Cov Matrix
Transform
Pauli Rep
Perform
PCA
VQE
+ +

© Frank Leymann
The Role of
APIs, (Micro-)Services, Cells,…
22
Retrieve Data
Compute Dist
Matrix

API
µ1
µ2

© Frank Leymann
Retrieve
Data
(Java)
JVM
(…)
Server
Machine
(…)
Customer
Database
(…)
DB2
(…)
Operating
System
(Linux)
Virtual
Machine
(…)
connects
to
Packaging and Deployment
23
Quantum
Application Archive
(QAA)

© Frank Leymann
AppStore & API Management
24
QAA1QAA2QAA3QAAn

© Frank Leymann
Remember:
Skill Development Takes Time
25
Reusing experiences and proven solutions is very welcome ⇒ Pattern language for quantum computing
Tools for developing and executing quantum applications are very welcome
https://patterns.platform.planqk.de/pattern-languages https://platform.planqk.de/home

© Frank Leymann 26

Threat!

© Frank Leymann
Post-Quantum Cryptography
27
Quantum algorithm exists that can solve the discrete logarithm problem in polynomial time!
…prime factorization (e.g. RSA)
Thus, a (future!) quantum computer can crack today’s cryptography based on, e.g., …
…elliptic curves (e.g. ECDH)
Rescue is lattice-based cryptography
Currently standardized by NIST
Algorithms which can not be cracked as of today (!) classically or quantum

© Frank Leymann
Are You Safe?
28
Tcollapse "
You are in trouble if:
Tshelf+Tmigration>Tcollapse
Assume , ⇒
Tcollapse=10yTshelf=10yTmaxmigration=0y
TmigrationTshelf
You must begin now!
(Mosca’s Inequality)

© Frank Leymann
Communication between Ballerina services is about to become quantum safe
Also, crypto API extension to support PQC
But WSO2 is Acting Already
29
Prototypes are under way
Inbound/outbound communication
Data stored
Transmission of tokens is about to become quantum safe
Identity Server (on prem) and Asgardeo is about to become quantum safe

© Frank Leymann 30
Closing…

© Frank Leymann
First To Note
31
Quantum computers are specialized devices
There impact in everyday life will be subtle, not immediately noted by everyone
Personalized drugs, long-lasting batteries, highly precise navigation, etc etc etc
E.g., don’t expect a quantum mobile phone any time soon
But: Cryptography threat!

© Frank Leymann
Take Aways
32
Quantum computers are real
Quantum applications are hybrid
…i.e. a mixture of classical programs and quantum programs
Existing software lifecycles need to be extended to include quantum
…and produce tradable artifacts
Quantum applications can be deployed and executed on premise or in a cloud environment or mixed
…with a very different programming model
New applications and new business models are at the horizon
Building quantum applications is an integration problem
There is a security threat
WSO2 is already acting

© Frank Leymann
Conclusion:
Quantum Computing…
33
Why?
When?
How?
Previously unrealizable and completely new business models appear possible
Begin now!
Skill development ↦ problem identification ↦ systematic engineering ↦ assessment

© Frank Leymann
Quote by Enrico Fermi
34
I am still confused…
…but at a higher level!

© Frank Leymann 35
The End