Top Banner
Challenges in Synthesizing Quantum Computers Susmita Sur Susmita Sur-Kolay Kolay Susmita Sur Susmita Sur-Kolay Kolay Advanced Computing and Microelectronics Unit Advanced Computing and Microelectronics Unit Indian Statistical Institute, Kolkata Indian Statistical Institute, Kolkata http://www.isical.ac.in/~ssk http://www.isical.ac.in/~ssk Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay 1
53

Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Mar 18, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Challenges in Synthesizing

Quantum Computers

Susmita SurSusmita Sur--KolayKolaySusmita SurSusmita Sur--KolayKolay

Advanced Computing and Microelectronics UnitAdvanced Computing and Microelectronics UnitIndian Statistical Institute, KolkataIndian Statistical Institute, Kolkata

http://www.isical.ac.in/~sskhttp://www.isical.ac.in/~ssk

Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay 1

Page 2: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Agenda�� News of the day: 2012 Physics Nobel Prize!News of the day: 2012 Physics Nobel Prize!�� What is a Quantum Computer?What is a Quantum Computer?�� Power of Quantum ComputersPower of Quantum Computers�� Synthesis of QCsSynthesis of QCs

�� MintermMinterm basedbased

Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay 2

�� MintermMinterm basedbased��FredkinFredkin gate based Programmable Quantum Logic blockgate based Programmable Quantum Logic block��Nearest Nearest NeighbourNeighbour constraintsconstraints��Fault models and ErrorFault models and Error

�� Concluding Concluding RemarksRemarks

Page 3: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

• Computers are getting smaller (and faster) and reaching a point where

“classical” physics is no longer a sufficient model for the laws of physics – 32nm

Major drivers of QC

“classical” physics is no longer a sufficient model for the laws of physics – 32nm

chips expected next year!

� Classical laws for resistors, capacitors also change below 50nmClassical laws for resistors, capacitors also change below 50nm

• Quantum mechanical laws can speed up computational processes by

massive parallelism

• Reversible logic can beat switching power dissipation crisis in nanometer Ics

• Key difference with classical architecture: storage & processing

Oct 9, 2012 3IEEE Central Texas CEDA - Sur-Kolay

Page 4: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

What is a Quantum Computer?

A quantum computer is any device for computation that makes direct use of distinctively quantum mechanical phenomena, such as superposition and entanglement, to perform operations on data.

Are not present-day computers quantum?

No! Difference lies in storage and processing

Oct 9, 2012 4IEEE Central Texas CEDA - Sur-Kolay

Page 5: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Computation & Physical Systems

� Computer� Input

� Rules

� Physical System� Initial State (Preparation)

� Physical Laws (Laws � Rules

�Output

� Physical Laws (Laws of Motion)

� Final State (Observation with measuring instruments)

Oct 9, 2012 5IEEE Central Texas CEDA - Sur-Kolay

Page 6: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Description of a Quantum Physical System

� A State, of which our knowledge may be incomplete.

� A Set of Observables --- features that can be measured.

� Each observable has a spectrum specific to a universe.

� This spectrum is discrete.

� An observable may have different values in different universes in which it is being measured.

� Measurement of observable and their spectra are invariant features of a quantum system.

Oct 9, 2012 6IEEE Central Texas CEDA - Sur-Kolay

Page 7: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

� A qubit, also called qbit, is the basic unit of information in a quantum computer

� Physically may be – spin state of an electron may be up ( ↑ ) or ( ↓ ) down – polarization state of a photon may be vertical ( ↨ ) or horizontal ( ↔ ) – Two quantum mechanical states represented by standard quantum mechanics ket notation | 0 > and | 1 >

Qubits

� A quantum state |Ψ> can be superposed : |Ψ> = a | 0 > + b | 1 >– where a and b are the complex amplitudes representing the probabilities of state |0 > and |1 > and | a |2 + | b |2 = 1

� In matrix notation a qbit is denoted by:

|0> = and |1> =

A qubit in the | 1 > state A qubit in the | 0 > state

0

1

1

0

Oct 9, 2012 7IEEE Central Texas CEDA - Sur-Kolay

Page 8: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Computation with Qubits

Classical ComputationData unit: bit

x = 0 x = 1

Valid states:x = ‘0’ or ‘1’ |ψ⟩ = c1|0⟩ + c2|1⟩

Quantum Computation

Data unit: qubit

Valid states:

|ψ⟩ = |0⟩ |ψ⟩ = |1⟩ |ψ⟩ = (|0⟩ + |1⟩)/√2

=|1⟩ =|0⟩= ‘1’ = ‘0’

How do qubits affect computation?

0

1

0

1

|ψ⟩ = |0⟩ |ψ⟩ = |1⟩ |ψ⟩ = (|0⟩ + |1⟩)/√2

Result: deterministic measurement

x = ‘0’

State

‘0’

x = ‘1’ ‘1’

|ψ⟩ = |0⟩

|ψ⟩ = |0⟩ + |1⟩

State Result: Probabilistic measurement

|ψ⟩ = |1⟩

√2

‘0’

‘1’‘0’ 50%

‘1’ 50%Oct 9, 2012

8IEEE Central Texas CEDA - Sur-Kolay

Page 9: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

� The maximum possible number of states depends on thenumber of qubits --- n qubits represent 2n states.

� A 2-qubit vector can simultaneouslysimultaneously represent the states 00,01, 10, 11 and the probability of their occurrence depends onthe complex amplitude values.

State of a Quantum Computer

� 2-qubit State vector (superposition):– ψ =C0 |00> + C1 | 01> +C2 | 10> + C3 | 11>where Σi |Ci|2 = 1

� Hence comes the concept of quantum register of M qubitsholding 2M simultaneous values.– If we perform an operation on the register, all the values are being operated onsimultaneouslysimultaneously which leads to quantum parallelism.

Oct 9, 2012 9IEEE Central Texas CEDA - Sur-Kolay

Page 10: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

A Quantum Register

Oct 9, 2012 10IEEE Central Texas CEDA - Sur-Kolay

Page 11: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Nature of Quantum OperationsAny linear operation that takes a quantum state

satisfying and maps to a state

satisfying must be UNITARY

12

1

2

0 =α+α

10 10 α+α

10 '1

'0 α+α

12'

1

2'0 =α+α

I10

01

uu

uu

uu

uuUU *

**

1110

0100t

11*01

1000 =

=

=

=

1110

0100

uu

uuU is unitary if and only if

Oct 9, 201211IEEE Central Texas CEDA - Sur-Kolay

Page 12: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

• A quantum logic gate means a closed-system evolution of the n-qubit state space Hn

• no information is gained or lost during this evolution

• If | Ψ > is a state vector in Hn , the logic operation can be represented by • | Ψ > → U | Ψ > for some unitary 2n × 2n matrix U

• Any manipulations on qubits, have to be performed by unitary operations

Quantum Operators and

Quantum Gates

• Any manipulations on qubits, have to be performed by unitary operations

• A quantum network consists of quantum logic gates whose computational steps are synchronized in time

• A new state can be obtained by operating a unitary operator |U> on the vector space |Ψ>

Oct 9, 2012 12IEEE Central Texas CEDA - Sur-Kolay

Page 13: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

NOT Gate ¬

Represented by the matrix UNOT:

¬ |0> = . = = |1>

¬|1>= . = = |0>

01

10

0

1

1

0

01

10

1

0

0

1

Hadamard operator defined by the unitary matrix H=

H |0> = 1/√2 ( |0> + |1> ) H |1> = 1/√2 ( |0> - |1> )

Hadamard operator produces a

−11

11

2

1

Single Qubit Gates

01

10

Hadamard operator produces a superposition of two qbits

Phase Gate defined by the unitary matrix

U =

++−+

+−−−

2cos

2sin

2sin

2cos

)22

()22

(

)22

()22

(

γγ

γγ

δβα

δβα

δβα

δβα

ii

ii

ee

ee

Oct 9, 2012 13IEEE Central Texas CEDA - Sur-Kolay

Page 14: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Controlled NOT gate

• Operates on two qbits : control and target qbits

• The target qbit is inverted if the controlling qbit is |1>.

• Logically CNOT(a,b) ↔ (a ,a ⊕ b).

Swap Gate

• Used swapping the two i/p qbits.

• Built with CNOT gates

Two & Three Qubit gates

CNOT | 00 > = | 00 >CNOT | 01 > = | 01 >CNOT | 10 > = | 11 > CNOT | 11 > = | 10 >

0 1 0 0

1 0 0 0

0 0 1 0

0 0 0 1Toffoli Gate

• It is a three qbit universal gate.

• The logical operations of AND, OR and NOT can be performed

Oct 9, 2012 14IEEE Central Texas CEDA - Sur-Kolay

Page 15: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

(a) NOT gate (b) CNOT gate

Typical Quantum gatesControl

Target

Control 0

Control 1

(c) C2NOT or Toffoli gate (d) CkNOT gate•Universal set of quantum gates exist.•Quantum Turing machines and even Universal Quantum Turing Machines exist

Target

Control kTarget

Control 0

Control 1

Oct 9, 2012 15IEEE Central Texas CEDA - Sur-Kolay

Page 16: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Quantum Circuit

|0⟩

|0⟩

|1⟩

|0⟩

|1⟩

|1⟩

‘1’

‘1’

Example Circuit

N

One-qubit operation

CNOT

Two-qubit operation Measurement

1000

0 0 1 00 0 0 11 0 0 00 1 0 0

σx ⊗ I =

0010

1 0 0 00 1 0 00 0 0 10 0 1 0

CNOT =

0001

0001

Oct 9, 2012 16IEEE Central Texas CEDA - Sur-Kolay

Page 17: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

NCNOT

|0⟩ + |1⟩

|0⟩

Example Circuit – contd.

√2______ |0⟩ + |1⟩

|0⟩√2

______ ‘0’

‘0’or

‘1’

‘1’

50% 50%

??

1/√201/√20

1000

1/√201/√20

1/√2001/√2

0001

or

Separable state:can be written astensor product

|Ψ⟩ = |φ⟩ ⊗ |χ⟩

Entangled state:cannot be written as tensor product

|Ψ⟩ ≠ |φ⟩ ⊗ |χ⟩Oct 9, 2012 17IEEE Central Texas CEDA - Sur-Kolay

Page 18: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Entanglement� Strange quantum correlation that does not have a classical analog .

� Ψentngl=1/√2(|0102> ± |1112>).

� The quantum state cannot be factored.

� When the first qubit is measured to yield either |0> or |1> then the second qubit is determined with no uncertainty.

� Used in quantum communication over a classical channel.

H|0>

|0>

1/√2(|0>+|1>)

1/√2(|00>+|11>)

A quantum circuit producing entanglement

Oct 9, 2012 18IEEE Central Texas CEDA - Sur-Kolay

Page 19: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

� The NOT gate is reversible

Reversible Logic

�The AND gate is irreversible– the AND gate erases input information.

Oct 9, 201219IEEE Central Texas CEDA - Sur-Kolay

Page 20: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Need for Reversible Logic

� Landauer proved that the usage of traditional irreversible circuits leads to power dissipation.

� Bennet showed that a circuit consisting of only reversible gates � Bennet showed that a circuit consisting of only reversible gates does not dissipate power.

� Applications like digital signal processing, computer graphics, cryptography, reconfigurable computing, etc. demand the preservation of input data.

Oct 9, 2012 20IEEE Central Texas CEDA - Sur-Kolay

Page 21: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Some Interesting Consequences

ReversibilitySince quantum mechanics is reversible (dynamics are unitary),quantum computation is reversible.

|00000000⟩ |ψφβπµψ⟩ |00000000⟩

No cloning theoremIt is impossible to exactly copy an unknown quantum state

|ψ⟩|0⟩

|ψ⟩|ψ⟩

Page 22: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

The power of QC�� Deutsch’s oracle problem (1985)Deutsch’s oracle problem (1985) Given a classical black box function f(x) , Given a classical black box function f(x) ,

can you tell whether f(0) = f(1) evaluating f(x) only once? Yes can you tell whether f(0) = f(1) evaluating f(x) only once? Yes

�� CryptographyCryptography–– Factorization Factorization –– Discrete Logarithm Discrete Logarithm –– Shor Shor –– Secure systems Secure systems

�� Database (unstructured) Search Database (unstructured) Search

#digits Ctime/Qctime

50 1s/1hr

100 2.5days

200 19000yrs./42 days

2000 age of universe/0.5 yr.

Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay 22

�� Database (unstructured) Search Database (unstructured) Search –– O(sqrt (n)) algorithm for n entries O(sqrt (n)) algorithm for n entries -- GroverGrover

�� Simulation of dynamic quantum mechanical systems with Simulation of dynamic quantum mechanical systems with exponential growth of Hilbert space dimensionalityexponential growth of Hilbert space dimensionality–– Quantum ChemistryQuantum Chemistry

�� Recent spurt in new quantum algorithms: Recent spurt in new quantum algorithms: Quantum Algorithm ZooQuantum Algorithm Zoo�� Algebraic and numberAlgebraic and number--theoretic theoretic –– mostly superpolynomial speedmostly superpolynomial speed--upup�� Oracular problemsOracular problems�� Approximation algorithmsApproximation algorithms

2000 age of universe/0.5 yr.

Page 23: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Computational Complexity ClassPSPACEPSPACE

NP-completeΣ1

Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay 23

PBQP

BQP: Bounded error quantum polynomial time complexityRelation with Polynomial Hierarchy and Alternating Turing machines

Page 24: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Timeline of Quantum Computing � 1970s : reversibility, quantum information theory

� 1980s: Feyman’s proposal, Toffoli gate and universal set

� 1990s:

�� 2001: execution of 2001: execution of Shor’sShor’s on 15 on 15 with 10^18 identical moleculeswith 10^18 identical molecules

�� 2002: Roadmap2002: Roadmap�� 2005: chip with quantum dot 2005: chip with quantum dot �� 2006: 122006: 12--qbit QC benchmarked, qbit QC benchmarked, 2D ion trap2D ion trap

�� 2007: 162007: 16--qbit QC (Feb)qbit QC (Feb)� 1990s: – entanglement based secure communication,

– Shor’s factoring, – CNOT with trapped ion, – Grover’s search– 2-qbit NMR, 3-qbit NMR, execution of Grover’s

� 2000: 5-qbit NMR, 7 qbit NMR

�� 2007: 162007: 16--qbit QC (Feb)qbit QC (Feb)�� 2008: 1282008: 128--qbit QC being testedqbit QC being tested�� 2009: 2009: QbitsQbits transmitted at meter transmitted at meter scale, ms life; scale, ms life; QprocQproc

�� 2010: 2010: SpintronicsSpintronics�� 2012: Superconductors2012: Superconductors

Oct 9, 2012 24IEEE Central Texas CEDA - Sur-Kolay

Page 25: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Technology as of now

• NMR – not scalable• Ion trap• Quantum Dots• Superconductors• Photons• Neutral atoms

Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay 25

Page 26: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Building Quantum Computers

Physics

Theory

+

Technology

Computer Science

Algorithm design

+

Complexity Analysis

QuantumComputer

Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay 26

Computer Engineering

Synthesis Methodologies

+ CAD tools

Complexity Analysis

Page 27: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Agenda

�� What is a Quantum Computer ?What is a Quantum Computer ?�� Power of Quantum ComputersPower of Quantum Computers�� Synthesis of QCsSynthesis of QCs

�� MintermMinterm basedbased

Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay 27

�� MintermMinterm basedbased��Nearest Nearest NeighbourNeighbour constraintsconstraints��FredkinFredkin gate based Programmable Quantum Logic blockgate based Programmable Quantum Logic block��Fault models and ErrorFault models and Error

�� Concluding Concluding RemarksRemarks

Page 28: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Di Vincenzo’s Criteria

A scalable system with characterized qubits.

The ability to initialize qubits in a simple state like |00_.>.

Qubits must be sufficiently isolated from the environment to avoid Qubits must be sufficiently isolated from the environment to avoid decoherence.

Long relevance decoherence time >> gate operation time.

Universal set of quantum gates.

Measurement of qubits would be reliable.

Page 29: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Design Flow for Application Specific Quantum Processor (ASQP)

Quantum Algorithm

Partitioning into Quantum Macro Blocks

Synthesis of Quantum Macro Blocks using high level logic blocks (CKNOT, Fredkin, Swap etc.)

Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay29

Synthesis in terms of Basic gate operations (Toffoli, CNOT, H, NOT, CPhase, Phase)

Synthesis in terms of quantum operations available in the physical

machine descriptions (PMD)

Addition of Fault-Tolerant Quantum Circuit blocks

Error correcting encoding and

Physical Realization - programming

Page 30: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Cost Metrics for Cost Metrics for Quantum Logic SynthesisQuantum Logic Synthesis

–– Gate complexityGate complexity»»NumberNumber

–– Depends on # inputs and technology: Depends on # inputs and technology: »»EgEg. for NMR based QCs: . for NMR based QCs:

Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay 30

»»EgEg. for NMR based QCs: . for NMR based QCs: »»1 1 qbitqbit -- 2, 2, »»22--qbit qbit –– 5, 5, »»3 3 qbitqbit –– 2525

–– Fault model and Error performanceFault model and Error performance

Page 31: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Methods of Synthesis

�� BottomBottom--upup–– Binary logic decision diagram basedBinary logic decision diagram based–– Quantum gate/operator identitiesQuantum gate/operator identities–– Reduction of gate complexity by using quantum Reduction of gate complexity by using quantum –– Reduction of gate complexity by using quantum Reduction of gate complexity by using quantum logic identitieslogic identities

–– ReedReed--Muller decomposition of reversible logicMuller decomposition of reversible logic»» Effect of Polarity on gate countEffect of Polarity on gate count»» Nearest neighbour constraintsNearest neighbour constraints between the control between the control and the target and the target qbitsqbits

Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay 31

Page 32: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Methods of Synthesis

�� TopTop--downdown

–– Hierarchical synthesis with building blocksHierarchical synthesis with building blocks

–– Decomposition into unitary matricesDecomposition into unitary matrices»» EgEg. . Perkowski’sPerkowski’s genetic algorithmgenetic algorithm

»» Template based movesTemplate based moves

Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay 32

Page 33: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Minterm based Quantum Boolean Circuit (QBC) Synthesis

QBC for f (x ,x ,x ) = +++

Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay 33

QBC for f1(x0,x1,x2) =using minterm gates m1,m2,m3 and m4

Minimized circuit for f1(x0,x1,x2).

012012012012 xxxxxxxxxxxx +++

Page 34: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Minterm Based Synthesis of Benchmarks

Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay 34

Page 35: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Reed Muller RepresentationA boolean function f of n variables can be expressed in the Reed Muller form using XOR,

AND and NOT (Akers 1959):

f (x0’_. xn-1’) = ⊕ ;

where bi ε (0,1) and Φi= and = or

• Φi are known as product terms and bi determines whether a product term is present ornot .

• The XOR operation is indicated by ⊕ and multiplication is assumed to be the AND

ii i

n

b ϕ.12

0∑ −

=

∏−

=

•1

0

n

k

kx kx•

xk kx

Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay 35

• The XOR operation is indicated by ⊕ and multiplication is assumed to be the ANDoperation.

• The canonical Reed Muller expression can be classified as Positive Polarity ReedMuller (PPRM), where all the variables are un-complemented.

• In a Fixed Polarity Reed Muller (FPRM) expression, for each variable in it, eitheror (not both) appear throughout.

• If both and appear, then it is called a Generalized Reed Muller (GRM) expression.

kx•

xk kx

xk kx

Page 36: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Nearest Neighbor Synthesis

�� YounnesYounnes and Miller (2003) has mentioned about the interaction between the and Miller (2003) has mentioned about the interaction between the adjacent only adjacent only qubitsqubits for the practical implementation of QBC.for the practical implementation of QBC.

�� JJ--couplingcoupling forceforce isis requiredrequired toto performperform multimulti--qubitqubit logiclogic operationsoperations andand thisthis worksworkseffectivelyeffectively onlyonly betweenbetween thethe adjacentadjacent qubitsqubits..

�� NearestNearest neighborneighbor relationshiprelationship betweenbetween thethe controlcontrol andand thethe targettarget qubitsqubits isis trulytruly

Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay 36

�� NearestNearest neighborneighbor relationshiprelationship betweenbetween thethe controlcontrol andand thethe targettarget qubitsqubits isis trulytrulyjustifiedjustified duedue toto thethe limitationlimitation ofof thethe JJ--couplingcoupling forceforce..

�� Bringing the control and the target Bringing the control and the target qubitsqubits of any quantum gate on adjacent lines in of any quantum gate on adjacent lines in a quantum gate network which is called the a quantum gate network which is called the nearest neighbor configurationnearest neighbor configuration. .

�� SWAPSWAP gates play a key role .gates play a key role .

Page 37: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Placement Rule for Nearest Neighbor Configuration

PlacementPlacement RuleRule:: TheThe CC22NOTNOT andand CNOTCNOT gatesgates whichwhich workwork onon thethe samesame targettarget

qbitqbit andand havehave atat leastleast oneone controlcontrol qbitqbit common,common, shouldshould bebe adjacentadjacent.. SWAPSWAP

gatesgates areare usedused..

(a) Nearest neighbor circuit using

individual templates of C2NOT (4,3,1), CNOT(4,1) and CNOT (3,1) gates

(b) Minimized nearest neighbor circuit using the templates of C2NOT(4,3,1) + CNOT(4,1) and CNOT (3,1)

Minimize overhead (# SWAP gates): Ordering input qubits, position of target qubit lineOct 9, 2012 37IEEE Central Texas CEDA - Sur-Kolay

Page 38: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Nearest Neighbor Synthesis Rules

�� Rule 1:Rule 1: For a CFor a C22NOT gate with indices of its input lines NOT gate with indices of its input lines ((ctrl1ctrl1,,ctrl2ctrl2,,targettarget) ) in a QBC, the in a QBC, the number of pairs of SWAP gates required is number of pairs of SWAP gates required is sstt + + ssbb, where , where sstt is max{(ctrl1 is max{(ctrl1 –– targettarget--2),0} and 2),0} and ssbbis max{(ctrl2 is max{(ctrl2 –– target target -- 1),0}.1),0}.

�� Rule 2Rule 2:: For a CNOT gate with indices of its input lines For a CNOT gate with indices of its input lines ((ctrlctrl,, targettarget) ) in a QBC, the number of in a QBC, the number of pairs of SWAP gates required is spairs of SWAP gates required is scc where swhere scc is max{(ctrl is max{(ctrl –– target target -- 1),0}.1),0}.

Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay 38

�� Rule 3:Rule 3: If the topIf the top--control control qubitqubit of a Cof a C22NOT gate and the control NOT gate and the control qubitqubit of a CNOT gate are on of a CNOT gate are on the same the same qubitqubit line in a QBC, then the number of pairs of SWAP gates required is one more line in a QBC, then the number of pairs of SWAP gates required is one more than that required for the Cthan that required for the C22NOT gate alone. NOT gate alone.

�� Rule 4:Rule 4: If the bottomIf the bottom--control control qubitqubit of a Cof a C22NOT gate and the control NOT gate and the control qubitqubit of a CNOT gate in a of a CNOT gate in a QBC are on the same line then the total SWAP gate requirement is same as that of the QBC are on the same line then the total SWAP gate requirement is same as that of the CC22NOT gate alone.NOT gate alone.

�� Rule 5:Rule 5: The CThe C22NOT and CNOT gates which work on the same target NOT and CNOT gates which work on the same target qubitqubit and have at least and have at least one control one control qubitqubit common, should be adjacent. common, should be adjacent.

Page 39: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Linear Nearest Neighbor Synthesis

for multi-target QBC by Graph Partitioning

Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay 39

Page 40: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

LNN for 4mod5-bdd _287:

(a) original circuit needs 15

SWAP pairs for LNN

Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay 40

Over Revlib benchmarks, mean reduction in QC is 46.6%,and 17.5% over method by Wille et al.Amlan Chakrabarti, Susmita Sur-Kolay, Ayan Chaudhury: Linear Nearest Neighbor Synthesis of Reversible Circuits by Graph Partitioning CoRR abs/1112.0564: (2011)

SWAP pairs for LNN

architecture,

(b) Graph from this circuit,

(c) re-ordering of qubit lines

(d) circuit with re-ordered

input qubit lines, with only 12

SWAP pairs for LNN

architecture

Page 41: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Fredkin gate based synthesis

Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay 41

Can realize

• AND, OR, NOT, • 2-to-1 multiplexer

• Multiplexer network

• garbage-free versions

Page 42: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Fredkin gate based Programmable Quantum Logic Block or PLAQ

FPAND: Garbage-free programmable AND FPOR: Garbage-free programmable OR

Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay 42

Garbage-free programmable QPLA for Majority3 with FPAND plane and FPOR plane Chakrabarti and Sur-Kolay: IJCSES’09

Page 43: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Gate-Level Error Model

Types of Errors: Bit flip or phase flip or both

Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay 43

Page 44: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Error Computation Method

A Quantum circuit with 4 gate levels

Matlab Program for this Quantum Circuit:

Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay 44

Matlab Program for this Quantum Circuit:

function example_array = example(p)

L1= kron (topcnot(p),eye(2,2));

L2= CNOT3_1(p);

L3= toffoli(p));

L4=kron (kron(my_not(p),eye(2,2)), my_not(p));

example_array = L4*L3*L2*L1;

Page 45: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Erro r Per f o rmance o f t he d i f f erent RM f o rms

o f f 1

00.1

0.20.30.40.5

0.60.70.8

0.91

0 0.1 0.2 0.3 0.4 0.5 0.6

Erro r p rob ab il i t y( p )

PPRM _f1

1FPRM _f1

2FPRM _f1

3FPRM _f1

4FPRM _f1

5FPRM _f1

6FPRM _f1

7FPRM _f1

Erro r Per f o rmance o f t he d i f f erent RM f o rms

o f rd 3 2

0.00000.1000

0.20000.30000.40000.5000

0.60000.70000.8000

0.90001.0000

0 0.1 0.2 0.3 0.4 0.5 0.6

Erro r p ro b ab i l i t y( p )

PPRM _rd32

1FPRM _rd32

2FPRM _rd32

3FPRM _rd32

4FPRM _rd32

5FPRM _rd32

6FPRM _rd32

7FPRM _rd32

E r r o r P e r f o r ma nc e o f t he d i f f e r e n t R M f o r ms

Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay 45

E r r o r P e r f o r ma nc e o f t he d i f f e r e n t R M f o r ms

o f M a j 3

00 .10 .20 .30 .40 .50 .60 .70 .80 .91

0 0 .1 0 .2 0 .3 0 .4 0 .5 0 .6

E r r o r p r o b a b i l i t y ( p )

PPRM _M aj3

1FPRM _M aj3

2 FPRM _M aj3

3 FPRM _M aj3

4 FPRM _M aj3

5FPRM _M aj3

6 FPRM _M aj3

7FPRM _M aj3

Page 46: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

00.10.20.30.40.50.60.70.80.91

0.01

0.03

0.05

0.07

0.09 0.2

0.4

Probability of getting the

correct output

minripplecarryadderVBEripplecarryadder

carrylookaheadadder

Error performance of the adder circuits

Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay 46

0.01

0.03

0.05

0.07

0.09 0.2

0.4

error probability p

adder

A. Chakrabarti and S. Sur-Kolay, “Designing Quantum Adder Circuits and Evaluating Their Error Performance”, Proc. IEEE International Conference on Electronic Design 08, Penang, Malyasia, December 2008.

Need efficient methods

Page 47: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Ion trap NMR Spin

Quatum dot switchesQchip busQchip

Ion trap NMR Spin

Oct 9, 201247

IEEE Central Texas CEDA - Sur-Kolay

Page 48: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

28 qubit chip

128 qubit chipSuperconducting processor

Oct 9, 201248

IEEE Central Texas CEDA - Sur-Kolay

Page 49: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Our Recent Contributions*Our Recent Contributions*�� Synthesis of quantum computers with reduced gate Synthesis of quantum computers with reduced gate cost and delaycost and delay–– Quantum Boolean circuitsQuantum Boolean circuits

»» Quantum Quantum registers,addersregisters,adders, multiplexers, multiplexers»» ProgrammableProgrammable Quantum Boolean circuits with Quantum Boolean circuits with FredkinFredkin gatesgates

–– Reversible logicReversible logic»» TopTop--down: Decomposition approachdown: Decomposition approach

Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay 49

»» BottomBottom--up: Reedup: Reed--Muller approachMuller approach

�� Physical constraintsPhysical constraints–– Nearest Neighbour Placement Rules for Quantum gatesNearest Neighbour Placement Rules for Quantum gates

�� Methodology for computation of errorMethodology for computation of error�� Synthesis of MultiSynthesis of Multi--valued Quantum Logic valued Quantum Logic �� Efficient Simulation of QCsEfficient Simulation of QCs

* Joint work with Amlan Chakrabarti, Sudhindu Mandal

Page 50: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Upcoming Research Issues�� Physical Machine Description specific quantum library generationPhysical Machine Description specific quantum library generation

–– Each of the PMDs have a variability in terms of basic quantum Each of the PMDs have a variability in terms of basic quantum operations they support, so PMD specific quantum operator library operations they support, so PMD specific quantum operator library needs to be created.needs to be created.

�� Quantum error coding and correction schemesQuantum error coding and correction schemes–– Efficient schemes are needed having less overhead, absolute need for Efficient schemes are needed having less overhead, absolute need for quantum computing in reality.quantum computing in reality.

Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay50

quantum computing in reality.quantum computing in reality.

�� Quantum controlQuantum control–– Efficient control on the quantum operations is required for successful Efficient control on the quantum operations is required for successful quantum computing. quantum computing.

�� Model of a quantum finite state machine Model of a quantum finite state machine �� Halting problem for QTMs !?Halting problem for QTMs !?

Page 51: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

Concluding remarksConcluding remarks

�� Need efficient synthesis methodsNeed efficient synthesis methods�� Efficient simulatorsEfficient simulators�� Programming modelsProgramming models

Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay 51

�� Testing and verificationTesting and verification�� More realMore real--life applicationslife applications–– egeg. Quantum cryptography in Swiss ballot . Quantum cryptography in Swiss ballot boxesboxes

�� Technological progress and ScalabilityTechnological progress and Scalability

Page 52: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

QWINDOWS QWINDOWS 20982098The Ultimate Computer:

Mass 1 kg, Volume: 1 litre

Max. E = mc2 = 9 x 1016J

Max. Speed (ops) = 5 x 1050

Error rate: 10-8 at 6 x 108 K temp.Courtesy: Stolze, Suter

CoEC Workshop on ISQW 29.3.12Oct 9, 2012 52IEEE Central Texas CEDA - Sur-Kolay

Page 53: Challenges in Synthesizing Quantum Computersewh.ieee.org/r5/central_texas/ceda/other_files/SSK_CEDA.pdf · Challenges in Synthesizing Quantum Computers Susmita Sur--Kolay ... •Quantum

ReferencesReferences�� RR.. PP.. Feynman,Feynman, ((19821982)).. "Simulating"Simulating PhysicsPhysics withwith Computers"Computers".. IntlIntl.. JJ.. ofof TheoreticalTheoretical PhysicsPhysics 2121:: 467467––

488488..�� DD.. Deutsch,Deutsch, ((19851985)).. "Quantum"Quantum Theory,Theory, thethe ChurchChurch--TuringTuring Principle,Principle, andand thethe UniversalUniversal QuantumQuantum

Computer"Computer".. ProcProc.. RoyRoy.. SocSoc.. LondLond.. AA400400,, 9797––117117..�� RR.. PP.. Feynman,Feynman, ((19861986)).. QuantumQuantum MechanicalMechanical Computers,Computers, FoundationsFoundations ofof PhysicsPhysics,, VolVol..1616,, 507507--531531..�� PP.. Shor,Shor, ((19941994)).. "Algorithms"Algorithms forfor quantumquantum computationcomputation:: discretediscrete logarithmslogarithms andand factoring"factoring".. ProcProc.. 3535thth

FOCS,FOCS, SantaSanta Fe,Fe, NM,NM, USA,USA, 124124––134134.... arXivarXiv::quantquant--ph/ph/95080279508027�� LL.. KK.. Grover,Grover, ((19961996)).. "A"A FastFast QuantumQuantum MechanicalMechanical AlgorithmAlgorithm forfor DatabaseDatabase Search"Search".. ProcProc.. 2828thth

AnnualAnnual ACMACM STOC,STOC, 212212––219219.... arXivarXiv::quantquant--ph/ph/96050439605043�� PP.. WW.. Shor,Shor, ((19981998)) QuantumQuantum Computing,Computing, DocumentaDocumenta MathematicaMathematica -- ExtraExtra VolVol.. ICM’ICM’9898,, 11--10001000..�� NN.. GershenfeldGershenfeld andand II.. LL.. Chuang,Chuang, ((19981998)) QuantumQuantum ComputingComputing withwith MoleculesMolecules,, ScientificScientific AmericanAmerican --

JuneJune..

Oct 9, 2012 IEEE Central Texas CEDA - Sur-Kolay 53

JuneJune..�� JJ.. Preskill,Preskill, ((19981998)) QuantumQuantum ComputingComputing:: ProPro andand Con,Con, ProcProc.. RoyRoy.. SocSoc.. LondLond.. AA454454,, 469469--486486,,

arXivarXiv::quantquant--ph/ph/97050329705032..�� HH..Buhrman,Buhrman, RR.. CleveCleve ,, andand AA.. Wigderson,Wigderson, ((19981998)) QuantumQuantum vsvs.. classicalclassical communicationcommunication andand

computation,computation, ProcProc.. 3030thth AnnualAnnual ACMACM STOCSTOC,, 6363--6868..�� MM.. AA.. NielsenNielsen andand II.. LL.. Chuang,Chuang, ((20022002)) QuantumQuantum ComputationComputation andand QuantumQuantum InformationInformation,,

CambridgeCambridge UniversityUniversity PressPress..

� J. Gruska, Quantum Computing

� I. Oliveira . NMR Quantum information Processing

� D. MacMohan (2007). Quantum Computing Explained. Wiley Interscience.