SlideShare a Scribd company logo
1 of 29
Download to read offline
From Billiard Balls to Quantum
Computing:
a tutorial on the foundations of computing
Geoff Sharman
My qualifications for giving this
talk?
● Ph.D. in Particle Physics
● 35 years in IBM research & development
● Lots of reading!
● But I'm not an expert on QC ...
Dramatis Personae
● Alan Turing, Cambridge university
● Rolf Landauer, IBM Research Yorktown NY
● Charles Bennett, IBM Research Yorktown NY
● Richard Feynman, Caltech
● David Deutsch, Oxford University
Alan M Turing
● On computable numbers, with an application to the
Entscheidungsproblem [decision problem] (1936)
● Showed that computing is a physical process [so subject
to 2nd
Law of Thermodynamics]
● Showed that computing machines are universal, i.e. can
simulate any machine in a finite number of steps,
including any other computer
Rolf Landauer
● Irreversibility and Heat Generation in the
Computing Process (1961)
● Wanted to understand the minimum amount of
energy required per computational step
- showed that at least kT log2 energy is expended when
1 bit is discarded (known as the Landauer limit)
- where k is Boltzmann's constant and T is temperature
● Showed that “information is inevitably physical”
Charles Bennett
● Logical Reversibility of Computation (1973)
● Showed that, in principle, computation is reversible
and requires zero energy if no information is lost
- i.e. all state is retained so that we can retrace each
step in the computation
● In practice, this means:
- need a different design for logic gates
- need to run the computation very slowly
Billiard Ball Computer
Assume no friction, elastic collisions
A
B
A
B & ¬A
A & ¬B
B & A
A & B
Billiard Ball Computer
Use “mirrors” to implement “switching device”
This device is reversible because physics is
A
B
A
B & ¬A
B & A
A
Billiard Ball Computer
● Using balls and mirrors, we can implement
basic logic gates: AND, OR, NOT
● With a big enough billiard table, we could (in
theory) implement a complete computer using a
combination of these gates
● BUT …
- billiard balls don't work in practice
- normal AND, OR, NOT gates aren't reversible
Why Don't Billiard Balls Work?
● Thermal losses
- friction can't be ignored
- collisions aren't perfectly elastic
● Chaotic motion
- balls are actually conglomerates of many atoms in
various states of vibration
- can't know their “initial state” perfectly
- small variations in initial conditional conditions can
cause exponentially large differences in final state
Irreversible Gates
● AND gate
● OR gate
● Can't reconstruct input from output
A
B
A
B
C = A&B
C = A^B
Reversible Gates
● Controlled NOT (CN) gate
● CCN gate
O
X
A
B
A
B (A=0)
¬B (A=1)
A
B
C
A
B
C'
O
O
X
Rules for CN and CCN Gates
● CN is equivalent to XOR (exclusive OR)
● CN followed by CN = no operation,
i.e. we can reverse the effect of this gate
● All other gates can be built from multiple CCN
gates, so that's all we need to build a
computer
Richard Feynman
● There's Plenty of Room at the Bottom (1961)
● Introduced the idea of nanotechnology and
showed that small devices could be both faster
and more reliable than large devices
● Led to the “magic of miniaturisation” and
Moore's Law
Two State Devices
● Basic component of a computer can be any
two state device, representing one bit, e.g.
- electromechanical relay
- thermionic valve
- discrete transistor
- embedded transistor in VLSI chip
● Feynman asked “could we use a single atom,
a single electron, or something even smaller?”
Two State Potential Well
initial
state final
state
X
energy potential
Two State Switching
● To switch from the initial state to the final state,
we normally apply energy to enable a “particle”
to surmount the potential barrier
● This energy is lost after switching operation,
along with the memory of the initial state and an
increase in entropy
● Alternatively, lower potential barrier, allow the
“particle” to drift across; then raise the barrier
● Can achieve zero energy switch if very slow
- energy only lost when we reset the device
Energy Cost vs. Speed
● To drive a computation forward, we have to
apply energy:
energy cost/step = kT log r (r = rate)
● So we can compute at zero cost, but infinite
time, or spend energy to get speed
● Faster computers run hotter!
Richard Feynman - again
● Simulating Physics with Computers (1981)
● Showed that quantum systems cannot be
simulated with a classical computer
- classical computers are deterministic
- can't generate truly random numbers
● But a quantum computer could be built which
would simulate other quantum systems
- using quantum elements, e.g. electrons, which can exist in a
superposition of states
Two State Device with
Superposition
● Electrons (for example) have “spin” and, in a
bound system such as an atom, can exist in
“spin up” or “spin down” states
- or use photons polarised “up” and “down”
- just like a regular two state device
● In the unbound state, they consist of a mixture
of up and down states: a superposition
- analogous to harmonics in vibrating strings
- this is now known as a “qubit” (quantum bit)
David Deutsch
● Quantum theory, the Church-Turing principle
and the universal quantum computer (1985)
● Showed that quantum computers are
universal, i.e. can simulate any possible
physical process in a finite number of steps
● A quantum computer could be used to build
the ultimate “virtual reality” machine, that could
not be distinguished from the real world
So How Does a QC Work?
● We can build a CN gate from 2 qubits, and
more complex circuits using an array of qubits
● The array must be initialised (pgm & data),
and then allowed to “evolve” (zero energy
computation) according the laws of QM
● There's no way of knowing how long this may
last, or whether it will complete, but we can
arrange for the QC to tell us via output signal
● We then test whether the result is there
Quantum “Parallelism”
● During the computation, all states in a
superposition evolve independently providing a kind
of parallelism
● Certain problems, such as integer factorisation can
be sped up exponentially, using Schor's algorithm
● Other “hard” problems can be sped up quadratically
● But only when the machine produces a result;
on average, no net performance gain over a
number of runs
The Coherence Problem
● During the computation, all qubits in the array must
be maintained in a “coherence”, i.e. in a single
entangled quantum state
● But this is notoriously difficult to achieve
- thermal vibrations can disturb the state
- measurements will change the state
● Need some kind of “trap” to contain the array of
qubits plus cooling equipment to reduce thermal
vibration
- often using lasers for “optical cooling”
Practical Progress
● 1973 Hans Dehmelt trapped a single electron
using an ion trap
● 1995 David Wineland made the first CN gate
using trapped ions
● 2005? Winfried Hensiger created first ion trap
on a microchip
● More recent work on error correction
techniques
What's Happening Now?
● Research continues at a number of research centres worldwide
● It's believed that large amounts of money are being spent by
national intelligence agencies ...
● … because they want to break classical encryption methods
and exploit quantum cryptography … unbreakable transmission
of information using quantum entanglement techniques
Practical Results?
● Factorisation of relatively small numbers using
Schor's algorithm has been achieved
● One frequently repeated claim is that Grover's
algorithm for searching a list of n items “will
speed up database searching, enabling an item
to be found in √n steps” ….???
● Current database search techniques depend on
using indexes, enabling an item to be found in
Log n steps, so this seems unconvincing
● So ….
The Moral of this Story is ...
● There has long been a desire to find
computing techniques for tackling “NP hard”
problems, i.e. faster solutions for algorithms
which are currently intractable
● QC is the only known technique which offers a
possible solution, but …
● Don't hold your breath!
Sources
● Charles Petzold, The Annotated Turing
● Tony Hey (ed), Feynman Lectures on
Computation
● Tony Hey (ed), Feynman and Computation
● John Gribbin, Computing with Quantum Cats
from Colossus to Qubits
● David Deutsch, The Fabric of Reality

More Related Content

Similar to BCS APSG Quantum Computing tutorial

Quantum Computing
Quantum ComputingQuantum Computing
Quantum ComputingKeshav
 
Seminar on quatum
Seminar on quatumSeminar on quatum
Seminar on quatumaprameyabr1
 
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
 
Quantum Computation: What is it and Why?
Quantum Computation: What is it and Why?Quantum Computation: What is it and Why?
Quantum Computation: What is it and Why?Stefano Franco
 
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 SaghafiProfessor Lili Saghafi
 
Quantum computers
Quantum   computersQuantum   computers
Quantum computersOmkar Cool
 
Quantum computing
Quantum computingQuantum computing
Quantum computingGAUTHAMG5
 
Quantum Computers PART 1 & 2 by Prof Lili Saghafi
Quantum Computers  PART 1 & 2 by Prof Lili SaghafiQuantum Computers  PART 1 & 2 by Prof Lili Saghafi
Quantum Computers PART 1 & 2 by Prof Lili SaghafiProfessor Lili Saghafi
 
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
 
From Bits to Qubits: Can Medicine Benefit From Quantum Computing?
From Bits to Qubits: Can Medicine Benefit From Quantum Computing?From Bits to Qubits: Can Medicine Benefit From Quantum Computing?
From Bits to Qubits: Can Medicine Benefit From Quantum Computing?Mike Hogarth, MD, FACMI, FACP
 
Quantum computing
Quantum computingQuantum computing
Quantum computingShaik Azar
 
Quantum computation: EPR Paradox and Bell's Inequality
Quantum computation: EPR Paradox and Bell's InequalityQuantum computation: EPR Paradox and Bell's Inequality
Quantum computation: EPR Paradox and Bell's InequalityStefano Franco
 

Similar to BCS APSG Quantum Computing tutorial (20)

Quantum Computers
Quantum ComputersQuantum Computers
Quantum Computers
 
Quantum computer
Quantum computerQuantum computer
Quantum computer
 
Quantum Computing
Quantum ComputingQuantum Computing
Quantum Computing
 
Quantum Computing
Quantum ComputingQuantum Computing
Quantum Computing
 
Xim $%
Xim $%Xim $%
Xim $%
 
Seminar on quatum
Seminar on quatumSeminar on quatum
Seminar on quatum
 
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
 
Quantum Computation: What is it and Why?
Quantum Computation: What is it and Why?Quantum Computation: What is it and Why?
Quantum Computation: What is it and Why?
 
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 computers
Quantum   computersQuantum   computers
Quantum computers
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
 
Quantum Computers PART 1 & 2 by Prof Lili Saghafi
Quantum Computers  PART 1 & 2 by Prof Lili SaghafiQuantum Computers  PART 1 & 2 by Prof Lili Saghafi
Quantum Computers PART 1 & 2 by Prof Lili Saghafi
 
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
 
OPTICALQuantum
OPTICALQuantumOPTICALQuantum
OPTICALQuantum
 
From Bits to Qubits: Can Medicine Benefit From Quantum Computing?
From Bits to Qubits: Can Medicine Benefit From Quantum Computing?From Bits to Qubits: Can Medicine Benefit From Quantum Computing?
From Bits to Qubits: Can Medicine Benefit From Quantum Computing?
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
 
Quantum computation: EPR Paradox and Bell's Inequality
Quantum computation: EPR Paradox and Bell's InequalityQuantum computation: EPR Paradox and Bell's Inequality
Quantum computation: EPR Paradox and Bell's Inequality
 

More from Geoff Sharman

BCS APSG Theory of Systems
BCS APSG Theory of SystemsBCS APSG Theory of Systems
BCS APSG Theory of SystemsGeoff Sharman
 
BCS CCS Enterprise Systems
BCS CCS Enterprise SystemsBCS CCS Enterprise Systems
BCS CCS Enterprise SystemsGeoff Sharman
 
BCS APSG Theory of Systems
BCS APSG Theory of SystemsBCS APSG Theory of Systems
BCS APSG Theory of SystemsGeoff Sharman
 
BCS APSG Enterprise Systems
BCS APSG Enterprise SystemsBCS APSG Enterprise Systems
BCS APSG Enterprise SystemsGeoff Sharman
 
BCS APSG The landscape of enterprise applications
BCS APSG The landscape of enterprise applicationsBCS APSG The landscape of enterprise applications
BCS APSG The landscape of enterprise applicationsGeoff Sharman
 
Landscape of enterprise applications
Landscape of enterprise applicationsLandscape of enterprise applications
Landscape of enterprise applicationsGeoff Sharman
 
Bcs apsg 2010-05-06_presentation
Bcs apsg 2010-05-06_presentationBcs apsg 2010-05-06_presentation
Bcs apsg 2010-05-06_presentationGeoff Sharman
 

More from Geoff Sharman (7)

BCS APSG Theory of Systems
BCS APSG Theory of SystemsBCS APSG Theory of Systems
BCS APSG Theory of Systems
 
BCS CCS Enterprise Systems
BCS CCS Enterprise SystemsBCS CCS Enterprise Systems
BCS CCS Enterprise Systems
 
BCS APSG Theory of Systems
BCS APSG Theory of SystemsBCS APSG Theory of Systems
BCS APSG Theory of Systems
 
BCS APSG Enterprise Systems
BCS APSG Enterprise SystemsBCS APSG Enterprise Systems
BCS APSG Enterprise Systems
 
BCS APSG The landscape of enterprise applications
BCS APSG The landscape of enterprise applicationsBCS APSG The landscape of enterprise applications
BCS APSG The landscape of enterprise applications
 
Landscape of enterprise applications
Landscape of enterprise applicationsLandscape of enterprise applications
Landscape of enterprise applications
 
Bcs apsg 2010-05-06_presentation
Bcs apsg 2010-05-06_presentationBcs apsg 2010-05-06_presentation
Bcs apsg 2010-05-06_presentation
 

Recently uploaded

Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinojohnmickonozaleda
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 

Recently uploaded (20)

Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipino
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 

BCS APSG Quantum Computing tutorial

  • 1. From Billiard Balls to Quantum Computing: a tutorial on the foundations of computing Geoff Sharman
  • 2. My qualifications for giving this talk? ● Ph.D. in Particle Physics ● 35 years in IBM research & development ● Lots of reading! ● But I'm not an expert on QC ...
  • 3. Dramatis Personae ● Alan Turing, Cambridge university ● Rolf Landauer, IBM Research Yorktown NY ● Charles Bennett, IBM Research Yorktown NY ● Richard Feynman, Caltech ● David Deutsch, Oxford University
  • 4. Alan M Turing ● On computable numbers, with an application to the Entscheidungsproblem [decision problem] (1936) ● Showed that computing is a physical process [so subject to 2nd Law of Thermodynamics] ● Showed that computing machines are universal, i.e. can simulate any machine in a finite number of steps, including any other computer
  • 5. Rolf Landauer ● Irreversibility and Heat Generation in the Computing Process (1961) ● Wanted to understand the minimum amount of energy required per computational step - showed that at least kT log2 energy is expended when 1 bit is discarded (known as the Landauer limit) - where k is Boltzmann's constant and T is temperature ● Showed that “information is inevitably physical”
  • 6. Charles Bennett ● Logical Reversibility of Computation (1973) ● Showed that, in principle, computation is reversible and requires zero energy if no information is lost - i.e. all state is retained so that we can retrace each step in the computation ● In practice, this means: - need a different design for logic gates - need to run the computation very slowly
  • 7. Billiard Ball Computer Assume no friction, elastic collisions A B A B & ¬A A & ¬B B & A A & B
  • 8. Billiard Ball Computer Use “mirrors” to implement “switching device” This device is reversible because physics is A B A B & ¬A B & A A
  • 9. Billiard Ball Computer ● Using balls and mirrors, we can implement basic logic gates: AND, OR, NOT ● With a big enough billiard table, we could (in theory) implement a complete computer using a combination of these gates ● BUT … - billiard balls don't work in practice - normal AND, OR, NOT gates aren't reversible
  • 10. Why Don't Billiard Balls Work? ● Thermal losses - friction can't be ignored - collisions aren't perfectly elastic ● Chaotic motion - balls are actually conglomerates of many atoms in various states of vibration - can't know their “initial state” perfectly - small variations in initial conditional conditions can cause exponentially large differences in final state
  • 11. Irreversible Gates ● AND gate ● OR gate ● Can't reconstruct input from output A B A B C = A&B C = A^B
  • 12. Reversible Gates ● Controlled NOT (CN) gate ● CCN gate O X A B A B (A=0) ¬B (A=1) A B C A B C' O O X
  • 13. Rules for CN and CCN Gates ● CN is equivalent to XOR (exclusive OR) ● CN followed by CN = no operation, i.e. we can reverse the effect of this gate ● All other gates can be built from multiple CCN gates, so that's all we need to build a computer
  • 14. Richard Feynman ● There's Plenty of Room at the Bottom (1961) ● Introduced the idea of nanotechnology and showed that small devices could be both faster and more reliable than large devices ● Led to the “magic of miniaturisation” and Moore's Law
  • 15. Two State Devices ● Basic component of a computer can be any two state device, representing one bit, e.g. - electromechanical relay - thermionic valve - discrete transistor - embedded transistor in VLSI chip ● Feynman asked “could we use a single atom, a single electron, or something even smaller?”
  • 16. Two State Potential Well initial state final state X energy potential
  • 17. Two State Switching ● To switch from the initial state to the final state, we normally apply energy to enable a “particle” to surmount the potential barrier ● This energy is lost after switching operation, along with the memory of the initial state and an increase in entropy ● Alternatively, lower potential barrier, allow the “particle” to drift across; then raise the barrier ● Can achieve zero energy switch if very slow - energy only lost when we reset the device
  • 18. Energy Cost vs. Speed ● To drive a computation forward, we have to apply energy: energy cost/step = kT log r (r = rate) ● So we can compute at zero cost, but infinite time, or spend energy to get speed ● Faster computers run hotter!
  • 19. Richard Feynman - again ● Simulating Physics with Computers (1981) ● Showed that quantum systems cannot be simulated with a classical computer - classical computers are deterministic - can't generate truly random numbers ● But a quantum computer could be built which would simulate other quantum systems - using quantum elements, e.g. electrons, which can exist in a superposition of states
  • 20. Two State Device with Superposition ● Electrons (for example) have “spin” and, in a bound system such as an atom, can exist in “spin up” or “spin down” states - or use photons polarised “up” and “down” - just like a regular two state device ● In the unbound state, they consist of a mixture of up and down states: a superposition - analogous to harmonics in vibrating strings - this is now known as a “qubit” (quantum bit)
  • 21. David Deutsch ● Quantum theory, the Church-Turing principle and the universal quantum computer (1985) ● Showed that quantum computers are universal, i.e. can simulate any possible physical process in a finite number of steps ● A quantum computer could be used to build the ultimate “virtual reality” machine, that could not be distinguished from the real world
  • 22. So How Does a QC Work? ● We can build a CN gate from 2 qubits, and more complex circuits using an array of qubits ● The array must be initialised (pgm & data), and then allowed to “evolve” (zero energy computation) according the laws of QM ● There's no way of knowing how long this may last, or whether it will complete, but we can arrange for the QC to tell us via output signal ● We then test whether the result is there
  • 23. Quantum “Parallelism” ● During the computation, all states in a superposition evolve independently providing a kind of parallelism ● Certain problems, such as integer factorisation can be sped up exponentially, using Schor's algorithm ● Other “hard” problems can be sped up quadratically ● But only when the machine produces a result; on average, no net performance gain over a number of runs
  • 24. The Coherence Problem ● During the computation, all qubits in the array must be maintained in a “coherence”, i.e. in a single entangled quantum state ● But this is notoriously difficult to achieve - thermal vibrations can disturb the state - measurements will change the state ● Need some kind of “trap” to contain the array of qubits plus cooling equipment to reduce thermal vibration - often using lasers for “optical cooling”
  • 25. Practical Progress ● 1973 Hans Dehmelt trapped a single electron using an ion trap ● 1995 David Wineland made the first CN gate using trapped ions ● 2005? Winfried Hensiger created first ion trap on a microchip ● More recent work on error correction techniques
  • 26. What's Happening Now? ● Research continues at a number of research centres worldwide ● It's believed that large amounts of money are being spent by national intelligence agencies ... ● … because they want to break classical encryption methods and exploit quantum cryptography … unbreakable transmission of information using quantum entanglement techniques
  • 27. Practical Results? ● Factorisation of relatively small numbers using Schor's algorithm has been achieved ● One frequently repeated claim is that Grover's algorithm for searching a list of n items “will speed up database searching, enabling an item to be found in √n steps” ….??? ● Current database search techniques depend on using indexes, enabling an item to be found in Log n steps, so this seems unconvincing ● So ….
  • 28. The Moral of this Story is ... ● There has long been a desire to find computing techniques for tackling “NP hard” problems, i.e. faster solutions for algorithms which are currently intractable ● QC is the only known technique which offers a possible solution, but … ● Don't hold your breath!
  • 29. Sources ● Charles Petzold, The Annotated Turing ● Tony Hey (ed), Feynman Lectures on Computation ● Tony Hey (ed), Feynman and Computation ● John Gribbin, Computing with Quantum Cats from Colossus to Qubits ● David Deutsch, The Fabric of Reality