Boolean State Transformation
|
|
- Colin Bradford
- 6 years ago
- Views:
Transcription
1 Quantum Computing Boolean State Transformation
2 Quantum Computing 2 Boolean Gates Boolean gates transform the state of a Boolean system. Conventionally a Boolean gate is a map f : {,} n {,}, where n is the number of input lines and there is only one output line. For a large n, an n-input gate may be decomposed in smaller realisable gates.
3 Quantum Computing 3 Boolean Gates But if the system state is represented by n-bits then a state transition map is g : {,} n {,} n. The map g may be viewed as an n input and n output gate. This also may be realised using smaller gates. Following diagram is an example.
4 Quantum Computing 4 Boolean Gate Array s i s s 2 s 3 s o G G 3 G 5 I I 2 I 3 I 4 O O 2 O 3 O 4 G 2 G 4
5 Quantum Computing 5 Note s i is the input state, s o is the output state. s,s 2,s 3 are intermediate states. Transition from s to s is through the gates G,I,I,G 2, where I may be viewed as identity map. This transition may be viewed as a 4-bit transformation G I I G 2. Other transitions are similar.
6 Quantum Computing 6 -bit Boolean Gates There are four one variable Boolean functions. Two constant functions: c :,, c :,, the identity map i :,, and the not gate :,.
7 Quantum Computing 7 -bit Linear Algebra If we encode Boolean as [ and as [ the following transformation matrices represent the four gates. [ [ c =,c =,i = [, : [, The i and gate are invertible, but other two are not.
8 Quantum Computing 8 -bit Linear Algebra c () = c () = = = [ [ [ [ [ [ [ [ = = = = [ [ [ [ =, =, =, =.
9 Quantum Computing 9 -Bit Boolean Transformation Matrix A 2 2 matrix over F2 is a valid transformation matrix for a single-bit if every column has exactly one. This restriction is due to our encoding of and. We get 2 2 = 4 valid transformation matrices corresponding to c,c,i and. Only two of them are reversible.
10 Quantum Computing Reversibility Reversibility of computation or invertibility of an operator is an issue even in classical computation. It is known from thermodynamics that there is no increase in entropy in a reversible process. But completely isentropic circuits are impossible to design.
11 Quantum Computing Reversibility There are adiabatic circuits that use reversible logic to reduce power consumption during switching. Landauer s principle claims that any logically irreversible change in information causes more change in entropy. A physical reversibility demands logical reversibility.
12 Quantum Computing 2 Reversibility We shall see that state transition in a quantum mechanical system is reversible. Only the reversible classical logical gates may have quantum mechanical counterpart. So we explore the classical Boolean gates that are reversible as well as universal.
13 Quantum Computing 3 Tensor Product We define the tensor product of two 2-dimensional vectors x = [ a and [ y = c over some field F as [ a b [ c d = a c d b c d b = ac ad bc bd. d This can be generalised to higher dimensions.
14 Quantum Computing 4 2-Bit Boolean Data -bit Boolean data is encoded as = [ and = [. Two bit Boolean data may be viewed as the tensor product of two -bit vectors.
15 Quantum Computing 5 2-Bit Boolean Data [ [ = =. [ [ = =.
16 Quantum Computing 6 2-Bit Boolean Data [ [ = =. [ [ = =.
17 Quantum Computing 7 2-bit Boolean Data Four possible combinations of inputs,,,, are encode as four 4-vectors. :, :, : This can be generalised for n-bits., :.
18 Quantum Computing 8 2-bit Boolean Gates There are sixteen 2-variable conventional Boolean functions e.g. and, nand, or, nor etc. They correspond to maps from {,} 2 {,}. But we are interested about state transition maps from {,} 2 {,} 2 that are reversible. There are total 4 4 = 256 such maps.
19 Quantum Computing 9 2-Bit Boolean Transformation Matrix Similar to -bit transformations, a 2-bit transformation is a 4 4 matrix over F2. It is a valid if every column has exactly one. There are 4 4 = 256 valid transformations corresponding to 256 maps {,} 2 {,} 2. But only 4! among them are reversible, where every column has exactly one.
20 Quantum Computing 2 Universality and Reversibility But is there any universal gate out these 24 reversible gates? One possibility is to consider the tensor products of -bit reversible gates e.g. i or - but they cannot be universal. Another temptation is to try with a pair of conventional gates and see what happens.
21 Quantum Computing 2 Xor-And Transformation Here is an example of a 2-bit transformation matrix of a pair of conventional gates. () = () Xor And
22 Quantum Computing 22 Note The transformation matrix of Xor-And pair is not invertible - the 4 th -row has all zeros. An invertible transformation matrix correspond to a permutation of rows of 4 4 identity matrix.
23 Quantum Computing 23 CNOT Gate A controlled not (CNOT) gate, has invertible transition matrix. Its inputs are (c,d), where c is the control input and d is the data input. The mapping is (c,d) (c,c d). (,d) if c =, CNOT(c,d) = (, d) if c =.
24 Quantum Computing 24 CNOT Transition Matrix CNOT(,) = = = (,) CNOT is inverse of itself. CNOT(CNOT(c,d)) = CNOT(c,c d) = (c,c (c d)) = (c,d).
25 Quantum Computing 25 Diagram c c d c d CNOT
26 Quantum Computing 26 CNOT can Copy a Bit We can copy (clone) a bit using CNOT: (a,) (a,a ) = (a,a). a a a = a CNOT This is actually creating a FANOUT.
27 Quantum Computing 27 Note Tensor products of -bit reversible gate are i i, i, i,. CNOT cannot be realised using them. [ [ [ [ It is + [ [ where = [ and [ [ = [.,
28 Quantum Computing 28 2-bit Universal Gate is Impossible The truth-table for a 2-bit reversible gate is as follows: i i o o x y x y x 2 y 2 x 3 y 3
29 Quantum Computing 29 2-bit Universal Gate is Impossible The output of a reversible gate is a permutation of {,,, }. It has exactly two s and two s per output column of the truth table. But i i has three s and i i has three s in their output. None of them can be produced by a two bit reversible gate.
30 Quantum Computing 3 Reversible and Universal Boolean Gates The 2-bit CNOT gate is reversible. There are 24 reversible 2-Bit Boolean transformations. But that set cannot generate all logic function. 3-bit transformations are map from {,} 3 {,} 3. There are 8 8 = such transformations. But out of which 8! = 432 are reversible.
31 Quantum Computing 3 Universal Reversible Gates One 3-bit reversible transformation is Toffoli gate or CCNOT gate. It was invented by Tommaso Toffoli from Italy. The Toffoli gate or CCNOT gate is known to be universal.
32 Quantum Computing 32 Toffoli or CCNOT Gate Following is the map of CCNOT gate: (x,y,c) (x,y,c (x y)), where x,y remains unchanged, c = c if x = = y, c otherwise. If c =, the 3 rd output is (x y) = x y.
33 Quantum Computing 33 CCNOT Gate Transition Matrix CCNOT transition matrix is its own inverse.
34 Quantum Computing 34 Diagram a b c a b c (a b) CCNOT
35 Quantum Computing 35 NOT, NAND and FANOUT from CCNOT CCNOT gate can implement NOT, NAND and COPY/FANOUT operations if logic and are available. (,,c) (,, c), (a,b,) (a,b, (a b)) = (a,b, (a b)), (,a,) (,a, ( a)) = (,a,a).
36 Quantum Computing 36 OR using only CCNOT We know that ( a b) = a b.. a and b are actual input. We use several ancilla input. 2. Use two CCNOT gates to create a copies of a and b. 3. Use two CCNOT gates to compute a and b.
37 Quantum Computing 37 OR using only CCNOT 4. Finally another CCNOT gate to compute ( a b). 5. We are not taking care of crossovers.
38 Quantum Computing 38 OR using CCNOT a b a a a b b b a b a b a b
39 Quantum Computing 39 Note Note that we have not taken care of cross-over of bits in the diagram. There are several ancilla inputs in state and. Also there are several useless outputs.
40 Quantum Computing 4 Note It is not very difficult to create a 3-bit reversible transformation that will compute a 2-bit function e.g. or when the 3 rd -bit has a fixed value. Look at the following truth table.
41 Quantum Computing 4 Truth Table a b c o o 2 o 3 When c =, o 3 = a b. Other bits are filled to maintain reversibility.
42 Quantum Computing 42 Transition Matrix There are three permutations (2,3),(4,5),(6,7).
43 Quantum Computing 43 OR using CCNOT and NOT Another way of getting OR using CCNOT and NOT are as follows. We negate the input a,b and keep c unchanged. This can be done by applying the transformation [ [ [ to a 3-bit vector.
44 Quantum Computing 44 Tensor Product of Matrices a a 2 a 2 a 22 b b 2 b 2 b 22 = a a 2 b b 2 b 2 b 22 b b 2 b 2 b 22 a 2 b b 2 b 2 b 22 a 22 b b 2 b 2 b 22 = a b a b 2 a 2 b a 2 b 2 a b 2 a b 22 a 2 b 2 a 2 b 22 a 2 b a 2 b 2 a 22 b a 22 b 2 a 2 b 2 a 2 b 22 a 22 b 2 a 22 b 22.
45 Quantum Computing 45 Tensor Product I = =
46 Quantum Computing 46 Tensor Product I We encode (x,y,c) : (,,),,(,,) as an 8-dimensional Boolean vectors (,,,),, (,,,). Operator I gives the desired result. = : (,,) (,,).
47 Quantum Computing 47 Tensor Product CCNOT ( I) The transformation ( I) is clearly reversible (universal property). CCNOT ( I) transforms (x,y,c) ( x, y,c ( x y)). We can apply on the result. This gives us x y when c =.
48 Quantum Computing 48 Tensor Product (I I ) ( ) = = ( ) : (,,) (,,)
49 Quantum Computing 49 Fredkin Gate Another important 3-input reversible gate is the Fredkin gate. The input-output relation is (x,y,c) (cy +cx,cx+cy,c) i.e. (x,y,) (x,y,) and (x,y,) (y,x,). If c =, x,y remains unchanged. If c =, the outputs are interchanged.
50 Quantum Computing 5 Fredkin Gate is Universal CROSSOVER: (a,b,) (b,a,), NOT and FANOUT: (,,a) (a,a,a), AND: (,b,a) (a b,a b,a),
51 Quantum Computing 5 Fredkin Gate Transition Matrix Clearly Fredkin gate is its own inverse.
52 Quantum Computing 52 Diagram a b c c α = cb+ca β = ca+cb Fredkin
53 Quantum Computing 53 Note Both in case of Toffoli gate and in Fredkin gate we need some ancilla input bits in state or to make them universal. They also produce useless outputs not used in subsequent stages.
54 Quantum Computing 54 Fredkin using CNOT & CCNOT c c b a b a b (a b) (a ((a b) c))) = ca+cb a a a (c (ab)) = cb+ca
55 Quantum Computing 55 NOT and FANOUT a b c Fredkin c α = cb+ca β = ca+cb x +x = x x x NOT and FANOUT x +x = x
56 Quantum Computing 56 AND and CCNOT y x AND x xy xy z z xy CCNOT z (x y) z (x y) xy
57 Quantum Computing 57 CCNOT using Fredkin. c,x and y are actual input. We use several ancilla input. 2. Use a Fredkin gate to create a copy of y. 3. Use the second Fredkin gate to compute x y.
58 Quantum Computing 58 CCNOT using Fredkin 4. Use the third Fredkin gate to copy c. 5. Finally the fourth Fredkin gate computes c (x y). 6. There are several output containing useless data.
59 Quantum Computing 59 CCNOT using Fredkin x x y y c y x y c c c (x y)
60 Quantum Computing 6 Note We have several reversible and universal classical gates. Their quantum mechanical counterpart can be used to simulate classical computation.
61 Quantum Computing 6 Probabilistic Circuit The linear algebra formalism of classical bits and gates can be generalised to probabilistic circuits. Suppose a single-bit is at state with probability p and at state with a probability p. It is represented as a 2-dimensional real vector [ p p, where p [,.
62 Quantum Computing 62 -bit Probabilistic Circuit Applying our old transformation matrices we get, c [ [ p p p p = = [ [ [ [ p p p p = = [ [ p Transformation matrix for probabilistic bits is left stochastic (each column adds to ). p,
63 Quantum Computing 63 2-bit Probabilistic Circuit If we consider two bits so that the probability is p for the th -bit to be and the probability is p for the st -bit to be. The probabilities of,,, are p p,p ( p ),( p )q,( p )( p ) respectively.
64 Quantum Computing 64 2-bit Probabilistic Circuit The joint probabilities of two bits may be represented as the following tensor product - [ [ p p p ( p ) =. p p p p ( p )p ( p )( p )
65 Quantum Computing 65 Xor-And on Probabilistic Bits If we apply Xor-And transformation on two probabilistic bits, we get p p p ( p ) ( p )p ( p )( p ) = p p ( p )( p ) p ( p )+( p )p The interpretation of transformation makes sense..
66 Quantum Computing 66 CNOT on Probabilistic Bits p p p p p ( p ) p ( p ) = ( p )p ( p )( p ) ( p )( p ) ( p )p Again it has meaningful interpretation..
67 Quantum Computing 67 References [ERWP Quantum Computing: A Gentle Introduction by Eleanor Rieffel & Wolfgang Polak, Pub. MIT Press, 2, ISBN [MNIC Quantum Computation and Quantum Information by Michael A Nielsen & Isaac L Chuang, Pub. Cambridge University Press, 22, ISBN [SA Quantum Computing Since Democritus by Scott Aaronson, Pub. Cambridge University Press, 23, ISBN [AAM Classical and Quantum Computation by A Yu Kitaev, A H Shen & M N Vyalyi, Pub. American Mathematical Society (GSM vol 47) 22, ISBN
68 Quantum Computing 68 References [PRM An Introduction to Quantum Computing by Phillip Kaye, Raymond Laflamme & Michele Mosca, Pub. Oxford University Press, 27, ISBN
Quantum Computing 1. Multi-Qubit System. Goutam Biswas. Lect 2
Quantum Computing 1 Multi-Qubit System Quantum Computing State Space of Bits The state space of a single bit is {0,1}. n-bit state space is {0,1} n. These are the vertices of the n-dimensional hypercube.
More information2.2 Classical circuit model of computation
Chapter 2 Classical Circuit Models for Computation 2. Introduction A computation is ultimately performed by a physical device. Thus it is a natural question to ask what are the fundamental limitations
More informationChapter 2. Digital Logic Basics
Chapter 2 Digital Logic Basics 1 2 Chapter 2 2 1 Implementation using NND gates: We can write the XOR logical expression B + B using double negation as B+ B = B+B = B B From this logical expression, we
More informationSeminar 1. Introduction to Quantum Computing
Seminar 1 Introduction to Quantum Computing Before going in I am also a beginner in this field If you are interested, you can search more using: Quantum Computing since Democritus (Scott Aaronson) Quantum
More information{0,1} = B versus a 0 +b 1 C 2
Quantum Computing 1 Birth of a Qubit {0,1} = B versus a 0 +b 1 C 2 Quantum Computing 2 I believe Quantum Physics is not a prerequisite of quantum computing unless one wants to build a quantum computer.
More informationQuantum Computing. 6. Quantum Computer Architecture 7. Quantum Computers and Complexity
Quantum Computing 1. Quantum States and Quantum Gates 2. Multiple Qubits and Entangled States 3. Quantum Gate Arrays 4. Quantum Parallelism 5. Examples of Quantum Algorithms 1. Grover s Unstructured Search
More informationBoolean algebra. Examples of these individual laws of Boolean, rules and theorems for Boolean algebra are given in the following table.
The Laws of Boolean Boolean algebra As well as the logic symbols 0 and 1 being used to represent a digital input or output, we can also use them as constants for a permanently Open or Closed circuit or
More informationQuantum 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 informationC/CS/Phys C191 Quantum Gates, Universality and Solovay-Kitaev 9/25/07 Fall 2007 Lecture 9
C/CS/Phys C191 Quantum Gates, Universality and Solovay-Kitaev 9/25/07 Fall 2007 Lecture 9 1 Readings Benenti, Casati, and Strini: Quantum Gates Ch. 3.2-3.4 Universality Ch. 3.5-3.6 2 Quantum Gates Continuing
More informationQuantum 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 informationChapter 2 Combinational Logic Circuits
Logic and Computer Design Fundamentals Chapter 2 Combinational Logic Circuits Part 1 Gate Circuits and Boolean Equations Chapter 2 - Part 1 2 Chapter 2 - Part 1 3 Chapter 2 - Part 1 4 Chapter 2 - Part
More informationNumber System. Decimal to binary Binary to Decimal Binary to octal Binary to hexadecimal Hexadecimal to binary Octal to binary
Number System Decimal to binary Binary to Decimal Binary to octal Binary to hexadecimal Hexadecimal to binary Octal to binary BOOLEAN ALGEBRA BOOLEAN LOGIC OPERATIONS Logical AND Logical OR Logical COMPLEMENTATION
More informationLogic Gate Level. Part 2
Logic Gate Level Part 2 Constructing Boolean expression from First method: write nonparenthesized OR of ANDs Each AND is a 1 in the result column of the truth table Works best for table with relatively
More informationThe Classification of Clifford Gates over Qubits
The Classification of Clifford Gates over Qubits Daniel Grier, Luke Schaeffer MIT Introduction Section 1 Introduction Classification Introduction Idea Study universality by finding non-universal gate sets.
More informationIntroduction to Quantum Information Processing QIC 710 / CS 768 / PH 767 / CO 681 / AM 871
Introduction to Quantum Information Processing QIC 710 / CS 768 / PH 767 / CO 681 / AM 871 Lecture 1 (2017) Jon Yard QNC 3126 jyard@uwaterloo.ca TAs Nitica Sakharwade nsakharwade@perimeterinstitute.ca
More informationProjects 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 information2.0 Basic Elements of a Quantum Information Processor. 2.1 Classical information processing The carrier of information
QSIT09.L03 Page 1 2.0 Basic Elements of a Quantum Information Processor 2.1 Classical information processing 2.1.1 The carrier of information - binary representation of information as bits (Binary digits).
More informationEEE130 Digital Electronics I Lecture #4
EEE130 Digital Electronics I Lecture #4 - Boolean Algebra and Logic Simplification - By Dr. Shahrel A. Suandi Topics to be discussed 4-1 Boolean Operations and Expressions 4-2 Laws and Rules of Boolean
More informationDesign of Reversible Synchronous Sequential Circuits
Design of Reversible Synchronous Sequential Circuits Sonawane Parag Narayan 1, Hatkar Arvind Pandurang 2 1 E&TC,SVIT Chincholi 2 E&TC,SVIT Chincholi Abstract In early 70`s one computer requires one whole
More informationDeutsch s Algorithm. Dimitrios I. Myrisiotis. MPLA CoReLab. April 26, / 70
Deutsch s Algorithm Dimitrios I. Myrisiotis MPLA CoReLab April 6, 017 1 / 70 Contents Introduction Preliminaries The Algorithm Misc. / 70 Introduction 3 / 70 Introduction Figure : David Deutsch (1953 ).
More informationC/CS/Phys 191 Quantum Gates and Universality 9/22/05 Fall 2005 Lecture 8. a b b d. w. Therefore, U preserves norms and angles (up to sign).
C/CS/Phys 191 Quantum Gates and Universality 9//05 Fall 005 Lecture 8 1 Readings Benenti, Casati, and Strini: Classical circuits and computation Ch.1.,.6 Quantum Gates Ch. 3.-3.4 Universality Ch. 3.5-3.6
More informationCHAPTER 2 BOOLEAN ALGEBRA
CHAPTER 2 BOOLEAN ALGEBRA This chapter in the book includes: Objectives Study Guide 2.1 Introduction 2.2 Basic Operations 2.3 Boolean Expressions and Truth Tables 2.4 Basic Theorems 2.5 Commutative, Associative,
More informationCOS 140: Foundations of Computer Science
COS 140: Foundations of Computer Science Boolean Algebra Fall 2018 Introduction 3 Problem................................................................. 3 Boolean algebra...........................................................
More informationIn Module 3, we have learned about Exclusive OR (XOR) gate. Boolean Expression AB + A B = Y also A B = Y. Logic Gate. Truth table
Module 8 In Module 3, we have learned about Exclusive OR (XOR) gate. Boolean Expression AB + A B = Y also A B = Y Logic Gate Truth table A B Y 0 0 0 0 1 1 1 0 1 1 1 0 In Module 3, we have learned about
More informationReversible and Quantum computing. Fisica dell Energia - a.a. 2015/2016
Reversible and Quantum computing Fisica dell Energia - a.a. 2015/2016 Reversible computing A process is said to be logically reversible if the transition function that maps old computational states to
More informationMODULAR CIRCUITS CHAPTER 7
CHAPTER 7 MODULAR CIRCUITS A modular circuit is a digital circuit that performs a specific function or has certain usage. The modular circuits to be introduced in this chapter are decoders, encoders, multiplexers,
More information1 Readings. 2 Unitary Operators. C/CS/Phys C191 Unitaries and Quantum Gates 9/22/09 Fall 2009 Lecture 8
C/CS/Phys C191 Unitaries and Quantum Gates 9//09 Fall 009 Lecture 8 1 Readings Benenti, Casati, and Strini: Classical circuits and computation Ch.1.,.6 Quantum Gates Ch. 3.-3.4 Kaye et al: Ch. 1.1-1.5,
More informationCHAPTER 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 informationReversible Computing for Beginners. Some slides from Hugo De Garis, De Vos, Margolus, Toffoli, Vivek Shende & Aditya Prasad
Reversible Computing for Beginners Lecture 3. Marek Perkowski Some slides from Hugo De Garis, De Vos, Margolus, Toffoli, Vivek Shende & Aditya Prasad Reversible Computing In the 6s and beyond, CS-physicists
More informationOptimized Reversible Programmable Logic Array (PLA)
Journal of Advances in Computer Research Quarterly ISSN: 28-6148 Sari Branch, Islamic Azad University, Sari, I.R.Iran (Vol. 4, No. 1, February 213), Pages: 81-88 www.jacr.iausari.ac.ir Optimized Reversible
More informationBoolean Algebra & Logic Gates. By : Ali Mustafa
Boolean Algebra & Logic Gates By : Ali Mustafa Digital Logic Gates There are three fundamental logical operations, from which all other functions, no matter how complex, can be derived. These Basic functions
More informationLecture 5: NAND, NOR and XOR Gates, Simplification of Algebraic Expressions
EE210: Switching Systems Lecture 5: NAND, NOR and XOR Gates, Simplification of Algebraic Expressions Prof. YingLi Tian Feb. 15, 2018 Department of Electrical Engineering The City College of New York The
More informationSequential Logic Circuits
Chapter 4 Sequential Logic Circuits 4 1 The defining characteristic of a combinational circuit is that its output depends only on the current inputs applied to the circuit. The output of a sequential circuit,
More informationGroup 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 informationImproved 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 informationLecture 2: From Classical to Quantum Model of Computation
CS 880: Quantum Information Processing 9/7/10 Lecture : From Classical to Quantum Model of Computation Instructor: Dieter van Melkebeek Scribe: Tyson Williams Last class we introduced two models for deterministic
More informationQuantum Algorithms. Andreas Klappenecker Texas A&M University. Lecture notes of a course given in Spring Preliminary draft.
Quantum Algorithms Andreas Klappenecker Texas A&M University Lecture notes of a course given in Spring 003. Preliminary draft. c 003 by Andreas Klappenecker. All rights reserved. Preface Quantum computing
More informationCSE20: Discrete Mathematics for Computer Science. Lecture Unit 2: Boolan Functions, Logic Circuits, and Implication
CSE20: Discrete Mathematics for Computer Science Lecture Unit 2: Boolan Functions, Logic Circuits, and Implication Disjunctive normal form Example: Let f (x, y, z) =xy z. Write this function in DNF. Minterm
More informationChapter 2: Switching Algebra and Logic Circuits
Chapter 2: Switching Algebra and Logic Circuits Formal Foundation of Digital Design In 1854 George Boole published An investigation into the Laws of Thoughts Algebraic system with two values 0 and 1 Used
More informationComputer Organization I. Lecture 13: Design of Combinational Logic Circuits
Computer Organization I Lecture 13: Design of Combinational Logic Circuits Overview The optimization of multiple-level circuits Mapping Technology Verification Objectives To know how to optimize the multiple-level
More informationDesign Exploration and Application of Reversible Circuits in Emerging Technologies
University of South Florida Scholar Commons Graduate Theses and Dissertations Graduate School 4-7-216 Design Exploration and Application of Reversible Circuits in Emerging Technologies Saurabh Kotiyal
More informationXOR - XNOR Gates. The graphic symbol and truth table of XOR gate is shown in the figure.
XOR - XNOR Gates Lesson Objectives: In addition to AND, OR, NOT, NAND and NOR gates, exclusive-or (XOR) and exclusive-nor (XNOR) gates are also used in the design of digital circuits. These have special
More information1 Boolean Algebra Simplification
cs281: Computer Organization Lab3 Prelab Our objective in this prelab is to lay the groundwork for simplifying boolean expressions in order to minimize the complexity of the resultant digital logic circuit.
More informationCHAPTER1: Digital Logic Circuits Combination Circuits
CS224: Computer Organization S.KHABET CHAPTER1: Digital Logic Circuits Combination Circuits 1 PRIMITIVE LOGIC GATES Each of our basic operations can be implemented in hardware using a primitive logic gate.
More informationEECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits)
EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits) September 5, 2002 John Wawrzynek Fall 2002 EECS150 Lec4-bool1 Page 1, 9/5 9am Outline Review of
More informationLecture 2 Review on Digital Logic (Part 1)
Lecture 2 Review on Digital Logic (Part 1) Xuan Silvia Zhang Washington University in St. Louis http://classes.engineering.wustl.edu/ese461/ Grading Engagement 5% Review Quiz 10% Homework 10% Labs 40%
More informationChapter 4. Sequential Logic Circuits
Chapter 4 Sequential Logic Circuits 1 2 Chapter 4 4 1 The defining characteristic of a combinational circuit is that its output depends only on the current inputs applied to the circuit. The output of
More informationOutline. EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits) Combinational Logic (CL) Defined
EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits) January 30, 2003 John Wawrzynek Outline Review of three representations for combinational logic:
More informationCircuits & Boolean algebra.
Circuits & Boolean algebra http://xkcd.com/730/ CSCI 255: Introduction to Embedded Systems Keith Vertanen Copyright 2011 Digital circuits Overview How a switch works Building basic gates from switches
More informationCombinational Logic. By : Ali Mustafa
Combinational Logic By : Ali Mustafa Contents Adder Subtractor Multiplier Comparator Decoder Encoder Multiplexer How to Analyze any combinational circuit like this? Analysis Procedure To obtain the output
More informationChap 2. Combinational Logic Circuits
Overview 2 Chap 2. Combinational Logic Circuits Spring 24 Part Gate Circuits and Boolean Equations Binary Logic and Gates Boolean Algebra Standard Forms Part 2 Circuit Optimization Two-Level Optimization
More informationChapter 4 BOOLEAN ALGEBRA AND THEOREMS, MINI TERMS AND MAX TERMS
Chapter 4 BOOLEAN ALGEBRA AND THEOREMS, MINI TERMS AND MAX TERMS Lesson 4 BOOLEAN EXPRESSION, TRUTH TABLE and SUM OF THE PRODUCTS (SOPs) [MINITERMS] 2 Outline SOP two variables cases SOP for three variable
More informationCSC9R6 Computer Design. Practical Digital Logic
CSC9R6 Computer Design Practical Digital Logic 1 References (for this part of CSC9R6) Hamacher et al: Computer Organization App A. In library Floyd: Digital Fundamentals Ch 1, 3-6, 8-10 web page: www.prenhall.com/floyd/
More informationROM-BASED COMPUTATION: QUANTUM VERSUS CLASSICAL
arxiv:quant-ph/0109016v2 2 Jul 2002 ROM-BASED COMPUTATION: QUANTUM VERSUS CLASSICAL B. C. Travaglione, M. A. Nielsen Centre for Quantum Computer Technology, University of Queensland St Lucia, Queensland,
More information10/14/2009. Reading: Hambley Chapters
EE40 Lec 14 Digital Signal and Boolean Algebra Prof. Nathan Cheung 10/14/2009 Reading: Hambley Chapters 7.1-7.4 7.4 Slide 1 Analog Signals Analog: signal amplitude is continuous with time. Amplitude Modulated
More informationA COMPARISON OF LOGICAL EFFICIENCY
A COMPARISON OF LOGICAL EFFICIENCY OF REVERSIBLE AND CONVENTIONAL GATES P. KERNTOPF WARSAW UNIVERSITY OF TECHNOLOGY, POLAND ABSTRACT In contrast to conventional gates, reversible logic gates have the same
More informationGates for Adiabatic Quantum Computing
Gates for Adiabatic Quantum Computing Richard H. Warren Abstract. The goal of this paper is to introduce building blocks for adiabatic quantum algorithms. Adiabatic quantum computing uses the principle
More informationXI STANDARD [ COMPUTER SCIENCE ] 5 MARKS STUDY MATERIAL.
2017-18 XI STANDARD [ COMPUTER SCIENCE ] 5 MARKS STUDY MATERIAL HALF ADDER 1. The circuit that performs addition within the Arithmetic and Logic Unit of the CPU are called adders. 2. A unit that adds two
More informationUnit 2 Boolean Algebra
Unit 2 Boolean Algebra 1. Developed by George Boole in 1847 2. Applied to the Design of Switching Circuit by Claude Shannon in 1939 Department of Communication Engineering, NCTU 1 2.1 Basic Operations
More informationCombinational Logic. Review of Combinational Logic 1
Combinational Logic! Switches -> Boolean algebra! Representation of Boolean functions! Logic circuit elements - logic gates! Regular logic structures! Timing behavior of combinational logic! HDLs and combinational
More informationDEVELOPING A QUANTUM CIRCUIT SIMULATOR API
ACTA UNIVERSITATIS CIBINIENSIS TECHNICAL SERIES Vol. LXVII 2015 DOI: 10.1515/aucts-2015-0084 DEVELOPING A QUANTUM CIRCUIT SIMULATOR API MIHAI DORIAN Stancu Ph.D. student, Faculty of Economic Sciences/Cybernetics
More informationReversible Function Synthesis with Minimum Garbage Outputs
Reversible Function Synthesis with Minimum Garbage Outputs Gerhard W. Dueck and Dmitri Maslov Faculty of Computer Science University of New Brunswick Fredericton, N.B. E3B 5A3 CANADA Abstract Reversible
More informationEE40 Lec 15. Logic Synthesis and Sequential Logic Circuits
EE40 Lec 15 Logic Synthesis and Sequential Logic Circuits Prof. Nathan Cheung 10/20/2009 Reading: Hambley Chapters 7.4-7.6 Karnaugh Maps: Read following before reading textbook http://www.facstaff.bucknell.edu/mastascu/elessonshtml/logic/logic3.html
More informationIntroduction to Quantum Computing
Introduction to Quantum Computing Toni Bluher Math Research Group, NSA 2018 Women and Mathematics Program Disclaimer: The opinions expressed are those of the writer and not necessarily those of NSA/CSS,
More informationCSE 140L Spring 2010 Lab 1 Assignment Due beginning of the class on 14 th April
CSE 140L Spring 2010 Lab 1 Assignment Due beginning of the class on 14 th April Objective - Get familiar with the Xilinx ISE webpack tool - Learn how to design basic combinational digital components -
More informationSystems I: Computer Organization and Architecture
Systems I: Computer Organization and Architecture Lecture 6 - Combinational Logic Introduction A combinational circuit consists of input variables, logic gates, and output variables. The logic gates accept
More informationLecture 6: Manipulation of Algebraic Functions, Boolean Algebra, Karnaugh Maps
EE210: Switching Systems Lecture 6: Manipulation of Algebraic Functions, Boolean Algebra, Karnaugh Maps Prof. YingLi Tian Feb. 21/26, 2019 Department of Electrical Engineering The City College of New York
More informationENG2410 Digital Design Combinational Logic Circuits
ENG240 Digital Design Combinational Logic Circuits Fall 207 S. Areibi School of Engineering University of Guelph Binary variables Binary Logic Can be 0 or (T or F, low or high) Variables named with single
More informationDigital Logic (2) Boolean Algebra
Digital Logic (2) Boolean Algebra Boolean algebra is the mathematics of digital systems. It was developed in 1850 s by George Boole. We will use Boolean algebra to minimize logic expressions. Karnaugh
More informationMC9211 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 informationFundamentals of Computer Systems
Fundamentals of Computer Systems Boolean Logic Stephen A. Edwards Columbia University Fall 2011 Boolean Logic George Boole 1815 1864 Boole s Intuition Behind Boolean Logic Variables x, y,... represent
More informationQuantum Geometric Algebra
ANPA 22: Quantum Geometric Algebra Quantum Geometric Algebra ANPA Conference Cambridge, UK by Dr. Douglas J. Matzke matzke@ieee.org Aug 15-18, 22 8/15/22 DJM ANPA 22: Quantum Geometric Algebra Abstract
More informationAdequate set of connectives, logic gates and circuits
Adequate set of connectives, logic gates and circuits Lila Kari University of Waterloo Adequate set of connectives, logic gates and circuits CS245, Logic and Computation 1 / 59 Connectives We have mentioned
More informationCHAPTER 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 informationChapter 2 Combinational Logic Circuits
Logic and Computer Design Fundamentals Chapter 2 Combinational Logic Circuits Part 1 Gate Circuits and Boolean Equations Charles Kime & Thomas Kaminski 2008 Pearson Education, Inc. (Hyperlinks are active
More informationMidterm Examination # 1 Wednesday, February 25, Duration of examination: 75 minutes
Page 1 of 10 School of Computer Science 60-265-01 Computer Architecture and Digital Design Winter 2009 Semester Midterm Examination # 1 Wednesday, February 25, 2009 Student Name: First Name Family Name
More informationChapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic Gates Mathematical methods that simplify binary logics or circuits rely primarily on Boolean algebra. Boolean algebra: a set of elements, a set of operators, and a
More informationDigital Logic Design ABC. Representing Logic Operations. Dr. Kenneth Wong. Determining output level from a diagram. Laws of Boolean Algebra
Digital Logic Design ENGG1015 1 st Semester, 2011 Representing Logic Operations Each function can be represented equivalently in 3 ways: Truth table Boolean logic expression Schematics Truth Table Dr.
More informationD.5 Quantum error correction
D. QUANTUM ALGORITHMS 157 Figure III.34: E ects of decoherence on a qubit. On the left is a qubit yi that is mostly isoloated from its environment i. Ontheright,aweakinteraction between the qubit and the
More informationQuantum Computer Algorithms: basics
Quantum Computer Algorithms: basics Michele Mosca Canada Research Chair in Quantum Computation SQUINT Summer School on Quantum Information Processing June 3 Overview A quantum computing model Basis changes
More informationNumber System conversions
Number System conversions Number Systems The system used to count discrete units is called number system. There are four systems of arithmetic which are often used in digital electronics. Decimal Number
More informationFloating Point Representation and Digital Logic. Lecture 11 CS301
Floating Point Representation and Digital Logic Lecture 11 CS301 Administrative Daily Review of today s lecture w Due tomorrow (10/4) at 8am Lab #3 due Friday (9/7) 1:29pm HW #5 assigned w Due Monday 10/8
More informationNAND, NOR and XOR functions properties
Laboratory NAND, NOR and XOR functions properties. Laboratory work goals Enumeration of NAND, NOR and XOR functions properties Presentation of NAND, NOR and XOR modules Realisation of circuits with gates
More informationLogic Gates and Boolean Algebra
Logic Gates and oolean lgebra The ridge etween Symbolic Logic nd Electronic Digital Computing Compiled y: Muzammil hmad Khan mukhan@ssuet.edu.pk asic Logic Functions and or nand nor xor xnor not 2 Logic
More informationLecture (02) NAND and NOR Gates
Lecture (02) NAND and NOR Gates By: Dr. Ahmed ElShafee ١ Dr. Ahmed ElShafee, ACU : Spring 2018, CSE303 Logic design II NAND gates and NOR gates In this section we will define NAND and NOR gates. Logic
More informationUNIT 4 MINTERM AND MAXTERM EXPANSIONS
UNIT 4 MINTERM AND MAXTERM EXPANSIONS Spring 2 Minterm and Maxterm Expansions 2 Contents Conversion of English sentences to Boolean equations Combinational logic design using a truth table Minterm and
More informationQuantum Fourier Transforms
Quantum Fourier Transforms Burton Rosenberg November 10, 2003 Fundamental notions First, review and maybe introduce some notation. It s all about functions from G to C. A vector is consider a function
More informationBoolean Algebra, Gates and Circuits
Boolean Algebra, Gates and Circuits Kasper Brink November 21, 2017 (Images taken from Tanenbaum, Structured Computer Organization, Fifth Edition, (c) 2006 Pearson Education, Inc.) Outline Last week: Von
More informationSimulating classical circuits with quantum circuits. The complexity class Reversible-P. Universal gate set for reversible circuits P = Reversible-P
Quantum Circuits Based on notes by John Watrous and also Sco8 Aaronson: www.sco8aaronson.com/democritus/ John Preskill: www.theory.caltech.edu/people/preskill/ph229 Outline Simulating classical circuits
More informationImplementation of Optimized Reversible Sequential and Combinational Circuits for VLSI Applications
V. G. Santhi Swaroop et al Int. Journal of Engineering Research and Applications RESEARCH ARTICLE OPEN ACCESS Implementation of Optimized Reversible Sequential and Combinational Circuits for VLSI Applications
More informationPerformance Enhancement of Reversible Binary to Gray Code Converter Circuit using Feynman gate
Performance Enhancement of Reversible Binary to Gray Code Converter Circuit using Feynman gate Kamal Prakash Pandey 1, Pradumn Kumar 2, Rakesh Kumar Singh 3 1, 2, 3 Department of Electronics and Communication
More informationControl gates as building blocks for reversible computers
Control gates as building blocks for reversible computers A. De Vos 1, B. Desoete 2, F. Janiak 3, and A. Nogawski 3 1 Universiteit Gent and Imec v.z.w., B-9000 Gent, Belgium 2 Universiteit Gent, B-9000
More informationLogic Gates - Introduction
Logic Gates - Introduction Page 1 Overview Introduction Page 2 Digital Design underpins the creation of the myriad of imaginative digital devices that surround us Computers Calculators Phones Digital watches
More informationIntern. J. Fuzzy Mathematical Archive Neutrosophic Quantum Computer Florentin Smarandache Abstract. Keywords:
Intern. J. Fuzzy Mathematical Archive Vol. 10, No. 2, 2016, 139-145 ISSN: 2320 3242 (P), 2320 3250 (online) Published on 12 May 2016 www.researchmathsci.org International Journal of Neutrosophic Quantum
More informationHilbert Space, Entanglement, Quantum Gates, Bell States, Superdense Coding.
CS 94- Bell States Bell Inequalities 9//04 Fall 004 Lecture Hilbert Space Entanglement Quantum Gates Bell States Superdense Coding 1 One qubit: Recall that the state of a single qubit can be written as
More informationLecture 3: Constructing a Quantum Model
CS 880: Quantum Information Processing 9/9/010 Lecture 3: Constructing a Quantum Model Instructor: Dieter van Melkebeek Scribe: Brian Nixon This lecture focuses on quantum computation by contrasting it
More informationChapter 3 Combinational Logic Design
Logic and Computer Design Fundamentals Chapter 3 Combinational Logic Design Part 1- Implementation Technology and Logic Design Overview Part 1-Implementation Technology and Logic Design Design Concepts
More informationLOGIC 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 informationBOOLEAN ALGEBRA. Introduction. 1854: Logical algebra was published by George Boole known today as Boolean Algebra
BOOLEAN ALGEBRA Introduction 1854: Logical algebra was published by George Boole known today as Boolean Algebra It s a convenient way and systematic way of expressing and analyzing the operation of logic
More information211: Computer Architecture Summer 2016
211: Computer Architecture Summer 2016 Liu Liu Topic: Storage Project3 Digital Logic - Storage: Recap - Review: cache hit rate - Project3 - Digital Logic: - truth table => SOP - simplification: Boolean
More information