SlideShare a Scribd company logo
1 of 33
Lecture 1: Bits vs Qubits
and Quantum Advantage
CS 401: Quantum Computing
Dr. Kell, Spring 2023
High Level Review: How Classical Computers Work
(non-quantum)
Step 1: Pick the most convenient/efficient physical
medium for storing and manipulating numbers.
High Level Review: How Classical Computers Work
(non-quantum)
Step 1: Pick the most convenient/efficient physical
medium for storing and manipulating numbers.
High Level Review: How Classical Computers Work
(non-quantum)
Step 1: Pick the most convenient/efficient physical
medium for storing and manipulating numbers.
3141592653589793238462643383
Letters/Symbols Colors
Hindu-Arabic Numbers
High Level Review: How Classical Computers Work
(non-quantum)
Step 1: Pick the most convenient/efficient physical
medium for storing and manipulating numbers.
3141592653589793238462643383
Letters/Symbols Colors
Hindu-Arabic Numbers
Invented 0-300 AD
In India
800 AD: Al Khwarizmi
(etymology of “algorithm”)
in Middle East
1200 AD: Fibonacci
In Europe
High Level Review: How Classical Computers Work
(non-quantum)
Step 1: Pick the most convenient/efficient physical
medium for storing and manipulating numbers.
3141592653589793238462643383
Letters/Symbols Colors
Hindu-Arabic Numbers
Binary Numbers (2 digits instead of 10)
1 1 0 0 1 0 0 1
High Level Review: How Classical Computers Work
(non-quantum)
Step 1: Pick the most convenient/efficient physical
medium for storing and manipulating numbers.
3141592653589793238462643383
Letters/Symbols Colors
Hindu-Arabic Numbers
Binary Numbers (2 digits instead of 10)
1 1 0 0 1 0 0 1
Lights Switches
High Level Review: How Classical Computers Work
(non-quantum)
Step 1: Pick the most convenient/efficient physical
medium for storing and manipulating numbers.
3141592653589793238462643383
Letters/Symbols Colors
Hindu-Arabic Numbers
Binary Numbers (2 digits instead of 10)
1 1 0 0 1 0 0 1
Lights Bulbs
High Level Review: How Classical Computers Work
(non-quantum)
Step 1: Pick the most convenient/efficient physical
medium for storing and manipulating numbers.
3141592653589793238462643383
Letters/Symbols Colors
Hindu-Arabic Numbers
Binary Numbers (2 digits instead of 10)
1 1 0 0 1 0 0
Kids on See-Saw
High Level Review: How Classical Computers Work
(non-quantum)
Step 1: Pick the most convenient/efficient physical
medium for storing and manipulating numbers.
3141592653589793238462643383
Letters/Symbols Colors
Hindu-Arabic Numbers
Binary Numbers (2 digits instead of 10)
1 1 0 0 1 0 0 1
Computers Use: transistors + wires
(Classical Bits of Information)
High Level Review: How Classical Computers Work
(non-quantum)
Step 1: Pick the most convenient/efficient physical
medium for storing and manipulating numbers.
3141592653589793238462643383
Letters/Symbols Colors
Hindu-Arabic Numbers
Binary Numbers (2 digits instead of 10)
Computers Use: basically, mini light bulbs
(Classical Bits of Information)
1 1 0 0 1 0 0 1
High Level Review: How Classical Computers Work
(non-quantum)
1 1 0 0 1 0 0 1
Step 2: “Automate” the process of thinking using physical information scheme.
(Simplified) Evolution of Classical CPU Over Time
“Change 0th bit to 0”
1
1
0
0
1
0
0
1
.
.
.
1
0
1
0
0
1
1
t = 0
Entire State of CPU
0
1
0
0
1
0
0
1
.
.
.
1
0
1
0
0
1
1
t = 1
0
1
0
0
1
0
0
1
.
.
.
1
0
1
1
1
0
0
t = 2
“Flip state of
last four bits”
. . .
Classical Bits versus Quantum Bits (“Qubits”)
Modern Classical Bits
Transistor Size ~ 10 nanometers
(0.00000001 meters)
Classical Bits versus Quantum Bits (“Qubits”)
Modern Classical Bits
Transistor Size ~ 10 nanometers
(0.00000001 meters)
Qubit -> state of an atom or photon
(Just make things even smaller)
Electron size ~ 𝟏𝟎−𝟏𝟖
meters
(0.000000000000000001 meters)
ground vs excited
“spin up” vs “spin down”
Canonical Problems with Quantum Advantage
Canonical Problems with Quantum Advantage
Problem 1: Factoring Integers
Input: integer x.
Output: non-trivial factors of x.
x = 54 2, 3, 6, 9, 18, 27
Best Classical Algorithm: O(𝟐𝒏
) for n bit numbers
Shor’s Quantum Algorithm: O(poly(n))
Many cryptography schemes (e.g., RSA) rely on
exponential runtime for the problem.
Canonical Problems with Quantum Advantage
Problem 1: Factoring Integers
Input: integer x.
Output: non-trivial factors of x.
x = 54 2, 3, 6, 9, 18, 27
Best Classical Algorithm: O(𝟐𝒏
) for n bit numbers
Shor’s Quantum Algorithm: O(poly(n))
Problem 2: Search Problem
Input: list L, target value
Output: index of target in L
L = [2, 1, 10, 4, 7, 9, 3]
target = 7
4
(index of 7)
Many applications in cloud quantum
computing, databases, etc.
Many cryptography schemes (e.g., RSA) rely on
exponential runtime for the problem.
Canonical Problems with Quantum Advantage
Problem 1: Factoring Integers
Input: integer x.
Output: non-trivial factors of x.
x = 54 2, 3, 6, 9, 18, 27
Best Classical Algorithm: O(𝟐𝒏
) for n bit numbers
Shor’s Quantum Algorithm: O(poly(n))
Many cryptography schemes (e.g., RSA) rely on
exponential runtime for the problem.
Problem 2: Search Problem
Input: list L, target value
Output: index of target in L
L = [2, 1, 10, 4, 7, 9, 3]
target = 7
4
(index of 7)
Many applications in cloud quantum
computing, databases, etc.
Best Possible Classical Algorithm: O(n)
Canonical Problems with Quantum Advantage
Problem 1: Factoring Integers
Input: integer x.
Output: non-trivial factors of x.
x = 54 2, 3, 6, 9, 18, 27
Best Classical Algorithm: O(𝟐𝒏
) for n bit numbers
Shor’s Quantum Algorithm: O(poly(n))
Problem 2: Search Problem
Input: list L, target value
Output: index of target in L
L = [2, 1, 10, 4, 7, 9, 3]
target = 7
4
(index of 7)
Many applications in cloud quantum
computing, databases, etc.
Best Possible Classical Algorithm: O(n)
Grover’s Quantum Algorithm: O(𝐧𝟏/𝟐
)
Many cryptography schemes (e.g., RSA) rely on
exponential runtime for the problem.
“Change 0th bit to 0”
1
1
0
0
1
0
0
1
.
.
.
1
0
1
0
0
1
1
t = 0
Entire State of CPU
0
1
0
0
1
0
0
1
.
.
.
1
0
1
0
0
1
1
t = 1
0
1
0
0
1
0
0
1
.
.
.
1
0
1
1
1
0
0
t = 2
“Flip state of
last four bits”
. . .
High Level: Why is this possible?
High Level: Why is this possible?
. . .
blue = 0 green = 1
Qubit = some property of atom
Quantum Logic
Gates
Quantum Logic
Gates
Quantum Logic
Gates
t = 0
State Quantum CPU
0
1
0
0
t = 1
State Quantum CPU
1
1
0
0
t = 2
State Quantum CPU
1
1
0
0
High Level: Why is this possible?
. . .
blue = 0 green = 1
Qubit = some property of atom
Quantum Logic
Gates
Quantum Logic
Gates
Quantum Logic
Gates
t = 0
State Quantum CPU
0
1
0
0
t = 1
State Quantum CPU
1
1
0
0
t = 2
State Quantum CPU
1
1
0
0
High Level: Why is this possible?
blue = 0 green = 1
Qubit = some property of atom
Quantum Logic
Gates
Quantum Logic
Gates
Measure/Observe
(Picks state according to probabilities)
t = 0
State Quantum CPU
State Pro
b
0 0 0 1
: 0
0 0 1 0
: 0
0 0 1 1
: 0
0 1 0 0
: 0
0 1 0 1
: 0
0 1 1 0
: 0
0 1 1 1
: 0
0 0 0 1
: 1
1 0 0 0
: 0
1 0 0 1
: 0
1 0 1 0
: 0
1 0 1 1
: 0
1 1 0 0
: 0
1 1 0 1
: 0
1 1 1 0
: 0
1 1 1 1
: 0
t = 1
State Pro
b
0 0 0 1
0 0 1 0
0 0 1 1
0 1 0 0
0 1 0 1
0 1 1 0
0 1 1 1
0 0 0 1
1 0 0 0
1 0 0 1
1 0 1 0
1 0 1 1
1 1 0 0
1 1 0 1
1 1 1 0
1 1 1 1
1
16
1
16
1
16
1
16
1
16
1
16
1
16
1
16
1
16
1
16
1
16
1
16
1
16
1
16
1
16
1
16
t = 1
State Pro
b
0 0 0 1
0 0 1 0
0 0 1 1
0 1 0 0
0 1 0 1
0 1 1 0
0 1 1 1
0 0 0 1
1 0 0 0
1 0 0 1
1 0 1 0
1 0 1 1
1 1 0 0
1 1 0 1
1 1 1 0
1 1 1 1
1
16
0
1
16
0
1
16
0
1
16
1
8
1
8
1
8
1
8
0
1
4
0
0
0
State = probability
distribution over all
configurations
Single outcome
(had 1/8 chance)
High Level: Why is this possible?
blue = 0 green = 1
Qubit = some property of atom
Quantum Logic
Gates
Quantum Logic
Gates
Measure/Observe
(Picks state according to probabilities)
t = 0
State Quantum CPU
State Pro
b
0 0 0 1
: 0
0 0 1 0
: 0
0 0 1 1
: 0
0 1 0 0
: 0
0 1 0 1
: 0
0 1 1 0
: 0
0 1 1 1
: 0
0 0 0 1
: 1
1 0 0 0
: 0
1 0 0 1
: 0
1 0 1 0
: 0
1 0 1 1
: 0
1 1 0 0
: 0
1 1 0 1
: 0
1 1 1 0
: 0
1 1 1 1
: 0
t = 1
State Pro
b
0 0 0 1
0 0 1 0
0 0 1 1
0 1 0 0
0 1 0 1
0 1 1 0
0 1 1 1
0 0 0 1
1 0 0 0
1 0 0 1
1 0 1 0
1 0 1 1
1 1 0 0
1 1 0 1
1 1 1 0
1 1 1 1
1
16
1
16
1
16
1
16
1
16
1
16
1
16
1
16
1
16
1
16
1
16
1
16
1
16
1
16
1
16
1
16
t = 1
State Pro
b
0 0 0 1
0 0 1 0
0 0 1 1
0 1 0 0
0 1 0 1
0 1 1 0
0 1 1 1
0 0 0 1
1 0 0 0
1 0 0 1
1 0 1 0
1 0 1 1
1 1 0 0
1 1 0 1
1 1 1 0
1 1 1 1
1
16
0
1
16
0
1
16
0
1
16
1
8
1
8
1
8
1
8
0
1
4
0
0
0
State = probability
distribution over all
configurations
Single outcome
(had 1/8 chance)
… Well, not exactly
• Probabilities can actually be
negative or complex numbers.
• What happens if we measure
some atoms/qubits but not
others?
Conclusions
Key Takeaways
• Quantum computers can be faster because they get to manipulate and exponential amount of
information in O(1) time.
• Quantum computers are not 100% superior nor solve all hard problems trivially because:
o The rules for how exponential probabilities are updated are constrained to certain operations.
o Even though we get to manipulate an exponential number of probabilities, we only see one outcome at the end.
Conclusions
Key Takeaways
• Quantum computers can be faster because they get to manipulate and exponential amount of
information in O(1) time.
• Quantum computers are not 100% superior nor solve all hard problems trivially because:
o The rules for how exponential probabilities are updated are constrained to certain operations.
o Even though we get to manipulate an exponential number of probabilities, we only see one outcome at the end.
Question: How does “Nature” keep track of and update so much information so quickly?
Conclusions
Key Takeaways
• Quantum computers can be faster because they get to manipulate and exponential amount of
information in O(1) time.
• Quantum computers are not 100% superior nor solve all hard problems trivially because:
o The rules for how exponential probabilities are updated are constrained to certain operations.
o Even though we get to manipulate an exponential number of probabilities, we only see one outcome at the end.
o Answer:
Question: How does “Nature” keep track of and update so much information so quickly?
Conclusions
Key Takeaways
• Quantum computers can be faster because they get to manipulate and exponential amount of
information in O(1) time.
• Quantum computers are not 100% superior nor solve all hard problems trivially because:
o The rules for how exponential probabilities are updated are constrained to certain operations.
o Even though we get to manipulate an exponential number of probabilities, we only see one outcome at the end.
Question: How does “Nature” keep track of and update so much information so quickly?
o Answer: Nobody knows.
Conclusions
Key Takeaways
• Quantum computers can be faster because they get to manipulate and exponential amount of
information in O(1) time.
• Quantum computers are not 100% superior nor solve all hard problems trivially because:
o The rules for how exponential probabilities are updated are constrained to certain operations.
o Even though we get to manipulate an exponential number of probabilities, we only see one outcome at the end.
Question: How does “Nature” keep track of and update so much information so quickly?
o Answer: Nobody knows.
o Three categories/types of answers:
Conclusions
Key Takeaways
• Quantum computers can be faster because they get to manipulate and exponential amount of
information in O(1) time.
• Quantum computers are not 100% superior nor solve all hard problems trivially because:
o The rules for how exponential probabilities are updated are constrained to certain operations.
o Even though we get to manipulate an exponential number of probabilities, we only see one outcome at the end.
Question: How does “Nature” keep track of and update so much information so quickly?
o Answer: Nobody knows.
o Three categories/types of answers:
1. Who cares? Quantum physics works why ask the question?
Conclusions
Key Takeaways
• Quantum computers can be faster because they get to manipulate and exponential amount of
information in O(1) time.
• Quantum computers are not 100% superior nor solve all hard problems trivially because:
o The rules for how exponential probabilities are updated are constrained to certain operations.
o Even though we get to manipulate an exponential number of probabilities, we only see one outcome at the end.
Question: How does “Nature” keep track of and update so much information so quickly?
o Answer: Nobody knows.
o Three categories/types of answers:
1. Who cares? Quantum physics works why ask the question?
2. Quantum mechanics doesn’t make sense, thus needs fixed.
Conclusions
Key Takeaways
• Quantum computers can be faster because they get to manipulate and exponential amount of
information in O(1) time.
• Quantum computers are not 100% superior nor solve all hard problems trivially because:
o The rules for how exponential probabilities are updated are constrained to certain operations.
o Even though we get to manipulate an exponential number of probabilities, we only see one outcome at the end.
Question: How does “Nature” keep track of and update so much information so quickly?
o Answer: Nobody knows.
o Three categories/types of answers:
1. Who cares? Quantum physics works why ask the question?
2. Quantum mechanics doesn’t make sense, thus needs fixed.
3. We live in a multiverse which interact (many-worlds interpretation).

More Related Content

What's hot (20)

Quantum computing
Quantum computingQuantum computing
Quantum computing
 
Quantum Computers
Quantum ComputersQuantum Computers
Quantum Computers
 
Quantum Computers
Quantum ComputersQuantum Computers
Quantum Computers
 
Quantum Computing
Quantum ComputingQuantum Computing
Quantum Computing
 
Quantum computer
Quantum computerQuantum computer
Quantum computer
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
 
Quantum Computing
Quantum ComputingQuantum Computing
Quantum Computing
 
Quantum Computing
Quantum ComputingQuantum Computing
Quantum Computing
 
Quantum Computers New Generation of Computers PART1 by Prof Lili Saghafi
Quantum Computers New Generation of Computers PART1 by Prof Lili SaghafiQuantum Computers New Generation of Computers PART1 by Prof Lili Saghafi
Quantum Computers New Generation of Computers PART1 by Prof Lili Saghafi
 
Quantum computer
Quantum computerQuantum computer
Quantum computer
 
Quantum computers
Quantum computersQuantum computers
Quantum computers
 
Quantum Computing ppt
Quantum Computing  pptQuantum Computing  ppt
Quantum Computing ppt
 
Quantum computers by Emran
Quantum computers by EmranQuantum computers by Emran
Quantum computers by Emran
 
Introduction to Quantum Computer
Introduction to Quantum ComputerIntroduction to Quantum Computer
Introduction to Quantum Computer
 
Quantum Computer
Quantum ComputerQuantum Computer
Quantum Computer
 
Quantum Computers new Generation of Computers part 7 by prof lili saghafi Qua...
Quantum Computers new Generation of Computers part 7 by prof lili saghafi Qua...Quantum Computers new Generation of Computers part 7 by prof lili saghafi Qua...
Quantum Computers new Generation of Computers part 7 by prof lili saghafi Qua...
 
Quantum computing meghaditya
Quantum computing meghadityaQuantum computing meghaditya
Quantum computing meghaditya
 
Seminar
SeminarSeminar
Seminar
 
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?
 

Similar to Lecture 2 - Bit vs Qubits.pptx

Introduction to Quantum Computing
Introduction to Quantum ComputingIntroduction to Quantum Computing
Introduction to Quantum ComputingNicolo Musmeci
 
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
 
Quantum computing
Quantum computingQuantum computing
Quantum computingRitwik MG
 
A few fundamental concepts in digital electronics
A few fundamental concepts in digital electronicsA few fundamental concepts in digital electronics
A few fundamental concepts in digital electronicsJoy Prabhakaran
 
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
 
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
 
Unlocking the Power of Quantum Machine Learning with Azure Quantum
Unlocking the Power of Quantum Machine Learning with Azure QuantumUnlocking the Power of Quantum Machine Learning with Azure Quantum
Unlocking the Power of Quantum Machine Learning with Azure QuantumKumton Suttiraksiri
 
Quantum computing for CS students: the unitary circuit model
Quantum computing for CS students: the unitary circuit modelQuantum computing for CS students: the unitary circuit model
Quantum computing for CS students: the unitary circuit modelBruno Fedrici, PhD
 
Quantum Computation simplified.pptx
Quantum Computation simplified.pptxQuantum Computation simplified.pptx
Quantum Computation simplified.pptxSundarappanKathiresa
 
The Extraordinary World of Quantum Computing
The Extraordinary World of Quantum ComputingThe Extraordinary World of Quantum Computing
The Extraordinary World of Quantum ComputingTim Ellison
 
Lunch session: Quantum Computing
Lunch session: Quantum ComputingLunch session: Quantum Computing
Lunch session: Quantum ComputingRolf Huisman
 
Quantum Information FINAL.pptx
Quantum Information FINAL.pptxQuantum Information FINAL.pptx
Quantum Information FINAL.pptxgitrahekno
 
quantum computing22.pptx
quantum computing22.pptxquantum computing22.pptx
quantum computing22.pptxAbhijit181377
 
HiPEAC'19 Tutorial on Quantum algorithms using QX - 2019-01-23
HiPEAC'19 Tutorial on Quantum algorithms using QX - 2019-01-23HiPEAC'19 Tutorial on Quantum algorithms using QX - 2019-01-23
HiPEAC'19 Tutorial on Quantum algorithms using QX - 2019-01-23Aritra Sarkar
 
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
 
Introduction to Quantum Computing
Introduction to Quantum ComputingIntroduction to Quantum Computing
Introduction to Quantum ComputingGDSC PJATK
 

Similar to Lecture 2 - Bit vs Qubits.pptx (20)

Quantum Computation For AI
Quantum Computation For AIQuantum Computation For AI
Quantum Computation For AI
 
Introduction to Quantum Computing
Introduction to Quantum ComputingIntroduction to Quantum Computing
Introduction to Quantum Computing
 
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
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
 
A few fundamental concepts in digital electronics
A few fundamental concepts in digital electronicsA few fundamental concepts in digital electronics
A few fundamental concepts in digital electronics
 
Quantum Computing: The Why and How
Quantum Computing: The Why and HowQuantum Computing: The Why and How
Quantum Computing: The Why and How
 
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
 
Unlocking the Power of Quantum Machine Learning with Azure Quantum
Unlocking the Power of Quantum Machine Learning with Azure QuantumUnlocking the Power of Quantum Machine Learning with Azure Quantum
Unlocking the Power of Quantum Machine Learning with Azure Quantum
 
2017 10 17_quantum_program_v2
2017 10 17_quantum_program_v22017 10 17_quantum_program_v2
2017 10 17_quantum_program_v2
 
Quantum computing for CS students: the unitary circuit model
Quantum computing for CS students: the unitary circuit modelQuantum computing for CS students: the unitary circuit model
Quantum computing for CS students: the unitary circuit model
 
Quantum Computation simplified.pptx
Quantum Computation simplified.pptxQuantum Computation simplified.pptx
Quantum Computation simplified.pptx
 
The Extraordinary World of Quantum Computing
The Extraordinary World of Quantum ComputingThe Extraordinary World of Quantum Computing
The Extraordinary World of Quantum Computing
 
Quantum Computers
Quantum ComputersQuantum Computers
Quantum Computers
 
Lunch session: Quantum Computing
Lunch session: Quantum ComputingLunch session: Quantum Computing
Lunch session: Quantum Computing
 
Quantum Information FINAL.pptx
Quantum Information FINAL.pptxQuantum Information FINAL.pptx
Quantum Information FINAL.pptx
 
quantum computing22.pptx
quantum computing22.pptxquantum computing22.pptx
quantum computing22.pptx
 
HiPEAC'19 Tutorial on Quantum algorithms using QX - 2019-01-23
HiPEAC'19 Tutorial on Quantum algorithms using QX - 2019-01-23HiPEAC'19 Tutorial on Quantum algorithms using QX - 2019-01-23
HiPEAC'19 Tutorial on Quantum algorithms using QX - 2019-01-23
 
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
 
Introduction to Quantum Computing
Introduction to Quantum ComputingIntroduction to Quantum Computing
Introduction to Quantum Computing
 

Recently uploaded

Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 

Recently uploaded (20)

Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 

Lecture 2 - Bit vs Qubits.pptx

  • 1. Lecture 1: Bits vs Qubits and Quantum Advantage CS 401: Quantum Computing Dr. Kell, Spring 2023
  • 2. High Level Review: How Classical Computers Work (non-quantum) Step 1: Pick the most convenient/efficient physical medium for storing and manipulating numbers.
  • 3. High Level Review: How Classical Computers Work (non-quantum) Step 1: Pick the most convenient/efficient physical medium for storing and manipulating numbers.
  • 4. High Level Review: How Classical Computers Work (non-quantum) Step 1: Pick the most convenient/efficient physical medium for storing and manipulating numbers. 3141592653589793238462643383 Letters/Symbols Colors Hindu-Arabic Numbers
  • 5. High Level Review: How Classical Computers Work (non-quantum) Step 1: Pick the most convenient/efficient physical medium for storing and manipulating numbers. 3141592653589793238462643383 Letters/Symbols Colors Hindu-Arabic Numbers Invented 0-300 AD In India 800 AD: Al Khwarizmi (etymology of “algorithm”) in Middle East 1200 AD: Fibonacci In Europe
  • 6. High Level Review: How Classical Computers Work (non-quantum) Step 1: Pick the most convenient/efficient physical medium for storing and manipulating numbers. 3141592653589793238462643383 Letters/Symbols Colors Hindu-Arabic Numbers Binary Numbers (2 digits instead of 10) 1 1 0 0 1 0 0 1
  • 7. High Level Review: How Classical Computers Work (non-quantum) Step 1: Pick the most convenient/efficient physical medium for storing and manipulating numbers. 3141592653589793238462643383 Letters/Symbols Colors Hindu-Arabic Numbers Binary Numbers (2 digits instead of 10) 1 1 0 0 1 0 0 1 Lights Switches
  • 8. High Level Review: How Classical Computers Work (non-quantum) Step 1: Pick the most convenient/efficient physical medium for storing and manipulating numbers. 3141592653589793238462643383 Letters/Symbols Colors Hindu-Arabic Numbers Binary Numbers (2 digits instead of 10) 1 1 0 0 1 0 0 1 Lights Bulbs
  • 9. High Level Review: How Classical Computers Work (non-quantum) Step 1: Pick the most convenient/efficient physical medium for storing and manipulating numbers. 3141592653589793238462643383 Letters/Symbols Colors Hindu-Arabic Numbers Binary Numbers (2 digits instead of 10) 1 1 0 0 1 0 0 Kids on See-Saw
  • 10. High Level Review: How Classical Computers Work (non-quantum) Step 1: Pick the most convenient/efficient physical medium for storing and manipulating numbers. 3141592653589793238462643383 Letters/Symbols Colors Hindu-Arabic Numbers Binary Numbers (2 digits instead of 10) 1 1 0 0 1 0 0 1 Computers Use: transistors + wires (Classical Bits of Information)
  • 11. High Level Review: How Classical Computers Work (non-quantum) Step 1: Pick the most convenient/efficient physical medium for storing and manipulating numbers. 3141592653589793238462643383 Letters/Symbols Colors Hindu-Arabic Numbers Binary Numbers (2 digits instead of 10) Computers Use: basically, mini light bulbs (Classical Bits of Information) 1 1 0 0 1 0 0 1
  • 12. High Level Review: How Classical Computers Work (non-quantum) 1 1 0 0 1 0 0 1 Step 2: “Automate” the process of thinking using physical information scheme.
  • 13. (Simplified) Evolution of Classical CPU Over Time “Change 0th bit to 0” 1 1 0 0 1 0 0 1 . . . 1 0 1 0 0 1 1 t = 0 Entire State of CPU 0 1 0 0 1 0 0 1 . . . 1 0 1 0 0 1 1 t = 1 0 1 0 0 1 0 0 1 . . . 1 0 1 1 1 0 0 t = 2 “Flip state of last four bits” . . .
  • 14. Classical Bits versus Quantum Bits (“Qubits”) Modern Classical Bits Transistor Size ~ 10 nanometers (0.00000001 meters)
  • 15. Classical Bits versus Quantum Bits (“Qubits”) Modern Classical Bits Transistor Size ~ 10 nanometers (0.00000001 meters) Qubit -> state of an atom or photon (Just make things even smaller) Electron size ~ 𝟏𝟎−𝟏𝟖 meters (0.000000000000000001 meters) ground vs excited “spin up” vs “spin down”
  • 16. Canonical Problems with Quantum Advantage
  • 17. Canonical Problems with Quantum Advantage Problem 1: Factoring Integers Input: integer x. Output: non-trivial factors of x. x = 54 2, 3, 6, 9, 18, 27 Best Classical Algorithm: O(𝟐𝒏 ) for n bit numbers Shor’s Quantum Algorithm: O(poly(n)) Many cryptography schemes (e.g., RSA) rely on exponential runtime for the problem.
  • 18. Canonical Problems with Quantum Advantage Problem 1: Factoring Integers Input: integer x. Output: non-trivial factors of x. x = 54 2, 3, 6, 9, 18, 27 Best Classical Algorithm: O(𝟐𝒏 ) for n bit numbers Shor’s Quantum Algorithm: O(poly(n)) Problem 2: Search Problem Input: list L, target value Output: index of target in L L = [2, 1, 10, 4, 7, 9, 3] target = 7 4 (index of 7) Many applications in cloud quantum computing, databases, etc. Many cryptography schemes (e.g., RSA) rely on exponential runtime for the problem.
  • 19. Canonical Problems with Quantum Advantage Problem 1: Factoring Integers Input: integer x. Output: non-trivial factors of x. x = 54 2, 3, 6, 9, 18, 27 Best Classical Algorithm: O(𝟐𝒏 ) for n bit numbers Shor’s Quantum Algorithm: O(poly(n)) Many cryptography schemes (e.g., RSA) rely on exponential runtime for the problem. Problem 2: Search Problem Input: list L, target value Output: index of target in L L = [2, 1, 10, 4, 7, 9, 3] target = 7 4 (index of 7) Many applications in cloud quantum computing, databases, etc. Best Possible Classical Algorithm: O(n)
  • 20. Canonical Problems with Quantum Advantage Problem 1: Factoring Integers Input: integer x. Output: non-trivial factors of x. x = 54 2, 3, 6, 9, 18, 27 Best Classical Algorithm: O(𝟐𝒏 ) for n bit numbers Shor’s Quantum Algorithm: O(poly(n)) Problem 2: Search Problem Input: list L, target value Output: index of target in L L = [2, 1, 10, 4, 7, 9, 3] target = 7 4 (index of 7) Many applications in cloud quantum computing, databases, etc. Best Possible Classical Algorithm: O(n) Grover’s Quantum Algorithm: O(𝐧𝟏/𝟐 ) Many cryptography schemes (e.g., RSA) rely on exponential runtime for the problem.
  • 21. “Change 0th bit to 0” 1 1 0 0 1 0 0 1 . . . 1 0 1 0 0 1 1 t = 0 Entire State of CPU 0 1 0 0 1 0 0 1 . . . 1 0 1 0 0 1 1 t = 1 0 1 0 0 1 0 0 1 . . . 1 0 1 1 1 0 0 t = 2 “Flip state of last four bits” . . . High Level: Why is this possible?
  • 22. High Level: Why is this possible? . . . blue = 0 green = 1 Qubit = some property of atom Quantum Logic Gates Quantum Logic Gates Quantum Logic Gates t = 0 State Quantum CPU 0 1 0 0 t = 1 State Quantum CPU 1 1 0 0 t = 2 State Quantum CPU 1 1 0 0
  • 23. High Level: Why is this possible? . . . blue = 0 green = 1 Qubit = some property of atom Quantum Logic Gates Quantum Logic Gates Quantum Logic Gates t = 0 State Quantum CPU 0 1 0 0 t = 1 State Quantum CPU 1 1 0 0 t = 2 State Quantum CPU 1 1 0 0
  • 24. High Level: Why is this possible? blue = 0 green = 1 Qubit = some property of atom Quantum Logic Gates Quantum Logic Gates Measure/Observe (Picks state according to probabilities) t = 0 State Quantum CPU State Pro b 0 0 0 1 : 0 0 0 1 0 : 0 0 0 1 1 : 0 0 1 0 0 : 0 0 1 0 1 : 0 0 1 1 0 : 0 0 1 1 1 : 0 0 0 0 1 : 1 1 0 0 0 : 0 1 0 0 1 : 0 1 0 1 0 : 0 1 0 1 1 : 0 1 1 0 0 : 0 1 1 0 1 : 0 1 1 1 0 : 0 1 1 1 1 : 0 t = 1 State Pro b 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 0 0 0 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 1 16 1 16 1 16 1 16 1 16 1 16 1 16 1 16 1 16 1 16 1 16 1 16 1 16 1 16 1 16 1 16 t = 1 State Pro b 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 0 0 0 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 1 16 0 1 16 0 1 16 0 1 16 1 8 1 8 1 8 1 8 0 1 4 0 0 0 State = probability distribution over all configurations Single outcome (had 1/8 chance)
  • 25. High Level: Why is this possible? blue = 0 green = 1 Qubit = some property of atom Quantum Logic Gates Quantum Logic Gates Measure/Observe (Picks state according to probabilities) t = 0 State Quantum CPU State Pro b 0 0 0 1 : 0 0 0 1 0 : 0 0 0 1 1 : 0 0 1 0 0 : 0 0 1 0 1 : 0 0 1 1 0 : 0 0 1 1 1 : 0 0 0 0 1 : 1 1 0 0 0 : 0 1 0 0 1 : 0 1 0 1 0 : 0 1 0 1 1 : 0 1 1 0 0 : 0 1 1 0 1 : 0 1 1 1 0 : 0 1 1 1 1 : 0 t = 1 State Pro b 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 0 0 0 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 1 16 1 16 1 16 1 16 1 16 1 16 1 16 1 16 1 16 1 16 1 16 1 16 1 16 1 16 1 16 1 16 t = 1 State Pro b 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 0 0 0 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 1 16 0 1 16 0 1 16 0 1 16 1 8 1 8 1 8 1 8 0 1 4 0 0 0 State = probability distribution over all configurations Single outcome (had 1/8 chance) … Well, not exactly • Probabilities can actually be negative or complex numbers. • What happens if we measure some atoms/qubits but not others?
  • 26. Conclusions Key Takeaways • Quantum computers can be faster because they get to manipulate and exponential amount of information in O(1) time. • Quantum computers are not 100% superior nor solve all hard problems trivially because: o The rules for how exponential probabilities are updated are constrained to certain operations. o Even though we get to manipulate an exponential number of probabilities, we only see one outcome at the end.
  • 27. Conclusions Key Takeaways • Quantum computers can be faster because they get to manipulate and exponential amount of information in O(1) time. • Quantum computers are not 100% superior nor solve all hard problems trivially because: o The rules for how exponential probabilities are updated are constrained to certain operations. o Even though we get to manipulate an exponential number of probabilities, we only see one outcome at the end. Question: How does “Nature” keep track of and update so much information so quickly?
  • 28. Conclusions Key Takeaways • Quantum computers can be faster because they get to manipulate and exponential amount of information in O(1) time. • Quantum computers are not 100% superior nor solve all hard problems trivially because: o The rules for how exponential probabilities are updated are constrained to certain operations. o Even though we get to manipulate an exponential number of probabilities, we only see one outcome at the end. o Answer: Question: How does “Nature” keep track of and update so much information so quickly?
  • 29. Conclusions Key Takeaways • Quantum computers can be faster because they get to manipulate and exponential amount of information in O(1) time. • Quantum computers are not 100% superior nor solve all hard problems trivially because: o The rules for how exponential probabilities are updated are constrained to certain operations. o Even though we get to manipulate an exponential number of probabilities, we only see one outcome at the end. Question: How does “Nature” keep track of and update so much information so quickly? o Answer: Nobody knows.
  • 30. Conclusions Key Takeaways • Quantum computers can be faster because they get to manipulate and exponential amount of information in O(1) time. • Quantum computers are not 100% superior nor solve all hard problems trivially because: o The rules for how exponential probabilities are updated are constrained to certain operations. o Even though we get to manipulate an exponential number of probabilities, we only see one outcome at the end. Question: How does “Nature” keep track of and update so much information so quickly? o Answer: Nobody knows. o Three categories/types of answers:
  • 31. Conclusions Key Takeaways • Quantum computers can be faster because they get to manipulate and exponential amount of information in O(1) time. • Quantum computers are not 100% superior nor solve all hard problems trivially because: o The rules for how exponential probabilities are updated are constrained to certain operations. o Even though we get to manipulate an exponential number of probabilities, we only see one outcome at the end. Question: How does “Nature” keep track of and update so much information so quickly? o Answer: Nobody knows. o Three categories/types of answers: 1. Who cares? Quantum physics works why ask the question?
  • 32. Conclusions Key Takeaways • Quantum computers can be faster because they get to manipulate and exponential amount of information in O(1) time. • Quantum computers are not 100% superior nor solve all hard problems trivially because: o The rules for how exponential probabilities are updated are constrained to certain operations. o Even though we get to manipulate an exponential number of probabilities, we only see one outcome at the end. Question: How does “Nature” keep track of and update so much information so quickly? o Answer: Nobody knows. o Three categories/types of answers: 1. Who cares? Quantum physics works why ask the question? 2. Quantum mechanics doesn’t make sense, thus needs fixed.
  • 33. Conclusions Key Takeaways • Quantum computers can be faster because they get to manipulate and exponential amount of information in O(1) time. • Quantum computers are not 100% superior nor solve all hard problems trivially because: o The rules for how exponential probabilities are updated are constrained to certain operations. o Even though we get to manipulate an exponential number of probabilities, we only see one outcome at the end. Question: How does “Nature” keep track of and update so much information so quickly? o Answer: Nobody knows. o Three categories/types of answers: 1. Who cares? Quantum physics works why ask the question? 2. Quantum mechanics doesn’t make sense, thus needs fixed. 3. We live in a multiverse which interact (many-worlds interpretation).