Optimization of Reversible Circuits Using Toffoli Decompositions with Negative Controls

Total Page:16

File Type:pdf, Size:1020Kb

Optimization of Reversible Circuits Using Toffoli Decompositions with Negative Controls S S symmetry Article Optimization of Reversible Circuits Using Toffoli Decompositions with Negative Controls Mariam Gado 1,2,* and Ahmed Younes 1,2,3 1 Department of Mathematics and Computer Science, Faculty of Science, Alexandria University, Alexandria 21568, Egypt; [email protected] 2 Academy of Scientific Research and Technology(ASRT), Cairo 11516, Egypt 3 School of Computer Science, University of Birmingham, Birmingham B15 2TT, UK * Correspondence: [email protected]; Tel.: +203-39-21595; Fax: +203-39-11794 Abstract: The synthesis and optimization of quantum circuits are essential for the construction of quantum computers. This paper proposes two methods to reduce the quantum cost of 3-bit reversible circuits. The first method utilizes basic building blocks of gate pairs using different Toffoli decompositions. These gate pairs are used to reconstruct the quantum circuits where further optimization rules will be applied to synthesize the optimized circuit. The second method suggests using a new universal library, which provides better quantum cost when compared with previous work in both cost015 and cost115 metrics; this proposed new universal library “Negative NCT” uses gates that operate on the target qubit only when the control qubit’s state is zero. A combination of the proposed basic building blocks of pairs of gates and the proposed Negative NCT library is used in this work for synthesis and optimization, where the Negative NCT library showed better quantum cost after optimization compared with the NCT library despite having the same circuit size. The reversible circuits over three bits form a permutation group of size 40,320 (23!), which Citation: Gado, M.; Younes, A. is a subset of the symmetric group, where the NCT library is considered as the generators of the Optimization of Reversible Circuits permutation group. Using Toffoli Decompositions with Negative Controls. Symmetry 2021, 13, Keywords: reversible circuit optimization; NCT library; negative quantum library; quantum cost; 1025. https://doi.org/10.3390/ reversible circuit; Toffoli decomposition sym13061025 Academic Editor: Basil Papadopoulos and Sergei D. Odintsov 1. Introduction One of the problems in classical computers is heat dissipation and energy loss. Received: 2 May 2021 The amount of energy dissipated for any lost bit of information is calculated by R. Lan- Accepted: 1 June 2021 dauer’s principle, which is KTln2, where K is the Boltzmann’s constant (1.3807 10 23 JK 1) Published: 7 June 2021 × − − and T is the temperature of the system. Reversible computing has one of many features, Publisher’s Note: MDPI stays neutral where no heat dissipation is produced by the system [1]; hence, no information is destroyed. with regard to jurisdictional claims in This feature has many applications [2], such as low-power CMOS [3], nanotechnology [4], published maps and institutional affil- DNA-based logic circuit with self error recovery capability employing massive paral- iations. lelism [5] and many more [6]. Quantum computing is reversible by nature [7]. Recently, using group theory in study- ing the reversible logic synthesis problem has gained attention [8,9]. Group theory is also used to find a relationship between the decomposition of a reversible circuit and a quantum circuit in [10]. A relationship between the reversible logic synthesis problem and Young Copyright: © 2021 by the authors. Licensee MDPI, Basel, Switzerland. subgroups is introduced in [11]. A reversible gate is the basic building block of a reversible This article is an open access article circuit [3]. Quantum gates are reversible gates/functions, which are considered as a special distributed under the terms and case of symmetry groups of finite spaces (Young subgroups) [10]. Many methods have conditions of the Creative Commons been proposed to optimize the quantum cost of circuits [12,13]. The quantum cost of the Attribution (CC BY) license (https:// NCT library is reduced in [14]; a further reduction of the quantum cost of the NCT library creativecommons.org/licenses/by/ is made in [15]. The algorithms in [16,17] use an ancillary qubit to achieve less quantum 4.0/). cost. Universal reversible gate libraries are proposed in [18–20], which use GAP-based Symmetry 2021, 13, 1025. https://doi.org/10.3390/sym13061025 https://www.mdpi.com/journal/symmetry Symmetry 2021, 13, 1025 2 of 23 algorithms to synthesize reversible circuits using different types of gates with various gate costs. Different Toffoli decompositions are proposed in [21] to reduce the quantum cost of reversible circuits. Toffoli gates have control qubits, which can be positive or negative. The positive control is applied if the system is in the excited state, whereas the negative control is applied if the system is in the ground state. The importance of the ground state over the excited state in systems for better stability is discussed in [22], which shows that systems tend to be more stable in the ground state compared with the excited state, so using negative controls is more stable and has less quantum cost for the system compared with using positive controls [23–26]. The paper has two aims: the first aim of this paper is to propose an algorithm that optimizes the quantum cost of 3-bit reversible circuits based on a modified version of the NCT library; the second aim is to propose a new gate library by modifying the NCT library to replace positive control with negative control, which shows less quantum cost compared with the NCT library. This paper is organized as follows: Section2 gives a brief introduction to elementary quantum gates used to build quantum circuits, permutation group, definitions and ter- minologies used in this paper. Section3 introduces the proposed library and proposed synthesis algorithm. Section4 shows the experimental results. The paper concludes in Section5. 2. Background This section gives a brief introduction on the basics of reversible circuit, Negative NCT library gates and permutation group. 2.1. Reversible Boolean Function A Boolean function f with n inputs and n outputs f : Xn Xn is considered to be ! reversible if and only if each input vector x Xn is mapped to a unique output vector 2 y Xn where X = 0, 1 . For n inputs there are 2n! different reversible Boolean functions, 2 f g for n = 3 there is 23! = 40,320 3-input/output reversible Boolean functions. Given a finite set A = 1, 2, ... , 2n , a is permutation and a bijection function that f g maps an input to an output from A such that a : A A, it can be represented as a ! permutation as follows in (1). 1 2 3 2n a = ··· (1) a(1) a(2) a(3) a(2n) ··· The top row is ordered so that it can be eliminated, so a can be written as in (2). a = a(1) a(2) a(3) a(2n) (2) ··· The permutation can also be represented as a product of disjoint cycles. For example, 1 2 3 4 5 6 7 8 can be written as (1, 4, 3)(6, 8). 4 2 1 3 5 8 7 6 2.2. Reversible Quantum Logic Quantum computers use qubit as the basic unit of information, which is represented by a state vector. The vector: y = a 0 + b 1 represents a single qubit where a and b j i j i j i are complex numbers that satisfy the condition a 2 + b 2 = 1. The measurement of y j j j j j i determines the state of the system. Four states of the system are used in this paper; the first state is the standard state 0 where b is 0, the second state is the standard state 1 where j i (1+i) 0 +(1 i) 1 j i a is 0, the third state is + where + = j i − j i and the fourth state is where j i j i p2 j−i (1 i) 0 +(1+i) 1 = − j i j i . j−i p2 Symmetry 2021, 13, 1025 3 of 23 2.3. Reversible Gates A reversible gate is a reversible Boolean function in which each input vector has a unique output vector. 2.3.1. One-Qubit Gates This section introduces the one qubit reversible gates that are used in this paper. NOT gate (N): A reversible gate that maps 0 to 1 and vice versa, also maps + to j i j i j i and vice versa. The superscript of N gate is 3 when N gate is applied on a three-qubit j−i reversible circuit (N3) and the subscript of N gate refers to a specific qubit that NOT gate 3 is applied on. For example, N2 applies a NOT gate on the second qubit in a three-qubit reversible circuit. Table1 shows the effect of a NOT gate on one qubit. There are three possible gates of a NOT gate for three-qubit reversible circuits as shown in Figure1a with the following permutations in (3): N3 : (x , x , x ) (x 1, x , x ) 1 1 2 3 ! 1 ⊕ 2 3 = (1, 5)(2, 6)(3, 7)(4, 8), 3 N : (x1, x2, x3) (x1, x2 1, x3) 2 ! ⊕ (3) = (1, 3)(2, 4)(5, 7)(6, 8), N3 : (x , x , x ) (x , x , x 1) 3 1 2 3 ! 1 2 3 ⊕ = (1, 2)(3, 4)(5, 6)(7, 8). Square-root of NOT gate (v): A reversible gate that maps 0 to + , 1 to , + j i j i j i j−i j i to 1 , and to 0 . j i j−i j i Square-root of NOT gate (v†): A reversible gate that maps 0 to , 1 to + , + j i j−i j i j i j i to 0 and to 1 .
Recommended publications
  • BCG) Is a Global Management Consulting Firm and the World’S Leading Advisor on Business Strategy
    The Next Decade in Quantum Computing— and How to Play Boston Consulting Group (BCG) is a global management consulting firm and the world’s leading advisor on business strategy. We partner with clients from the private, public, and not-for-profit sectors in all regions to identify their highest-value opportunities, address their most critical challenges, and transform their enterprises. Our customized approach combines deep insight into the dynamics of companies and markets with close collaboration at all levels of the client organization. This ensures that our clients achieve sustainable competitive advantage, build more capable organizations, and secure lasting results. Founded in 1963, BCG is a private company with offices in more than 90 cities in 50 countries. For more information, please visit bcg.com. THE NEXT DECADE IN QUANTUM COMPUTING— AND HOW TO PLAY PHILIPP GERBERT FRANK RUESS November 2018 | Boston Consulting Group CONTENTS 3 INTRODUCTION 4 HOW QUANTUM COMPUTERS ARE DIFFERENT, AND WHY IT MATTERS 6 THE EMERGING QUANTUM COMPUTING ECOSYSTEM Tech Companies Applications and Users 10 INVESTMENTS, PUBLICATIONS, AND INTELLECTUAL PROPERTY 13 A BRIEF TOUR OF QUANTUM COMPUTING TECHNOLOGIES Criteria for Assessment Current Technologies Other Promising Technologies Odd Man Out 18 SIMPLIFYING THE QUANTUM ALGORITHM ZOO 21 HOW TO PLAY THE NEXT FIVE YEARS AND BEYOND Determining Timing and Engagement The Current State of Play 24 A POTENTIAL QUANTUM WINTER, AND THE OPPORTUNITY THEREIN 25 FOR FURTHER READING 26 NOTE TO THE READER 2 | The Next Decade in Quantum Computing—and How to Play INTRODUCTION he experts are convinced that in time they can build a Thigh-performance quantum computer.
    [Show full text]
  • IJSRP, Volume 2, Issue 7, July 2012 Edition
    International Journal of Scientific and Research Publications, Volume 2, Issue 7, July 2012 1 ISSN 2250-3153 OF QUANTUM GATES AND COLLAPSING STATES- A DETERMINATE MODEL APRIORI AND DIFFERENTIAL MODEL APOSTEORI 1DR K N PRASANNA KUMAR, 2PROF B S KIRANAGI AND 3 PROF C S BAGEWADI ABSTRACT : We Investigate The Holistic Model With Following Composition : ( 1) Mpc (Measurement Based Quantum Computing)(2) Preparational Methodologies Of Resource States (Application Of Electric Field Magnetic Field Etc.)For Gate Teleportation(3) Quantum Logic Gates(4) Conditionalities Of Quantum Dynamics(5) Physical Realization Of Quantum Gates(6) Selective Driving Of Optical Resonances Of Two Subsystems Undergoing Dipole-Dipole Interaction By Means Of Say Ramsey Atomic Interferometry(7) New And Efficient Quantum Algorithms For Computation(8) Quantum Entanglements And No localities(9) Computation Of Minimum Energy Of A Given System Of Particles For Experimentation(10) Exponentially Increasing Number Of Steps For Such Quantum Computation(11) Action Of The Quantum Gates(12) Matrix Representation Of Quantum Gates And Vector Constitution Of Quantum States. Stability Conditions, Analysis, Solutional Behaviour Are Discussed In Detailed For The Consummate System. The System Of Quantum Gates And Collapsing States Show Contrast With The Documented Information Thereto. Paper may be extended to exponential time with exponentially increasing steps in the computation. INTRODUCTION: LITERATURE REVIEW: Double quantum dots: interdot interactions, co-tunneling, and Kondo resonances without spin (See for details Qing-feng Sun, Hong Guo ) Authors show that through an interdot off-site electron correlation in a double quantum-dot (DQD) device, Kondo resonances emerge in the local density of states without the electron spin-degree of freedom.
    [Show full text]
  • Chapter 3 Quantum Circuit Model of Computation
    Chapter 3 Quantum Circuit Model of Computation 3.1 Introduction In the previous chapter we saw that any Boolean function can be computed from a reversible circuit. In particular, in principle at least, this can be done from a small set of universal logical gates which do not dissipate heat dissi- pation (so we have logical reversibility as well as physical reversibility. We also saw that quantum evolution of the states of a system (e.g. a collection of quantum bits) is unitary (ignoring the reading or measurement process of the bits). A unitary matrix is of course invertible, but also conserves entropy (at the present level you can think of this as a conservation of scalar prod- uct which implies conservation of probabilities and entropies). So quantum evolution is also both \logically" and physically reversible. The next natural question is then to ask if we can use quantum operations to perform computational tasks, such as computing a Boolean function? Do the principles of quantum mechanics bring in new limitations with respect to classical computations? Or do they on the contrary bring in new ressources and advantages? These issues were raised and discussed by Feynman, Benioff and Manin in the early 1980's. In principle QM does not bring any new limitations, but on the contrary the superposition principle applied to many particle systems (many qubits) enables us to perform parallel computations, thereby speed- ing up classical computations. This was recognized very early by Feynman who argued that classical computers cannot simulate efficiently quantum me- chanical processes. The basic reason is that general quantum states involve 1 2 CHAPTER 3.
    [Show full text]
  • Luigi Frunzio
    THESE DE DOCTORAT DE L’UNIVERSITE PARIS-SUD XI spécialité: Physique des solides présentée par: Luigi Frunzio pour obtenir le grade de DOCTEUR de l’UNIVERSITE PARIS-SUD XI Sujet de la thèse: Conception et fabrication de circuits supraconducteurs pour l'amplification et le traitement de signaux quantiques soutenue le 18 mai 2006, devant le jury composé de MM.: Michel Devoret Daniel Esteve, President Marc Gabay Robert Schoelkopf Rapporteurs scientifiques MM.: Antonio Barone Carlo Cosmelli ii Table of content List of Figures vii List of Symbols ix Acknowledgements xvii 1. Outline of this work 1 2. Motivation: two breakthroughs of quantum physics 5 2.1. Quantum computation is possible 5 2.1.1. Classical information 6 2.1.2. Quantum information unit: the qubit 7 2.1.3. Two new properties of qubits 8 2.1.4. Unique property of quantum information 10 2.1.5. Quantum algorithms 10 2.1.6. Quantum gates 11 2.1.7. Basic requirements for a quantum computer 12 2.1.8. Qubit decoherence 15 2.1.9. Quantum error correction codes 16 2.2. Macroscopic quantum mechanics: a quantum theory of electrical circuits 17 2.2.1. A natural test bed: superconducting electronics 18 2.2.2. Operational criteria for quantum circuits 19 iii 2.2.3. Quantum harmonic LC oscillator 19 2.2.4. Limits of circuits with lumped elements: need for transmission line resonators 22 2.2.5. Hamiltonian of a classical electrical circuit 24 2.2.6. Quantum description of an electric circuit 27 2.2.7. Caldeira-Leggett model for dissipative elements 27 2.2.8.
    [Show full text]
  • Regularity and Symmetry As a Base for Efficient Realization of Reversible Logic Circuits
    Portland State University PDXScholar Electrical and Computer Engineering Faculty Publications and Presentations Electrical and Computer Engineering 2001 Regularity and Symmetry as a Base for Efficient Realization of Reversible Logic Circuits Marek Perkowski Portland State University, [email protected] Pawel Kerntopf Technical University of Warsaw Andrzej Buller ATR Kyoto, Japan Malgorzata Chrzanowska-Jeske Portland State University Alan Mishchenko Portland State University SeeFollow next this page and for additional additional works authors at: https:/ /pdxscholar.library.pdx.edu/ece_fac Part of the Electrical and Computer Engineering Commons Let us know how access to this document benefits ou.y Citation Details Perkowski, Marek; Kerntopf, Pawel; Buller, Andrzej; Chrzanowska-Jeske, Malgorzata; Mishchenko, Alan; Song, Xiaoyu; Al-Rabadi, Anas; Jozwiak, Lech; and Coppola, Alan, "Regularity and Symmetry as a Base for Efficient Realization of vRe ersible Logic Circuits" (2001). Electrical and Computer Engineering Faculty Publications and Presentations. 235. https://pdxscholar.library.pdx.edu/ece_fac/235 This Conference Proceeding is brought to you for free and open access. It has been accepted for inclusion in Electrical and Computer Engineering Faculty Publications and Presentations by an authorized administrator of PDXScholar. Please contact us if we can make this document more accessible: [email protected]. Authors Marek Perkowski, Pawel Kerntopf, Andrzej Buller, Malgorzata Chrzanowska-Jeske, Alan Mishchenko, Xiaoyu Song, Anas Al-Rabadi, Lech Jozwiak, and Alan Coppola This conference proceeding is available at PDXScholar: https://pdxscholar.library.pdx.edu/ece_fac/235 Regularity and Symmetry as a Base for Efficient Realization of Reversible Logic Circuits Marek Perkowski, Pawel Kerntopf+, Andrzej Buller*, Malgorzata Chrzanowska-Jeske, Alan Mishchenko, Xiaoyu Song, Anas Al-Rabadi, Lech Jozwiak@, Alan Coppola$ and Bart Massey PORTLAND QUANTUM LOGIC GROUP, Portland State University, Portland, Oregon 97207-0751.
    [Show full text]
  • Multi-Mode Ultra-Strong Coupling in Circuit Quantum Electrodynamics
    www.nature.com/npjqi ARTICLE OPEN Multi-mode ultra-strong coupling in circuit quantum electrodynamics Sal J. Bosman1, Mario F. Gely1, Vibhor Singh2, Alessandro Bruno3, Daniel Bothner1 and Gary A. Steele1 With the introduction of superconducting circuits into the field of quantum optics, many experimental demonstrations of the quantum physics of an artificial atom coupled to a single-mode light field have been realized. Engineering such quantum systems offers the opportunity to explore extreme regimes of light-matter interaction that are inaccessible with natural systems. For instance the coupling strength g can be increased until it is comparable with the atomic or mode frequency ωa,m and the atom can be coupled to multiple modes which has always challenged our understanding of light-matter interaction. Here, we experimentally realize a transmon qubit in the ultra-strong coupling regime, reaching coupling ratios of g/ωm = 0.19 and we measure multi-mode interactions through a hybridization of the qubit up to the fifth mode of the resonator. This is enabled by a qubit with 88% of its capacitance formed by a vacuum-gap capacitance with the center conductor of a coplanar waveguide resonator. In addition to potential applications in quantum information technologies due to its small size, this architecture offers the potential to further explore the regime of multi-mode ultra-strong coupling. npj Quantum Information (2017) 3:46 ; doi:10.1038/s41534-017-0046-y INTRODUCTION decreasing gate times20 as well as the performance of quantum 21 Superconducting circuits such as microwave cavities and Joseph- memories. With very strong coupling rates, the additional modes son junction based artificial atoms1 have opened up a wealth of of an electromagnetic resonator become increasingly relevant, new experimental possibilities by enabling much stronger light- and U/DSC can only be understood in these systems if the multi- matter coupling than in analog experiments with natural atoms2 mode effects are correctly modeled.
    [Show full text]
  • Concentric Transmon Qubit Featuring Fast Tunability and an Anisotropic Magnetic Dipole Moment
    Concentric transmon qubit featuring fast tunability and an anisotropic magnetic dipole moment Cite as: Appl. Phys. Lett. 108, 032601 (2016); https://doi.org/10.1063/1.4940230 Submitted: 13 October 2015 . Accepted: 07 January 2016 . Published Online: 21 January 2016 Jochen Braumüller, Martin Sandberg, Michael R. Vissers, Andre Schneider, Steffen Schlör, Lukas Grünhaupt, Hannes Rotzinger, Michael Marthaler, Alexander Lukashenko, Amadeus Dieter, Alexey V. Ustinov, Martin Weides, and David P. Pappas ARTICLES YOU MAY BE INTERESTED IN A quantum engineer's guide to superconducting qubits Applied Physics Reviews 6, 021318 (2019); https://doi.org/10.1063/1.5089550 Planar superconducting resonators with internal quality factors above one million Applied Physics Letters 100, 113510 (2012); https://doi.org/10.1063/1.3693409 An argon ion beam milling process for native AlOx layers enabling coherent superconducting contacts Applied Physics Letters 111, 072601 (2017); https://doi.org/10.1063/1.4990491 Appl. Phys. Lett. 108, 032601 (2016); https://doi.org/10.1063/1.4940230 108, 032601 © 2016 AIP Publishing LLC. APPLIED PHYSICS LETTERS 108, 032601 (2016) Concentric transmon qubit featuring fast tunability and an anisotropic magnetic dipole moment Jochen Braumuller,€ 1,a) Martin Sandberg,2 Michael R. Vissers,2 Andre Schneider,1 Steffen Schlor,€ 1 Lukas Grunhaupt,€ 1 Hannes Rotzinger,1 Michael Marthaler,3 Alexander Lukashenko,1 Amadeus Dieter,1 Alexey V. Ustinov,1,4 Martin Weides,1,5 and David P. Pappas2 1Physikalisches Institut, Karlsruhe Institute of Technology,
    [Show full text]
  • Quantum Computational Complexity Theory Is to Un- Derstand the Implications of Quantum Physics to Computational Complexity Theory
    Quantum Computational Complexity John Watrous Institute for Quantum Computing and School of Computer Science University of Waterloo, Waterloo, Ontario, Canada. Article outline I. Definition of the subject and its importance II. Introduction III. The quantum circuit model IV. Polynomial-time quantum computations V. Quantum proofs VI. Quantum interactive proof systems VII. Other selected notions in quantum complexity VIII. Future directions IX. References Glossary Quantum circuit. A quantum circuit is an acyclic network of quantum gates connected by wires: the gates represent quantum operations and the wires represent the qubits on which these operations are performed. The quantum circuit model is the most commonly studied model of quantum computation. Quantum complexity class. A quantum complexity class is a collection of computational problems that are solvable by a cho- sen quantum computational model that obeys certain resource constraints. For example, BQP is the quantum complexity class of all decision problems that can be solved in polynomial time by a arXiv:0804.3401v1 [quant-ph] 21 Apr 2008 quantum computer. Quantum proof. A quantum proof is a quantum state that plays the role of a witness or certificate to a quan- tum computer that runs a verification procedure. The quantum complexity class QMA is defined by this notion: it includes all decision problems whose yes-instances are efficiently verifiable by means of quantum proofs. Quantum interactive proof system. A quantum interactive proof system is an interaction between a verifier and one or more provers, involving the processing and exchange of quantum information, whereby the provers attempt to convince the verifier of the answer to some computational problem.
    [Show full text]
  • General-Purpose Quantum Circuit Simulator with Projected Entangled-Pair States and the Quantum Supremacy Frontier
    PHYSICAL REVIEW LETTERS 123, 190501 (2019) General-Purpose Quantum Circuit Simulator with Projected Entangled-Pair States and the Quantum Supremacy Frontier Chu Guo,1,* Yong Liu ,2,* Min Xiong,2 Shichuan Xue,2 Xiang Fu ,2 Anqi Huang,2 Xiaogang Qiang ,2 Ping Xu,2 Junhua Liu,3,4 Shenggen Zheng,5 He-Liang Huang,1,6,7 Mingtang Deng,2 † ‡ Dario Poletti,8, Wan-Su Bao,1,7, and Junjie Wu 2,§ 1Henan Key Laboratory of Quantum Information and Cryptography, IEU, Zhengzhou 450001, China 2Institute for Quantum Information & State Key Laboratory of High Performance Computing, College of Computer, National University of Defense Technology, Changsha 410073, China 3Information Systems Technology and Design, Singapore University of Technology and Design, 8 Somapah Road, 487372 Singapore 4Quantum Intelligence Lab (QI-Lab), Supremacy Future Technologies (SFT), Guangzhou 511340, China 5Center for Quantum Computing, Peng Cheng Laboratory, Shenzhen 518055, China 6Hefei National Laboratory for Physical Sciences at Microscale and Department of Modern Physics, University of Science and Technology of China, Hefei, Anhui 230026, China 7CAS Centre for Excellence and Synergetic Innovation Centre in Quantum Information and Quantum Physics, University of Science and Technology of China, Hefei, Anhui 230026, China 8Science and Math Cluster and EPD Pillar, Singapore University of Technology and Design, 8 Somapah Road, 487372 Singapore (Received 30 July 2019; published 4 November 2019) Recent advances on quantum computing hardware have pushed quantum computing to the verge of quantum supremacy. Here, we bring together many-body quantum physics and quantum computing by using a method for strongly interacting two-dimensional systems, the projected entangled-pair states, to realize an effective general-purpose simulator of quantum algorithms.
    [Show full text]
  • Reversible Circuit Compilation with Space Constraints Alex Parent, Martin Roetteler, and Krysta M
    1 Reversible circuit compilation with space constraints Alex Parent, Martin Roetteler, and Krysta M. Svore Abstract We develop a framework for resource efficient compilation of higher-level programs into lower-level reversible circuits. Our main focus is on optimizing the memory footprint of the resulting reversible networks. This is motivated by the limited availability of qubits for the foreseeable future. We apply three main techniques to keep the number of required qubits small when computing classical, irreversible computations by means of reversible networks: first, wherever possible we allow the compiler to make use of in-place functions to modify some of the variables. Second, an intermediate representation is introduced that allows to trace data dependencies within the program, allowing to clean up qubits early. This realizes an analog to “garbage collection” for reversible circuits. Third, we use the concept of so-called pebble games to transform irreversible programs into reversible programs under space constraints, allowing for data to be erased and recomputed if needed. We introduce REVS, a compiler for reversible circuits that can translate a subset of the functional programming language F# into Toffoli networks which can then be further interpreted for instance in LIQuiji, a domain-specific language for quantum computing and which is also embedded into F#. We discuss a number of test cases that illustrate the advantages of our approach including reversible implementations of SHA-2 and other cryptographic hash-functions, reversible integer arithmetic, as well as a test-bench of combinational circuits used in classical circuit synthesis. Compared to Bennett’s method, REVS can reduce space complexity by a factor of 4 or more, while having an only moderate increase in circuit size as well as in the time it takes to compile the reversible networks.
    [Show full text]
  • Toffoli Gates) – This Is Done by Physicists and Material Science People, – Requires Deep Understanding of Quantum Mechanics, – Big Costs, Expensive Labs
    ReversibleReversible ComputingComputing forfor BeginnersBeginners Lecture 3. Marek Perkowski Some slides from Hugo De Garis, De Vos, Margolus, Toffoli, Vivek Shende & Aditya Prasad Reversible Computing • In the 60s and beyond, CS-physicists considered the ultimate limits of computing, e.g. • What is the maximum bit processing rate of a cubic centimeter of material? • What is the minimum amount of heat generated per bit processed? etc. • This led to the fundamental developments in computing - reversible logic. TheThe MostMost ImportantImportant aspectaspect ofof researchresearch isis MotivationMotivation Why I have motivation to work on Reversible Logic? ReasonsReasons toto workwork onon ReversibleReversible LogicLogic •Build Intelligent Robots •Save Power •Save our Civilization •and supremacy of advanced nations? HowHow toto buildbuild extremelyextremely largelarge finitefinite statestate machinesmachines withwith smallsmall powerpower consumption??consumption?? …and…and thisthis leadsleads usus toto thethe secondsecond reason…..reason….. SaveSave ourour CivilizationCivilization QuantumQuantum ComputersComputers willwill bebe reversiblereversible QuantumQuantum ComputersComputers willwill solvesolve NP-NP- hardhard problemsproblems inin polynomialpolynomial timetime IfIf QuantumQuantum ComputersComputers willwill bebe notnot build,build, USAUSA andand thethe worldworld willwill bebe inin troubletrouble Motivation for this work: Quantum Logic touches the future of our civilization • We live in a very exciting time. • US economy grows, despite crisis • World economy grows • Thanks to advances in information-processing technology. • Usefulness of computers has been enabled primarily by semiconductor-based electronic transistors. Moore’s Law • In 1965, Gordon Moore observed a trend of increasing performance in the first few generations of integrated-circuit technology. • He predicted that in fact it would continue to improve at an exponential rate - with the performance per unit cost increasing by a factor of 2 every 18 months or so - for at least the next 10 years.
    [Show full text]
  • Energy Recovery and Logical Reversibility in Adiabatic CMOS Multiplier
    Energy Recovery and Logical Reversibility in Adiabatic CMOS Multiplier Ismo Hänninen, Hao Lu, Craig S. Lent, Gregory L. Snider University of Notre Dame, Center for Nano Science and Technology, Notre Dame, IN 46556, USA {ismo.hanninen, hlu1, lent, snider.7}@nd.edu Abstract. Overcoming the IC power challenge requires signal energy recovery, which can be achieved utilizing adiabatic charging principles and logically reversible computing in the circuit design. This paper demonstrates the energy- efficiency of a Bennett-clocked adiabatic CMOS multiplier via a simulation model. The design is analyzed on the logic gate level to determine an estimate for the number of irreversible bit erasures occurring in a combinatorial implementation, showing considerable potential for minimizing the logical information loss. Keywords: Multipliers, computer arithmetic, adiabatic charging, reversible logic. 1 Introduction Reversible logic is a strict requirement for quantum computing, however, overcoming the power challenge of the traditional digital integrated circuits potentially benefits from the associated energy recovery enabled by the reversible computation principles. Standard Complementary Metal Oxide Semiconductor (CMOS) technology does not recover signal energy, which leads to considerable energy waste and heat dissipation, limiting the attainable device densities and operating frequencies, and thereby, also the available computing power. While the technology scales down, expected to follow the predictions of the International Roadmap for Semiconductors (ITRS), the loss of signal energy and limiting the related heat become all the more important factors for circuit design. [1] Adiabatically charged logic recovers part of the signal energy, and if the circuits are slowed down, asymptotically nearly all of the energy can be recovered.
    [Show full text]