Projects about Quantum adder circuits Final examination June 2018 Quirk Simulator

Similar documents
XI STANDARD [ COMPUTER SCIENCE ] 5 MARKS STUDY MATERIAL.

Conference on Advances in Communication and Control Systems 2013 (CAC2S 2013)

Additional Gates COE 202. Digital Logic Design. Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals

Quantum gate. Contents. Commonly used gates

DESIGN AND IMPLEMENTATION OF EFFICIENT HIGH SPEED VEDIC MULTIPLIER USING REVERSIBLE GATES

XOR - XNOR Gates. The graphic symbol and truth table of XOR gate is shown in the figure.

Combinational Logic. By : Ali Mustafa

Quantum computing! quantum gates! Fisica dell Energia!

Resource Efficient Design of Quantum Circuits for Quantum Algorithms

Digital Logic (2) Boolean Algebra

2.0 Basic Elements of a Quantum Information Processor. 2.1 Classical information processing The carrier of information

Design of Reversible Code Converters Using Verilog HDL

Design of a Novel Reversible ALU using an Enhanced Carry Look-Ahead Adder

C/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).

Analysis of Multiplier Circuit Using Reversible Logic

1 Readings. 2 Unitary Operators. C/CS/Phys C191 Unitaries and Quantum Gates 9/22/09 Fall 2009 Lecture 8

Implementation of Reversible ALU using Kogge-Stone Adder

Number System. Decimal to binary Binary to Decimal Binary to octal Binary to hexadecimal Hexadecimal to binary Octal to binary

Cs302 Quiz for MID TERM Exam Solved

C/CS/Phys C191 Quantum Gates, Universality and Solovay-Kitaev 9/25/07 Fall 2007 Lecture 9

Combinational Logic. Review of Combinational Logic 1

Fundamentals of Digital Design

Chapter 2 (Lect 2) Canonical and Standard Forms. Standard Form. Other Logic Operators Logic Gates. Sum of Minterms Product of Maxterms

Teleportation-based approaches to universal quantum computation with single-qubit measurements

IBM quantum experience: Experimental implementations, scope, and limitations

UNIVERSITI TENAGA NASIONAL. College of Information Technology

arxiv: v1 [quant-ph] 12 Aug 2013

Computer Organization I. Lecture 13: Design of Combinational Logic Circuits

DESIGN OF PARITY PRESERVING LOGIC BASED FAULT TOLERANT REVERSIBLE ARITHMETIC LOGIC UNIT

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

Synthesis of Quantum Circuit for FULL ADDER Using KHAN Gate

Reversible ALU Implementation using Kogge-Stone Adder

Chapter 3 Combinational Logic Design

DESIGN AND ANALYSIS OF A FULL ADDER USING VARIOUS REVERSIBLE GATES

A Novel Nanometric Reversible Four-bit Signed-magnitude Adder/Subtractor. Soudebeh Boroumand

Experiment 7: Magnitude comparators

EGC221: Digital Logic Lab

High Speed Time Efficient Reversible ALU Based Logic Gate Structure on Vertex Family

Design of Digital Adder Using Reversible Logic

Total Time = 90 Minutes, Total Marks = 50. Total /50 /10 /18

to become literate in most common concepts and terminology of digital electronics

Circuits & Boolean algebra.

Introduction to Quantum Computing

FPGA IMPLEMENTATION OF BASIC ADDER CIRCUITS USING REVERSIBLE LOGIC GATES

Digital Logic: Boolean Algebra and Gates. Textbook Chapter 3

Quantum Geometric Algebra

Calculating with the square root of NOT

Transistor Implementation of Reversible Comparator Circuit Using Low Power Technique

ECE 545 Digital System Design with VHDL Lecture 1. Digital Logic Refresher Part A Combinational Logic Building Blocks

Computer organization

Chapter 2: Princess Sumaya Univ. Computer Engineering Dept.

DESIGN OF OPTIMAL CARRY SKIP ADDER AND CARRY SKIP BCD ADDER USING REVERSIBLE LOGIC GATES

T-count Optimized Design of Quantum Integer Multiplication

Boolean Algebra & Logic Gates. By : Ali Mustafa

Optimized design of BCD adder and Carry skip BCD adder using reversible logic gates

NAND, NOR and XOR functions properties

Design Exploration and Application of Reversible Circuits in Emerging Technologies

Computer Science & Engineering Dept, West Bengal University of Technology 2 Information Technology Dept, Manipal University

Quantum Cost efficient Reversible Multiplier

Boolean algebra. Examples of these individual laws of Boolean, rules and theorems for Boolean algebra are given in the following table.

Applying Grover s algorithm to AES: quantum resource estimates

*WILEY- Quantum Computing. Joachim Stolze and Dieter Suter. A Short Course from Theory to Experiment. WILEY-VCH Verlag GmbH & Co.

EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits)

EECS Variable Logic Functions

CS 121 Digital Logic Design. Chapter 2. Teacher Assistant. Hanin Abdulrahman

COMBINATIONAL LOGIC FUNCTIONS

Outline. EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits) Combinational Logic (CL) Defined

Boolean State Transformation

Mach-Zehnder Interferometer based All Optical Reversible Carry-Look ahead Adder

Combinational Logic. Course Instructor Mohammed Abdul kader

Design of Reversible Multiplier by Novel ANU Gate

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

Quantum Information & Quantum Computing

Implementation of Boolean Logic by Digital Circuits

CS/COE0447: Computer Organization and Assembly Language

MC9211 Computer Organization

Implementation of Optimized Reversible Sequential and Combinational Circuits for VLSI Applications

6. Quantum error correcting codes

Literature Review on Multiplier Accumulation Unit by Using Hybrid Adder

Quantum Computing. Joachim Stolze and Dieter Suter. A Short Course from Theory to Experiment. WILEY-VCH Verlag GmbH & Co. KGaA

Looking at a two binary digit sum shows what we need to extend addition to multiple binary digits.

Boolean Algebra and Digital Logic 2009, University of Colombo School of Computing

ELCT201: DIGITAL LOGIC DESIGN

ECE 545 Digital System Design with VHDL Lecture 1A. Digital Logic Refresher Part A Combinational Logic Building Blocks

Logic Design. Chapter 2: Introduction to Logic Circuits

Switches: basic element of physical implementations

X row 1 X row 2, X row 2 X row 3, Z col 1 Z col 2, Z col 2 Z col 3,

2.2 Classical circuit model of computation

Technology Mapping and Optimization for Reversible and Quantum Circuits

An FPGA Implementation of Energy Efficient Code Converters Using Reversible Logic Gates

Gates and Flip-Flops

Chapter 4. Combinational: Circuits with logic gates whose outputs depend on the present combination of the inputs. elements. Dr.

Reversible computer hardware

Logic Gates and Boolean Algebra

Chapter 2 Combinational Logic Circuits

Chapter 2. Boolean Algebra and Logic Gates

Chapter 2: Switching Algebra and Logic Circuits

Chapter 2. Digital Logic Basics

Mealy & Moore Machines

Floating Point Representation and Digital Logic. Lecture 11 CS301

Transcription:

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 K. Navi, 2008. A Novel reversible BCD adder for nanotechnology based systems. Am. J. Applied Sci., 5 (3): 282-288. http://thescipub.com/pdf/10.3844/ajassp.2008.282.288 2. The operation of the HNG gate is shown in Figure 1, where each output is annotated with the corresponding logic expression. Observe that two input variables are also outputs. HNG gate can be used for implementing all Boolean functions. Fig. 1. Quantum circuit model of the HNG gate. The corresponding truth table of the HNG gate is depicted in Table 1. Table 1. The truth table of HNG gate A total of four reversible gates are required to build the quantum circuit of the HNG gate, as depicted in Fig.2:

Fig. 2. Quantum circuit model of the HNG gate. The OR and the X-NOR functions can be simultaneously implemented on HNG (Fig. 3). Fig.3 XNOR and OR. The XOR function and the NAND function can be implemented as depicted in Fig.4. Fig.4 XOR and NAND gates. The NOR function can be obtained as shown in Fig. 5. Fig.5 XOR gate. The implementation of the HNG gate as NOT function is shown in Fig.6. Fig.6 NOT gate. The AND function can be implemented as depicted in Fig.7.

Fig.7 AND gate. Full adder circuit is a versatile and widely used element in digital arithmetic processing. One of the prominent functionalities of the HNG gate is that it can work singly as a reversible full adder unit. The implementation of HNG gate as the reversible full adder is depicted in Fig.8. Fig.8 The HNG gate is a 4-bit reversible gate, which is a full adder. In Quirk simulation, create a circuit with the minimum cost (number of gates from Clifford-T library), including Bloch spheres as well. Use all the possible eight input states to prove that works as a full adder. Save your circuit simulation in a video mp4 file that implements all eight input states, and write a report. Draw a circuit indicating the implementation of each CCNOT and CNOT gate in Fig.2 by placing in boxes the equivalent combination of Quirk gates. Explain the operations of your circuit in each case. Include the corresponding truth tables. Supplementary Information The fault tolerant Clifford+T gate set is used in fault tolerant quantum circuit design. Table 1 shows the gates that make up the Clifford+T gate set.

The Clifford+T implementation of the inverted control CNOT gate, SWAP gate and Toffoli gate are shown in figure A. (c) Toffoli gate Fig.A The fault tolerant Clifford + T implementations of quantum logic gates. Fault tolerant quantum circuit performance is evaluated in terms of T-count because the implementation costs of the T gate is significantly greater than the implementation costs of the other Clifford+T gates. T-count is the total number of T gates or Hermitian transposes of the T gate in a quantum circuit. As illustrated in figure A, the inverted control CNOT gate and the SWAP gate both have a T-count of 0 while the Toffoli gate has a T-count of 7. Figure B shows the exact Clifford+T decomposition of the Toffoli gate using 7 T gates. Note that we have used the identity HZH=X to rewrite the Toffoli as a double-controlled-z gate, which is diagonal and hence has an exact decomposition in the Clifford+T basis. Fig.B An exact decomposition of the Toffoli gate on the Clifford+T basis. We use the fact that HZH=X, where H is the Hadamard gate and Z, X are the standard Pauli gates. Figure C shows an exact decomposition of two paired Toffoli gates with a phase gate on the target qubit. We use the Clifford+T decomposition of the Toffoli shown in Figure B. The first two qubits in this example have a sequence of gates which are adjoints of one another, thus if we carry through all commutations to move the gates on the top two qubits towards the center, we find that not only do they mutually cancel one another, but all commutations in between different CNOT operators will also mutually cancel. Independently they would cost 7 T gates each for a total of 14 per pair, however in this paired configuration a pair of matched Toffoli entanglers costs only 8 T gates.

Fig.C An exact decomposition of two paired Toffoli gates with a phase gate on the target qubit. As another example consider the reversible full adder circuit below, where each Toffoli-CNOT pair is in fact a Peres gate: = = T gate parallelization means moving T and T gates, each on a unique circuit line, to the same circuit level so that they can operate in parallel. Appendix A Optimizations in the Clifford+T library. B.1 Moving rules for the Clifford+T gates B.2 Reduction rules for the H gates

B.3 Reduction rules for the remaining gates Appendix B Quantum gate properties: Property 5: Note that the three gates in the structure have a common target and the two CNOTs have a common control. Property 6 provides considerable flexibility in moving gates. It is a direct consequence of Properties 4 and 5. Property 7 gives two important identities for reducing the number of CNOT gates in a circuit. Property 7(a) describes the interchanging of 2 CNOTs which share a qubit as target for one and control for the other. This introduces a third CNOT with control and target from the unshared lines of the initial pair of gates.