Research Potential We should develop a set of unified standardized CAD tools for synthesizing, verifying, testing and simulating of quantum computers.

Slides:



Advertisements
Similar presentations
Department of Computer Science & Engineering University of Washington
Advertisements

University of Queensland
Reversible Gates in various realization technologies
Synthesis of Reversible Synchronous Counters Mozammel H A Khan Department of Computer Science and Engineering, East West University, 43 Mohakhali, Dhaka.
1 Optimization Algorithms on a Quantum Computer A New Paradigm for Technical Computing Richard H. Warren, PhD Optimization.
Quantum Packet Switching A. Yavuz Oruç Department of Electrical and Computer Engineering University of Maryland, College Park.
Fuzzy Reversible Logic using Toffoli-like gates. Building reversible fuzzy Toffoli gate We have to design such gate that knowing P,Q,R we will be able.
Review of Basics and Elementary introduction to quantum postulates.
Designing Oracles for Grover Algorithm
GF(4) Based Synthesis of Quaternary Reversible/Quantum Logic Circuits
A Transformation Based Algorithm for Reversible Logic Synthesis D. Michael Miller Dmitri Maslov Gerhard W. Dueck Design Automation Conference, 2003.
Chien Hsing James Wu David Gottesman Andrew Landahl.
Marek Perkowski Reversible Logic Synthesis with Garbage Bits Lecture 6.
Marek Perkowski Reversible Logic Models: Billiard Ball and Optical Lecture 4.
Derivatives of Perkowski’s Gate k f2 g h t t De Vos gates  f1f1  A B P Q Feynman gates A B P f 2f 2  C Q R Toffoli gates Q P f 2 A C R B S D 0.
Grover. Part 2. Components of Grover Loop The Oracle -- O The Hadamard Transforms -- H The Zero State Phase Shift -- Z O is an Oracle H is Hadamards H.
From Quantum Gates to Quantum Learning: recent research and open problems in quantum circuits Marek A. Perkowski, Portland Quantum Logic Group, Department.
Synthesis of Reversible Synchronous Counters Mozammel H. A. Khan East West University, Bangladesh Marek Perkowski Portland State University,
University of Queensland
Quantum Automata Formalism. These are general questions related to complexity of quantum algorithms, combinational and sequential.
Review of Basics and Elementary introduction to quantum postulates.
Ternary Deutsch’s, Deutsch-Jozsa and Affine functions Problems All those problems are not published yet.
Engineering Models and Design Methods for Quantum State Machines.
Grover. Part 2 Anuj Dawar. Components of Grover Loop The Oracle -- O The Hadamard Transforms -- H The Zero State Phase Shift -- Z.
April 25, A Constructive Group Theory based Algorithm for Reversible Logic Synthesis.
Review of basic quantum and Deutsch-Jozsa. Can we generalize Deutsch-Jozsa algorithm? Marek Perkowski, Department of Electrical Engineering, Portland State.
2002/10/08 SeonPil Kim Layout-Driven Synthesis For Submicron Technology : Mapping Expansions To Regular Lattices High Level Synthesis Homework #2.
Regular Structures. Levelized Structures Standard Lattice Diagrams for continuous, multiple-valued and binary logic.
Homework Your task is to design a regular structure such as Kronecker Lattice or Shannon Lattice using modern Quantum Dot Cellular Automata technology.
Design of Regular Quantum Circuits
Anuj Dawar.
Authors Faisal Shah Khan Marek A. Perkowski Slides prepared by Faisal Shah Khan.
An Arbitrary Two-qubit Computation in 23 Elementary Gates or Less Stephen S. Bullock and Igor L. Markov University of Michigan Departments of Mathematics.
Grover’s Algorithm in Machine Learning and Optimization Applications
A Fault-tolerant Architecture for Quantum Hamiltonian Simulation Guoming Wang Oleg Khainovski.
Introduction to Quantum logic (2) Yong-woo Choi.
New Approach to Quantum Calculation of Spectral Coefficients Marek Perkowski Department of Electrical Engineering, 2005.
|x1 |x1 (a) |x2 |x2 | x1 x2  y |y |x |x (b) | x  y |y
ROM-based computations: quantum versus classical B.C. Travaglione, M.A.Nielsen, H.M. Wiseman, and A. Ambainis.
Propositional Calculus Math Foundations of Computer Science.
1 1.1 © 2012 Pearson Education, Inc. Linear Equations in Linear Algebra SYSTEMS OF LINEAR EQUATIONS.
Classical Versus Quantum. Goal: Fast, low-cost implementation of useful algorithms using standard components (gates) and design techniques Classical Logic.
Introduction to Digital Logic Design Appendix A of CO&A Dr. Farag
Quantum Error Correction Jian-Wei Pan Lecture Note 9.
Alice and Bob’s Excellent Adventure
Outline Main result Quantum computation and quantum circuits Feynman’s sum over paths Polynomials QuPol program “Quantum Polynomials” Quantum polynomials.
Systems Architecture I1 Propositional Calculus Objective: To provide students with the concepts and techniques from propositional calculus so that they.
Ketan Patel, Igor Markov, John Hayes {knpatel, imarkov, University of Michigan Abstract Circuit reliability is an increasingly important.
REVERSIBLE LOGIC SYNTHESIS. Overview of the Presentation 1. Introduction 2. Design of a Reversible Full-adder Circuit.
Marek A. Perkowski, Portland Quantum Logic Group,
Copyright © 2004 by Miguel A. Marin1 COMBINATIONAL CIRCUIT SYNTHESIS CLASSIC TWO-LEVEL CIRCUIT SYNTHESIS MULTILEVEL-CIRCUIT SYNTHESIS FACTORIZATION DECOMPOSITION.
Algebra Problems… Solutions Algebra Problems… Solutions © 2007 Herbert I. Gross Set 17 part 2 By Herbert I. Gross and Richard A. Medeiros next.
Digital Logic Circuits (Part 1) Computer Architecture (Fall 2006)
CLASSICAL LOGIC SRFPGA layout With I/O pins.
IPQI-2010-Anu Venugopalan 1 qubits, quantum registers and gates Anu Venugopalan Guru Gobind Singh Indraprastha Univeristy Delhi _______________________________________________.
Quantum Cost Calculation of Reversible Circuit Sajib Mitra MS/ Department of Computer Science and Engineering University of Dhaka
Controlled- Controlled NOTControlled- Controlled NOT = Toffoli Gate.
On the Relation Between Simulation-based and SAT-based Diagnosis CMPE 58Q Giray Kömürcü Boğaziçi University.
Kerntopf Gate and Regular Structures for Symmetric Functions
Quantum Computing Dorca Lee.
Chap 4 Quantum Circuits: p
Introduction to Quantum logic (2)
OSU Quantum Information Seminar
Homework 2 This homework is the first use of quantum gates. In lectures we learned about the following gates: inverter, Feynman (controlled NOT), Toffoli.
From now on: Combinatorial Circuits:
Quantum Computation – towards quantum circuits and algorithms
Paper by D.L Parnas And D.P.Siewiorek Prepared by Xi Chen May 16,2003
Design of new quantum primitives
Sajib Kumar Mitra, Lafifa Jamal and Hafiz Md. Hasan Babu*
Presentation transcript:

Research Potential We should develop a set of unified standardized CAD tools for synthesizing, verifying, testing and simulating of quantum computers. These methods and tools will be counterparts of what exists now in binary CMOS, like MVSIS. –Re-use spectral approaches, DDs, XOR logic, etc. –Use MVSIS as a part. –Use existing formats when possible –Link all tools that U Victoria and PSU already have –This is long term goal Development of these tools will require understanding of real quantum circuit technology.

New Frontiers Quantum Computer My statements below may be provocative and I may be wrong. But I am curious what you think.

Open Problems in Quantum Circuits Synthesis of binary quantum cascades with no garbage or small garbage –(Maslov, Dueck, Miller, Kerntopf, Perkowski, Khlopotine, Mishchenko, Curtis, Khan, Jha and Agrawal, Hayes, Markov) Synthesis of multiple-valued quantum cascades –(Muthukrishnan and Stroud, Miller et al, Khan, Perkowski, Curtis, Lee, Denler) –Universal gates, what are the counterparts of Toffoli and Fredkin gates? Fredkin Toffoli Multiple-valued logic for CMOS makes no sense. MV for quantum is reasonable and has in long term better potential than binary

Open Problems in Quantum Circuits What is the Fault Model for quantum circuits? –Technology dependent? People disagree Formal Verification of quantum circuits Test Generation for quantum circuits Fault Localization of quantum circuits Synthesis of testable quantum circuits Synthesis of fault-tolerant, error correcting quantum circuits. Classification and matching

Open Problems in Quantum Circuits What are universal gates? What are best components of universal gates (CV?) How to calculate costs of elementary gates for each quantum technology such as NMR or ion trap? What are the gates that can be truly realized in a quantum technology? Unlike n-input Toffoli What are the synthesis, analysis and test methods for sequential quantum circuits?

Open Problems in Quantum Circuits Invent new quantum algorithms. What are the principles to create quantum algorithms The nature of entanglement. Quantum computer architectures. Quantum formalisms. (Clifford algebras). Quantum Logic.

Nuclear Magnetic Resonance technology for quantum computing

What size of (binary) Quantum Computers can be build in year 2002? 7 bits

Is logic synthesis for quantum computers a practical research subject? CAD for physicists Yes, it is a useful technique for physicists who are mapping logic operations to NMR computers. CAD for physicists. Isaac Chuang, IBM

Quantum Circuit Synthesis is not the same as reversible logic synthesis

Problem We would like to assume that any two quantum wires can interact, but we are limited by the realization constraints Structure of atomic bonds in the molecule determines neighborhoods in the circuit. This is similar to restricted routing in FPGA layout - link between logic and layout synthesis known from CMOS design now appears in quantum. Below we are interested only in the so-called “permutation circuits” - their unitary quantum matrices are permutation matrices

A schematics with two binary Toffoli gates A B C DA B C D * * * * This is a result of our ESOP minimizer program, but this is not realizable in NMR for the above molecule, because there is no connection between A and C, for instance, in the molecule. A B C D Quantum wires A and C are not neighbors

So we have to modify the schematics as follows A B C D A B C D * * * * But this costs me two swap gates May be expensive

Design Issues 1. Local mirroring 2. Variable ordering versus gate ordering 3. Return to zero and folding 4. Realization of complex multiple-valued reversible gates (permutation gates) using directly 1-qubit and 2-qubit quantum primitives

“Return to Zero” and Folding Technique of local mirror can improve your ternary circuits, reduce the number of zeros in inputs. Here is the explanation for ternary logic

Molecule - Driven Layout and Logic Synthesis A B C D A B C D Allowed gate neighborhood for 2 qubit gates

Using Local Mirrors and Return-to-zero factorization

A better design of a large Toffoli Gate We can eliminate the last gate if we don’t mind flipping value of the scratch bit The purpose of the last Q (3) gate is to reset the scratch bit back to its original value 0. With one more gate we can obtain an implementation of Q (4) that works irrespective of the initial value of the scratch bit:

Solution One solution to connection problem in quantum NMR computers is to take into account these gate realization layout constraints in the logic synthesis phase – do not synthesize from non-realizable gates. Basic gate in quantum logic is a 2*2 (2-qubit gate). We have to build from such gates.

Complex Binary and MV Quantum Gates

Figure 4: Conceptual ternary multiplexer op = Logical Operations: +0, +1, +2 represent Galois Addition of constants 0, 1, and 2, respectively 01, 02, 12 represent logical replacement i.e. a 01 operation will replace 0->1, 1->0, and 2->2 Also, an arbitrary two-qubit quantum gate (described by a unitary matrix) can be constructed from such gates. These methods can be used to hierarchically synthesize larger circuits [55,59] and can be generalized to ternary (or in general multi-valued) logic (see Figure 4) for the realization of universal ternary permutative controlled gate. Universal quantum gate is created when operations are single-qubit ternary rotations

Figure 3. Smolin/DiVincenzo realization of Toffoli gate as a prototype of a regular controlled quantum structure: (a) standard notation, (b) notation used in this paper to emphasize the similarity Observe that any single-qubit operation can be written in the box, and also that any single qubit operation can be inserted to the control and data lines. The control can be from top (as in the Figure 3b) or from the bottom. The composition of this kind of multiplexed operations allows to create arbitrary permutative gate of reversible logic [55,59]. Also, an arbitrary two-qubit quantum gate (described by a unitary matrix) can be constructed from such gates.

Generalized Ternary Feynman Gate f 1  A B P Q If f1 is reversible, gate is correct, what about non- reversible f1, please check if the gate is still reversible

Generalized Ternary 3*3 Toffoli Gate A B P f 2  C Q R Do the same exercise as in previous slide, this will help you get intuition in MV logic.

Generalized Ternary n*n Toffoli Gate A1A1 A n-1 f n-1  A n-1  f n-1 (A 1, …, A n-1 ) AnAn... Do the same exercise as in previous slide, this will help you get intuition in MV logic.

Generalized Ternary 4*4 Fredkin Gate Q P f 2 A C R B S D Rewrite this part to quantum ternary notation with Galois Logic

Generalized Ternary n*n Fredkin Gate A n-1 f ‘ n-1 (A 1, …., A n-1 ) + A n f n-1 (A 1, …., A n-1 ) A n-1 f n-1 (A 1, …., A n-1 ) + A n f ‘ n-1 (A 1, …., A n-1 ). f A1A1 A n-2 f n-1 A n A n Do the same exercise as in previous slide, this will help you get intuition in MV logic.

* + + AB (b) PQ * + A B C PRQ * + ABC PRQ 0 1 Kerntopf Gate Feynman Toffoli

The Kerntopf gate is described by equations: P = AB, Q = BC, R = AC. When C=1 then P = A + B, Q = A * B, R = !B, so AND/OR gate is realized on outputs P and Q with C as the controlling input value. When C = 0 then P = !A * ! B, Q = A + !B, R = B. 18 different cofactors! Kerntopf Gate

Conservative circuit = the same number of ones in inputs and outputs Examples of balanced functions = half of Kmap are ones Variable X3 xor3 Shannon DavioMajorityX2 xor2

Generalized Ternary 4*4 Kerntopf Gate f 2 A C Q R B P S 0 1 D *  Do the same exercise as in previous slide, this will help you get intuition in MV logic.

MV Quantum Design Structures and Approaches 1. GFSOP 2. Multiple-Valued Reed-Muller 3. Canonical Forms over Galois Logic (equivalents of PPRM, FPRM, GRM, etc) 4. Multiple-Valued Maitra Cascades and Wave Cascades. 5. Other cascades of specific type of elements 6. Cascades of general gates

Example 1: First method to realize MV quantum circuits Analogous to binary quantum circuits. As an example, consider two qutrits. When the two qutrits are considered to represent a state, that state is the superposition of all possible combinations of the original qutrits, where: MV Tensor Products This approach to multi-valued quantum circuits requires measurements with more than two basis states. Also, new gates should be defined as well as the synthesis methods for these gates.

Quantum MV Superposition The superposition property allows the qubit states to grow much faster in dimension than classical bits, and the qudits faster than qubits. In a classical system, n bits represent distinct states, whereas n qubits correspond to a superposition of 2 n states and n qutrits correspond to a superposition of 3 n states. Because in contemporary quantum technologies every qubit is costly, higher radices than 2 give an advantage of improved processing and storage power at the same realization cost. This is a strong argument for realization of multi-valued logic in quantum circuits. In addition to standard advantages of mv logic, quantum mv logic may be superior to binary one because of different nature of entanglement.

Bloch Sphere The normalization |  | 2 + |  | 2 = 1 admits the parametrization  = cos(  /2) e j ,  = sin(  /2) e j . |  = e j  (cos (  / 2) |0  + e j  sin (  / 2) |1  ). Since the global phase of |  has no observable effect, we may write |  = cos(  /2) |0  + e j  sin(  /2) |1 . The angles  and  define a point on the surface of a unit sphere – the Bloch sphere, see Fig. 1. The Bloch sphere provides an excellent tool to visualize the state vector of a qubit. This is a binary Bloch sphere, but a multi-valued counterpart of it can be also created. Example 2: Second Method to realize MV quantum circuits.

Second method to realize multi-valued logic using binary quantum computing (cont). Figure shows the location of 6 points, that may correspond to values of some multi- valued algebras. For binary logic we use |0  and |1 . For quaternary logic we use |0 , |1 , |0  +|1 , and |0  -|1 . For 6-valued logic we may use additionally |0  + j |1  and |0  - j|1 . A rotation or a combination of rotations leads from one value to any other value.

Second Method to realize MV quantum circuits (cont). Above we showed how multiple-valued logic can be encoded in binary quantum computing. Quaternary logic requires two binary measurements (readings). The first reading distinguishes states |0  and |1 , and the second reading uses additional rotation gates to distinguish between states |0  +|1 , and |0  -|1 . It can be shown that the logic with 2 n values requires n readings.

Example 3: Quantum Circuit Simulation Simulation of quantum circuits plays absolutely fundamental role in many areas of quantum physics and engineering. Simulation is used to: –verify correctness of the design, –analyze its properties and –find some interesting aspects that cannot be found by “hand and pencil” methods. –Fault simulation –Evolutionary algorithms Researchers routinely use quantum simulators to help them with inventions and verify their design guesses.

Fast simulation is extremely important Matrix methods are slow. Acceleration is attempted to be achieved by two fundamental methods: –(1) acceleration of standard operations by using special hardware emulators, parallel computers or processor networks, – (2) creating new advanced data structures to represent quantum data more efficiently using standard computers.

Example 4: Quantum Decision Diagrams New data structures, such as QUIDDs [Viamontes, Markov, Hayes] allow for implicit parallelism when executing Kronecker multiplications on them. QUIDDs are based on ADDs and MTBDDs, so hopefully in future other decision diagrams may be used to represent quantum circuits. It is also expected that basic software engines used successfully in classical CAD (such as for instance SAT or ATPG methods) may be used to deal with quantum circuits. Also, the fast simulators based on new types of decision diagrams should be in future parallelized and possibly accelerated in FPGA-based boards. Even before quantum computers will be available, their emulations on standard computers and ASIC/FPGA may prove useful to solve some practical problems.

Example 5 : Testing and diagnosis of quantum circuits Patel, Markov, and Hayes showed that reversible circuits are much better testable than irreversible circuits. –This is because every test covers half faults and every fault is covered by half tests. –The reversible circuits are then “transparent” to faults, making them well observable and controllable. We showed that fault localization in reversible circuits is easier. We presented preliminary results on testing binary quantum circuits and on fault localization of quantum circuits.

Notation for Fredkin Gates 01 A 0101 CB PQR A P BC QR A circuit from two multiplexers Its schematics This is a reversible gate, one of many Regular structures, especially for symmetric functions

Lattice Structure for Binary Logic 01 A B C F = S 1,3 (A,B,C) S0S0 S1S1 S2S2 S3S3

f garbage g 1010 Z fg X garbage gf h i Y 1 garbage hfgfgh YZ X - - X YZ X X

What to remember? 1.Synthesis problems in quantum circuits that are related to technology, such as NMR constraints. 2.Linear Nearest Neighbor model 3.Other research issues related to technology of quantum circuit realization 4.A better design of large Toffoli gates 5.Adding SWAP gates to circuits for LNNM model. 6.The concept of binary quantum multiplexer 7.Generalization of Feynman, Toffoli and other binary quantum gates to ternary and multiple-valued quantum gates. 8.Generalized Fredkin and Kerntopf gates. 9.How to recognize balanced functions in Kmaps. Why balanced functions are useful and important? 10.States of MV quantum logic on the Bloch Sphere. 11.Lattice structure from Multiplexers versus Lattice Structure from Fredkin gates – synthesis methods.