SlideShare a Scribd company logo
1 of 16
Download to read offline
Quantum Computing and
Machine Learning
Nicolò Musmeci – Jan 2021
Executive Summary
1. Quantum computers: principles
• Example of a quantum algorithm:
Shor’s factorisation algorithm
• Debunking Quantum computing
2. Quantum Machine Learning
3. Physical realisations
• Technical difficulties
• Examples of hardware
• Timeline of Quantum Computing
INPUT OUTPUT
A Q
0 1
1 0
INPUT OUTPUT
A B Q
0 0 0
0 1 0
1 0 0
1 1 1
Classic computers: bits and logic gates
𝑎𝑢
2: probability of measuring spin up
𝑎𝑑
2
: probability of measuring spin down
Measurement (accessing the information)
Transformation (quantum gates)
𝐻11 𝐻12
𝐻21 𝐻22
𝑎𝑢
𝑎𝑑
=
𝑎𝑢𝐻11 + 𝑎𝑑𝐻12
𝑎𝑢𝐻21 + 𝑎𝑑𝐻22
𝜓 = (𝑎𝑢𝐻11 + 𝑎𝑑𝐻12) + (𝑎𝑢𝐻21 + 𝑎𝑑𝐻22)
Quantum computers: qubits and quantum gates
Superposition
Amplitudes
Electron with
spin up
Electron with
spin down
INPUT OUTPUT
A Q
0 1
1 0
0 1
1 0
0 1
1 0
1
3
+
2
3
1 0
2
3
+
1
3
1 0
0 1
1 0
×
1
3
2
3
=
2
3
1
3
INPUT OUTPUT INPUT OUTPUT
Classical logic gate Quantum logic gate
Example: 1-bit logic gate vs 1-qubit quantum gate
=
1
3
+
2
3
0
1
=
3
4
+
1
4
0
1
=
1
2
+
1
2
1 0 0 1
Entangled state
From 1-qubit to n-qubit: the magic of Entanglement
2 independent 1-qubits don’t
make a 2-qubit
1
2
: probability of measuring
1
2
: probability of measuring
The two 1-qubits are correlated
in their evolution: 2-qubit
2-qubit
From 1-qubit to n-qubit: the magic of Entanglement
1 1
𝑎1 … + 𝑎2 … + … + 𝑎2𝑛 …
1 1 0 1 1
0 1
By using Entanglement we can create n-qubits with “n” arbitrary large: the amount of information grows exponentially!
“Giving a complete description of all the correlations among just a few hundred qubits may require more bits
than the number of atoms in the visible universe” – John Preskill
𝑛
Example: Shor’s algorithm
Factorisation problem: 𝑁 = 𝑝 ∙ 𝑞 (𝑝, 𝑞 ∶ 𝑝𝑟𝑖𝑚𝑒 𝑛𝑢𝑚𝑏𝑒𝑟𝑠) Given 𝑁, what are 𝑝 and 𝑞 ?
Peter Shor’s idea:
1. Let’s transform the question into a problem for which
using qubits is an advantage
2. If the sequence is represented as a vector, its period can be found through matrix multiplication
(Fourier transformation):
This approach to factorisation is not computationally convenient for classical computers.
However, with quantum computers matrix operations are super fast!
For any number 𝑥 , the sequence
𝑥 𝑚𝑜𝑑 𝑁, 𝑥2
𝑚𝑜𝑑 𝑁, 𝑥3
𝑚𝑜𝑑 𝑁, … repeats itself; if
you can calculate the period of this sequence you
can then derive 𝑝 and 𝑞
𝑎, b, c, 𝑎, b, c, 𝑎, b, c × = 𝑎, 0, 0, 𝑎, 0, 0, 𝑎, 0, 0
Period = 3 Calculate 𝑝 and 𝑞
Example: Shor’s algorithm
Peter Shor’s idea:
3. Create a qubit large enough to represent the sequence
4. Apply the Fourier transformation to the qubit to reveal the sequence’s period (Quantum-Fourier gate):
1 1
𝑥 𝑚𝑜𝑑 𝑁 … + (𝑥2
𝑚𝑜𝑑 𝑁) … + (𝑥3
𝑚𝑜𝑑 𝑁) … + …
1 1 0 1 1
0 1
𝑥 𝑚𝑜𝑑 𝑁, 𝑥2
𝑚𝑜𝑑 𝑁, 𝑥3
𝑚𝑜𝑑 𝑁, … ×
Sequence’s
period
Calculate 𝑝 and 𝑞
𝑥 𝑚𝑜𝑑 𝑁, 𝑥2
𝑚𝑜𝑑 𝑁, 𝑥3
𝑚𝑜𝑑 𝑁, … ×
Sequence’s
period
Calculate 𝑝 and 𝑞
Time complexity: ~ 𝑝𝑜𝑙𝑦(log 𝑁)
Best non-quantum algorithm (general number field sieve)
Time complexity: ~ 𝑒𝑝𝑜𝑙𝑦(log 𝑁)
Exponential speed up!
Example: Shor’s algorithm
Debunking Quantum Computing
Quantum computers cannot solve
problems that are unsolvable by
classic computers
Quantum computing is not a fancy
version of parallel computing!
Not all classic algorithms can have a
quantum speedup! E.g. NP-hard
problems are not
Universal
Turing machine
Alan Turing
In principle a classic computer can
simulate a quantum computer (although
we don’t know how to do it)
For some problems
maybe QC can provide
fast approximate
solutions
We only have limited access to the qubit’s information
Quantum Machine Learning
Matrix Inversion (HHL algorithm)
Recommendation systems
Search problems (Grover’s algorithm)
Applications: LQ regression/SVM/Gaussian
processes/Bayesian Deep Learning
Applications: DB queries, k-medians,
k-nearest neighbours algorithms
~ 𝑝𝑜𝑙𝑦(log 𝑁) , exponential speedup
~ 𝑁 , quadratic speedup
~ 𝑝𝑜𝑙𝑦(log m ∙ n) , exponential speedup
Sampling high-dimensional distributions
1
2
+
1
2
1 0 0 1
1
3
+
2
3
0
1
3
4
+
1
4
0
1
Why is Quantum Computing hard to realise?
Quantum decoherence
Noise from the
external environment
2-qubit
1-qubit
1-qubit
Solution:
Quantum error correction
(but it requires even more qubits!)
Physical realisations of Quantum Computers
Superconducting
circuits
Trapped ion
quantum computer
Quantum dot
Optical quantum
computer
Spin of electrons
Energy level of pairs
of electrons
Energy level of
charged atoms
Polarisation and other
characteristics of light
Qubit:
Timeline for Quantum Computing
NISQ era
(Noisy Intermediate-Scale Quantum):
• 50-100 qubits (Intermediate-Scale)
• No quantum error-correction (Noisy)
September 2019: Google claims to have reached quantum
supremacy with an array of 54 qubits, which were used to perform a
series of operations in 200 seconds that would take a supercomputer
about 10,000 years to complete
Questions?
nik.musmeci87@gmail.com

More Related Content

What's hot

Quantum Computing
Quantum ComputingQuantum Computing
Quantum Computingt0pgun
 
Quantum Computation and Information
Quantum Computation and InformationQuantum Computation and Information
Quantum Computation and InformationXequeMateShannon
 
COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHM
COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHMCOMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHM
COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHMcscpconf
 
COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHM
COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHMCOMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHM
COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHMcsitconf
 
Module v sp
Module v spModule v sp
Module v spVijaya79
 
Quantum Computing - Basic Concepts
Quantum Computing - Basic ConceptsQuantum Computing - Basic Concepts
Quantum Computing - Basic ConceptsSendash Pangambam
 
Quantum computing
Quantum computingQuantum computing
Quantum computingmrevanth
 
Taking Quantum Computing for a Spin: What is Imaginary and What is Real?
Taking Quantum Computing for a Spin: What is Imaginary and What is Real?Taking Quantum Computing for a Spin: What is Imaginary and What is Real?
Taking Quantum Computing for a Spin: What is Imaginary and What is Real?Mike Hogarth, MD, FACMI, FACP
 
IEEE EED2021 Introduction to Quantum Computing
IEEE EED2021 Introduction to Quantum ComputingIEEE EED2021 Introduction to Quantum Computing
IEEE EED2021 Introduction to Quantum ComputingSAMeh Zaghloul
 
Sthack 2015 - Renaud "@nono2357" Lifchitz - Quantum computing in practice
Sthack 2015 - Renaud "@nono2357" Lifchitz - Quantum computing in practiceSthack 2015 - Renaud "@nono2357" Lifchitz - Quantum computing in practice
Sthack 2015 - Renaud "@nono2357" Lifchitz - Quantum computing in practiceStHack
 
Quantum Computing and Blockchain: Facts and Myths
Quantum Computing and Blockchain: Facts and Myths  Quantum Computing and Blockchain: Facts and Myths
Quantum Computing and Blockchain: Facts and Myths Ahmed Banafa
 
Search and optimization on quantum accelerators - 2019-05-23
Search and optimization on quantum accelerators - 2019-05-23Search and optimization on quantum accelerators - 2019-05-23
Search and optimization on quantum accelerators - 2019-05-23Aritra Sarkar
 
Quantum Computing - A History in the Making
Quantum Computing - A History in the Making Quantum Computing - A History in the Making
Quantum Computing - A History in the Making Gokul Alex
 
Quantum Computing Basics
Quantum Computing BasicsQuantum Computing Basics
Quantum Computing BasicsChristian Waha
 

What's hot (19)

Quantum Computing
Quantum ComputingQuantum Computing
Quantum Computing
 
Quantum Computing
Quantum ComputingQuantum Computing
Quantum Computing
 
Quantum Computation and Information
Quantum Computation and InformationQuantum Computation and Information
Quantum Computation and Information
 
COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHM
COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHMCOMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHM
COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHM
 
COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHM
COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHMCOMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHM
COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHM
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
 
Module v sp
Module v spModule v sp
Module v sp
 
Quantum Computing - Basic Concepts
Quantum Computing - Basic ConceptsQuantum Computing - Basic Concepts
Quantum Computing - Basic Concepts
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
 
Taking Quantum Computing for a Spin: What is Imaginary and What is Real?
Taking Quantum Computing for a Spin: What is Imaginary and What is Real?Taking Quantum Computing for a Spin: What is Imaginary and What is Real?
Taking Quantum Computing for a Spin: What is Imaginary and What is Real?
 
Quantum Computing
Quantum ComputingQuantum Computing
Quantum Computing
 
IEEE EED2021 Introduction to Quantum Computing
IEEE EED2021 Introduction to Quantum ComputingIEEE EED2021 Introduction to Quantum Computing
IEEE EED2021 Introduction to Quantum Computing
 
Sthack 2015 - Renaud "@nono2357" Lifchitz - Quantum computing in practice
Sthack 2015 - Renaud "@nono2357" Lifchitz - Quantum computing in practiceSthack 2015 - Renaud "@nono2357" Lifchitz - Quantum computing in practice
Sthack 2015 - Renaud "@nono2357" Lifchitz - Quantum computing in practice
 
Quantum Computing and Blockchain: Facts and Myths
Quantum Computing and Blockchain: Facts and Myths  Quantum Computing and Blockchain: Facts and Myths
Quantum Computing and Blockchain: Facts and Myths
 
Search and optimization on quantum accelerators - 2019-05-23
Search and optimization on quantum accelerators - 2019-05-23Search and optimization on quantum accelerators - 2019-05-23
Search and optimization on quantum accelerators - 2019-05-23
 
Quantum computers
Quantum computersQuantum computers
Quantum computers
 
Quantum Computing - A History in the Making
Quantum Computing - A History in the Making Quantum Computing - A History in the Making
Quantum Computing - A History in the Making
 
Ibm quantum computing
Ibm quantum computingIbm quantum computing
Ibm quantum computing
 
Quantum Computing Basics
Quantum Computing BasicsQuantum Computing Basics
Quantum Computing Basics
 

Similar to Introduction to Quantum Computing

Quantum Information FINAL.pptx
Quantum Information FINAL.pptxQuantum Information FINAL.pptx
Quantum Information FINAL.pptxgitrahekno
 
Quantum computation: past-now-future - 2021-06-19
Quantum computation: past-now-future - 2021-06-19Quantum computation: past-now-future - 2021-06-19
Quantum computation: past-now-future - 2021-06-19Aritra Sarkar
 
What is Quantum Computing and Why it is Important
What is Quantum Computing and Why it is ImportantWhat is Quantum Computing and Why it is Important
What is Quantum Computing and Why it is ImportantSasha Lazarevic
 
Lecture 2 - Bit vs Qubits.pptx
Lecture 2 - Bit vs Qubits.pptxLecture 2 - Bit vs Qubits.pptx
Lecture 2 - Bit vs Qubits.pptxNatKell
 
Shor’s algorithm the ppt
Shor’s algorithm the pptShor’s algorithm the ppt
Shor’s algorithm the pptMrinal Mondal
 
A short introduction to Quantum Computing and Quantum Cryptography
A short introduction to Quantum Computing and Quantum CryptographyA short introduction to Quantum Computing and Quantum Cryptography
A short introduction to Quantum Computing and Quantum CryptographyFacultad de Informática UCM
 
Virus, Vaccines, Genes and Quantum - 2020-06-18
Virus, Vaccines, Genes and Quantum - 2020-06-18Virus, Vaccines, Genes and Quantum - 2020-06-18
Virus, Vaccines, Genes and Quantum - 2020-06-18Aritra Sarkar
 
Fundamentals of Quantum Computing
Fundamentals of Quantum ComputingFundamentals of Quantum Computing
Fundamentals of Quantum Computingachakracu
 
Matt Purkeypile's Doctoral Dissertation Defense Slides
Matt Purkeypile's Doctoral Dissertation Defense SlidesMatt Purkeypile's Doctoral Dissertation Defense Slides
Matt Purkeypile's Doctoral Dissertation Defense Slidesmpurkeypile
 
QX Simulator and quantum programming - 2020-04-28
QX Simulator and quantum programming - 2020-04-28QX Simulator and quantum programming - 2020-04-28
QX Simulator and quantum programming - 2020-04-28Aritra Sarkar
 
Quantum Computing: The Why and How
Quantum Computing: The Why and HowQuantum Computing: The Why and How
Quantum Computing: The Why and Howinside-BigData.com
 
Machine learning with quantum computers
Machine learning with quantum computersMachine learning with quantum computers
Machine learning with quantum computersSpeck&Tech
 
An Introduction to Quantum Programming Languages
An Introduction to Quantum Programming LanguagesAn Introduction to Quantum Programming Languages
An Introduction to Quantum Programming LanguagesDavid Yonge-Mallo
 

Similar to Introduction to Quantum Computing (20)

Quantum Information FINAL.pptx
Quantum Information FINAL.pptxQuantum Information FINAL.pptx
Quantum Information FINAL.pptx
 
Quantum computation: past-now-future - 2021-06-19
Quantum computation: past-now-future - 2021-06-19Quantum computation: past-now-future - 2021-06-19
Quantum computation: past-now-future - 2021-06-19
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
 
Quantum Computation For AI
Quantum Computation For AIQuantum Computation For AI
Quantum Computation For AI
 
What is Quantum Computing and Why it is Important
What is Quantum Computing and Why it is ImportantWhat is Quantum Computing and Why it is Important
What is Quantum Computing and Why it is Important
 
Lecture 2 - Bit vs Qubits.pptx
Lecture 2 - Bit vs Qubits.pptxLecture 2 - Bit vs Qubits.pptx
Lecture 2 - Bit vs Qubits.pptx
 
Shor’s algorithm the ppt
Shor’s algorithm the pptShor’s algorithm the ppt
Shor’s algorithm the ppt
 
A short introduction to Quantum Computing and Quantum Cryptography
A short introduction to Quantum Computing and Quantum CryptographyA short introduction to Quantum Computing and Quantum Cryptography
A short introduction to Quantum Computing and Quantum Cryptography
 
Quantum programming
Quantum programmingQuantum programming
Quantum programming
 
Virus, Vaccines, Genes and Quantum - 2020-06-18
Virus, Vaccines, Genes and Quantum - 2020-06-18Virus, Vaccines, Genes and Quantum - 2020-06-18
Virus, Vaccines, Genes and Quantum - 2020-06-18
 
Fundamentals of Quantum Computing
Fundamentals of Quantum ComputingFundamentals of Quantum Computing
Fundamentals of Quantum Computing
 
Matt Purkeypile's Doctoral Dissertation Defense Slides
Matt Purkeypile's Doctoral Dissertation Defense SlidesMatt Purkeypile's Doctoral Dissertation Defense Slides
Matt Purkeypile's Doctoral Dissertation Defense Slides
 
Quantum & AI in Finance
Quantum & AI in FinanceQuantum & AI in Finance
Quantum & AI in Finance
 
Xim $%
Xim $%Xim $%
Xim $%
 
QX Simulator and quantum programming - 2020-04-28
QX Simulator and quantum programming - 2020-04-28QX Simulator and quantum programming - 2020-04-28
QX Simulator and quantum programming - 2020-04-28
 
Quantum Computing: The Why and How
Quantum Computing: The Why and HowQuantum Computing: The Why and How
Quantum Computing: The Why and How
 
Machine learning with quantum computers
Machine learning with quantum computersMachine learning with quantum computers
Machine learning with quantum computers
 
An Introduction to Quantum Programming Languages
An Introduction to Quantum Programming LanguagesAn Introduction to Quantum Programming Languages
An Introduction to Quantum Programming Languages
 
preskill.pptx
preskill.pptxpreskill.pptx
preskill.pptx
 
quantum-computing.ppt
quantum-computing.pptquantum-computing.ppt
quantum-computing.ppt
 

Recently uploaded

BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.
BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.
BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.PraveenaKalaiselvan1
 
Cytokinin, mechanism and its application.pptx
Cytokinin, mechanism and its application.pptxCytokinin, mechanism and its application.pptx
Cytokinin, mechanism and its application.pptxVarshiniMK
 
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...lizamodels9
 
zoogeography of pakistan.pptx fauna of Pakistan
zoogeography of pakistan.pptx fauna of Pakistanzoogeography of pakistan.pptx fauna of Pakistan
zoogeography of pakistan.pptx fauna of Pakistanzohaibmir069
 
Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...Nistarini College, Purulia (W.B) India
 
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfAnalytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfSwapnil Therkar
 
Dashanga agada a formulation of Agada tantra dealt in 3 Rd year bams agada tanta
Dashanga agada a formulation of Agada tantra dealt in 3 Rd year bams agada tantaDashanga agada a formulation of Agada tantra dealt in 3 Rd year bams agada tanta
Dashanga agada a formulation of Agada tantra dealt in 3 Rd year bams agada tantaPraksha3
 
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptxLIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptxmalonesandreagweneth
 
RESPIRATORY ADAPTATIONS TO HYPOXIA IN HUMNAS.pptx
RESPIRATORY ADAPTATIONS TO HYPOXIA IN HUMNAS.pptxRESPIRATORY ADAPTATIONS TO HYPOXIA IN HUMNAS.pptx
RESPIRATORY ADAPTATIONS TO HYPOXIA IN HUMNAS.pptxFarihaAbdulRasheed
 
Call Us ≽ 9953322196 ≼ Call Girls In Lajpat Nagar (Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Lajpat Nagar (Delhi) |Call Us ≽ 9953322196 ≼ Call Girls In Lajpat Nagar (Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Lajpat Nagar (Delhi) |aasikanpl
 
Solution chemistry, Moral and Normal solutions
Solution chemistry, Moral and Normal solutionsSolution chemistry, Moral and Normal solutions
Solution chemistry, Moral and Normal solutionsHajira Mahmood
 
Vision and reflection on Mining Software Repositories research in 2024
Vision and reflection on Mining Software Repositories research in 2024Vision and reflection on Mining Software Repositories research in 2024
Vision and reflection on Mining Software Repositories research in 2024AyushiRastogi48
 
Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Patrick Diehl
 
Microphone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptxMicrophone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptxpriyankatabhane
 
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |aasikanpl
 
Behavioral Disorder: Schizophrenia & it's Case Study.pdf
Behavioral Disorder: Schizophrenia & it's Case Study.pdfBehavioral Disorder: Schizophrenia & it's Case Study.pdf
Behavioral Disorder: Schizophrenia & it's Case Study.pdfSELF-EXPLANATORY
 
Twin's paradox experiment is a meassurement of the extra dimensions.pptx
Twin's paradox experiment is a meassurement of the extra dimensions.pptxTwin's paradox experiment is a meassurement of the extra dimensions.pptx
Twin's paradox experiment is a meassurement of the extra dimensions.pptxEran Akiva Sinbar
 
insect anatomy and insect body wall and their physiology
insect anatomy and insect body wall and their  physiologyinsect anatomy and insect body wall and their  physiology
insect anatomy and insect body wall and their physiologyDrAnita Sharma
 
Heredity: Inheritance and Variation of Traits
Heredity: Inheritance and Variation of TraitsHeredity: Inheritance and Variation of Traits
Heredity: Inheritance and Variation of TraitsCharlene Llagas
 

Recently uploaded (20)

BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.
BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.
BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.
 
Cytokinin, mechanism and its application.pptx
Cytokinin, mechanism and its application.pptxCytokinin, mechanism and its application.pptx
Cytokinin, mechanism and its application.pptx
 
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
 
zoogeography of pakistan.pptx fauna of Pakistan
zoogeography of pakistan.pptx fauna of Pakistanzoogeography of pakistan.pptx fauna of Pakistan
zoogeography of pakistan.pptx fauna of Pakistan
 
Hot Sexy call girls in Moti Nagar,🔝 9953056974 🔝 escort Service
Hot Sexy call girls in  Moti Nagar,🔝 9953056974 🔝 escort ServiceHot Sexy call girls in  Moti Nagar,🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Moti Nagar,🔝 9953056974 🔝 escort Service
 
Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...
 
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfAnalytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
 
Dashanga agada a formulation of Agada tantra dealt in 3 Rd year bams agada tanta
Dashanga agada a formulation of Agada tantra dealt in 3 Rd year bams agada tantaDashanga agada a formulation of Agada tantra dealt in 3 Rd year bams agada tanta
Dashanga agada a formulation of Agada tantra dealt in 3 Rd year bams agada tanta
 
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptxLIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
 
RESPIRATORY ADAPTATIONS TO HYPOXIA IN HUMNAS.pptx
RESPIRATORY ADAPTATIONS TO HYPOXIA IN HUMNAS.pptxRESPIRATORY ADAPTATIONS TO HYPOXIA IN HUMNAS.pptx
RESPIRATORY ADAPTATIONS TO HYPOXIA IN HUMNAS.pptx
 
Call Us ≽ 9953322196 ≼ Call Girls In Lajpat Nagar (Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Lajpat Nagar (Delhi) |Call Us ≽ 9953322196 ≼ Call Girls In Lajpat Nagar (Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Lajpat Nagar (Delhi) |
 
Solution chemistry, Moral and Normal solutions
Solution chemistry, Moral and Normal solutionsSolution chemistry, Moral and Normal solutions
Solution chemistry, Moral and Normal solutions
 
Vision and reflection on Mining Software Repositories research in 2024
Vision and reflection on Mining Software Repositories research in 2024Vision and reflection on Mining Software Repositories research in 2024
Vision and reflection on Mining Software Repositories research in 2024
 
Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?
 
Microphone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptxMicrophone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptx
 
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
 
Behavioral Disorder: Schizophrenia & it's Case Study.pdf
Behavioral Disorder: Schizophrenia & it's Case Study.pdfBehavioral Disorder: Schizophrenia & it's Case Study.pdf
Behavioral Disorder: Schizophrenia & it's Case Study.pdf
 
Twin's paradox experiment is a meassurement of the extra dimensions.pptx
Twin's paradox experiment is a meassurement of the extra dimensions.pptxTwin's paradox experiment is a meassurement of the extra dimensions.pptx
Twin's paradox experiment is a meassurement of the extra dimensions.pptx
 
insect anatomy and insect body wall and their physiology
insect anatomy and insect body wall and their  physiologyinsect anatomy and insect body wall and their  physiology
insect anatomy and insect body wall and their physiology
 
Heredity: Inheritance and Variation of Traits
Heredity: Inheritance and Variation of TraitsHeredity: Inheritance and Variation of Traits
Heredity: Inheritance and Variation of Traits
 

Introduction to Quantum Computing

  • 1. Quantum Computing and Machine Learning Nicolò Musmeci – Jan 2021
  • 2. Executive Summary 1. Quantum computers: principles • Example of a quantum algorithm: Shor’s factorisation algorithm • Debunking Quantum computing 2. Quantum Machine Learning 3. Physical realisations • Technical difficulties • Examples of hardware • Timeline of Quantum Computing
  • 3. INPUT OUTPUT A Q 0 1 1 0 INPUT OUTPUT A B Q 0 0 0 0 1 0 1 0 0 1 1 1 Classic computers: bits and logic gates
  • 4. 𝑎𝑢 2: probability of measuring spin up 𝑎𝑑 2 : probability of measuring spin down Measurement (accessing the information) Transformation (quantum gates) 𝐻11 𝐻12 𝐻21 𝐻22 𝑎𝑢 𝑎𝑑 = 𝑎𝑢𝐻11 + 𝑎𝑑𝐻12 𝑎𝑢𝐻21 + 𝑎𝑑𝐻22 𝜓 = (𝑎𝑢𝐻11 + 𝑎𝑑𝐻12) + (𝑎𝑢𝐻21 + 𝑎𝑑𝐻22) Quantum computers: qubits and quantum gates Superposition Amplitudes Electron with spin up Electron with spin down
  • 5. INPUT OUTPUT A Q 0 1 1 0 0 1 1 0 0 1 1 0 1 3 + 2 3 1 0 2 3 + 1 3 1 0 0 1 1 0 × 1 3 2 3 = 2 3 1 3 INPUT OUTPUT INPUT OUTPUT Classical logic gate Quantum logic gate Example: 1-bit logic gate vs 1-qubit quantum gate
  • 6. = 1 3 + 2 3 0 1 = 3 4 + 1 4 0 1 = 1 2 + 1 2 1 0 0 1 Entangled state From 1-qubit to n-qubit: the magic of Entanglement 2 independent 1-qubits don’t make a 2-qubit 1 2 : probability of measuring 1 2 : probability of measuring The two 1-qubits are correlated in their evolution: 2-qubit 2-qubit
  • 7. From 1-qubit to n-qubit: the magic of Entanglement 1 1 𝑎1 … + 𝑎2 … + … + 𝑎2𝑛 … 1 1 0 1 1 0 1 By using Entanglement we can create n-qubits with “n” arbitrary large: the amount of information grows exponentially! “Giving a complete description of all the correlations among just a few hundred qubits may require more bits than the number of atoms in the visible universe” – John Preskill 𝑛
  • 8. Example: Shor’s algorithm Factorisation problem: 𝑁 = 𝑝 ∙ 𝑞 (𝑝, 𝑞 ∶ 𝑝𝑟𝑖𝑚𝑒 𝑛𝑢𝑚𝑏𝑒𝑟𝑠) Given 𝑁, what are 𝑝 and 𝑞 ? Peter Shor’s idea: 1. Let’s transform the question into a problem for which using qubits is an advantage 2. If the sequence is represented as a vector, its period can be found through matrix multiplication (Fourier transformation): This approach to factorisation is not computationally convenient for classical computers. However, with quantum computers matrix operations are super fast! For any number 𝑥 , the sequence 𝑥 𝑚𝑜𝑑 𝑁, 𝑥2 𝑚𝑜𝑑 𝑁, 𝑥3 𝑚𝑜𝑑 𝑁, … repeats itself; if you can calculate the period of this sequence you can then derive 𝑝 and 𝑞 𝑎, b, c, 𝑎, b, c, 𝑎, b, c × = 𝑎, 0, 0, 𝑎, 0, 0, 𝑎, 0, 0 Period = 3 Calculate 𝑝 and 𝑞
  • 9. Example: Shor’s algorithm Peter Shor’s idea: 3. Create a qubit large enough to represent the sequence 4. Apply the Fourier transformation to the qubit to reveal the sequence’s period (Quantum-Fourier gate): 1 1 𝑥 𝑚𝑜𝑑 𝑁 … + (𝑥2 𝑚𝑜𝑑 𝑁) … + (𝑥3 𝑚𝑜𝑑 𝑁) … + … 1 1 0 1 1 0 1 𝑥 𝑚𝑜𝑑 𝑁, 𝑥2 𝑚𝑜𝑑 𝑁, 𝑥3 𝑚𝑜𝑑 𝑁, … × Sequence’s period Calculate 𝑝 and 𝑞
  • 10. 𝑥 𝑚𝑜𝑑 𝑁, 𝑥2 𝑚𝑜𝑑 𝑁, 𝑥3 𝑚𝑜𝑑 𝑁, … × Sequence’s period Calculate 𝑝 and 𝑞 Time complexity: ~ 𝑝𝑜𝑙𝑦(log 𝑁) Best non-quantum algorithm (general number field sieve) Time complexity: ~ 𝑒𝑝𝑜𝑙𝑦(log 𝑁) Exponential speed up! Example: Shor’s algorithm
  • 11. Debunking Quantum Computing Quantum computers cannot solve problems that are unsolvable by classic computers Quantum computing is not a fancy version of parallel computing! Not all classic algorithms can have a quantum speedup! E.g. NP-hard problems are not Universal Turing machine Alan Turing In principle a classic computer can simulate a quantum computer (although we don’t know how to do it) For some problems maybe QC can provide fast approximate solutions We only have limited access to the qubit’s information
  • 12. Quantum Machine Learning Matrix Inversion (HHL algorithm) Recommendation systems Search problems (Grover’s algorithm) Applications: LQ regression/SVM/Gaussian processes/Bayesian Deep Learning Applications: DB queries, k-medians, k-nearest neighbours algorithms ~ 𝑝𝑜𝑙𝑦(log 𝑁) , exponential speedup ~ 𝑁 , quadratic speedup ~ 𝑝𝑜𝑙𝑦(log m ∙ n) , exponential speedup Sampling high-dimensional distributions
  • 13. 1 2 + 1 2 1 0 0 1 1 3 + 2 3 0 1 3 4 + 1 4 0 1 Why is Quantum Computing hard to realise? Quantum decoherence Noise from the external environment 2-qubit 1-qubit 1-qubit Solution: Quantum error correction (but it requires even more qubits!)
  • 14. Physical realisations of Quantum Computers Superconducting circuits Trapped ion quantum computer Quantum dot Optical quantum computer Spin of electrons Energy level of pairs of electrons Energy level of charged atoms Polarisation and other characteristics of light Qubit:
  • 15. Timeline for Quantum Computing NISQ era (Noisy Intermediate-Scale Quantum): • 50-100 qubits (Intermediate-Scale) • No quantum error-correction (Noisy) September 2019: Google claims to have reached quantum supremacy with an array of 54 qubits, which were used to perform a series of operations in 200 seconds that would take a supercomputer about 10,000 years to complete