A Transformation Based Algorithm for Reversible Logic Synthesis D. Michael Miller Dmitri Maslov Gerhard W. Dueck Design Automation Conference, 2003.

Slides:



Advertisements
Similar presentations
Logic Gates.
Advertisements

Reversible Gates in various realization technologies
Logic Circuits Design presented by Amr Al-Awamry
Sahar Mosleh PageCalifornia State University San Marcos 1 Introductory Concepts This section of the course introduces the concept of digital circuits and.
1 Combinational Logic Design&Analysis. 2 Introduction We have learned all the prerequisite material: – Truth tables and Boolean expressions describe functions.
ELE 523E COMPUTATIONAL NANOELECTRONICS W3: Quantum Computing, 22/9/2014 FALL 2014 Mustafa Altun Electronics & Communication Engineering Istanbul Technical.
Lecture #9 EGR 277 – Digital Logic
Realization of Incompletely Specified Reversible Functions Manjith Kumar Ying Wang Natalie Metzger Bala Iyer Marek Perkowski Portland Quantum Logic Group.
SYNTHESIS OF REVERSIBLE CIRCUITS WITH NO ANCILLA BITS FOR LARGE REVERSIBLE FUNCTIONS SPECIFIED WITH BIT EQUATIONS Nouraddin Alhagi, Maher Hawash, Marek.
08/07/041 CSE-221 Digital Logic Design (DLD) Lecture-8:
Text Chapters 1, 2. Sorting ä Sorting Problem: ä Input: A sequence of n numbers ä Output: A permutation (reordering) of the input sequence such that:
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.
Reversible Computation Computational Group Theory and Circuit Synthesis.
DARPA Scalable Simplification of Reversible Circuits Vivek Shende, Aditya Prasad, Igor Markov, and John Hayes The Univ. of Michigan, EECS.
Reversible Circuit Synthesis Vivek Shende & Aditya Prasad.
A Transformation Based Algorithm for Ternary Reversible Logic Synthesis using Universally Controlled Ternary Gates Erik Curtis, Marek Perkowski.
April 25, A Constructive Group Theory based Algorithm for Reversible Logic Synthesis.
Classical and Quantum Circuit Synthesis An Algorithmic Approach.
Design of Regular Quantum Circuits
Introduction to Quantum Logic 2002/10/08 Tuesday Jung-wook Kim.
Minimization Techniques for Reversible Logic Synthesis.
AOI Logic Implementation © 2014 Project Lead The Way, Inc.Digital Electronics.
AOI Logic Implementation
Circuit, State Diagram, State Table
Copyright © Curt Hill Truth Tables A way to show Boolean Operations.
Chapter 3.5 Logic Circuits. How does Boolean algebra relate to computer circuits? Data is stored and manipulated in a computer as a binary number. Individual.
REVERSIBLE LOGIC SYNTHESIS. Overview of the Presentation 1. Introduction 2. Design of a Reversible Full-adder Circuit.
1 Cost Metrics for Reversible and Quantum Logic Synthesis Dmitri Maslov 1 D. Michael Miller 2 1 Dept. of ECE, McGill University 2 Dept. of CS, University.
Digital Systems I EEC 180A Lecture 4 Bevan M. Baas.
1 A Novel Synthesis Algorithm for Reversible Circuits Mehdi Saeedi, Mehdi Sedighi*, Morteza Saheb Zamani {msaeedi, msedighi, aut.ac.ir.
Circuit Simplification Truth Table  Minimized Logic Gates.
Combination of logic gates  Logic gates can be combined to produce more complex functions.  They can also be combined to substitute one type of gate.
Chapter 5 Boolean Algebra and Reduction Techniques 1.
Weikang Qian. Outline Intersection Pattern and the Problem Motivation Solution 2.
ELE 523E COMPUTATIONAL NANOELECTRONICS
1 State Reduction Goal: reduce the number of states while keeping the external input-output requirements unchanged. State reduction example: a: input 0.
Generating Toffoli Networks from ESOP Expressions Yasaman Sanaee Winter 2009 University of New Brunswick.
Synthesis of the Optimal 4-bit Reversible Circuits Dmitri Maslov (spkr) University of Waterloo Waterloo, ON, Canada Oleg GolubitskySean Falconer Stanford.
Garbage in Reversible Designs of Multiple Output Functions
CLASSICAL LOGIC SRFPGA layout With I/O pins.
Quantum Cost Calculation of Reversible Circuit Sajib Mitra MS/ Department of Computer Science and Engineering University of Dhaka
Quantum Circuit Simplification Using Templates D. Maslov - University of Victoria, Canada G. W. Dueck - UNB, Canada C. Young - University of Victoria,
Templates for Toffoli Network Synthesis by Dmitri Maslov Gerhard W. Dueck Michael D. Miller.
Logic Gates and Boolean Algebra Introduction to Logic II.
BDD-based Synthesis of Reversible Logic for Large Functions Robert Wille Rolf Drechsler DAC’09 Presenter: Meng-yen Li.
Combinational Design, Part 2: Procedure. 2 Topics Positive vs. negative logic Design procedure.
Lecture 1 Gunjeet kaur Dronacharya group of institutions.
A Synthesis Method for MVL Reversible Logic by 1 Department of Computer Science, University of Victoria, Canada M. Miller 1, G. Dueck 2, and D. Maslov.
Logic Gates.
MTE3 on , Tuesday 9:00-10:15, 10:30-11:45 AM 414W - PAB
CHAPTER 2 Boolean Algebra
Logic Gates.
Boolean Expressions Lecture No. 10.
TN 221: DIGITAL ELECTRONICS 1
Fredkin/Toffoli Templates for Reversible Logic Synthesis
Computer Science 210 Computer Organization
Propositional Calculus: Boolean Algebra and Simplification
Instructor: Alexander Stoytchev
Lecture 14 Reduction of State Tables
Instructor: Alexander Stoytchev
Logic Gates.
CSE 370 – Winter Combinational Implementation - 1
Logic Gates.
Gates Type AND denoted by X.Y OR denoted by X + Y NOR denoted by X + Y
Logic Gates.
Binary Logic.
Design of new quantum primitives
Introductory Concepts
Translating Quantum Gate  Adiabatic
SYEN 3330 Digital Systems Chapter 2 – Part 1 SYEN 3330 Digital Systems.
Presentation transcript:

A Transformation Based Algorithm for Reversible Logic Synthesis D. Michael Miller Dmitri Maslov Gerhard W. Dueck Design Automation Conference, 2003

Objectives Synthesis of Toffoli cascades Synthesis of Toffoli cascades reversible logic reversible logic application in application in quantum computing quantum computing low power CMOS low power CMOS optical computing optical computing Approach Approach use a naive algorithm to find a solution use a naive algorithm to find a solution apply transformations to simplify the network apply transformations to simplify the network

Toffoli Gate Family We use such gates for any number of inputs

The Basic Algorithm Reversible function is given as a truth table Reversible function is given as a truth table For each row in the truth table For each row in the truth table Introduce Toffoli gates such that the output equals the input Introduce Toffoli gates such that the output equals the input Make sure that previous outputs are not affected Make sure that previous outputs are not affected

The Basic Algorithm in out S S S S S S S Final circuit c b a Read quantum array in inverse order to applying gates Observe that after applying S3 wires are as in input

Bidirectional Algorithm in out need three gates need only one gate

Bidirectional Algorithm in out S S S Final circuit c b a S1 After applying S3 my wires are the same as inputs inputs ab

Improvements Output permutations Output permutations via swap gates via swap gates Control input reduction Control input reduction there may be more than on possible assignment of control variables there may be more than on possible assignment of control variables select the one that makes the function “simple” select the one that makes the function “simple” Template matching Template matching

Templates Idea: replace a sequence of gates with an equivalent shorter sequence Idea: replace a sequence of gates with an equivalent shorter sequence example: example:

Example

Template Classification

Larger Example rd53

Number of reversible functions using a specified number of gates gates Average naive permutation input control bidirectional templates optimal

Future Work Start from a non-reversible function Start from a non-reversible function Verify the completeness of the templates Verify the completeness of the templates Expand the algorithm to include Fredkin gates Expand the algorithm to include Fredkin gates Select the best permutation (not by exhaustive search) Select the best permutation (not by exhaustive search)