尊敬的 微信汇率:1円 ≈ 0.046166 元 支付宝汇率:1円 ≈ 0.046257元 [退出登录]
SlideShare a Scribd company logo
QUANTUM COMPUTING
PRESENTED BY:
ROHIT MISHRA & ANKIT AGARWAL
210/11, 167/11
NATIONAL INSTITUTE OF TECHNOLOGY
JAMSHEDPUR-831014
OVERVIEW
• Introduction and History
• Data Representation
• Operations on Data
• Shor’s Algorithm
• Conclusion and Scope
2
INTRODUCTION
What is a Quantum Computer?
A quantum computer is a machine that
performs calculations based on the laws of
quantum mechanics, which is the behavior of
particles at the sub-atomic level.
3
HISTORY
 1982 - Feynman proposed the idea of creating machines based on the laws
of quantum mechanics instead of the laws of classical physics.
 1985 - David Deutsch developed the Quantum Turing Machine, showing
that quantum circuits are universal.
 1994 - Peter Shor came up with a quantum algorithm to factor very large
numbers in polynomial time.
 1997 - Lov Grover develops a quantum search algorithm with O(√N)
complexity.
 In 2001, a 7 qubit machine was built and programmed to run Shor’s
algorithm to successfully factor 15.
4
Data Representation - Qubits
A bit of data is represented by a single atom that is in one of two states denoted
by |0> and |1>. A single bit of this form is known as a qubit.
A physical implementation of a qubit could use the two energy levels of an atom.
An excited state representing |1> and a ground state representing |0>.
A single qubit can be forced into a superpositionof the two states denoted
by the addition of the state vectors:
|> = |0> + β|1>
Where  and β are complex numbers and |  |² + | β |² = 1
5
A qubit in superposition is in both of the states
|1> and |0> at the same time.
Qubits
6
Consider a 3 bit qubit register. An equally weighted superposition of all possible
states would be denoted by:
|> = _|000> + _|001> + . . . + _|111>1
√8 √8
1
√8
1
In general, an n qubit register can represent the numbers 0 through 2^n-1
simultaneously. If we attempt to retrieve the values represented within a
superposition, the superposition randomly collapses to represent just one of the
original values.
7
In our equation: |> = |0> + β|1> ,where  represents the probability of the
superposition collapsing to |0> and β to |1>
These are called probability amplitudes. In a balanced superposition,
 = 1/√(2^n) where n is the number of qubits.
 Entanglement is the ability of quantum systems to exhibit
correlations between states within a superposition.
 Imagine two qubits, each in the state |0> + |1> (a
superposition of the 0 and 1.) We can entangle the two
qubits such that the measurement of one qubit is always
correlated to the measurement of the other qubit.
Relationships among data – Entanglement
8
Operations on Qubits - Reversible Logic
 Due to the nature of quantum physics, the destruction of information in a
gate will cause heat to be evolved which can destroy the superposition of
qubits.
A B C
0 0 0
0 1 0
1 0 0
1 1 1
INPUT OUTPUT
Example: The Logical AND Gate
Note: This type of gate cannot be used. We must use Quantum Gates.
A
B
C
9
Quantum Gates
 Quantum Gates are similar to classical gates, but do not have a
degenerate output. i.e. their original input state can be derived
from their output state, uniquely. They must be reversible.
 This means that a deterministic computation can be performed
on a quantum computer only if it is reversible. Luckily, it has
been shown that any deterministic computation can be made
reversible. (Charles Bennet, 1973)
10
Quantum Gates-Hadamard
 Simplest gate involves one qubit and is called a Hadamard
Gate (also known as a square-root of NOT gate.) Used to
put qubits into superposition.
H H
State |0> State |1>State |0> + State |1>
Two Hadamard gates used in succession can be used
as a NOT gate.
Note:
11
Quantum Gates - Controlled NOT
 A gate which operates on two qubits is called a
Controlled-NOT (CN) Gate. If the bit on the control
line is 1, invert the bit on the target line.
+A-Target
B-Target
A’
B’
Note: The CN gate has a similar behavior to the XOR gate with
some extra information to make it reversible.
A B A’ B’
0 0 0 0
0 1 1 1
1 0 1 0
1 1 0 1
INPUT OUTPUT
12
Shor’s Algorithm
 Shor’s algorithm shows (in principle,) that a quantum
computer is capable of factoring very large numbers
in polynomial time.
 The algorithm uses the following concepts:
Modular Arithmetic
Quantum Parallelism
Quantum Fourier Transform
13
Shor’s Algorithm - Periodicity
 An important result from Number Theory:
F(a) = x mod N is a periodic function.
 Choose N = 15 and x = 7 and we get the following:
7 mod 15 = 1
7 mod 15 = 7
7 mod 15 = 4
7 mod 15 = 13
7 mod 15 = 1
…
a
0
1
2
3
4
14
Shor’s Algorithm - Analysis
To Factor an odd integer N (Let’s choose 15) :
 Choose an integer q such that N < q < 2N let’s pick 256
 Choose a random integer x such that GCD(x, N) = 1 let’s pick 7
 Create two quantum registers (these registers must also be
entangled so that the collapse of the input register corresponds to
the collapse of the output register)
 Input register: must contain enough qubits to represent numbers as
large as q-1. up to 255, so we need 8 qubits .
 Output register: must contain enough qubits to represent numbers as
large as N-1. up to 14, so we need 4 qubits.
2 2
15
Shor’s - Preparing Data
Load the input register with an equally weighted superposition
of all integers from 0 to q-1. 0 to 255.
Load the output register with all zeros.
The total state of the system at this point will be:
1__
√256
∑
255
a=0
|a, 000 >
INPUT REGISTER
OUTPUT REGISTER
Note: the comma here
denotes that the
registers are entangled.
16
 Apply the transformation x mod N to each number in the input
register, storing the result of each computation in the output register.
 Now take a measurement on the output register. This will collapse the
superposition to represent just one of the results of the transformation,
let’s call this value c.
Our output register will collapse to represent one of the following:
|1>, |4>, |7>, or |13>
For sake of example, lets choose |1>
 Since the two registers are entangled, measuring the output register
will have the effect of partially collapsing the input register into an
equal superposition of each state between 0 and q-1 that yielded c
(the value of the collapsed output register.)
a
17
Since the output register collapsed to |1>, the input register
will partially collapse to:
|0> + |4> + |8> + |12>, . . .
The probabilities in this case are since our register is
now in an equal superposition of 64 values (0, 4, 8, . . . 252)
1
√64
__ __
√64
__
√64
__
√64
1 1 1
1/√64
We now apply the Quantum Fourier transform on the
partially collapsed input register. The fourier transform has
the effect of taking a state |a> and transforming it into a
state given by:
1
√q
__
∑
q-1
c=0
|c> * e2πiac / q
18
1__
√64
∑ |a>, |1>
a € A
___
√256
1 ∑
255
C=0
|c> * e
2πiac / q
Note: A is the set of all values that 7 mod 15 yielded 1.In our case A = {0, 4, 8,
…, 252}
So the final state of the input register after the QFT is:
 The QFT will essentially peak the probability amplitudes at integer multiples of
q/4 in our case 256/4, or 64.
|0>, |64>, |128>, |192>, …
1
√64
∑
a € A
1___
√256 ∑|c> * e2πiac / q
,|1>
___
a
19
 So we no longer have an equal superposition of states, the probability
amplitudes of the above states are now higher than the other states in
our register. We measure the register, and it will collapse with high
probability to one of these multiples of 64, let’s call this value p.
 Now that we have the period, the factors of N can be determined by
taking the greatest common divisor of N with respect to x ^ (P/2) + 1
and x ^ (P/2) - 1. The idea here is that this computation will be done
on a classical computer.
We compute:
Gcd(7 + 1, 15) = 5
Gcd(7 - 1, 15) = 3
We have successfully factored 15!
4/2
4/2
20
Conclusionand Scope
 Various researchers are actively looking for new algorithms and
communication protocols to exploit the properties of quantum systems.
 D-Wave Systems is a Canadian company that claims to have developed a
28-qubit quantum computer, though there have been criticisms of their
claims. In 2007, they demonstrated the use of a 16-qubit computer to solve
such problems as pattern-matching, seating arrangements, and a Sudoku
puzzle.
 It is unlikely that quantum computers will entirely replace classical
computers. Their advantage over classical computers is significant only in
specific application areas.
 It is most likely that future computers will instead be some sort of hybrid,
containing components from both types of computers.

More Related Content

What's hot

Quantum Computers
Quantum ComputersQuantum Computers
Quantum Computers
Deepti.B
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
Ritwik MG
 
Quantum Computing: Welcome to the Future
Quantum Computing: Welcome to the FutureQuantum Computing: Welcome to the Future
Quantum Computing: Welcome to the Future
VernBrownell
 
Quantum computing
Quantum computingQuantum computing
Quantum computing - Introduction
Quantum computing - IntroductionQuantum computing - Introduction
Quantum computing - Introduction
rushmila
 
Quantum computers
Quantum computersQuantum computers
Quantum computers
Rishabh Jindal
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
TejasKapile1
 
Quantum computer ppt
Quantum computer pptQuantum computer ppt
Quantum computer ppt
Nisarg Bhagavantanavar
 
Quantum Computing
Quantum ComputingQuantum Computing
Quantum Computing
Rajasekhar Manda
 
Quantum Computing - Basic Concepts
Quantum Computing - Basic ConceptsQuantum Computing - Basic Concepts
Quantum Computing - Basic Concepts
Sendash Pangambam
 
What is quantum computing
What is quantum computingWhat is quantum computing
What is quantum computing
Mariyum Khan
 
Presentation on quantum computers
Presentation on quantum computersPresentation on quantum computers
Presentation on quantum computers
Nancy Mann
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
deeksha qanoungo
 
Presentation quantum computers
Presentation quantum computersPresentation quantum computers
Presentation quantum computers
AzeemAhmed55
 
Quantum computing seminar
Quantum computing seminarQuantum computing seminar
Quantum computing seminar
Pankaj Kumar
 
Quantum Computing
Quantum ComputingQuantum Computing
Quantum Computing
Mehdi Rezaie
 
Quantum Computing
Quantum ComputingQuantum Computing
Quantum Computing
Deepankar Sandhibigraha
 
Quantum computer
Quantum computerQuantum computer
Quantum computer
HarishKumar1779
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
Samira Riki
 
Quantum Computer
Quantum ComputerQuantum Computer
Quantum Computer
Towfiqul Islam
 

What's hot (20)

Quantum Computers
Quantum ComputersQuantum Computers
Quantum Computers
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
 
Quantum Computing: Welcome to the Future
Quantum Computing: Welcome to the FutureQuantum Computing: Welcome to the Future
Quantum Computing: Welcome to the Future
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
 
Quantum computing - Introduction
Quantum computing - IntroductionQuantum computing - Introduction
Quantum computing - Introduction
 
Quantum computers
Quantum computersQuantum computers
Quantum computers
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
 
Quantum computer ppt
Quantum computer pptQuantum computer ppt
Quantum computer ppt
 
Quantum Computing
Quantum ComputingQuantum Computing
Quantum Computing
 
Quantum Computing - Basic Concepts
Quantum Computing - Basic ConceptsQuantum Computing - Basic Concepts
Quantum Computing - Basic Concepts
 
What is quantum computing
What is quantum computingWhat is quantum computing
What is quantum computing
 
Presentation on quantum computers
Presentation on quantum computersPresentation on quantum computers
Presentation on quantum computers
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
 
Presentation quantum computers
Presentation quantum computersPresentation quantum computers
Presentation quantum computers
 
Quantum computing seminar
Quantum computing seminarQuantum computing seminar
Quantum computing seminar
 
Quantum Computing
Quantum ComputingQuantum Computing
Quantum Computing
 
Quantum Computing
Quantum ComputingQuantum Computing
Quantum Computing
 
Quantum computer
Quantum computerQuantum computer
Quantum computer
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
 
Quantum Computer
Quantum ComputerQuantum Computer
Quantum Computer
 

Similar to Quantum Computing

quantumComputers.ppt
quantumComputers.pptquantumComputers.ppt
quantumComputers.ppt
AbhayGill3
 
quantumComputers.ppt
quantumComputers.pptquantumComputers.ppt
quantumComputers.ppt
TassianeNatany
 
quantumComputers.ppt
quantumComputers.pptquantumComputers.ppt
quantumComputers.ppt
ApdirahmanHassan
 
quantumComputers.ppt
quantumComputers.pptquantumComputers.ppt
quantumComputers.ppt
Raja Shekar
 
quantumComputers.ppt
quantumComputers.pptquantumComputers.ppt
quantumComputers.ppt
AjayRaj912848
 
quantumComputers.ppt
quantumComputers.pptquantumComputers.ppt
quantumComputers.ppt
raju980973
 
quantumComputers.pptICICI-An HR perspective
quantumComputers.pptICICI-An HR perspectivequantumComputers.pptICICI-An HR perspective
quantumComputers.pptICICI-An HR perspective
BenjinkumarNimmala
 
quantumComputers (1).ppt
quantumComputers (1).pptquantumComputers (1).ppt
quantumComputers (1).ppt
harithasahasra
 
hddhdhdhdhdhdhdhdhdhddhddhdhdhdhddhdhdddhdhdh
hddhdhdhdhdhdhdhdhdhddhddhdhdhdhddhdhdddhdhdhhddhdhdhdhdhdhdhdhdhddhddhdhdhdhddhdhdddhdhdh
hddhdhdhdhdhdhdhdhdhddhddhdhdhdhddhdhdddhdhdh
zoobiarana76
 
quantumComputers.ppt
quantumComputers.pptquantumComputers.ppt
quantumComputers.ppt
TrushaKyada
 
quantumComputers.ppt
quantumComputers.pptquantumComputers.ppt
quantumComputers.ppt
Adnan kHAN
 
myppt for health issues at IITB. Don't come to IITB
myppt for health issues at IITB. Don't come to IITBmyppt for health issues at IITB. Don't come to IITB
myppt for health issues at IITB. Don't come to IITB
dhvaniliitb
 
QC-UNIT 2.ppt
QC-UNIT 2.pptQC-UNIT 2.ppt
QC-UNIT 2.ppt
khan188474
 
Shor’s algorithm the ppt
Shor’s algorithm the pptShor’s algorithm the ppt
Shor’s algorithm the ppt
Mrinal Mondal
 
QC - UNIT 1.ppt
QC - UNIT 1.pptQC - UNIT 1.ppt
QC - UNIT 1.ppt
khan188474
 
Quantum computing - A Compilation of Concepts
Quantum computing - A Compilation of ConceptsQuantum computing - A Compilation of Concepts
Quantum computing - A Compilation of Concepts
Gokul Alex
 
Quantum Computers
Quantum ComputersQuantum Computers
Quantum Computers
khan saad bin hasan
 
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
Aritra Sarkar
 
Quantum computing.pptx
Quantum computing.pptxQuantum computing.pptx
Quantum computing.pptx
CaptAvacato
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
Davide Nardone
 

Similar to Quantum Computing (20)

quantumComputers.ppt
quantumComputers.pptquantumComputers.ppt
quantumComputers.ppt
 
quantumComputers.ppt
quantumComputers.pptquantumComputers.ppt
quantumComputers.ppt
 
quantumComputers.ppt
quantumComputers.pptquantumComputers.ppt
quantumComputers.ppt
 
quantumComputers.ppt
quantumComputers.pptquantumComputers.ppt
quantumComputers.ppt
 
quantumComputers.ppt
quantumComputers.pptquantumComputers.ppt
quantumComputers.ppt
 
quantumComputers.ppt
quantumComputers.pptquantumComputers.ppt
quantumComputers.ppt
 
quantumComputers.pptICICI-An HR perspective
quantumComputers.pptICICI-An HR perspectivequantumComputers.pptICICI-An HR perspective
quantumComputers.pptICICI-An HR perspective
 
quantumComputers (1).ppt
quantumComputers (1).pptquantumComputers (1).ppt
quantumComputers (1).ppt
 
hddhdhdhdhdhdhdhdhdhddhddhdhdhdhddhdhdddhdhdh
hddhdhdhdhdhdhdhdhdhddhddhdhdhdhddhdhdddhdhdhhddhdhdhdhdhdhdhdhdhddhddhdhdhdhddhdhdddhdhdh
hddhdhdhdhdhdhdhdhdhddhddhdhdhdhddhdhdddhdhdh
 
quantumComputers.ppt
quantumComputers.pptquantumComputers.ppt
quantumComputers.ppt
 
quantumComputers.ppt
quantumComputers.pptquantumComputers.ppt
quantumComputers.ppt
 
myppt for health issues at IITB. Don't come to IITB
myppt for health issues at IITB. Don't come to IITBmyppt for health issues at IITB. Don't come to IITB
myppt for health issues at IITB. Don't come to IITB
 
QC-UNIT 2.ppt
QC-UNIT 2.pptQC-UNIT 2.ppt
QC-UNIT 2.ppt
 
Shor’s algorithm the ppt
Shor’s algorithm the pptShor’s algorithm the ppt
Shor’s algorithm the ppt
 
QC - UNIT 1.ppt
QC - UNIT 1.pptQC - UNIT 1.ppt
QC - UNIT 1.ppt
 
Quantum computing - A Compilation of Concepts
Quantum computing - A Compilation of ConceptsQuantum computing - A Compilation of Concepts
Quantum computing - A Compilation of Concepts
 
Quantum Computers
Quantum ComputersQuantum Computers
Quantum Computers
 
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
 
Quantum computing.pptx
Quantum computing.pptxQuantum computing.pptx
Quantum computing.pptx
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
 

Recently uploaded

Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
IJCNCJournal
 
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
sonamrawat5631
 
paper relate Chozhavendhan et al. 2020.pdf
paper relate Chozhavendhan et al. 2020.pdfpaper relate Chozhavendhan et al. 2020.pdf
paper relate Chozhavendhan et al. 2020.pdf
ShurooqTaib
 
My Airframe Metallic Design Capability Studies..pdf
My Airframe Metallic Design Capability Studies..pdfMy Airframe Metallic Design Capability Studies..pdf
My Airframe Metallic Design Capability Studies..pdf
Geoffrey Wardle. MSc. MSc. Snr.MAIAA
 
The Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC Conduit
The Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC ConduitThe Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC Conduit
The Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC Conduit
Guangdong Ctube Industry Co., Ltd.
 
Basic principle and types Static Relays ppt
Basic principle and  types  Static Relays pptBasic principle and  types  Static Relays ppt
Basic principle and types Static Relays ppt
Sri Ramakrishna Institute of Technology
 
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls ChennaiCall Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
paraasingh12 #V08
 
Call Girls Nagpur 8824825030 Escort In Nagpur service 24X7
Call Girls Nagpur 8824825030 Escort In Nagpur service 24X7Call Girls Nagpur 8824825030 Escort In Nagpur service 24X7
Call Girls Nagpur 8824825030 Escort In Nagpur service 24X7
sexytaniya455
 
Cricket management system ptoject report.pdf
Cricket management system ptoject report.pdfCricket management system ptoject report.pdf
Cricket management system ptoject report.pdf
Kamal Acharya
 
Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Call Girls Madurai 8824825030 Escort In Madurai service 24X7Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Poonam Singh
 
❣Independent Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai E...
❣Independent Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai E...❣Independent Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai E...
❣Independent Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai E...
nainakaoornoida
 
一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理
一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理
一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理
nonods
 
Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...
Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...
Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...
shourabjaat424
 
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUESAN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
drshikhapandey2022
 
Microsoft Azure AD architecture and features
Microsoft Azure AD architecture and featuresMicrosoft Azure AD architecture and features
Microsoft Azure AD architecture and features
ssuser381403
 
Better Builder Magazine, Issue 49 / Spring 2024
Better Builder Magazine, Issue 49 / Spring 2024Better Builder Magazine, Issue 49 / Spring 2024
Better Builder Magazine, Issue 49 / Spring 2024
Better Builder Magazine
 
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 MinutesCall Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
kamka4105
 
Call Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl Lucknow
Call Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl LucknowCall Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl Lucknow
Call Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl Lucknow
yogita singh$A17
 
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
AK47
 
INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC
INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASICINTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC
INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC
GOKULKANNANMMECLECTC
 

Recently uploaded (20)

Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
 
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
 
paper relate Chozhavendhan et al. 2020.pdf
paper relate Chozhavendhan et al. 2020.pdfpaper relate Chozhavendhan et al. 2020.pdf
paper relate Chozhavendhan et al. 2020.pdf
 
My Airframe Metallic Design Capability Studies..pdf
My Airframe Metallic Design Capability Studies..pdfMy Airframe Metallic Design Capability Studies..pdf
My Airframe Metallic Design Capability Studies..pdf
 
The Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC Conduit
The Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC ConduitThe Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC Conduit
The Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC Conduit
 
Basic principle and types Static Relays ppt
Basic principle and  types  Static Relays pptBasic principle and  types  Static Relays ppt
Basic principle and types Static Relays ppt
 
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls ChennaiCall Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
 
Call Girls Nagpur 8824825030 Escort In Nagpur service 24X7
Call Girls Nagpur 8824825030 Escort In Nagpur service 24X7Call Girls Nagpur 8824825030 Escort In Nagpur service 24X7
Call Girls Nagpur 8824825030 Escort In Nagpur service 24X7
 
Cricket management system ptoject report.pdf
Cricket management system ptoject report.pdfCricket management system ptoject report.pdf
Cricket management system ptoject report.pdf
 
Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Call Girls Madurai 8824825030 Escort In Madurai service 24X7Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Call Girls Madurai 8824825030 Escort In Madurai service 24X7
 
❣Independent Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai E...
❣Independent Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai E...❣Independent Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai E...
❣Independent Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai E...
 
一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理
一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理
一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理
 
Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...
Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...
Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...
 
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUESAN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
 
Microsoft Azure AD architecture and features
Microsoft Azure AD architecture and featuresMicrosoft Azure AD architecture and features
Microsoft Azure AD architecture and features
 
Better Builder Magazine, Issue 49 / Spring 2024
Better Builder Magazine, Issue 49 / Spring 2024Better Builder Magazine, Issue 49 / Spring 2024
Better Builder Magazine, Issue 49 / Spring 2024
 
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 MinutesCall Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
 
Call Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl Lucknow
Call Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl LucknowCall Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl Lucknow
Call Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl Lucknow
 
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
 
INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC
INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASICINTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC
INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC
 

Quantum Computing

  • 1. QUANTUM COMPUTING PRESENTED BY: ROHIT MISHRA & ANKIT AGARWAL 210/11, 167/11 NATIONAL INSTITUTE OF TECHNOLOGY JAMSHEDPUR-831014
  • 2. OVERVIEW • Introduction and History • Data Representation • Operations on Data • Shor’s Algorithm • Conclusion and Scope 2
  • 3. INTRODUCTION What is a Quantum Computer? A quantum computer is a machine that performs calculations based on the laws of quantum mechanics, which is the behavior of particles at the sub-atomic level. 3
  • 4. HISTORY  1982 - Feynman proposed the idea of creating machines based on the laws of quantum mechanics instead of the laws of classical physics.  1985 - David Deutsch developed the Quantum Turing Machine, showing that quantum circuits are universal.  1994 - Peter Shor came up with a quantum algorithm to factor very large numbers in polynomial time.  1997 - Lov Grover develops a quantum search algorithm with O(√N) complexity.  In 2001, a 7 qubit machine was built and programmed to run Shor’s algorithm to successfully factor 15. 4
  • 5. Data Representation - Qubits A bit of data is represented by a single atom that is in one of two states denoted by |0> and |1>. A single bit of this form is known as a qubit. A physical implementation of a qubit could use the two energy levels of an atom. An excited state representing |1> and a ground state representing |0>. A single qubit can be forced into a superpositionof the two states denoted by the addition of the state vectors: |> = |0> + β|1> Where  and β are complex numbers and |  |² + | β |² = 1 5
  • 6. A qubit in superposition is in both of the states |1> and |0> at the same time. Qubits 6 Consider a 3 bit qubit register. An equally weighted superposition of all possible states would be denoted by: |> = _|000> + _|001> + . . . + _|111>1 √8 √8 1 √8 1 In general, an n qubit register can represent the numbers 0 through 2^n-1 simultaneously. If we attempt to retrieve the values represented within a superposition, the superposition randomly collapses to represent just one of the original values.
  • 7. 7 In our equation: |> = |0> + β|1> ,where  represents the probability of the superposition collapsing to |0> and β to |1> These are called probability amplitudes. In a balanced superposition,  = 1/√(2^n) where n is the number of qubits.  Entanglement is the ability of quantum systems to exhibit correlations between states within a superposition.  Imagine two qubits, each in the state |0> + |1> (a superposition of the 0 and 1.) We can entangle the two qubits such that the measurement of one qubit is always correlated to the measurement of the other qubit. Relationships among data – Entanglement
  • 8. 8 Operations on Qubits - Reversible Logic  Due to the nature of quantum physics, the destruction of information in a gate will cause heat to be evolved which can destroy the superposition of qubits. A B C 0 0 0 0 1 0 1 0 0 1 1 1 INPUT OUTPUT Example: The Logical AND Gate Note: This type of gate cannot be used. We must use Quantum Gates. A B C
  • 9. 9 Quantum Gates  Quantum Gates are similar to classical gates, but do not have a degenerate output. i.e. their original input state can be derived from their output state, uniquely. They must be reversible.  This means that a deterministic computation can be performed on a quantum computer only if it is reversible. Luckily, it has been shown that any deterministic computation can be made reversible. (Charles Bennet, 1973)
  • 10. 10 Quantum Gates-Hadamard  Simplest gate involves one qubit and is called a Hadamard Gate (also known as a square-root of NOT gate.) Used to put qubits into superposition. H H State |0> State |1>State |0> + State |1> Two Hadamard gates used in succession can be used as a NOT gate. Note:
  • 11. 11 Quantum Gates - Controlled NOT  A gate which operates on two qubits is called a Controlled-NOT (CN) Gate. If the bit on the control line is 1, invert the bit on the target line. +A-Target B-Target A’ B’ Note: The CN gate has a similar behavior to the XOR gate with some extra information to make it reversible. A B A’ B’ 0 0 0 0 0 1 1 1 1 0 1 0 1 1 0 1 INPUT OUTPUT
  • 12. 12 Shor’s Algorithm  Shor’s algorithm shows (in principle,) that a quantum computer is capable of factoring very large numbers in polynomial time.  The algorithm uses the following concepts: Modular Arithmetic Quantum Parallelism Quantum Fourier Transform
  • 13. 13 Shor’s Algorithm - Periodicity  An important result from Number Theory: F(a) = x mod N is a periodic function.  Choose N = 15 and x = 7 and we get the following: 7 mod 15 = 1 7 mod 15 = 7 7 mod 15 = 4 7 mod 15 = 13 7 mod 15 = 1 … a 0 1 2 3 4
  • 14. 14 Shor’s Algorithm - Analysis To Factor an odd integer N (Let’s choose 15) :  Choose an integer q such that N < q < 2N let’s pick 256  Choose a random integer x such that GCD(x, N) = 1 let’s pick 7  Create two quantum registers (these registers must also be entangled so that the collapse of the input register corresponds to the collapse of the output register)  Input register: must contain enough qubits to represent numbers as large as q-1. up to 255, so we need 8 qubits .  Output register: must contain enough qubits to represent numbers as large as N-1. up to 14, so we need 4 qubits. 2 2
  • 15. 15 Shor’s - Preparing Data Load the input register with an equally weighted superposition of all integers from 0 to q-1. 0 to 255. Load the output register with all zeros. The total state of the system at this point will be: 1__ √256 ∑ 255 a=0 |a, 000 > INPUT REGISTER OUTPUT REGISTER Note: the comma here denotes that the registers are entangled.
  • 16. 16  Apply the transformation x mod N to each number in the input register, storing the result of each computation in the output register.  Now take a measurement on the output register. This will collapse the superposition to represent just one of the results of the transformation, let’s call this value c. Our output register will collapse to represent one of the following: |1>, |4>, |7>, or |13> For sake of example, lets choose |1>  Since the two registers are entangled, measuring the output register will have the effect of partially collapsing the input register into an equal superposition of each state between 0 and q-1 that yielded c (the value of the collapsed output register.) a
  • 17. 17 Since the output register collapsed to |1>, the input register will partially collapse to: |0> + |4> + |8> + |12>, . . . The probabilities in this case are since our register is now in an equal superposition of 64 values (0, 4, 8, . . . 252) 1 √64 __ __ √64 __ √64 __ √64 1 1 1 1/√64 We now apply the Quantum Fourier transform on the partially collapsed input register. The fourier transform has the effect of taking a state |a> and transforming it into a state given by: 1 √q __ ∑ q-1 c=0 |c> * e2πiac / q
  • 18. 18 1__ √64 ∑ |a>, |1> a € A ___ √256 1 ∑ 255 C=0 |c> * e 2πiac / q Note: A is the set of all values that 7 mod 15 yielded 1.In our case A = {0, 4, 8, …, 252} So the final state of the input register after the QFT is:  The QFT will essentially peak the probability amplitudes at integer multiples of q/4 in our case 256/4, or 64. |0>, |64>, |128>, |192>, … 1 √64 ∑ a € A 1___ √256 ∑|c> * e2πiac / q ,|1> ___ a
  • 19. 19  So we no longer have an equal superposition of states, the probability amplitudes of the above states are now higher than the other states in our register. We measure the register, and it will collapse with high probability to one of these multiples of 64, let’s call this value p.  Now that we have the period, the factors of N can be determined by taking the greatest common divisor of N with respect to x ^ (P/2) + 1 and x ^ (P/2) - 1. The idea here is that this computation will be done on a classical computer. We compute: Gcd(7 + 1, 15) = 5 Gcd(7 - 1, 15) = 3 We have successfully factored 15! 4/2 4/2
  • 20. 20 Conclusionand Scope  Various researchers are actively looking for new algorithms and communication protocols to exploit the properties of quantum systems.  D-Wave Systems is a Canadian company that claims to have developed a 28-qubit quantum computer, though there have been criticisms of their claims. In 2007, they demonstrated the use of a 16-qubit computer to solve such problems as pattern-matching, seating arrangements, and a Sudoku puzzle.  It is unlikely that quantum computers will entirely replace classical computers. Their advantage over classical computers is significant only in specific application areas.  It is most likely that future computers will instead be some sort of hybrid, containing components from both types of computers.
  翻译: