Cost Reduction in Nearest Neighbour Based Synthesis of Quantum Boolean Circuits

Size: px
Start display at page:

Download "Cost Reduction in Nearest Neighbour Based Synthesis of Quantum Boolean Circuits"

Transcription

1 Engineering Letters, 6:, EL_6 ost Reduction in Nearest Neighbour ased Synthesis of Quantum oolean ircuits Mozammel H.. Khan bstract Quantum computer algorithms require an oracle as an integral part. n oracle is a reversible quantum oolean circuit, where the inputs are kept unchanged at the outputs and the functional outputs are realized along ancillary input constants or. Recently, a nearest neighbour template based synthesis method of quantum oolean circuits has been proposed to overcome the adjacency requirement of the input qubits of physical quantum gates. The method used SWP gates to bring the input qubits of quantum NOT or NOT gates adjacent. In this paper, we propose cost reduction techniques such as ancillary constant determination to reduce the number of NOT gates and variable ordering and product grouping to reduce the number of SWP gates required in nearest neighbour template based synthesis. The proposed approach significantly reduces the quantum realization cost of the synthesized quantum oolean circuit than that of the original nearest neighbour template based synthesis. Inde Terms ncillary constant determination, nearest neighbour template, product grouping, quantum oolean circuit, fied polarity Reed-Muller epression, reversible logic, variable ordering I. INTROUTION Quantum computer algorithms require a black bo called oracle. n oracle is a reversible quantum oolean circuit, which takes a set of inputs and produces a set of functional outputs. The inputs are kept unchanged at the outputs and the functional outputs are generated along ancillary input constants or. Thus, if the oracle has n inputs and m functional outputs, then the oracle is realized as a n + m-qubit reversible quantum oolean circuit [], where the circuit has n + m inputs and outputs. Therefore, synthesis of reversible quantum oolean circuit is very important in quantum computation. Younnes and Miller [] introduced representation of oolean quantum circuits as Reed-Muller epression using k + -qubit k NOT gates. However, physical realization of k NOT gate for k > is practically very difficult and this physical constraint requires that quantum oolean circuit be synthesized using k NOT gates with k. k + -qubit k NOT gate has k controlling inputs and one target input. The target qubit value is inverted if and only if all the controlling qubit values are. Physical realizations of these quantum gates require that the controlling qubits and the target qubit be physically adjacent []. This constraint also requires that, Manuscript received ecember, 7. Mozammel H.. Khan is with the epartment of omputer Science and Engineering, East West University, 4 Mohakhali, haka, angladesh, phone: ; fa: ; mhakhan@ ewubd.edu. in a quantum oolean circuit, the controlling qubits and the target qubit of a quantum gate must be brought to physically adjacent position using quantum SWP gates. For this purpose, hakrabarti and Sur-Kolay [4] introduced a nearest neighbour template based synthesis, where the controlling qubits and the target qubit are brought to adjacent positions by using quantum SWP gates. They also used a quantum gate library consisting of only NOT, NOT, NOT, and SWP gates to overcome the physical realization problem with k >. In this nearest neighbour template based synthesis, besides NOT, NOT, and NOT gates, a large number of SWP gates are needed. In the present paper, we have reduced the number of SWP gates by using variable ordering and product grouping techniques. We have also reduced number of NOT gates by judicious determination of ancillary constant value. The rest of the paper is organized as follows. We introduce NOT, NOT, NOT, and SWP gates in Section II. Then we discuss Reed-Muller epressions of a oolean function in Section III. In Section IV, we discuss quantum gate network for fied polarity Reed-Muller FPRM epression and also discuss the ancillary constant determination to reduce the number of NOT gates. We then discuss nearest neighbour template based synthesis of quantum gate network for FPRM epression from [4] in Section V. In Section VI, we propose variable ordering and product grouping techniques to reduce the number of SWP gates in nearest neighbour template based synthesis of quantum gate network. We calculate quantum gate counts and quantum realization costs of several FPRM epressions and compare with that of [4] in Section VII. Finally, in Section VIII, we conclude the paper. II. SOME QUNTUM GTES In the nearest neighbour template based synthesis of [4], a quantum gate library consisting of NOT, NOT, NOT, and SWP gates is used. In this section, we introduce these gates. These gates are shown in Figure. The NOT gate maps the input, where the symbol represents the EXOR operation. The NOT gate inverts the input qubit value at the output. The NOT gate maps two inputs, y, y, where is the control input and y is the target input. The NOT gate inverts the target qubit value at the output if and only if the control qubit value is. The NOT gate is also known as Feynman gate. The NOT gate maps three inputs, y, z, y, z y, where the product represents the N operation. Here, and y are control inputs and z is target input. NOT gate inverts the target qubit value at the output if and only if both the control qubit values are. We refer the two control lines of a NOT gate as top control line dvance online publication: 9 February 8

2 Engineering Letters, 6:, EL_6 and bottom control line. NOT gate is also known as Toffoli gate. The SWP gate maps two inputs, y y,. SWP gate echanges the two qubit values at the output. NMR based implementation costs of these gates are as follows [4, 9, ]: ost of NOT gate = ost of NOT gate = 5 ost of NOT gate = 5 ost of SWP gate = 5 f = polarity 4,,,, f = polarity 4 5 f,, = polarity 5 6 f,, = polarity 6 7 f,, = polarity 7 8 y y y y y z z y y a b c d Figure. a NOT gate, b NOT gate, c NOT gate, d SWP gate III. REE-MULLER EXPRESSION OF OOLEN FUNTION In [] and also in the nearest neighbour template based synthesis of [4], a oolean function is represented by its Reed-Muller epression and then the Reed-Muller epression is realized using quantum k NOT gates. In this section, we discuss Reed-Muller epressions of a oolean function in brief. There are many canonical two-level N-EXOR epressions for a given oolean function [5]. mong them positive polarity Reed-Muller PPRM epression and fied polarity Reed-Muller FPRM epressions are very popular. In the PPRM epression, all the variables appear in uncomplemented form throughout the N-EXOR epression. In the FPRM epression, a variable appears either in complemented form or in uncomplemented form throughout the N-EXOR epression. If a variable appears in uncomplemented form, we say that its polarity is and if the variable appears in complemented form, we say that its polarity is. If a oolean function has n variables, then the n-tupple of the variable polarities represent the polarity of the FPRM epression. s there are n possible choices of polarity for an n-variable oolean function, there are n possible FPRM epressions for the function. In this respect, the PPRM epression is an FPRM epression with polarity. There are several methods of converting a oolean function into a given polarity FPRM epression [6-8]. Here, we will not discuss the methods and the readers may see the references. The 8 possible FPRM epressions for the oolean function f,,,5,6,7 are given below:,, = = f = polarity f,, = polarity f = polarity,, These FPRM epressions are used in [4] to illustrate the nearest neighbour template based synthesis. We will also use these FPRM epressions for our eamples. IV. QUNTUM GTE NETWORK FOR FPRM EXPRESSION In [4], an n-input single-output FPRM epression is realized using the quantum gate network model of Figure, where to n are the n function inputs and the functional output f is realized along an ancillary constant input c =. In the quantum gate network of an FPRM epression, the complemented variables are first realized using NOT gates. Then, the first product term from the FPRM epression is realized using the control inputs of a k NOT gate and the product is EXORed with ancillary constant using the target input of the gate. The net product term from the FPRM epression is realized similarly and then EXORed with the previous product term which is the target output of the previous k NOT gate using another k NOT gate. In this way, EXOR sum of all the product terms are realized. Then, if the FPRM epression has a constant as in, 6, 7, and 8, then another NOT gate is placed along the output f since, =. Finally, the complemented variables are restored using NOT gates. The quantum gate network for FPRM epression f,, = of 7 is shown in Figure. Readers can see [4] for quantum gate networks for FPRM epressions of,,, 4, 5, 6, and 8. In [4], the ancillary constant c is assumed to be. The problem of this assumption is that if an FPRM epression has a constant as in, 6, 7, and 8, then an additional NOT is required. This NOT gate can be omitted if we assume c = for these cases. This rule can be generalized as Rule ncillary constant determination: If an FPRM epression has a constant in the epression, then assume c =, otherwise assume c =. n n M M c f Figure. Model of quantum oolean circuit To describe the quantum gate network of Figure, we number the input lines from onward starting from the target dvance online publication: 9 February 8

3 Engineering Letters, 6:, EL_6 input ancillary constant. We also assume that quantum gates are placed one after another from left to right. We describe a gate in the quantum network using the line numbers as follows: NOTline number, NOTcontrol line number, target line number, and NOTtop control line number, bottom control line number, target line number. For eample, the first NOT gate from the left in Figure is described as NOT,,. Using this convention, we describe the quantum gate network of Figure as f = NOT NOT NOT,, NOT,, NOT, NOT, NOT NOT The nearest neighbour templates require a large number of SWP gates. In [4], rules for calculating the number of SWP gates are given, but the rule statements are ambiguous and do not directly agree with the eamples. However, the eample calculations are correct. Here, we state rules for calculating SWP gates very clearly. Rule Number of SWP gates needed for NOT gate: Let, in a NOT gate, t be the top control line number and b be the bottom control line number. Then the number of SWP gates required to bring the control inputs adjacent to the target input is t + b. Line no f Figure. Quantum gate network for FPRM epression f,, = V. NEREST NEIGHOUR TEMPLTE SE SYNTHESIS OF QUNTUM GTE NETWORK FOR FPRM EXPRESSION Reader can see that, in Figure, the control lines of NOT,, gate are adjacent but they are not adjacent to the target line. Similarly, the control line of NOT, and NOT, gates are not adjacent to the target line. The control lines of these gates are to be brought adjacent to the target line using SWP gates. In [4], nearest neighbour templates are introduced for this purpose as shown in Figure 4. We describe a SWP gate as SWPtop line number, bottom line number. Then, we can describe the templates of Figure 4 as Eample: For NOT,, gate, t = and b =. Then the number of SWP gates needed is + = 4. Rule Number of SWP gates needed for NOT gate: Let, in a NOT gate, c be the control line number. Then the number of SWP gates required to bring the control input adjacent to the target input is c. Eample: For NOT, gate, c =. Then the number of SWP gates needed is = 4. Now, if we replace the NOT,,, NOT,, and NOT, gates of Figure by their corresponding templates, we get the quantum gate network of Figure 5, which requires additional SWP gates. The quantum gate network of Figure 5 can be described as f = NOT NOT SWP, SWP, NOT,, SWP, SWP, NOT,, SWP, SWP, NOT, SWP, SWP, SWP, NOT, SWP, NOT NOT NOT,, SWP, SWP, NOT,, SWP, SWP, NOT,, SWP, NOT,, SWP, NOT, SWP, SWP, NOT, SWP, SWP, NOT, SWP, NOT, SWP, Line no a b c d Figure 4. Nearest neighbour templates for a NOT,,, b NOT,,, NOT,, and NOT, f Figure 5. Quantum gate network for FPRM epression f,, = with SWP gates. VI. VRILE ORERING N PROUT GROUPING From Rules and, we see that the number of SWP gates is directly proportional to the distance from the target input to the control inputs. We can reduce these distances by judicious ordering of the variables and grouping of the products of the FPRM epression. We propose here techniques for such variable ordering and product grouping. The philosophy of variable ordering is to bring the frequent variables closer to the target input so that the number of SWP gates needed to bring the variables adjacent to the target input is reduced. The variable ordering technique is discussed below: We construct a variable occurrence table as shown in Table. The first column lists the variables of the function. The net few columns eactly equal to the dvance online publication: 9 February 8

4 Engineering Letters, 6:, EL_6 number of products in the FPRM epression represent the products of the FPRM epression. We then determine the occurrence of the variables in the products of the FPRM epression by putting in the corresponding cells of the table. For eample, variable occurs in the products and. Therefore, we put s in the intersections of the columns corresponding to the products, and the row corresponding to the variable. In this way, we fill up the occurrence information in the table. Then, we calculate total occurrence of the variables. For eample, variable occurs twice and its total occurrence is. Then we order the variables according to their decreasing order of total occurrence. Tie is broken arbitrarily. In Table, the order of the variables is < < and this ordering is indicated by their order number in the last column. Table. Variable occurrence table for the FPRM epression f,, =. Products Total Variable Variable occurrence order We then rewrite the function using the decided variable order. The FPRM epression f,, = of 7 is now rewritten as f,, =. 9 The quantum gate network for the FPRM epression of 9 is shown in Figure 6. The quantum gate network of Figure 6 needs only 4 SWP gates compared to SWP gates in the quantum gate network of Figure 5. The quantum gate network of Figure 6 can be represented as which needs SWP gates. If we group the products of as F,,, =, then the quantum gate network with SWP gate will be as shown in Figure 7b, which needs 8 SWP gates. Therefore, this sort of product grouping will reduce the number of SWP gates in the quantum gate network. In the case of such product grouping, the swapped variables are swapped back to original order after implementing all the products of the group and thus the number of SWP gates is reduced. The rule for such product grouping is stated below. Rule 4 Product grouping: If a smaller product of an FPRM epression has number of literals and these literals are eactly similar to the first literals of another larger product, then these two products are grouped together. If more than two products satisfy the criteria, then they all are grouped together. a F b Figure 7. a Quantum gate network with SWP gates for F,,, = and b quantum gate network with SWP gates for F,,, = as. Using rule 4, we can rewrite the FPRM epression of 9 F f = NOT NOT NOT,, SWP, NOT,, SWP, SWP, NOT, SWP, NOT, NOT NOT f Figure 6. Quantum gate network for FPRM epression f,, = with SWP gates. Now, we will discuss the product grouping technique. The motivation of product grouping is illustrated using the quantum gate network of Figure 7. Figure 7a represents the quantum gate network with SWP gates for the eample FPRM epression f,, = The quantum gate network for with SWP gates is shown in Figure 8, which needs 4 SWP gates. The quantum gate network of Figure 8 can be described as f = NOT NOT NOT,, NOT, SWP, NOT,, SWP, SWP, NOT, SWP, NOT NOT In this eample, the numbers of SWP gates of Figures 6 and 8 are same. ut the motivation discussed above shows that in many situation the product grouping technique will reduce the number of SWP gates. F,,, =, dvance online publication: 9 February 8

5 Engineering Letters, 6:, EL_6 Figure 8. Quantum gate network with SWP gates for the FPRM epression f,, = with product Polarity of FPRM epression grouping. f VII. EXPERIMENTL RESULTS We have calculated the numbers of NOT gates, NOT gates, NOT gates, SWP gates, and quantum realization costs for the FPRM epressions of to 8 and these values are compared with those from [4] in Table. We have also shown the percentage decrease of quantum realization costs in our approach. Table shows that in one case polarity the cost of our approach is eactly the same as that of [4]. For the other seven cases the cost of our approach is.5% to 6.96% lesser than that of [4], which shows that the proposed approach significantly reduces the quantum realization cost. Table. omparison of quantum gate counts and quantum realization costs for FPRM epression of to 8 For the case of [4] For our case Number Number Number Number Quantum Number Number Number Number Quantum of of of of NOT realization of of of of NOT realization NOT NOT SWP gates cost NOT NOT SWP gates cost gates gates gates gates gates gates % decrease of quantum realization cost Polarity Polarity Polarity Polarity 4* 4** Polarity Polarity Polarity Polarity * This count is reported as 6 in [4], which should be 4. ** This value is reported as 6 in [4], which should be 4. VIII. ONLUSION In [4], a nearest neighbour template based synthesis of quantum oolean circuit is proposed using NOT, NOT, NOT, and SWP gates. The necessity of using SWP gates is due to the requirement of the physical quantum gates that its input qubits should be adjacent. In this paper, we have introduced variable ordering and product grouping techniques to bring the input lines of a quantum gate more close so that the number of SWP gates required is less than that of [4]. We also proposed ancillary constant selection rule to reduce one NOT gate than the approach of [4]. Eperimental results show that our approach significantly reduces the realization cost of the quantum circuit. polarity Reed-Muller epressions, International Journal of Electronics, vol. 8, no., 997, pp [8] M. H.. Khan and M. S. lam, lgorithms for conversion of minterms to positive polarity Reed-Muller coefficients and vice versa, Information Processing Letters, vol. 6, 997, pp. -. [9] J. Kim, J-S. Lee, and S. Lee, Implementation of the refined eutsch-jozsa algorithm on a three-bit NMR quantum computer, Physical Review, vol. 6,,. [] J. Kim, J-S. Lee, and S. Lee, Implementing unitary operators in quantum computation, Physical Review, vol. 6,,. REFERENES [] M.. Nielsen and I. L. huang, Quantum omputation and Quantum Information, ambridge University Press,. []. Younes and J. Miller, Representation of oolean quantum circuits as Reed-Muller epressions, ariv:quant-ph/44, May. [] I.. Grigorenko and. V. Khveshchenko, Single-step implementation of universal quantum gates, Physical Review Letters, 95, 5, 5. [4]. hakrabatri and S. Sur-Kolay, Nearest neighbour based synthesis of quantum oolean circuits, Engineering Letters, vol. 5, no., 7. [5] T. Sasao ed, Logic Synthesis and Optimization, Kluwer cademic Publishers, 99, h.. [6] M. H.. Khan and M. S. lam, Mapping of on-set fied polarity Reed-Muller coefficients from on-set canonical sum of products coefficients and the minimization of pseudo Reed-Muller epressions, International Journal of Electronics, vol. 86, no., 999, pp [7] M. H.. Khan and M. S. lam, Mapping of fied polarity Reed-Muller coefficients from minterms and the minimization of fied dvance online publication: 9 February 8

Engineering Letters, 13:2, EL_13_2_3 (Advance online publication: 4 August 2006) Design of Reversible/Quantum Ternary Multiplexer and Demultiplexer

Engineering Letters, 13:2, EL_13_2_3 (Advance online publication: 4 August 2006) Design of Reversible/Quantum Ternary Multiplexer and Demultiplexer Engineering Letters, :, EL (dvance online publication: 4 ugust 6) Design of Reversible/Quantum Ternary Multiplexer and Demultiplexer Mozammel H.. Khan Department of Computer Science and Engineering, East

More information

Direct Design of Reversible Combinational and Sequential Circuits Using PSDRM Expressions

Direct Design of Reversible Combinational and Sequential Circuits Using PSDRM Expressions International Journal of Research in Engineering and Science (IJRES) ISSN (Online): 2320-9364, ISSN (Print): 2320-9356 Volume 3 Issue 11 ǁ November. 2015 ǁ PP.59-67 Direct Design of Reversible Combinational

More information

Logic and Computer Design Fundamentals. Chapter 2 Combinational Logic Circuits. Part 2 Circuit Optimization

Logic and Computer Design Fundamentals. Chapter 2 Combinational Logic Circuits. Part 2 Circuit Optimization Logic and omputer Design Fundamentals hapter 2 ombinational Logic ircuits Part 2 ircuit Optimization harles Kime & Thomas Kaminski 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode)

More information

The Method of Reversible Circuits Design with One-gate Prediction

The Method of Reversible Circuits Design with One-gate Prediction INTL JOURNAL OF ELECTRONICS AND TELECOMMUNICATIONS, 2018, VOL. 64, NO. 4, PP. 535-540 Manuscript received April 17, 2018; revised October, 2018. DOI: 10.24425/123556 The Method of Reversible Circuits Design

More information

Combinational Logic Design Principles

Combinational Logic Design Principles Combinational Logic Design Principles Switching algebra Doru Todinca Department of Computers Politehnica University of Timisoara Outline Introduction Switching algebra Axioms of switching algebra Theorems

More information

Part 5: Digital Circuits

Part 5: Digital Circuits Characteristics of any number system are: Part 5: Digital Circuits 5.: Number Systems & Code Conversions. ase or radix is equal to the number of possible symbols in the system 2. The largest value of digit

More information

CS/EE 181a 2008/09 Lecture 4

CS/EE 181a 2008/09 Lecture 4 CS/EE 181a 28/9 Lecture 4 General topic of today s lecture: Logic Optimization Karnaugh maps. Quine-McCluskey tabulation method (not in detail). Non series-parallel networks (some care is required). Reference

More information

Design and Implementation of Nanometric Fault Tolerant Reversible BCD Adder

Design and Implementation of Nanometric Fault Tolerant Reversible BCD Adder ustralian Journal of asic and pplied Sciences, 5(10): 896-901, 2011 ISSN 1991-8178 Design and Implementation of Nanometric Fault Tolerant Reversible D dder Majid Haghparast omputer Engineering Department,

More information

Learning Objectives 10/7/2010. CE 411 Digital System Design. Fundamental of Logic Design. Review the basic concepts of logic circuits. Dr.

Learning Objectives 10/7/2010. CE 411 Digital System Design. Fundamental of Logic Design. Review the basic concepts of logic circuits. Dr. /7/ CE 4 Digital ystem Design Dr. Arshad Aziz Fundamental of ogic Design earning Objectives Review the basic concepts of logic circuits Variables and functions Boolean algebra Minterms and materms ogic

More information

Technical Report: Considerations for Determining a Classification Scheme for Reversible Boolean Functions

Technical Report: Considerations for Determining a Classification Scheme for Reversible Boolean Functions Technical Report: Considerations for Determining a Classification Scheme for Reversible Boolean Functions 1 Introduction TR-CSJR2-2007 J. E. Rice University of Lethbridge j.rice@uleth.ca For many years

More information

GF(4) Based Synthesis of Quaternary Reversible/Quantum Logic Circuits

GF(4) Based Synthesis of Quaternary Reversible/Quantum Logic Circuits GF(4) ased Synthesis o Quaternary Reversible/Quantum Logic Circuits MOZAMMEL H. A. KHAN AND MAREK A. PERKOWSKI Department o Computer Science and Engineering, East West University 4 Mohakhali, Dhaka, ANGLADESH,

More information

Design of Reversible Sequential Circuit Using Reversible Logic Synthesis

Design of Reversible Sequential Circuit Using Reversible Logic Synthesis International Journal of VLSI design & ommunication Systems (VLSIS) Vol.2, No.4, December 20 Design of Reversible Sequential ircuit Using Reversible Logic Synthesis Md. elayet li, Md. Mosharof Hossin and

More information

Theorem/Law/Axioms Over (.) Over (+)

Theorem/Law/Axioms Over (.) Over (+) material prepared by: MUKESH OHR Follow me on F : http://www.facebook.com/mukesh.sirji4u OOLEN LGER oolean lgebra is a set of rules, laws and theorems by which logical operations can be mathematically

More information

Section 4.1 Switching Algebra Symmetric Functions

Section 4.1 Switching Algebra Symmetric Functions Section 4.1 Switching Algebra Symmetric Functions Alfredo Benso Politecnico di Torino, Italy Alfredo.benso@polito.it Symmetric Functions A function in which each input variable plays the same role in determining

More information

C/CS/Phys C191 Grover s Quantum Search Algorithm 11/06/07 Fall 2007 Lecture 21

C/CS/Phys C191 Grover s Quantum Search Algorithm 11/06/07 Fall 2007 Lecture 21 C/CS/Phys C191 Grover s Quantum Search Algorithm 11/06/07 Fall 2007 Lecture 21 1 Readings Benenti et al, Ch 310 Stolze and Suter, Quantum Computing, Ch 84 ielsen and Chuang, Quantum Computation and Quantum

More information

A Novel Synthesis Algorithm for Reversible Circuits

A Novel Synthesis Algorithm for Reversible Circuits A Novel Synthesis Algorithm for Reversible Circuits Mehdi Saeedi, Mehdi Sedighi*, Morteza Saheb Zamani Email: {msaeedi, msedighi, szamani}@ aut.ac.ir Quantum Design Automation Lab, Computer Engineering

More information

Design of Fault Tolerant Reversible Multiplexer based Multi-Boolean Function Generator using Parity Preserving Gates

Design of Fault Tolerant Reversible Multiplexer based Multi-Boolean Function Generator using Parity Preserving Gates International Journal of omputer pplications (975 8887) Volume 66 No.9, March 23 Design of Fault Tolerant Reversible Multiplexer based Multi-oolean Function enerator using Parity Preserving ates Rakshith

More information

Mozammel H A Khan. Marek A Perkowski. Pawel Kerntopf

Mozammel H A Khan. Marek A Perkowski. Pawel Kerntopf Multi-Output Galois Field Sum of Products Synthesis with New Quantum Cascades PORTLAND QUANTUM LOGIC GROUP Mozammel H A Khan East West University, BANGLADESH Marek A Perkowski Korea Advanced Institute

More information

Boolean circuits. Figure 1. CRA versus MRA for the decomposition of all non-degenerate NPN-classes of three-variable Boolean functions

Boolean circuits. Figure 1. CRA versus MRA for the decomposition of all non-degenerate NPN-classes of three-variable Boolean functions The Emerald Research Register for this journal is available at www.emeraldinsight.com/researchregister The current issue and full text archive of this journal is available at www.emeraldinsight.com/8-9x.htm

More information

ENERGY loss is an important consideration in digital design.

ENERGY loss is an important consideration in digital design. IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, VOL. 23, NO. 11, NOVEMBER 2004 1497 Reversible Cascades With Minimal Garbage Dmitri Maslov Gerhard W. Dueck, Member, IEEE

More information

Possible logic functions of two variables

Possible logic functions of two variables ombinational logic asic logic oolean algebra, proofs by re-writing, proofs by perfect induction logic functions, truth tables, and switches NOT, ND, OR, NND, NOR, OR,..., minimal set Logic realization

More information

arxiv: v2 [quant-ph] 27 Dec 2010

arxiv: v2 [quant-ph] 27 Dec 2010 Reversible circuit synthesis using a cycle-based approach arxiv:1004.4320v2 [quant-ph] 27 Dec 2010 Mehdi Saeedi, Morteza Saheb Zamani, Mehdi Sedighi, Zahra Sasanian Quantum Design Automation Lab Department

More information

Majority-Based Reversible Logic Gate

Majority-Based Reversible Logic Gate Maority-Based Reversible Logic Gate Guowu Yang, William N. N. Hung *, Xiaoyu Song and Mare Perowsi Portland State University, Portland, Oregon, USA ABSTRAT Reversible logic plays an important role in application

More information

CHAPTER 2 AN ALGORITHM FOR OPTIMIZATION OF QUANTUM COST. 2.1 Introduction

CHAPTER 2 AN ALGORITHM FOR OPTIMIZATION OF QUANTUM COST. 2.1 Introduction CHAPTER 2 AN ALGORITHM FOR OPTIMIZATION OF QUANTUM COST Quantum cost is already introduced in Subsection 1.3.3. It is an important measure of quality of reversible and quantum circuits. This cost metric

More information

A Novel Reversible Gate and its Applications

A Novel Reversible Gate and its Applications International Journal of Engineering and Technology Volume 2 No. 7, July, 22 Novel Reversible Gate and its pplications N.Srinivasa Rao, P.Satyanarayana 2 Department of Telecommunication Engineering, MS

More information

Working with Combinational Logic. Design example: 2x2-bit multiplier

Working with Combinational Logic. Design example: 2x2-bit multiplier Working with ombinational Logic Simplification two-level simplification exploiting don t cares algorithm for simplification Logic realization two-level logic and canonical forms realized with NNs and NORs

More information

Digital Circuit And Logic Design I. Lecture 4

Digital Circuit And Logic Design I. Lecture 4 Digital Circuit And Logic Design I Lecture 4 Outline Combinational Logic Design Principles (2) 1. Combinational-circuit minimization 2. Karnaugh maps 3. Quine-McCluskey procedure Panupong Sornkhom, 2005/2

More information

Homework 1 2/7/2018 SOLUTIONS Exercise 1. (a) Graph the following sets (i) C = {x R x in Z} Answer:

Homework 1 2/7/2018 SOLUTIONS Exercise 1. (a) Graph the following sets (i) C = {x R x in Z} Answer: Homework 1 2/7/2018 SOLTIONS Eercise 1. (a) Graph the following sets (i) C = { R in Z} nswer: 0 R (ii) D = {(, y), y in R,, y 2}. nswer: = 2 y y = 2 (iii) C C nswer: y 1 2 (iv) (C C) D nswer: = 2 y y =

More information

α x x 0 α x x f(x) α x x α x ( 1) f(x) x f(x) x f(x) α x = α x x 2

α x x 0 α x x f(x) α x x α x ( 1) f(x) x f(x) x f(x) α x = α x x 2 Quadratic speedup for unstructured search - Grover s Al- CS 94- gorithm /8/07 Spring 007 Lecture 11 01 Unstructured Search Here s the problem: You are given an efficient boolean function f : {1,,} {0,1},

More information

Lecture 4: More Boolean Algebra

Lecture 4: More Boolean Algebra Lecture 4: More Boolean Algebra Syed M. Mahmud, Ph.D ECE Department Wayne State University Original Source: Prof. Russell Tessier of University of Massachusetts Aby George of Wayne State University ENGIN2

More information

Combinational Logic (mostly review!)

Combinational Logic (mostly review!) ombinational Logic (mostly review!)! Logic functions, truth tables, and switches " NOT, N, OR, NN, NOR, OR,... " Minimal set! xioms and theorems of oolean algebra " Proofs by re-writing " Proofs by perfect

More information

Synthesis of Fredkin-Toffoli Reversible Networks

Synthesis of Fredkin-Toffoli Reversible Networks IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, VOL.???, NO.???,??? 2004 1 Synthesis of Fredkin-Toffoli Reversible Networks Dmitri Maslov, Gerhard W. Dueck, Member, IEEE, and D. Michael

More information

Exact SAT-based Toffoli Network Synthesis

Exact SAT-based Toffoli Network Synthesis Eact SAT-based Toffoli Network Synthesis ABSTRACT Daniel Große Institute of Computer Science University of Bremen 28359 Bremen, Germany grosse@informatik.unibremen.de Gerhard W. Dueck Faculty of Computer

More information

Combinational Logic Circuits Part II -Theoretical Foundations

Combinational Logic Circuits Part II -Theoretical Foundations Combinational Logic Circuits Part II -Theoretical Foundations Overview Boolean Algebra Basic Logic Operations Basic Identities Basic Principles, Properties, and Theorems Boolean Function and Representations

More information

Improved ESOP-based Synthesis of Reversible Logic

Improved ESOP-based Synthesis of Reversible Logic Improved ESOP-based Synthesis of Reversible Logic N. M. Nayeem Dept. of Math & Computer Science University of Lethbridge Lethbridge, AB, Canada noor.nayeem@uleth.ca J. E. Rice Dept. of Math & Computer

More information

In

In A Transformation Based Algorithm for Ternary Reversible Logic Synthesis using Universally Controlled Ternary Gates Erik Curtis, Marek Perkowski+ Mentor Graphics Corp., Wilsonville, OR 97070, Erik_Curtis@mentor.com

More information

University of Technology

University of Technology University of Technology Lecturer: Dr. Sinan Majid Course Title: microprocessors 4 th year معالجات دقيقة المرحلة الرابعة ھندسة الليزر والبصريات االلكترونية Lecture 3 & 4 Boolean Algebra and Logic Gates

More information

14:332:231 DIGITAL LOGIC DESIGN. Combinational Circuit Synthesis

14:332:231 DIGITAL LOGIC DESIGN. Combinational Circuit Synthesis :: DIGITAL LOGIC DESIGN Ivan Marsic, Rutgers University Electrical & Computer Engineering all Lecture #: Combinational Circuit Synthesis I Combinational Circuit Synthesis Recall: Combinational circuit

More information

Learning Objectives. Boolean Algebra. In this chapter you will learn about:

Learning Objectives. Boolean Algebra. In this chapter you will learn about: Ref. Page Slide /78 Learning Objectives In this chapter you will learn about: oolean algebra Fundamental concepts and basic laws of oolean algebra oolean function and minimization Logic gates Logic circuits

More information

ECE/Comp Sci 352 Digital System Fundamentals Quiz # 1 Solutions

ECE/Comp Sci 352 Digital System Fundamentals Quiz # 1 Solutions Last (Family) Name: KIME First (Given) Name: Student I: epartment of Electrical and omputer Engineering University of Wisconsin - Madison EE/omp Sci 352 igital System Fundamentals Quiz # Solutions October

More information

Quantum gate. Contents. Commonly used gates

Quantum gate. Contents. Commonly used gates Quantum gate From Wikipedia, the free encyclopedia In quantum computing and specifically the quantum circuit model of computation, a quantum gate (or quantum logic gate) is a basic quantum circuit operating

More information

Chapter 2 Combinational Logic Circuits

Chapter 2 Combinational Logic Circuits Logic and Computer Design Fundamentals Chapter 2 Combinational Logic Circuits Part 2 Circuit Optimization Charles Kime & Thomas Kaminski 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active

More information

Design of an Online Testable Ternary Circuit from the Truth Table

Design of an Online Testable Ternary Circuit from the Truth Table Design of an Online Testable Ternary Circuit from the Truth Table N. M. Nayeem and J. E. Rice Dept. of Math & Computer Science University of Lethbridge, Lethbridge, Canada {noor.nayeem,j.rice}@uleth.ca

More information

LECTURE NOTES ON QUANTUM COMPUTATION. Cornell University, Physics , CS 483; Spring, 2005 c 2006, N. David Mermin

LECTURE NOTES ON QUANTUM COMPUTATION. Cornell University, Physics , CS 483; Spring, 2005 c 2006, N. David Mermin LECTURE NOTES ON QUANTUM COMPUTATION Cornell University, Physics 481-681, CS 483; Spring, 2005 c 2006, N. David Mermin IV. Searching with a Quantum Computer Last revised 3/30/06 Suppose you know that eactly

More information

DETERMINISTIC AND PROBABILISTIC TEST GENERATION FOR BINARY AND TERNARY QUANTUM CIRCUITS

DETERMINISTIC AND PROBABILISTIC TEST GENERATION FOR BINARY AND TERNARY QUANTUM CIRCUITS DETERMINISTIC AND PROBABILISTIC TEST GENERATION FOR BINARY AND TERNARY QUANTUM CIRCUITS Sowmya Aligala, Sreecharani Ratakonda, Kiran Narayan, Kanagalakshmi Nagarajan, Martin Lukac, Jacob Biamonte and Marek

More information

UNIT III Design of Combinational Logic Circuits. Department of Computer Science SRM UNIVERSITY

UNIT III Design of Combinational Logic Circuits. Department of Computer Science SRM UNIVERSITY UNIT III Design of ombinational Logic ircuits Department of omputer Science SRM UNIVERSITY Introduction to ombinational ircuits Logic circuits for digital systems may be ombinational Sequential combinational

More information

Outcomes. Spiral 1 / Unit 3. The Problem SYNTHESIZING LOGIC FUNCTIONS

Outcomes. Spiral 1 / Unit 3. The Problem SYNTHESIZING LOGIC FUNCTIONS -3. -3.2 Outcomes Spiral / Unit 3 Minterm and Materms Canonical Sums and Products 2 and 3 Variable oolean lgebra Theorems emorgan's Theorem unction Snthesis use Canonical Sums/Products Mark Redekopp I

More information

Extended Superposed Quantum State Initialization Using Disjoint Prime Implicants

Extended Superposed Quantum State Initialization Using Disjoint Prime Implicants Extended Superposed Quantum State Initialization Using Disjoint Prime Implicants David Rosenbaum, Marek Perkowski Portland State University, Department of Computer Science Portland State University, Department

More information

Reversible Circuits Synthesis Based on EXOR-sum of Products of EXOR-sums

Reversible Circuits Synthesis Based on EXOR-sum of Products of EXOR-sums Portland State University PDXScholar Dissertations and Theses Dissertations and Theses Spring 5-29-2015 Reversible Circuits Synthesis Based on EXOR-sum of Products of EXOR-sums Linh Hoang Tran Portland

More information

Symmetrical, Dual and Linear Functions and Their Autocorrelation Coefficients

Symmetrical, Dual and Linear Functions and Their Autocorrelation Coefficients Symmetrical, Dual and Linear Functions and Their Autocorrelation Coefficients in the Proceedings of IWLS005 J. E. Rice Department of Math & Computer Science University of Lethbridge Lethbridge, Alberta,

More information

Having read this workbook you should be able to: design a logic circuit from its Boolean equation or truth table.

Having read this workbook you should be able to: design a logic circuit from its Boolean equation or truth table. Objectives Having read this workbook you should be able to: analyse a given logic circuit by deriving its oolean equation and completing its truth table. design a logic circuit from its oolean equation

More information

New Students Day Activity

New Students Day Activity Course: S ELECTRONICS New Students Day ctivity Introduction: In S Level Electronics you need to gain an understanding of the electronic circuits so that you can then start to design your own circuits like

More information

Ex: Boolean expression for majority function F = A'BC + AB'C + ABC ' + ABC.

Ex: Boolean expression for majority function F = A'BC + AB'C + ABC ' + ABC. Boolean Expression Forms: Sum-of-products (SOP) Write an AND term for each input combination that produces a 1 output. Write the input variable if its value is 1; write its complement otherwise. OR the

More information

COMP2611: Computer Organization. Introduction to Digital Logic

COMP2611: Computer Organization. Introduction to Digital Logic 1 OMP2611: omputer Organization ombinational Logic OMP2611 Fall 2015 asics of Logic ircuits 2 its are the basis for binary number representation in digital computers ombining bits into patterns following

More information

Boolean cubes EECS150. Mapping truth tables onto cubes. Simplification. The Uniting Theorem. Three variable example

Boolean cubes EECS150. Mapping truth tables onto cubes. Simplification. The Uniting Theorem. Three variable example EES5 Section 5 Simplification and State Minimization Fall 2 -cube X oolean cubes Visual technique for indentifying when the uniting theorem can be applied n input variables = n-dimensional "cube" Y 2-cube

More information

Database Manipulation Operations on Quantum Systems

Database Manipulation Operations on Quantum Systems Quant Inf Rev, No, 9-7 (203) 9 Quantum Information Review An International Journal http://dxdoiorg/02785/qir/0002 Database Manipulation Operations on Quantum Systems Ahmed Younes Department of Mathematics

More information

Graphical Method of Reversible Circuits Synthesis

Graphical Method of Reversible Circuits Synthesis INTL JOURNAL OF ELECTRONICS AND TELECOMMUNICATIONS, 2017, VOL. 63, NO. 3, PP. 235-240 Manuscript received January 18, 2017; revised June, 2017. DOI: 10.1515/eletel-2017-0031 Graphical Method of Reversible

More information

CS 226: Digital Logic Design

CS 226: Digital Logic Design CS 226: Digital Logic Design 0 1 1 I S 0 1 0 S Department of Computer Science and Engineering, Indian Institute of Technology Bombay. 1 of 29 Objectives In this lecture we will introduce: 1. Logic functions

More information

Unit 2 Session - 6 Combinational Logic Circuits

Unit 2 Session - 6 Combinational Logic Circuits Objectives Unit 2 Session - 6 Combinational Logic Circuits Draw 3- variable and 4- variable Karnaugh maps and use them to simplify Boolean expressions Understand don t Care Conditions Use the Product-of-Sums

More information

EXACT MINIMIZATION OF AND-EXOR EXPRESSIONS OF PRACTICAL BENCHMARK FUNCTIONS

EXACT MINIMIZATION OF AND-EXOR EXPRESSIONS OF PRACTICAL BENCHMARK FUNCTIONS Journal of Circuits, Systems, and Computers Vol. 18, No. 3 (2009) 465 486 c World Scientific Publishing Company EXACT MINIMIZATION OF AND-EXOR EXPRESSIONS OF PRACTICAL BENCHMARK FUNCTIONS TAKASHI HIRAYAMA

More information

arxiv:quant-ph/ v1 24 Jul 2006

arxiv:quant-ph/ v1 24 Jul 2006 Techniques for the Synthesis of Reversible Toffoli Networks arxiv:quant-ph/0607166v1 24 Jul 2006 D. Maslov D. M. Miller G. W. Dueck Dept. of Combinatorics and Optimization Dept. of Computer Science Faculty

More information

Synthesis of Reversible Circuits for Large Reversible Functions

Synthesis of Reversible Circuits for Large Reversible Functions Portland State University PDXScholar Electrical and Computer Engineering Faculty Publications and Presentations Electrical and Computer Engineering 12-2010 Synthesis of Reversible Circuits for Large Reversible

More information

LOGIC GATES (PRACTICE PROBLEMS)

LOGIC GATES (PRACTICE PROBLEMS) LOGIC GTES (PRCTICE PROLEMS) Key points and summary First set of problems from Q. Nos. 1 to 9 are based on the logic gates like ND, OR, NOT, NND & NOR etc. First four problems are basic in nature. Problems

More information

Mark Redekopp, All rights reserved. Lecture 5 Slides. Canonical Sums and Products (Minterms and Maxterms) 2-3 Variable Theorems DeMorgan s Theorem

Mark Redekopp, All rights reserved. Lecture 5 Slides. Canonical Sums and Products (Minterms and Maxterms) 2-3 Variable Theorems DeMorgan s Theorem Lecture 5 Slides Canonical Sums and Products (Minterms and Materms) 2-3 Variable Theorems DeMorgan s Theorem Using products of materms to implement a function MAXTERMS Question Is there a set of functions

More information

Reversible Multiplier A Review

Reversible Multiplier A Review International Journal of dvanced Research in Electrical, (n ISO 3297: 2007 ertified Organization) Reversible Multiplier Review Mandeep Kaur 1, Harpreet Singh 2, hakshu Goel 3 PG student, ept. of EE, Shaheedhagat

More information

On the Use of Transeunt Triangles to Synthesize Fixed-Polarity Reed-Muller Expansions of Functions

On the Use of Transeunt Triangles to Synthesize Fixed-Polarity Reed-Muller Expansions of Functions On the Use of Transeunt Triangles to Synthesize Fixed-Polarity Reed-Muller Expansions of Functions Jon T. Butler Dept. of Electr. and Comp. Eng. Naval Postgraduate School Monterey, CA 93943-5121 U.S.A.

More information

CHAPTER 7 MULTI-LEVEL GATE CIRCUITS NAND AND NOR GATES

CHAPTER 7 MULTI-LEVEL GATE CIRCUITS NAND AND NOR GATES CHAPTER 7 MULTI-LEVEL GATE CIRCUITS NAND AND NOR GATES This chapter in the book includes: Objectives Study Guide 7.1 Multi-Level Gate Circuits 7.2 NAND and NOR Gates 7.3 Design of Two-Level Circuits Using

More information

Technology Mapping and Optimization for Reversible and Quantum Circuits

Technology Mapping and Optimization for Reversible and Quantum Circuits Technology Mapping and Optimization for Reversible and Quantum Circuits by Zahra Sasanian B.Sc., University of Tehran, 2006 M.Sc., Amirkabir University of Technology, 2008 A Dissertation Submitted in Partial

More information

Deutsch Algorithm on Classical Circuits

Deutsch Algorithm on Classical Circuits Deutsch Algorithm on Classical Circuits Assist.Prof.Dr. Osman Kaan EROL Istanbul Technical University, Electrical-Electronics Faculty, Computer Engineering Dept. Istanbul-Turkey Abstract: The well-known

More information

8. BOOLEAN ALGEBRAS x x

8. BOOLEAN ALGEBRAS x x 8. BOOLEAN ALGEBRAS 8.1. Definition of a Boolean Algebra There are man sstems of interest to computing scientists that have a common underling structure. It makes sense to describe such a mathematical

More information

MC9211 Computer Organization

MC9211 Computer Organization MC92 Computer Organization Unit : Digital Fundamentals Lesson2 : Boolean Algebra and Simplification (KSB) (MCA) (29-2/ODD) (29 - / A&B) Coverage Lesson2 Introduces the basic postulates of Boolean Algebra

More information

Quantum computing! quantum gates! Fisica dell Energia!

Quantum computing! quantum gates! Fisica dell Energia! Quantum computing! quantum gates! Fisica dell Energia! What is Quantum Computing?! Calculation based on the laws of Quantum Mechanics.! Uses Quantum Mechanical Phenomena to perform operations on data.!

More information

Textbook: Digital Design, 3 rd. Edition M. Morris Mano

Textbook: Digital Design, 3 rd. Edition M. Morris Mano : 25/5/ P-/70 Tetbook: Digital Design, 3 rd. Edition M. Morris Mano Prentice-Hall, Inc. : INSTRUCTOR : CHING-LUNG SU E-mail: kevinsu@yuntech.edu.tw Chapter 3 25/5/ P-2/70 Chapter 3 Gate-Level Minimization

More information

Variable Reordering for Reversible Wave Cascades - PRELIMINARY VERSION

Variable Reordering for Reversible Wave Cascades - PRELIMINARY VERSION Variable Reordering for Reversible Wave Cascades - PRELIMINARY VERSION Dimitrios Voudouris, Marinos Sampson and George Papakonstantinou National Technical University of Athens, Greece. Abstract In this

More information

II. COMBINATIONAL LOGIC DESIGN. - algebra defined on a set of 2 elements, {0, 1}, with binary operators multiply (AND), add (OR), and invert (NOT):

II. COMBINATIONAL LOGIC DESIGN. - algebra defined on a set of 2 elements, {0, 1}, with binary operators multiply (AND), add (OR), and invert (NOT): ENGI 386 Digital Logic II. COMBINATIONAL LOGIC DESIGN Combinational Logic output of digital system is only dependent on current inputs (i.e., no memory) (a) Boolean Algebra - developed by George Boole

More information

Design Methodologies for Reversible Logic Based Barrel Shifters

Design Methodologies for Reversible Logic Based Barrel Shifters University of South Florida Scholar Commons Graduate Theses and Dissertations Graduate School January 2012 Design Methodologies for Reversible Logic Based Barrel Shifters Saurabh Kotiyal University of

More information

ﻮﻧﺭﺎﮐ ﺔﺸﻘﻧ ﺎﺑ ﻱﺯﺎﺳ ﻪﻨﻴﻬﺑ

ﻮﻧﺭﺎﮐ ﺔﺸﻘﻧ ﺎﺑ ﻱﺯﺎﺳ ﻪﻨﻴﻬﺑ بهينه سازي با نقشة کارنو Karnaugh Map Karnaugh Map Method of graphically representing the truth table that helps visualize adjacencies 2-variable K-map 3-variable K-map 2 3 2 3 6 7 4 5 D 3 2 4 5 7 6 2

More information

CHAPTER 12 Boolean Algebra

CHAPTER 12 Boolean Algebra 318 Chapter 12 Boolean Algebra CHAPTER 12 Boolean Algebra SECTION 12.1 Boolean Functions 2. a) Since x 1 = x, the only solution is x = 0. b) Since 0 + 0 = 0 and 1 + 1 = 1, the only solution is x = 0. c)

More information

CHAPTER 7. Solutions for Exercises

CHAPTER 7. Solutions for Exercises CHAPTER 7 Solutions for Exercises E7.1 (a) For the whole part we have: Quotient Remainders 23/2 11 1 11/2 5 1 5/2 2 1 2/2 1 0 1/2 0 1 Reading the remainders in reverse order we obtain: 23 10 = 10111 2

More information

Logic and Computer Design Fundamentals. Chapter 2 Combinational Logic Circuits. Part 1 Gate Circuits and Boolean Equations

Logic and Computer Design Fundamentals. Chapter 2 Combinational Logic Circuits. Part 1 Gate Circuits and Boolean Equations Logic and Computer Design Fundamentals Chapter 2 Combinational Logic Circuits Part Gate Circuits and Boolean Equations Charles Kime & Thomas Kaminski 28 Pearson Education, Inc. (Hperlinks are active in

More information

Group Theory Based Synthesis of Binary Reversible Circuits

Group Theory Based Synthesis of Binary Reversible Circuits Group Theory Based Synthesis of Binary Reversible Circuits Guowu Yang 1,XiaoyuSong 2, William N.N. Hung 2,FeiXie 1, and Marek A. Perkowski 2 1 Dept. of Computer Science, Portland State University, Portland,

More information

Boolean Algebra CHAPTER 15

Boolean Algebra CHAPTER 15 CHAPTER 15 Boolean Algebra 15.1 INTRODUCTION Both sets and propositions satisfy similar laws, which are listed in Tables 1-1 and 4-1 (in Chapters 1 and 4, respectively). These laws are used to define an

More information

LOGIC GATES. Basic Experiment and Design of Electronics. Ho Kyung Kim, Ph.D.

LOGIC GATES. Basic Experiment and Design of Electronics. Ho Kyung Kim, Ph.D. Basic Eperiment and Design of Electronics LOGIC GATES Ho Kyung Kim, Ph.D. hokyung@pusan.ac.kr School of Mechanical Engineering Pusan National University Outline Boolean algebra Logic gates Karnaugh maps

More information

Counting, symbols, positions, powers, choice, arithmetic, binary, translation, hex, addresses, and gates.

Counting, symbols, positions, powers, choice, arithmetic, binary, translation, hex, addresses, and gates. Counting, symbols, positions, powers, choice, arithmetic, binary, translation, he, addresses, and gates. Counting. Suppose the concern is a collection of objects. As an eample, let the objects be denoted

More information

for Digital Systems Simplification of logic functions Tajana Simunic Rosing Sources: TSR, Katz, Boriello & Vahid

for Digital Systems Simplification of logic functions Tajana Simunic Rosing Sources: TSR, Katz, Boriello & Vahid SE140: omponents and Design Techniques for Digital Systems Simplification of logic functions Tajana Simunic Rosing 1 What we covered thus far: Number representations Where we are now inary, Octal, Hex,

More information

SYNTHESIS AND TESTING OF REVERSIBLE TOFFOLI CIRCUITS. NOOR MUHAMMED NAYEEM Bachelor of Science, University of Dhaka, 2008

SYNTHESIS AND TESTING OF REVERSIBLE TOFFOLI CIRCUITS. NOOR MUHAMMED NAYEEM Bachelor of Science, University of Dhaka, 2008 SYNTHESIS AND TESTING OF REVERSIBLE TOFFOLI CIRCUITS NOOR MUHAMMED NAYEEM Bachelor of Science, University of Dhaka, 28 A Thesis Submitted to the School of Graduate Studies of the University of Lethbridge

More information

ECE 20B, Winter 2003 Introduction to Electrical Engineering, II LECTURE NOTES #2

ECE 20B, Winter 2003 Introduction to Electrical Engineering, II LECTURE NOTES #2 ECE 20B, Winter 2003 Introduction to Electrical Engineering, II LECTURE NOTES #2 Instructor: Andrew B. Kahng (lecture) Email: abk@ucsd.edu Telephone: 858-822-4884 office, 858-353-0550 cell Office: 3802

More information

Combinational logic. Possible logic functions of two variables. Minimal set of functions. Cost of different logic functions.

Combinational logic. Possible logic functions of two variables. Minimal set of functions. Cost of different logic functions. Combinational logic Possible logic functions of two variables Logic functions, truth tables, and switches NOT, ND, OR, NND, NOR, OR,... Minimal set xioms and theorems of oolean algebra Proofs by re-writing

More information

Quantum Circuits and Algorithms

Quantum Circuits and Algorithms Quantum Circuits and Algorithms Modular Arithmetic, XOR Reversible Computation revisited Quantum Gates revisited A taste of quantum algorithms: Deutsch algorithm Other algorithms, general overviews Measurements

More information

Projects about Quantum adder circuits Final examination June 2018 Quirk Simulator

Projects about Quantum adder circuits Final examination June 2018 Quirk Simulator Projects about Quantum adder circuits Final examination June 2018 Quirk Simulator http://algassert.com/2016/05/22/quirk.html PROBLEM TO SOLVE 1. The HNG gate is described in reference: Haghparast M. and

More information

Integrated Synthesis of Linear Nearest Neighbor Ancilla-Free MCT Circuits

Integrated Synthesis of Linear Nearest Neighbor Ancilla-Free MCT Circuits Integrated Synthesis of Linear Nearest Neighbor Ancilla-Free MCT Circuits Md Mazder Rahman 1, Gerhard W. Dueck 1, Anupam Chattopadhyay 2 and Robert Wille 3 1 Faculty of Computer Science, University of

More information

Sum-of-Generalized Products Expressions Applications and Minimization

Sum-of-Generalized Products Expressions Applications and Minimization Sum-of-Generalized Products Epressions Applications and Minimization Tsutomu Sasao Department of Computer Science and Electronics Kyushu Institute of Technology Iizuka 80-850 Japan Abstract This paper

More information

Discrete Mathematics. CS204: Spring, Jong C. Park Computer Science Department KAIST

Discrete Mathematics. CS204: Spring, Jong C. Park Computer Science Department KAIST Discrete Mathematics CS204: Spring, 2008 Jong C. Park Computer Science Department KAIST Today s Topics Combinatorial Circuits Properties of Combinatorial Circuits Boolean Algebras Boolean Functions and

More information

A Shared-cube Approach to ESOP-based Synthesis of Reversible Logic

A Shared-cube Approach to ESOP-based Synthesis of Reversible Logic FACTA UNIVERSITATIS (NIŠ) SER.: ELEC. ENERG. vol. 16, April 24, xx-xx A Shared-cube Approach to ESOP-based Synthesis of Reversible Logic N. M. Nayeem and J. E. Rice Abstract: Reversible logic is being

More information

EECS150 - Digital Design Lecture 19 - Combinational Logic Circuits : A Deep Dive

EECS150 - Digital Design Lecture 19 - Combinational Logic Circuits : A Deep Dive EECS150 - Digital Design Lecture 19 - Combinational Logic Circuits : A Deep Dive March 30, 2010 John Wawrzynek Spring 2010 EECS150 - Lec19-cl1 Page 1 Boolean Algebra I (Representations of Combinational

More information

Goals for Lecture. Binary Logic and Gates (MK 2.1) Binary Variables. Notation Examples. Logical Operations

Goals for Lecture. Binary Logic and Gates (MK 2.1) Binary Variables. Notation Examples. Logical Operations Introduction to Electrical Engineering, II LETURE NOTES #2 Instructor: Email: Telephone: Office: ndrew. Kahng (lecture) abk@ucsd.edu 858-822-4884 office 3802 P&M lass Website: http://vlsicad.ucsd.edu/courses/ece20b/wi04/

More information

Unitary Dynamics and Quantum Circuits

Unitary Dynamics and Quantum Circuits qitd323 Unitary Dynamics and Quantum Circuits Robert B. Griffiths Version of 20 January 2014 Contents 1 Unitary Dynamics 1 1.1 Time development operator T.................................... 1 1.2 Particular

More information

FPGA-Based Circuit Model Emulation of Quantum Algorithms

FPGA-Based Circuit Model Emulation of Quantum Algorithms FPGA-Based Circuit Model Emulation of Quantum Algorithms Mahdi Aminian, Mehdi Saeedi, Morteza Saheb Zamani, Mehdi Sedighi Quantum Design Automation Lab Computer Engineering Department, Amirkabir niversity

More information

Chapter 2 Combinational

Chapter 2 Combinational Computer Engineering 1 (ECE290) Chapter 2 Combinational Logic Circuits Part 1 Gate Circuits and Boolean Equations HOANG Trang Reference: 2008 Pearson Education, Inc. Overview Part 1 Gate Circuits and Boolean

More information

14:332:231 DIGITAL LOGIC DESIGN

14:332:231 DIGITAL LOGIC DESIGN :: DIGITAL LOGIC DESIGN Ivan Marsic, Rutgers University Electrical & Computer Engineering Fall Lecture #: Combinational Circuit Synthesis II hat if we have input variables? V = V = of Example with variables

More information