Quantum Switching and Quantum Merge Sorting

Total Page:16

File Type:pdf, Size:1020Kb

Quantum Switching and Quantum Merge Sorting TCAS-I 1923 1 Quantum Switching and Quantum Merge Sorting Sheng-Tzong Cheng and Chun-Yen Wang A quantum wires A Abstract—This paper proposes a quantum switching architect- ure that can dynamically permute each input quantum data to its destination port to avoid using the fully connected networks. In B C B C addition, in order to reduce the execution time of the quantum Quantum quantum switching, an efficient quantum merge sorting algorithm (QMS) switching nodes that provides a parallel quantum computation is also developed. The quantum switching utilizes the QMS algorithm as a subroutine so that the total running time can be reduced to D E D E polylogarithmic time. Furthermore, to evaluate the feasibility of the quantum switching, we also define three different kinds of (a) fully connected (b) quantum switching performance factors that can be used to estimate the complexity in implementation and the time delay in execution for quantum Fig. 1. The quantum network architecture instruments. From the evaluation results, it can be seen that the proposed quantum switching is feasible in practice. [8], quantum cryptography [9][10], quantum repeater [11], and quantum networks [12] have been raised. These results have Index Terms—Quantum circuits, quantum computation, quan- driven the QIS field further into the real- world applications. tum permutation, quantum sort, quantum switching. Many views of the future of QIS indicate that the need for basic quantum wire components would become more essential due to the explosive growth of quantum devices. As shown in I. INTRODUCTION Fig. 1(a), in order to ensure any two quantum devices can uantum computation and quantum information science communicate quantum data with each other, it is necessary to Q(QIS) [1][2] that study the exploration of quantum employ a quantum wire between them. However, this results in a mechanics provides us advanced tools to solve hard problems in fully-connected quantum network that would requires O(n2) traditional Turing machines. The fundamental element in the quantum wires to construct, where n is the total number of quantum field can be any particle with two states that coexist quantum nodes. In this paper, a novel quantum switching together such as a photon, atom, electron, or subatomic particle architecture is proposed to avoid the fully-connected quantum [3]. All of them are under the nano-scale. Thus, QIS is often networks. As shown in Fig. 1(b), with the aid of the quantum considered to be a basis for further research and innovations in switching, quantum nodes only need to deliver their quantum the future development of nanotechnology. data to the quantum switching and the quantum switching would In literature, many outstanding algorithms have been switch it to its destination port. Thus, each quantum node only developed to illustrate that quantum-based computers are more requires one quantum wire to connect with quantum switching, powerful than traditional computers. For example, Shor [4] so the number of the quantum wires can be reduced to O(n). presents a quantum algorithm that factors a composite integer The proposed quantum switching allows each input quantum exponentially faster than the best classical algorithms do. And data to be permuted to its corresponding destination port in Grover [5] presents a quantum algorithm that searches an item parallel dynamically. Moreover, to minimize the time delay in from an unstructured list polynomial speedup over classical executing the quantum switching, an efficient quantum merge algorithms [6]. Due to its potential impact and significance, QIS sorting (QMS) algorithm is developed in this paper. Although it has drawn more and more attentions in the recent decade. has been shown that quantum computers, in general, can not One of the most important applications in QIS is the quantum much outperform classical computers for the task of sorting [13], communication that is a mechanism for transferring quantum this paper makes use of the parallel computation technique [14] data from one location to another. Among them, quantum wire to reduce the running time of the QMS algorithm so that it only [7] is one of such mediums for transporting quantum informa- takes time complexity O(log2n) to sort n quantum elements. tion. At present, many remarkable research issues based upon Because the proposed quantum switching utilizes the the quantum wire configuration such as quantum teleportation efficient QMS algorithm, the total execution time can be reduced to polylogarithmic time. In addition, in order to assess Manuscript received December 10, 2004; revised May 26, 2005; accepted the feasibility of the quantum switching, we also define three July 16, 2005. different performance indexes to evaluate the effectiveness of The authors are with the Department of Computer Science and Information quantum instruments. According to the results, it can be seen Engineering, National Cheng Kung University, Tainan 701, Taiwan (e-mail: [email protected]; [email protected]). that the proposed quantum switching is feasible to put into TCAS-I 1923 2 |0+ |1 |0+ |1 |A |A |B |A |B |B |Bor |A (a) NOT gate |B |A |C |0 |1 (a) SWAP gate (b) Controlled-swap gate control qubit Fig. 3. Quantum SWAP gate and Controlled-swap gate |00+|01+|10+|11 |00+|01+|10+11 |q1 |q1 target qubit |q2 Comparison |q2 (b) CNOT gate ancillary |0if |q1|q2 Fig. 2. Quantum NOT gate and CNOT gate qubit |0 |1if |q1> |q2 Fig. 4 The Comparison gate practice. This paper represents one of the few attempts to solve the dynamic quantum switching in the literature. with some fundamental logic operators so as to complete a The rest of this paper is organized as follows. In Section II, specific task is called a logic gate, such as the classical NOT gate, the general concepts about quantum computation are introduced. AND gate, OR gate, XOR gate, and so on. Analogously, in the Related research is surveyed as well. In Section III, the QMS quantum realm, a set of operators that can manipulate a quantum algorithm that provides a parallel quantum computation is system to accomplish a specific computation is called a presented. In Section IV, the quantum switching architecture is quantum gate. In this section, we introduce four quantum gates proposed to switch quantum data to its corresponding port. that are in common use throughout this paper. Finally, conclusion remarks are drawn in Section V. Similar to the classical NOT gate, the quantum NOT gate applied on a single qubit can be used to flip its states |0and |1. II. BACKGROUND AND RELATED WORK As shown in Fig. 2(a), when we send a qubit |= |0+ |1 In this section, we introduce definitions and terminologies through the quantum NOT gate, then the corresponding output used in describing the proposed mechanism throughout this would be |output= |0+ |1. Besides, the quantum NOT gate paper. In-depth treatments of the notations can be found in is usually called as a Pauli-X gate. Fig. 2(b) shows the circuits of literature [1][15]. the Controlled-NOT (CNOT) gate for processing two qubits. It A. Quantum States can be seen from Fig. 2(b) that the quantum CNOT gate has two inputs. One is the control qubit and the other is the target qubit. Analogous to classical bits, the underlying unit in QIS is a When the control qubit is set to |0, the CNOT gate does nothing. quantum bit (qubit). However, unlike a classical bit that must be On the other hand, if the control qubit is set to |1, then it would inastateeither0 or1,aqubitcanbeinbothstate |0and state |1 apply the NOT gate to the target qubit. In other words, the at the same time. This special phenomenon in quantum CNOT gate can be used to exchange |10and |11. computing is called superposition. In general, a qubit state is Besides, one more important quantum operator is the quan- often represented as a linear combination of these two states, tum SWAP gate. SWAP gate applied on a two-qubit system can |= |0+ |1, (1) be used to do the transposition. More precisely, it changes a where and are complex numbers and ||||2 + ||||2 = 1. two-qubit system from |A|Bto |B|A. As drawn in Fig. Note that it is impossible for us to determine whether a qubit 3(a), SWAP gate can be implemented by three layers of CNOT is in state |0or |1by examining the values of and. However, gates. However, because of its importance to quantum com- when we measure a qubit in a superposition state, the entire munication, SWAP gate is often seen as a basic quantum gate. qubit system would collapse into one of its basis (e.g., |0or |1). The last quantum operator we introduce in this subsection is As for which state we would obtain, it is determined by the the controlled-swap gate (or the Fredkin gate). As depicted in absolute square of its coefficient. That is, we get the qubit in Fig. 3(b), the controlled-swap gate has three input qubits, |A, state |0with probability ||||2, or in state |1with probability ||||2. |Band |C. The qubit |Cis called a control qubit because it Thus, and are called probability amplitudes. controls what happens to the other two qubits. When the control Furthermore, a multiple-qubit system can be built up by qubit |Cis set to |0, it does nothing. On the other hand, if the composing multiple independent qubits. To compose two or control qubit |Cis set to |1, then the SWAP gate is applied to more qubit systems together, the tensor product operator is the target qubits (i.e., |Aand |Bare swapped). adopted. For example, consider a two-qubit system composed In quantum circuits, time evolution goes from left to right.
Recommended publications
  • Learning Programs for the Quantum Computer
    Learning Programs For The Quantum Computer by Olivia{Linda Enciu Bachelor of Science (Honours), University of Toronto, 2010 A thesis presented to Ryerson University in partial fulfillment of the requirements for the degree of Master of Science in the Program of Computer Science Toronto, Ontario, Canada, 2014 c Olivia{Linda Enciu 2014 AUTHOR'S DECLARATION FOR ELECTRONIC SUBMISSION OF A THESIS I hereby declare that I am the sole author of this thesis. This is a true copy of the thesis, including any required final revisions, as accepted by my examiners. I authorize Ryerson University to lend this thesis to other institutions or individuals for the purpose of scholarly research. I further authorize Ryerson University to reproduce this thesis by photocopying or by other means, in total or in part, at the request of other institutions or individuals for the purpose of scholarly research. I understand that my thesis may be made electronically available to the public. iii Learning Programs For The Quantum Computer Master of Science 2014 Olivia{Linda Enciu Computer Science Ryerson University Abstract Manual quantum programming is generally difficult for humans, due to the often hard-to-grasp properties of quantum mechanics and quantum computers. By outlining the target (or desired) behaviour of a particular quantum program, the task of program- ming can be turned into a search and optimization problem. A flexible evolutionary technique known as genetic programming may then be used as an aid in the search for quantum programs. In this work a genetic programming approach uses an estimation of distribution algorithm (EDA) to learn the probability distribution of optimal solution(s), given some target behaviour of a quantum program.
    [Show full text]
  • QUANTUM COMPUTER and QUANTUM ALGORITHM for TRAVELLING SALESMAN PROBLEM Utpal Roy, Sanchita Pal Chawdhury, Susmita Nayek
    ISSN: 0974-3308, VOL. 2, NO. 1, JUNE 2009 © SRIMCA 54 QUANTUM COMPUTER AND QUANTUM ALGORITHM FOR TRAVELLING SALESMAN PROBLEM Utpal Roy, Sanchita Pal Chawdhury, Susmita Nayek ABSTRACT Depending upon the extraordinary power of Quantum Computing Algorithms various branches like Quantum Cryptography, Quantum Information Technology, Quantum Teleportation have emerged [1-4]. It is thought that this power of Quantum Computing Algorithms can also be successfully applied to many combinatorial optimization problems. In this article, a class of combinatorial optimization problem is chosen as case study under Quantum Computing. These problems are widely believed to be unsolvable in polynomial time. Mostly it provides suboptimal solutions in finite time using best known classical algorithms. Travelling Salesman Problem (TSP) is one such problem to be studied here. A great deal of effort has already been devoted towards devising efficient algorithms that can solve the problem [5-18]. Moreover, the methods of finding solutions for the TSP with Artificial Neural Network and Genetic Algorithms [5-8] do not provide the exact solution to the problems for all the cases, excepting a few. A successful attempt has been made to have a deterministic solution for TSP by applying the power of Quantum Computing Algorithm. Keywords: Quantum Computing, Travelling Salesman Problem, Quantum algorithms. 1. INTRODUCTION A quantum computer is a device that can arbitrarily manipulate the quantum state of a part or itself. The field of quantum computation is largely a body of theoretical promises for some impressively fast algorithms which could be executed on quantum computers. The field of quantum computing has advanced remarkably in the past few years since Shor [1] presented his quantum mechanical algorithm for efficient prime factorization of very large numbers, potentially providing an exponential speedup over the fastness on known classical algorithm.
    [Show full text]
  • Arxiv:1606.09225V1
    Quintuple: a Python 5-qubit quantum computer simulator to facilitate cloud quantum computing Christine Corbett Morana,b,∗ aNSF AAPF California Institute of Technology, TAPIR, 1207 E. California Blvd. Pasadena, CA 91125 bUniversity of Chicago, 2016 SPT Winterover Scientist, Amundsen-Scott South Pole Station, Antarctica Abstract In May 2016 IBM released access to its 5-qubit quantum computer to the scientific commu- nity, its “IBM Quantum Experience”[1] since acquiring over 25,000 users from students, educa- tors and researchers around the globe. In the short time since the “IBM Quantum Experience” became available, a flurry of research results on 5-qubit systems have been published derived from the platform hardware [2, 3, 4, 5, 6]. Quintuple is an open-source object-oriented Python module implementing the simulation of the “IBM Quantum Experience” hardware. Quintuple quantum algorithms can be programmed and run via a custom language fully compatible with the “IBM Quantum Experience” or in pure Python. Over 40 example programs are provided with expected results, including Grover’s Algorithm and the Deutsch-Jozsa algorithm. Quintu- ple contributes to the study of 5-qubit systems and the development and debugging of quantum algorithms for deployment on the “IBM Quantum Experience” hardware. Keywords: quantum computing, 5-qubit, cloud quantum computing, IBM Quantum Experience, entanglement PROGRAM SUMMARY Manuscript Title: Quintuple: a Python 5-qubit quantum computer simulator to facilitating cloud quantum computing Authors: Christine Corbett Moran Program Title: Quintuple Licensing provisions: none Programming language: Python Computer: Any which supports Python 2.7+ Operating system: Cross-platform, any which supports Python 2.7+, e.g.
    [Show full text]
  • Julio Gea-Banaclochea 'Department of Physics, University of Arkansas, Fayett,Eville, Arkansas, 72701, USA
    Geometric phase gate with a quantized driving field Shabnam Siddiquia arid Julio Gea-Banaclochea 'Department of Physics, University of Arkansas, Fayett,eville, Arkansas, 72701, USA ABSTRACT We have studied the performance of a geometric phase gate with a quantized driving field numerically, and developed an analytical approximation that yields some preliminary insight on the way the nl~hltbecomes entangled with the driving field. Keywords: Quantum computation, adiabatic quantum gates, geometric quantum gates 1. INTRODUCTION It was first suggested by Zanardi and ~asetti,'that the Berry phase (non-abelian holon~m~)~-~might in principle provide a novel way for implementing universal quantum computation. They showed that by encoding quantum information in one of the eigenspaces of a degenerate Harniltonian H one can in principle achieve the full quantum computational power by using holonomies only. It was then thought that since Berry's phase is a purely geometrical effect, it is resilient to certain errors and may provide a possibility for performing intrinsically fault-tolerant quantum gate operations. In a paper by Ekert et.al,5 a detailed theory behind the implementation of geometric computation was developed and an implementation of a conditional phase gate in NMR was shown by Jones et.al.6 This attracted the attention of the research community and various studies were performed to study the rob~stness~-'~of geometric gates and the implementation of these gates in other systenls such as ion-trap, solid state and Josephson qubits.lO-l4 In this paper we study an adiabatic geometric phase gate when the control system is treated as a two mode quantized coherent field.
    [Show full text]
  • The Construction of Quantum Block Cipher for Grover Algorithm
    THE CONSTRUCTION OF QUANTUM BLOCK CIPHER FOR GROVER ALGORITHM ALMAZROOIE MISHAL EID UNIVERSITI SAINS MALAYSIA 2018 THE CONSTRUCTION OF QUANTUM BLOCK CIPHER FOR GROVER ALGORITHM by ALMAZROOIE MISHAL EID Thesis submitted in fulfilment of the requirements for the degree of Doctor of Philosphy January 2018 ACKNOWLEDGEMENT Always All Thanks to Almighty Allah • My father, my mother, my second mother, my Sultan, my Sultanah, my Gassan, my brothers, my sisters, my nephews, all of my family, Thank you. • My supervisor Prof. Azman Samsudin, my co-supervisor Prof. Rosni Abdullah, my co-supervisor Dr. Kussay N. Mutter, Thank you. • My dear friends, Thank you. • A word of appreciation goes to https://stackexchange.com/, and https://arxiv.org/. • To accomplish this work and write this draft, I have been using several free softwares that vary from Operating System, Compilers, SDK, Applications, Libraries, to small scripts such as Linux kernel, GCC, Python, Gnuplot, LATEX, libquantum, and many oth- ers. Hence, to all those researchers and developers who have contributed in these free softwares, Thank you. Thank you ii TABLE OF CONTENTS ACKNOWLEDGEMENT ................................................................ ii TABLE OF CONTENTS ................................................................. iii LIST OF TABLES ......................................................................... vii LIST OF FIGURES ....................................................................... viii ABSTRAK ..................................................................................
    [Show full text]
  • Quantum Algorithms for Jet Clustering
    Quantum algorithms for jet clustering The MIT Faculty has made this article openly available. Please share how this access benefits you. Your story matters. Citation Wei, Annie Y. et al. “Quantum algorithms for jet clustering.” Physical Review D, 101, 9 (May 2020): 094015 © 2020 The Author(s) As Published 10.1103/PHYSREVD.101.094015 Publisher American Physical Society (APS) Version Final published version Citable link https://hdl.handle.net/1721.1/128245 Terms of Use Creative Commons Attribution 4.0 International license Detailed Terms https://creativecommons.org/licenses/by/4.0/ PHYSICAL REVIEW D 101, 094015 (2020) Quantum algorithms for jet clustering † ‡ Annie Y. Wei,1,* Preksha Naik ,1, Aram W. Harrow ,1, and Jesse Thaler 1,2,§ 1Center for Theoretical Physics, Massachusetts Institute of Technology, Cambridge, Massachusetts 02139, USA 2Department of Physics, Harvard University, Cambridge, Massachusetts 02138, USA (Received 10 September 2019; revised manuscript received 28 February 2020; accepted 15 April 2020; published 14 May 2020) Identifying jets formed in high-energy particle collisions requires solving optimization problems over potentially large numbers of final-state particles. In this work, we consider the possibility of using quantum computers to speed up jet clustering algorithms. Focusing on the case of electron-positron collisions, we consider a well-known event shape called thrust whose optimum corresponds to the most jetlike separating plane among a set of particles, thereby defining two hemisphere jets. We show how to formulate thrust both as a quantum annealing problem and as a Grover search problem. A key component of our analysis is the consideration of realistic models for interfacing classical data with a quantum algorithm.
    [Show full text]
  • Arxiv:1805.00582V1 [Quant-Ph] 2 May 2018 Daai Loihs[9 N H Unu Prxmt Piiaina Optimization Approximate Quantum the Architecture
    Simulating the dynamics of time-dependent Hamiltonians with a truncated Dyson series M´aria Kieferov´a Department of Physics and Astronomy, Macquarie University, Sydney, NSW 2109, Australia. and Department of Physics and Astronomy, University of Waterloo and Institute for Quantum Computing, Ontario N2L 3G1, Canada Artur Scherer and Dominic Berry Department of Physics and Astronomy, Macquarie University, Sydney, NSW 2109, Australia. (Dated: May 3, 2018) We provide a general method for efficiently simulating time-dependent Hamiltonian dynamics on a circuit-model based quantum computer. Our approach is based on approximating the truncated Dyson series of the evolution operator, extending the earlier proposal by Berry et al. [Phys. Rev. Lett. 114, 090502 (2015)] to evolution generated by explicitly time-dependent Hamiltonians. Two alterna- tive strategies are proposed to implement time ordering while exploiting the superposition principle for sampling the Hamiltonian at different times. The resource cost of our simulation algorithm retains the optimal logarithmic dependence on the inverse of the desired precision. I. INTRODUCTION Simulation of physical systems is envisioned to be one of the main applications for quantum computers [1]. Effective modeling of the dynamics and its generated time evolution is crucial to a deeper understanding of many-body systems, spin models, and quantum chemistry [2], and may thus have significant implications for many areas of chemistry and materials sciences. Simulation of the intrinsic Hamiltonian evolution of quantum systems was the first potential use of quantum computers suggested by Feynman [3] in 1982. Quantum simulation algorithms can model the evolution of a physical system with a complexity logarithmic in the dimension of the Hilbert space [4] (i.e.
    [Show full text]
  • Quantum Circuits Without Ancilla Qubits
    Optimization of S-boxes GOST R 34.12-2015 "Magma" quantum circuits without ancilla qubits Denisenko D.V., Nikitenkova M.V. 04.06.2019 Denisenko D.V., Nikitenkova M.V. TC 26, BMSTU 1 / 30 RusCrypto 2019 We have to implement cryptoalgorithms (AES, SHA et al.) in the form of quantum circuits for applying quantum algorithms (Grover, Simon) to a cryptoalgorithms. How to implement existing cryptographic algorithms in the form of quantum circuits? Denisenko D.V., Nikitenkova M.V. TC 26, BMSTU 2 / 30 Simplied-DES Simplied-DES two-round Feistel Network ESDES : V10 × V8 ! V8 with key K 2 V10. Quantum exhaustive key search with simplied-DES as a case study, [1] SDES implementation 60 qubits; Grover's key search with quantum simulator libquantum 61 qubits. Denisenko D.V., Nikitenkova M.V. Application of Grover's Quantum Algorithm for SDES Key Searching, [2] SDES implementation 18 qubits; Grover's key search with quantum simulator quipper 19 qubits. The work [2] showed that the minimum estimate of the number of qubits for nding the SDES key by Grover's quantum algorithm (18 + 1 = 19 qubits) is achievable; provides detailed examples of the application of the Grover algorithm, source code for implementations in Wolfram Mathematica and the quantum simulator quipper. Denisenko D.V., Nikitenkova M.V. TC 26, BMSTU 3 / 30 Quantum circuits for implementation of cryptographic transformations To apply quantum algorithms to cryptoalgorithms, such as ciphers, it is necessary to present the encryption function E : Vn × Vm ! Vm in the form of a quantum circuit. Denisenko D.V., Marshalko G.B., Nikitenkova M.V., Rudskoy V.I., Shishkin V.A.
    [Show full text]
  • Arxiv:2105.12767V1 [Quant-Ph] 26 May 2021 III
    Fault-Tolerant Quantum Simulations of Chemistry in First Quantization 1, 2, 3, 4, 5, 1, 1 1, Yuan Su, ∗ Dominic W. Berry, y Nathan Wiebe, z Nicholas Rubin, and Ryan Babbush x 1Google Research, Venice, CA 90291, United States 2Institute for Quantum Information and Matter, Caltech, Pasadena, CA 91125, United States 3Department of Physics and Astronomy, Macquarie University, Sydney, NSW 2109, Australia 4Department of Computer Science, University of Toronto, ON M5S 2E4, Canada 5Pacific Northwest National Laboratory, Richland, WA 99354, United States (Dated: May 28, 2021) Quantum simulations of chemistry in first quantization offer some important advantages over approaches in second quantization including faster convergence to the continuum limit and the op- portunity for practical simulations outside of the Born-Oppenheimer approximation. However, since all prior work on quantum simulation of chemistry in first quantization has been limited to asymp- totic analysis, it has been impossible to directly compare the resources required for these approaches to those required for the more commonly studied algorithms in second quantization. Here, we com- pile, optimize and analyze the finite resources required to implement two first quantized quantum algorithms for chemistry from Babbush et al. [1] that realize block encodings for the qubitization and interaction picture frameworks of Low et al. [2,3]. The two algorithms we study enable simulation with gate complexities of Oe(η8=3N 1=3t + η4=3N 2=3t) and Oe(η8=3N 1=3t) where η is the number of electrons, N is the number of plane wave basis functions, and t is the duration of time-evolution (t is linearly inverse to target precision when the goal is to estimate energies).
    [Show full text]
  • ICTS Programme on Quantum Information Processing 5 December 2007 to 4 January 2008
    Report on the ICTS Programme on Quantum Information Processing 5 December 2007 to 4 January 2008 Name of the programme: Quantum Information Processing Organisers: Jaikumar Radhakrishnan, School of Technology and Computer Science, TIFR, [email protected] Pranab Sen, School of Technology and Computer Science, TIFR, [email protected]. Duration: 5 December 2007 to 4 January 2008. Preamble: Quantum information processing is a thriving area of research that at- tempts to recast information processing in the quantum mechanical framework. Several remarkable recent works in this area have challenged our understand- ing of computation and shaken the foundations of well-established areas such as algorithms, complexity theory, and cryptography. Over the last decade, fol- lowing Peter Shor’s efficient quantum factoring algorithm (1994) and Grover’s quantum search algorithm (1996), several works have consolidated and gener- alised the insights obtained in these early works. In parallel, fundamental issues have been addressed in the area of quantum information theory, entanglement, quantum communication complexity, quantum cryptography etc. In 2002, TIFR organised a very successful successful event on a similar subject under the title Quantum Physics and Information Processing. Several developments have taken place in the area Quantum Information Pro- cessing in recent years. The purpose of the present program was to get the re- searchers in India, and TIFR in particular, acquainted with these developments. Structure of the program: The program was split between two locations: TIFR, Mum- bai, and India International Centre, New Delhi. We invited (to TIFR) experts who had made significant recent contributions, especially in areas where there is strong interest in TIFR, e.g.
    [Show full text]
  • Formal Meta-Level Analysis Framework for Quantum Programming Languages
    Available online at www.sciencedirect.com Electronic Notes in Theoretical Computer Science 338 (2018) 185–201 www.elsevier.com/locate/entcs Formal Meta-level Analysis Framework for Quantum Programming Languages Mohamed Yousri Mahmoud1 Amy P. Felty2 School of Electrical Engineering and Computer Science University of Ottawa, Ottawa, Canada Abstract The design and development of quantum programming languages (QPLs) is an important and active area of quantum computing. This paper addresses the problem of developing a standard methodology for verifying a QPL against major quantum computing concepts. We propose a framework dedicated to the meta-level analysis of QPLs, in particular, functional quantum languages. To this aim, we choose the Hybrid system as the tool in which to build our framework. Hybrid is a logical framework that supports higher-order abstract syntax, on top of which we develop an intuitionistic linear specification logic used for reasoning about QPLs. We provide a formal proof of some important meta-theoretic properties of this logic, and in addition, showcase a number of examples that can be tackled under the proposed framework. Keywords: Quantum Lambda Calculus, Linear Logic, Hybrid, Coq 1 Introduction Quantum computing has the potential to radically change the way computing is done. The existence of large-scale quantum machines would increase computa- tional power exponentially and provide unbreakable security systems [4]. Quantum programming languages (QPLs) are an integral element required for achieving suc- cessful quantum machines, as they introduce quantum concepts at a high-level, allowing better understanding of quantum aspects and increasing access to research in quantum domains. QPLs were initiated by Knill[ 11] who provided a number of conventions to express quantum algorithms (i.e., quantum pseudo-code).
    [Show full text]
  • Probabilistic Aspects of Quantum Programming
    Praca doktorska Probabilistyczne aspekty programowania kwantowego Jarosaw Adam Miszczak Promotor: Prof. dr hab in. Jerzy Klamka Instytut Informatyki Teoretycznej i Stosowanej Polskiej Akademii Nauk Marzec 2008 Doctoral thesis Probabilistic aspects of quantum programming Jarosaw Adam Miszczak Supervisor: Prof. dr hab in. Jerzy Klamka The Institute of Theoretical and Applied Informatics Polish Academy of Sciences March 2008 Contents Abstract vii Acknowledgements ix 1 Introduction 1 1.1 Quantum information theory . 1 1.2 Recent results . 3 1.2.1 Progress in quantum programming . 3 1.2.2 Limitations of quantum programming . 4 1.2.3 New methods for developing quantum algorithms . 5 1.3 Motivation and goals . 6 1.4 Thesis . 6 1.5 Organization of this thesis . 7 2 Models of quantum computation 9 2.1 Computability . 9 2.2 Turing machine . 11 2.2.1 Classical Turing machine . 11 2.2.2 Nondeterministic and probabilistic computation . 13 2.2.3 Quantum Turing machine . 16 2.2.4 Quantum complexity . 17 2.3 Quantum computational networks . 18 2.3.1 Boolean circuits . 18 2.3.2 Reversible circuits . 20 2.3.3 Quantum circuits . 21 2.4 Random access machines . 27 2.4.1 Classical RAM model . 27 2.4.2 Quantum RAM model . 27 2.4.3 Quantum pseudocode . 28 2.4.4 Quantum programming environment . 30 iv CONTENTS 2.5 Further reading . 31 3 Quantum programming languages 33 3.1 Introduction . 33 3.2 Requirements for quantum programming language . 34 3.3 Imperative quantum programming . 35 3.3.1 Quantum Computation Language . 35 3.3.2 LanQ . 40 3.4 Functional quantum programming .
    [Show full text]