SlideShare a Scribd company logo
TAKING QUANTUM
COMPUTING FOR A
SPIN: WHAT IS
IMAGINARY AND
WHAT IS REAL?
Michael Hogarth, MD, FACP, FACMI
Faculty, Department of Biomedical Informatics
Clinical Research Information Officer (CRIO)
UC San Diego Health
OVERVIEW
• Classical computing
• Basic Principles of Quantum Computing
• Suuperposition
• Entanglement
• Quantum Logic Gates
• Exploring Quantum Circuits and Algorithms
• Current state of Quantum Computing
BINARY COMPUTATION – THE KEY TO THE MODERN COMPUTER
• Binary numeral system –
invented by mathematician
Gottfried Leibniz (17th
century)
• Mathematical Functions
• One can perform basic
mathematical
computation with the
binary numeral system
• Storing information
• One can also store a ‘state’
(number) in binary
CLAUDE SHANNON – THE REAL “FATHER” OF CLASSICAL COMPUTING
• Explored performing binary ‘arithmetic’
using electric circuits (in the form of
‘switches’ – on/off)
• MIT Master’s Thesis: “A Symbolic Analysis
of Relay and Switching Circuits” (1936)
• described using electronic relays and
switches to perform Boolean algebra and
binary arithmetic.
• Other notable accomplishments
• the father of “information theory” which
outlines the basic theory behind
communication systems (1948)
• coined the term “bit”, for “binary
information digit” (he attributed term to
John Tukey of Bell Labs)
“LOGIC CIRCUITS”: A KEY CONCEPT IN
SHANNON’S THESIS:
THE BINARY NATURE OF
TRANSISTORS
Transistors are just very very small
on/off ‘switches’!Switches can be used to perform Boolean logic!
BASIC “LOGIC GATES”
Does this look
familiar to
something you
saw in Shannon’s
thesis?
LOGIC CIRCUITS = ”LOGIC GATES” AND MATH
FUNCTIONS
MULTI-GATE TRANSISTOR CIRCUITS–
THE ”INTEGRATED CIRCUIT” (IC)
http://www.electronics-tutorials.ws/combination/comb_7.html
74LS83 chip performs addition
with carry!
FROM LOGIC GATES TO A
MOTHERBOARD
THE “CLASSICAL COMPUTER”
• A modern CPU is just a binary arithmetic “machine” that uses
boolean logic and binary computation to perform a broad array of
functions
• Can be “programmed” --- it can step through a set of “instructions”
that cause the classical computer central processing unit (CPU) to
perform different boolean logic steps and computation by invoking
different circuits --- a universal computing machine
• Versatile as it can be “programmed” to do a broad array of
things
• Can be used to control other devices (GPU, video card, hard
drive, random access memory cards, etc..) and receive
information from other devices (keyboard, mouse, network
card)
Intel 4004 – 1971 (2,300 transistors)
EXAMPLES OF CHALLENGING
COMPUTATION FOR CLASSICAL
COMPUTERS
• Even with the current crop of super computers, there are
computing problems that are not tractable
• Virtual Climate – climate models, predicting potential effects of global
warming. Current supercomputers can only render down to 14 kilometers
squared
• Digital cells - modeling the movement and interaction of molecules in a
cell.
• Combustion (fuel) simulation
• Simulating astrophysical phenomena
• Integer factorization – determining the prime numbers multiplied to
create an integer (can be solved in a quantum computer in polynomial
time)
A ROLE FOR
QUANTUM
COMPUTING
Quantum computing is emerging as a possible approach to “NP
Hard” computational problems
NP – class of problems in which a solution can be verified in
polynomial time by a classical computer
An algorithm is polynomial (or has polynomial running time) if the
running time on inputs of “n” is at most O(n)k
Algorithms with exponential running times are not polynomial
Example of an NP-hard problem – finding the least cost route
through nodes of a graph (the traveling salesman)
ORIGINS OF QUANTUM
COMPUTING
RICHARD FEYNMAN – FIRST TO SUGGEST A ‘QUANTUM COMPUTER’
WOULD BEST SIMULATE QUANTUM MECHANICAL SYSTEMS
• Nobel prize in physics in 1965 -
for work on quantum
electrodynamics
• “it is impossible to represent
the results of quantum
mechanics with a classical
universal device”
• Feynman proposed
simulating quantum
mechanical system using a
computer based on the same
principles (a quantum
computer)
MIT Endicott House
Conference on the physics of
computation (May 1981)
THE POTENTIAL POWER IN USING
QUANTUM MECHANICS TO COMPUTE
• A sub-atomic particle (electron, photon, etc..) behaves according to quantum
mechanical principles
• If you use such particle as a “bit”, due to ”superposition”, the bit can be in more than
one state at a time --- it can be BOTH ”1” and ”0” at the same time
• If you make one “bit” state dependent on another, superposition of the controlling
“bit” means two possible computations can happen at the same time… massive
parallelism for “bits”
TWO KEY CONCEPTS IN QUANTUM
COMPUTING PARALLELISM
• Superposition
• Entanglement
BORROWING FROM QUANTUM
MECHANICS
• Modeling the ‘state’ of a ‘quantum bit’ (“qubit”)
• Borrow existing modeling methods in quantum mechanics
• A ‘qubit’ can generically be represented as an electron with “spin” leading to a vector
within a sphere.
• Dirac Notation (bra-ket notation) – a standard notation to describe “quantum states”,
which can be modeled as abstract vectors in mathematics
• Angle brackets < and >, and vertical bars (|) denote the linear function on a vector in complex
space
WELCOME TO THE “QUBIT”
https://www.cbinsights.com/blog/quantum-computing-explainer/
● A qubit = The basic unit of
information
storage/processing in a
quantum based computing
system
● The figure on the left is an
idealized model with:
● |1> = “spin down”
● |0>= “spin up”
● What isHint: what is the vector along the equator?
Remember the pythagorean theorem and how to calculate a
vector using angles…
QUANTUM SUPERPOSITION
• Quantum particles
• photon, Majorana fermion,
electron, electron spin, or
magnetic field
• Superposition means their
state is in multiple
“directions” or have
“multiple simultaneous
spins” at the same time
• When measured, the qubit
‘collapses’ to a 1 or 0
probabilistically
A QUBIT STATE DESCRIBED AS A COMPLEX
VECTOR COMPOSED OF IMAGINARY AND REAL
COMPONENTS
• Equation describes the vector
• Infinite possible states (not just 1 or 0
An Example state:
Lies on the equator, along the y-axis
COMPUTING WITH QUBITS
c t c’ t’
0 0 0 0
0 1 0 1
1 0 1 1
1 1 1 0
c = control c ‘= c
t = target t’ = c XOR t
The controlled NOT gate:
-c controls whether t is flipped or not.
If c is 1, then it flips.
WHAT HAPPENS WHEN C IS IN
SUPERPOSITION?
c t c’ t’
0 0 0 0
0 1 0 1
1 0 1 1
1 1 1 0
c = control c ‘= c
t = target t’ = c XOR t
If c is in superposition, does t get flipped or not?
It does BOTH!
If t = 0, and c=0, then t = 0
If t=0, and c=1, then t=1
c=|0> + |1>
t = |0> |00>+|11>
They are “entangled”
PARALLEL COMPUTING WITH
SUPERPOSITION AND ENTANGLEMENT
Qubit 1
Qubit 2
U
Answer 1 and Answer 2
U is a function that takes in 1 input and provides 1 output (answer)
If one puts qubit 1 into superposition, it causes qubit 2 to be in two states
at the same time and yield two calculations simultaneously
QUANTUM PARALLELISM EXPLAINED
https://youtu.be/UUpqnBzBMEE
2013 (the year DWave announced the DWave Two with 512 qubits)
REVISITING “LOGIC GATES” AS A
PARADIGM FOR COMPUTING
Does this look
familiar to
something you
saw in Shannon’s
thesis?
HADAMARD GATE (THE SIMPLEST
GATE)
• Hadamard gate – acts on a single qubit and maps the basis state (0 or
1) to a superposition
qubit 1
THE PAULI-X GATE (NOT GATE)
• Puts the qubit ‘spin’ or ‘state’ in an orthogonally opposite direction
A SMALL EXPERIMENT
ADIABATIC ANNEALING QUANTUM
COMPUTER
• A set of magnets are arranged on a grid
• Magnetic fields of each influences all the
other magnets, which flip to arrange
themselves to minimize the energy
stored in the overall magnetic field
• You can control how strongly the
magnetic field from each affects the
others
• Start with high energy so fields can flip
back and forth
• Let the system “cool” (or anneal) and
loose energy, it will ‘settle’ at the lowest
energy state
QUANTUM “ANNEALING”
• “a method for finding solutions to
combinatorial optimization
problems and ‘ground states’ of
systems”
• By letting a system cool and go
through sequential states, it will
“anneal”, one can find the lowest
energy state
• What it does at the quantum level
-- finds the lowest energy state in
a system
• Uses equations that describe the
total energy of a system - a
“Hamiltonian”
Finnila, Gomez, Sebenik, Stenson, Doll. Quantum annealing: A new method for
minimizing multidimensional functions. Chem Physics Letters. 219(1994) 343-348
ANNEALING - REACHING THE LOWEST ENERGY
POINT WITH A SPECIALLY DESIGNED
QUANTUM COMPUTER
QUANTUM ALGORITHMS
OVER 50 EXISTING “QUANTUM ALGORITHMS”
GROVER’S ALGORITHM
• Lou Grover 1996
• Uses qubits in superposition to compute
‘searches’ much faster than classical
computers
• “Searches” = generalized search
• Finding an item in an *unstructured* list
https://www.youtube.com/watch?v=hK6BBluTGhU
Grover’s algorithm is a quantum algorithm that will
perform search in less time -- lowers it by the square
root of the total items in the list
PETER SHOR’S ALGORITHM AND PRIME
NUMBERS
https://science.mit.edu/research/faculty/shor-peter-williston
Look out RSA
encryption!!
PRACTICAL APPLICATIONS FOR
QUANTUM COMPUTING TODAY
• Combinatorial optimization
• “traveling salesman problem”
• Integer factorization (breaks RSA)
• Search in unsorted databases (Grover’s)
• Pattern recognition
• Protein folding
QUANTUM COMPUTING
AND BIOMEDICINE
EXAMPLES OF QUANTUM ALGORITHMS
RELEVANT TO BIOMEDICAL INFORMATICS
DEEP LEARNING MODEL AND QUANTUM
ANNEALING
PROTEINS AND MODELING STRUCTURE
• Understanding how proteins fold
• Modeling malfunctioning proteins and their physical structures
http://www.atelier.net/en/trends/articles/quantum-computing-set-revolutionise-health-sector_437915
OPTIMIZING RADIATION DOSIMETRY
OPTIMIZING/AUGMENTING
AUTOMATED CLASSIFICATION
• Classification of patients
• Poor prognosis
• Good prognosis
COMMERCIALLY AVAILABLE
QUANTUM COMPUTING
HARDWARE
CURRENT COMMERCIAL
QUANTUM COMPUTING DESIGNS
• DWave Quantum Annealing computer (2013)
• IBM 5-20 qubit “universal quantum computer”
(2015)
• Microsoft’s “Topological” Quantum Computer
(March 2017)
• Intel’s Quantum 17-qubit CPU
(Oct 2017)
• Atos Quantum Machine Learning computer
(Nov 2017)
D-WAVE – THE FIRST COMMERCIALLY
AVAILABLE QUANTUM COMPUTER
THE D-WAVE QUANTUM TRANSISTOR - THE
SQUID
● Superconducting QUantum
Interference Device (SQUID)
● Made of niobium, becomes
superconducting at low temperatures
● A very sensitive magnetometer that
can measure very subtle magnetic
fields, based on superconducting
loops containing Josephson junctions
● The transistor behavior:
● The SQUID stores two magnetic
fields, which either point up (+1)
or down (-1)
● Each SQUID is a qubit that can be
controlled and put into a
superposition of the two states
D-WAVE COUPLING – QUBIT ENTANGLEMENT
● Multi-qubit D-Wave processor has
qubits connected to each other
through couplers
● Couplers cause qubits to influence
each other
● Mathematically, these elements couple
together qubits, set as variables,
providing parallelized solutions to
multi-dimensional computation
○ Ie, optimization problems where
changing one element requires re-
computing of the others
● Readout device attached to each qubit
- inactive during computation (do not
affect qubit behavior), but read output
once computation has finished
8 qubit loops with 16 couplers
‘connecting’ each qubit with 4
others
IBM QUANTUM COMPUTING – AS A WEB SERVICE?
Free
access
to IBM
16-
qubit
machin
eIBM
Quantu
m
Computi
ng
Service
IBM Q COMPOSER: QUANTUM COMPUTING FOR THE MASSES
MICROSOFT QUANTUM INITIATIVE
• Nadela – first major tech CEO to
mention quantum computing in the
company’s major conference (May
2017)
• Topological quantum design
• Less error (decoherence)
• End-to-end quantum computing
• From hardware to software
• Developed a programming language
• Built new language into Visual Studio
IDE with full debugging and
simulation support
TOPOLOGICAL QUANTUM COMPUTING
• Relies on a particle called a Majorana
fermion, first predicted by Ettore
Majorana in 1937
• Appear as “quasiparticle excitations”
• Design reduces the number of qubit
interactions (gates) needed to perform
certain computations (logical quantum
gates)
• First actually detected in 2017…
• “It doesn’t really matter what exactly these
excitations are, as long as they are
measurable, and they can be used to
perform calculations” – Elizabeth Gibney
(Nature) https://www.nature.com/news/inside-microsoft-s-quest-for-a-
topological-quantum-computer-1.20774
INTEL ANNOUNCES 17-QUBIT
SUPERCONDUCTING CHIP
• Oct 10, 2017 (4 weeks ago)
• Intel announced delivery of a 17-qubit
superconducting test chip to QuTech
(Intel’s quantum research partner in the
Netherlands)
• Design – “spin qubits in silicon” in a
superconducting environment
• “single electronic transistor” (SET)
ATOS “QUANTUM LEARNING MACHINE”
• Nov 13, 2017 (yesterday!)
• Oak Ridge National Lab (ORNL)
purchases an Atos Quantum Learning
Machine
• Ultracompact 30-qubit machine
• Universal quantum programming
language
QUANTUM
COMPUTING
IN THE REST
OF THE
WORLD
NEW QUANTUM
MACHINES
QUANTUM PROGRAMMING
INFRASTRUCTURE
QUANTUM
PROGRAMMING
LANGUAGE:
QUIPPER
Taking Quantum Computing for a Spin: What is Imaginary and What is Real?
IBM QISKIT
• SDK for working with OpenQASM
• QASM – A text format language for
describing ‘acylclic’ quantum circuits
• Example programs:
https://www.media.mit.edu/quanta/qas
m2circ/
QASM program that puts a
single qubit into a
superposition then
A MICROSOFT QUANTUM PROGRAMMING
LANGUAGE
• LIQUi|> (Liquid)
• Based on F#
• Functions, variables, branches,
quantum specific elements
• Simulates up to 30 qubits
• Largest number factored to date is a
13-bit number, 5 days runtime
WHAT I PREDICT – QUANTUM AUGMENTED HYBRID COMPUTING
PLATFORMS
• Combination of a quantum
computing infrastructure with
classical computing
infrastructure
• A ‘programming language’ that
is ‘interpreted’ by a cloud
computing infrastructure, which
decides what to have computed
and in what equipment
• CPU
• GPU
• Quantum CPU
Super computer
Quantum
computer
Hybrid Exascale Computing Language
Interpreter/controller
Exascale Computing Platform
QUESTIONS?

More Related Content

PDF
Quantum Computing
PDF
Quantum Computers new Generation of Computers part 7 by prof lili saghafi Qua...
PDF
Quantum computation - Introduction
PPTX
Qunatum computing
PPTX
Quantum Computing - Basic Concepts
PPTX
Quantum computers
PPT
Quantum computer
PPTX
Quantum Computing
Quantum Computing
Quantum Computers new Generation of Computers part 7 by prof lili saghafi Qua...
Quantum computation - Introduction
Qunatum computing
Quantum Computing - Basic Concepts
Quantum computers
Quantum computer
Quantum Computing

What's hot (20)

PDF
Quantum Computation: What is it and Why?
PPTX
Quantum Computer
PPTX
Aditya kulshreshtha, (QUANTUM COMPUTING)
PPTX
Quantum Computing.pptx
PPTX
Quantum computer
PPT
Quantum Computing
PPTX
Quantum computer
PDF
Quantum Computers New Generation of Computers PART1 by Prof Lili Saghafi
PPTX
Quantum computers
PPTX
Quantum computing
DOCX
Quantum Computing
PPTX
Quantum computing
PPTX
Introduction to quantum computing
PDF
Quantum computing
PDF
Quantum Computing: The Why and How
PPTX
Quantum Computing
PPTX
Quantum computing - Introduction
PPTX
Quantum computing
Quantum Computation: What is it and Why?
Quantum Computer
Aditya kulshreshtha, (QUANTUM COMPUTING)
Quantum Computing.pptx
Quantum computer
Quantum Computing
Quantum computer
Quantum Computers New Generation of Computers PART1 by Prof Lili Saghafi
Quantum computers
Quantum computing
Quantum Computing
Quantum computing
Introduction to quantum computing
Quantum computing
Quantum Computing: The Why and How
Quantum Computing
Quantum computing - Introduction
Quantum computing
Ad

Similar to Taking Quantum Computing for a Spin: What is Imaginary and What is Real? (20)

PPT
Xim $%
PPTX
Seminar on quatum
PPT
Fundamentals of Quantum Computing
PPTX
Quantum Computer - New Era of Computing Ahead
PPTX
From Bits to Qubits: Can Medicine Benefit From Quantum Computing?
PPTX
Introduction to Quantum Computers123.pptx
PDF
Introduction_to_Quantum_Computers.pdf
PPTX
OPTICALQuantum
PDF
QUANTUM COMPUTING.pdf
PPTX
Quantum comput ing
PPTX
Quantum computing1
PPTX
quantum computing22.pptx
PDF
The future is quantum
PDF
Quantum Computing Quantum Internet 2020_unit 1 By: Prof. Lili Saghafi
PPTX
Quantum computing
PPTX
Quantum computing
PDF
MASTER_THESIS-libre
PPTX
bhanu.pptx
PDF
Quantum Computing design by chat gpt and gemini
PPTX
Quantum Computing
Xim $%
Seminar on quatum
Fundamentals of Quantum Computing
Quantum Computer - New Era of Computing Ahead
From Bits to Qubits: Can Medicine Benefit From Quantum Computing?
Introduction to Quantum Computers123.pptx
Introduction_to_Quantum_Computers.pdf
OPTICALQuantum
QUANTUM COMPUTING.pdf
Quantum comput ing
Quantum computing1
quantum computing22.pptx
The future is quantum
Quantum Computing Quantum Internet 2020_unit 1 By: Prof. Lili Saghafi
Quantum computing
Quantum computing
MASTER_THESIS-libre
bhanu.pptx
Quantum Computing design by chat gpt and gemini
Quantum Computing
Ad

More from Mike Hogarth, MD, FACMI, FACP (17)

PPTX
Big Data in Clinical Research
PPTX
EHR v2.0: Optimizing Usability and Utility
PPTX
Informatics in disease management: What will the future bring?
PPTX
Data Quality in Healthcare: An Important Challenge
PPTX
Informatics and the merging of research and quality measures with bedside care
PPTX
Keep us safe: An overview of US public health informatics systems and archite...
PPT
Linking Electronic Patient Records and Death Records: Challenges and Opportun...
PPTX
The OneSource Initiative: An Approach to Structured Sourcing of Key Clinical ...
PPTX
A Federal and California State Collaboration to Improve Vital Events Reporting
PPT
Classic Papers in Medical Informatics
PPTX
Public Health Information Systems and Data Standards in Public Health Informa...
PPT
Pathology Informatics: Past, Present, and Future
PPTX
Engaging Patients Electronically for Research and Education: Challenges and O...
PPTX
Best Practices in Clinical Systems Integration
PPT
Informatics Principles of Modern Institutional Bio-banking: The Road Ahead
PPTX
Data Quality Matters: EHR Data Quality, MACRA, and Improving Healthcare
PPTX
Clinical Data Collection: The Good, the Bad, the Beautiful
Big Data in Clinical Research
EHR v2.0: Optimizing Usability and Utility
Informatics in disease management: What will the future bring?
Data Quality in Healthcare: An Important Challenge
Informatics and the merging of research and quality measures with bedside care
Keep us safe: An overview of US public health informatics systems and archite...
Linking Electronic Patient Records and Death Records: Challenges and Opportun...
The OneSource Initiative: An Approach to Structured Sourcing of Key Clinical ...
A Federal and California State Collaboration to Improve Vital Events Reporting
Classic Papers in Medical Informatics
Public Health Information Systems and Data Standards in Public Health Informa...
Pathology Informatics: Past, Present, and Future
Engaging Patients Electronically for Research and Education: Challenges and O...
Best Practices in Clinical Systems Integration
Informatics Principles of Modern Institutional Bio-banking: The Road Ahead
Data Quality Matters: EHR Data Quality, MACRA, and Improving Healthcare
Clinical Data Collection: The Good, the Bad, the Beautiful

Recently uploaded (20)

PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
cuic standard and advanced reporting.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Encapsulation theory and applications.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
sap open course for s4hana steps from ECC to s4
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
cuic standard and advanced reporting.pdf
Review of recent advances in non-invasive hemoglobin estimation
Understanding_Digital_Forensics_Presentation.pptx
Encapsulation theory and applications.pdf
MYSQL Presentation for SQL database connectivity
Spectral efficient network and resource selection model in 5G networks
Per capita expenditure prediction using model stacking based on satellite ima...
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Unlocking AI with Model Context Protocol (MCP)
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Network Security Unit 5.pdf for BCA BBA.
Agricultural_Statistics_at_a_Glance_2022_0.pdf
The AUB Centre for AI in Media Proposal.docx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Advanced methodologies resolving dimensionality complications for autism neur...

Taking Quantum Computing for a Spin: What is Imaginary and What is Real?

  • 1. TAKING QUANTUM COMPUTING FOR A SPIN: WHAT IS IMAGINARY AND WHAT IS REAL? Michael Hogarth, MD, FACP, FACMI Faculty, Department of Biomedical Informatics Clinical Research Information Officer (CRIO) UC San Diego Health
  • 2. OVERVIEW • Classical computing • Basic Principles of Quantum Computing • Suuperposition • Entanglement • Quantum Logic Gates • Exploring Quantum Circuits and Algorithms • Current state of Quantum Computing
  • 3. BINARY COMPUTATION – THE KEY TO THE MODERN COMPUTER • Binary numeral system – invented by mathematician Gottfried Leibniz (17th century) • Mathematical Functions • One can perform basic mathematical computation with the binary numeral system • Storing information • One can also store a ‘state’ (number) in binary
  • 4. CLAUDE SHANNON – THE REAL “FATHER” OF CLASSICAL COMPUTING • Explored performing binary ‘arithmetic’ using electric circuits (in the form of ‘switches’ – on/off) • MIT Master’s Thesis: “A Symbolic Analysis of Relay and Switching Circuits” (1936) • described using electronic relays and switches to perform Boolean algebra and binary arithmetic. • Other notable accomplishments • the father of “information theory” which outlines the basic theory behind communication systems (1948) • coined the term “bit”, for “binary information digit” (he attributed term to John Tukey of Bell Labs)
  • 5. “LOGIC CIRCUITS”: A KEY CONCEPT IN SHANNON’S THESIS:
  • 6. THE BINARY NATURE OF TRANSISTORS Transistors are just very very small on/off ‘switches’!Switches can be used to perform Boolean logic!
  • 7. BASIC “LOGIC GATES” Does this look familiar to something you saw in Shannon’s thesis?
  • 8. LOGIC CIRCUITS = ”LOGIC GATES” AND MATH FUNCTIONS
  • 9. MULTI-GATE TRANSISTOR CIRCUITS– THE ”INTEGRATED CIRCUIT” (IC) http://www.electronics-tutorials.ws/combination/comb_7.html 74LS83 chip performs addition with carry!
  • 10. FROM LOGIC GATES TO A MOTHERBOARD
  • 11. THE “CLASSICAL COMPUTER” • A modern CPU is just a binary arithmetic “machine” that uses boolean logic and binary computation to perform a broad array of functions • Can be “programmed” --- it can step through a set of “instructions” that cause the classical computer central processing unit (CPU) to perform different boolean logic steps and computation by invoking different circuits --- a universal computing machine • Versatile as it can be “programmed” to do a broad array of things • Can be used to control other devices (GPU, video card, hard drive, random access memory cards, etc..) and receive information from other devices (keyboard, mouse, network card) Intel 4004 – 1971 (2,300 transistors)
  • 12. EXAMPLES OF CHALLENGING COMPUTATION FOR CLASSICAL COMPUTERS • Even with the current crop of super computers, there are computing problems that are not tractable • Virtual Climate – climate models, predicting potential effects of global warming. Current supercomputers can only render down to 14 kilometers squared • Digital cells - modeling the movement and interaction of molecules in a cell. • Combustion (fuel) simulation • Simulating astrophysical phenomena • Integer factorization – determining the prime numbers multiplied to create an integer (can be solved in a quantum computer in polynomial time)
  • 13. A ROLE FOR QUANTUM COMPUTING Quantum computing is emerging as a possible approach to “NP Hard” computational problems NP – class of problems in which a solution can be verified in polynomial time by a classical computer An algorithm is polynomial (or has polynomial running time) if the running time on inputs of “n” is at most O(n)k Algorithms with exponential running times are not polynomial Example of an NP-hard problem – finding the least cost route through nodes of a graph (the traveling salesman)
  • 15. RICHARD FEYNMAN – FIRST TO SUGGEST A ‘QUANTUM COMPUTER’ WOULD BEST SIMULATE QUANTUM MECHANICAL SYSTEMS • Nobel prize in physics in 1965 - for work on quantum electrodynamics • “it is impossible to represent the results of quantum mechanics with a classical universal device” • Feynman proposed simulating quantum mechanical system using a computer based on the same principles (a quantum computer) MIT Endicott House Conference on the physics of computation (May 1981)
  • 16. THE POTENTIAL POWER IN USING QUANTUM MECHANICS TO COMPUTE • A sub-atomic particle (electron, photon, etc..) behaves according to quantum mechanical principles • If you use such particle as a “bit”, due to ”superposition”, the bit can be in more than one state at a time --- it can be BOTH ”1” and ”0” at the same time • If you make one “bit” state dependent on another, superposition of the controlling “bit” means two possible computations can happen at the same time… massive parallelism for “bits”
  • 17. TWO KEY CONCEPTS IN QUANTUM COMPUTING PARALLELISM • Superposition • Entanglement
  • 18. BORROWING FROM QUANTUM MECHANICS • Modeling the ‘state’ of a ‘quantum bit’ (“qubit”) • Borrow existing modeling methods in quantum mechanics • A ‘qubit’ can generically be represented as an electron with “spin” leading to a vector within a sphere. • Dirac Notation (bra-ket notation) – a standard notation to describe “quantum states”, which can be modeled as abstract vectors in mathematics • Angle brackets < and >, and vertical bars (|) denote the linear function on a vector in complex space
  • 19. WELCOME TO THE “QUBIT” https://www.cbinsights.com/blog/quantum-computing-explainer/ ● A qubit = The basic unit of information storage/processing in a quantum based computing system ● The figure on the left is an idealized model with: ● |1> = “spin down” ● |0>= “spin up” ● What isHint: what is the vector along the equator? Remember the pythagorean theorem and how to calculate a vector using angles…
  • 20. QUANTUM SUPERPOSITION • Quantum particles • photon, Majorana fermion, electron, electron spin, or magnetic field • Superposition means their state is in multiple “directions” or have “multiple simultaneous spins” at the same time • When measured, the qubit ‘collapses’ to a 1 or 0 probabilistically
  • 21. A QUBIT STATE DESCRIBED AS A COMPLEX VECTOR COMPOSED OF IMAGINARY AND REAL COMPONENTS • Equation describes the vector • Infinite possible states (not just 1 or 0 An Example state: Lies on the equator, along the y-axis
  • 22. COMPUTING WITH QUBITS c t c’ t’ 0 0 0 0 0 1 0 1 1 0 1 1 1 1 1 0 c = control c ‘= c t = target t’ = c XOR t The controlled NOT gate: -c controls whether t is flipped or not. If c is 1, then it flips.
  • 23. WHAT HAPPENS WHEN C IS IN SUPERPOSITION? c t c’ t’ 0 0 0 0 0 1 0 1 1 0 1 1 1 1 1 0 c = control c ‘= c t = target t’ = c XOR t If c is in superposition, does t get flipped or not? It does BOTH! If t = 0, and c=0, then t = 0 If t=0, and c=1, then t=1 c=|0> + |1> t = |0> |00>+|11> They are “entangled”
  • 24. PARALLEL COMPUTING WITH SUPERPOSITION AND ENTANGLEMENT Qubit 1 Qubit 2 U Answer 1 and Answer 2 U is a function that takes in 1 input and provides 1 output (answer) If one puts qubit 1 into superposition, it causes qubit 2 to be in two states at the same time and yield two calculations simultaneously
  • 25. QUANTUM PARALLELISM EXPLAINED https://youtu.be/UUpqnBzBMEE 2013 (the year DWave announced the DWave Two with 512 qubits)
  • 26. REVISITING “LOGIC GATES” AS A PARADIGM FOR COMPUTING Does this look familiar to something you saw in Shannon’s thesis?
  • 27. HADAMARD GATE (THE SIMPLEST GATE) • Hadamard gate – acts on a single qubit and maps the basis state (0 or 1) to a superposition qubit 1
  • 28. THE PAULI-X GATE (NOT GATE) • Puts the qubit ‘spin’ or ‘state’ in an orthogonally opposite direction
  • 30. ADIABATIC ANNEALING QUANTUM COMPUTER • A set of magnets are arranged on a grid • Magnetic fields of each influences all the other magnets, which flip to arrange themselves to minimize the energy stored in the overall magnetic field • You can control how strongly the magnetic field from each affects the others • Start with high energy so fields can flip back and forth • Let the system “cool” (or anneal) and loose energy, it will ‘settle’ at the lowest energy state
  • 31. QUANTUM “ANNEALING” • “a method for finding solutions to combinatorial optimization problems and ‘ground states’ of systems” • By letting a system cool and go through sequential states, it will “anneal”, one can find the lowest energy state • What it does at the quantum level -- finds the lowest energy state in a system • Uses equations that describe the total energy of a system - a “Hamiltonian” Finnila, Gomez, Sebenik, Stenson, Doll. Quantum annealing: A new method for minimizing multidimensional functions. Chem Physics Letters. 219(1994) 343-348
  • 32. ANNEALING - REACHING THE LOWEST ENERGY POINT WITH A SPECIALLY DESIGNED QUANTUM COMPUTER
  • 34. OVER 50 EXISTING “QUANTUM ALGORITHMS”
  • 35. GROVER’S ALGORITHM • Lou Grover 1996 • Uses qubits in superposition to compute ‘searches’ much faster than classical computers • “Searches” = generalized search • Finding an item in an *unstructured* list
  • 36. https://www.youtube.com/watch?v=hK6BBluTGhU Grover’s algorithm is a quantum algorithm that will perform search in less time -- lowers it by the square root of the total items in the list
  • 37. PETER SHOR’S ALGORITHM AND PRIME NUMBERS https://science.mit.edu/research/faculty/shor-peter-williston Look out RSA encryption!!
  • 38. PRACTICAL APPLICATIONS FOR QUANTUM COMPUTING TODAY • Combinatorial optimization • “traveling salesman problem” • Integer factorization (breaks RSA) • Search in unsorted databases (Grover’s) • Pattern recognition • Protein folding
  • 40. EXAMPLES OF QUANTUM ALGORITHMS RELEVANT TO BIOMEDICAL INFORMATICS
  • 41. DEEP LEARNING MODEL AND QUANTUM ANNEALING
  • 42. PROTEINS AND MODELING STRUCTURE • Understanding how proteins fold • Modeling malfunctioning proteins and their physical structures http://www.atelier.net/en/trends/articles/quantum-computing-set-revolutionise-health-sector_437915
  • 44. OPTIMIZING/AUGMENTING AUTOMATED CLASSIFICATION • Classification of patients • Poor prognosis • Good prognosis
  • 46. CURRENT COMMERCIAL QUANTUM COMPUTING DESIGNS • DWave Quantum Annealing computer (2013) • IBM 5-20 qubit “universal quantum computer” (2015) • Microsoft’s “Topological” Quantum Computer (March 2017) • Intel’s Quantum 17-qubit CPU (Oct 2017) • Atos Quantum Machine Learning computer (Nov 2017)
  • 47. D-WAVE – THE FIRST COMMERCIALLY AVAILABLE QUANTUM COMPUTER
  • 48. THE D-WAVE QUANTUM TRANSISTOR - THE SQUID ● Superconducting QUantum Interference Device (SQUID) ● Made of niobium, becomes superconducting at low temperatures ● A very sensitive magnetometer that can measure very subtle magnetic fields, based on superconducting loops containing Josephson junctions ● The transistor behavior: ● The SQUID stores two magnetic fields, which either point up (+1) or down (-1) ● Each SQUID is a qubit that can be controlled and put into a superposition of the two states
  • 49. D-WAVE COUPLING – QUBIT ENTANGLEMENT ● Multi-qubit D-Wave processor has qubits connected to each other through couplers ● Couplers cause qubits to influence each other ● Mathematically, these elements couple together qubits, set as variables, providing parallelized solutions to multi-dimensional computation ○ Ie, optimization problems where changing one element requires re- computing of the others ● Readout device attached to each qubit - inactive during computation (do not affect qubit behavior), but read output once computation has finished 8 qubit loops with 16 couplers ‘connecting’ each qubit with 4 others
  • 50. IBM QUANTUM COMPUTING – AS A WEB SERVICE? Free access to IBM 16- qubit machin eIBM Quantu m Computi ng Service
  • 51. IBM Q COMPOSER: QUANTUM COMPUTING FOR THE MASSES
  • 52. MICROSOFT QUANTUM INITIATIVE • Nadela – first major tech CEO to mention quantum computing in the company’s major conference (May 2017) • Topological quantum design • Less error (decoherence) • End-to-end quantum computing • From hardware to software • Developed a programming language • Built new language into Visual Studio IDE with full debugging and simulation support
  • 53. TOPOLOGICAL QUANTUM COMPUTING • Relies on a particle called a Majorana fermion, first predicted by Ettore Majorana in 1937 • Appear as “quasiparticle excitations” • Design reduces the number of qubit interactions (gates) needed to perform certain computations (logical quantum gates) • First actually detected in 2017… • “It doesn’t really matter what exactly these excitations are, as long as they are measurable, and they can be used to perform calculations” – Elizabeth Gibney (Nature) https://www.nature.com/news/inside-microsoft-s-quest-for-a- topological-quantum-computer-1.20774
  • 54. INTEL ANNOUNCES 17-QUBIT SUPERCONDUCTING CHIP • Oct 10, 2017 (4 weeks ago) • Intel announced delivery of a 17-qubit superconducting test chip to QuTech (Intel’s quantum research partner in the Netherlands) • Design – “spin qubits in silicon” in a superconducting environment • “single electronic transistor” (SET)
  • 55. ATOS “QUANTUM LEARNING MACHINE” • Nov 13, 2017 (yesterday!) • Oak Ridge National Lab (ORNL) purchases an Atos Quantum Learning Machine • Ultracompact 30-qubit machine • Universal quantum programming language
  • 61. IBM QISKIT • SDK for working with OpenQASM • QASM – A text format language for describing ‘acylclic’ quantum circuits • Example programs: https://www.media.mit.edu/quanta/qas m2circ/ QASM program that puts a single qubit into a superposition then
  • 62. A MICROSOFT QUANTUM PROGRAMMING LANGUAGE • LIQUi|> (Liquid) • Based on F# • Functions, variables, branches, quantum specific elements • Simulates up to 30 qubits • Largest number factored to date is a 13-bit number, 5 days runtime
  • 63. WHAT I PREDICT – QUANTUM AUGMENTED HYBRID COMPUTING PLATFORMS • Combination of a quantum computing infrastructure with classical computing infrastructure • A ‘programming language’ that is ‘interpreted’ by a cloud computing infrastructure, which decides what to have computed and in what equipment • CPU • GPU • Quantum CPU Super computer Quantum computer Hybrid Exascale Computing Language Interpreter/controller Exascale Computing Platform