New Quantum Algorithm Solving the NP Complete Problem

Size: px
Start display at page:

Download "New Quantum Algorithm Solving the NP Complete Problem"

Transcription

1 ISSN , p-adic Numbers, Ultrametric Analysis and Applications, 01, Vol. 4, No., pp c Pleiades Publishing, Ltd., 01. SHORT COMMUNICATIONS New Quantum Algorithm Solving the NP Complete Problem M. Ohya ** Department of Information Sciences Tokyo University of Science, Japan Received February 1, 01 Abstract We review the quantum chaos algorithm solving the NP-complete problems in polynomial time. This work has been done in the series of papers with Professor Igor Volovich for nearly ten years. DOI: /S Key words: quantum algorithm, NP-complete problem. Dedicated to 65th birthday of Professor Igor Volovich 1. INTRODUCTION I met Professor Igor Volovich nearly 0 years ago in Roma, Italy. Since then we discussed and worked together on quantum information and mathematical physics. He has open eye and flexible mind to catch the essence of existence, so he is one of the most important mathematical physicists in our time. I could always enjoy working together with him. Our most important joint work is to find the algorithm solving the NP-complete (NPC) problem, as reviewed in this paper. Any problem that can be solved in polynomial time by a nondeterministic Turing machine is polynomially transformed to an NPC problem [1]. These NPC problems are not known whether there exists an algorithm to solve this problem in a polynomial time for more than thirty years. Among the NP-complete problems, there are famous problems such as the knapsack problem, the travelling salesman problem, the integer programming problem, the subgraph isomorphism problem, the satisfiability (SAT) problem that have been studied for several decades, for which all known algorithms do not have polynomial running time in the length of the input. These NP-complete problems are known to be equivalent, and it has been considered that such problems are very difficult and probably need exponential time to solve them. In the series of papers [6 9, 11, 13, 16] we found the algorithms to solve the NPC problems in polynomial time. In this paper we review the essence of these works done with I. Volovich. It is widely believed that quantum computers are more efficient than classical computers. In particular, Shor [] gave a quantum algorithm to solve the factoring problem in polynomial time which is not NP-complete but NP-intermediate. Ohya and Volovich [6, 7] proposed a new method of quantum computation including a chaotic dynamics (amplifier). Our quantum algorithm succeeded to solve the SAT problem in a polynomial time. It was first shown in [8] that the SAT problem can be solved in polynomial time by using a quantum computing under the assumption that a special superposition of two orthogonal vectors can be physically detected. However, the problem one has to overcome there is that the desired output of computations could be a very small and one needs to amplify it to a reasonable large quantity so as to detect it. For this purpose, we proposed that the amplification in chaotic dynamics plays a constructive role in computations [6, 7]. Chaos and quantum decoherence are considered normally as the degrading effects which lead to an unwelcome increase of the error rate with the input size. However, in our case, it is not so. Our algorithm is constructive [10, 13] and uses the chaotic dynamics only as an amplifier of a certain amplitude. In Section, the SAT problem is explained. The quntum part of our algorithm is briefly reviewedin Section3,andthepartofamplification process by means of a chaos dynamics is discussed in Section 4. In the last section, we discuss further results on our algorithm [15, 16] and some application of ours to solve other problems such as factoring and searching problems [17 0]. The text was submitted by the author in English. ** mohy3331@yahoo.co.jp 161

2 16 OHYA. SAT PROBLEM For a given set X {x 1,,x n },anelementx k and its negation x k (k =1,,,n) are called literals and the set of all such literals is denoted by X = {x 1, x 1,,x n, x n }.AnelementC F(X ), the set of all subsets of X, is called a clause. We take a truth assignment to all variables x k. If one can assign the truth value to at least one element of C, then C is called satisfiable. When C is satisfiable, the truth value t(c) of C is regarded as true, otherwise, that of C is false. Take the truth values as true 1, false 0. Then C is satisfiable iff t(c) =1. Let L = {0, 1} be a Boolean lattice with usual join and meet ; ε ε := max{ε, ε },ε ε := min{ε, ε }, and t(x) be the truth value of a literal x in X. Namely, t is a Boolean homomorphism from X to {0, 1} with the property: Then the truth value of a clause C is written as t(x) t(x) =1, x X. t(c) x C t(x). Further the set C of all clauses C j (j =1,, m) is called satisfiable iff the meet of all truth values of C j is 1; t(c) m j=1t(c j )=1. Thus the SAT problem is written as follows: Definition 6. SAT Problem: Given a set X {x 1,,x n } and a set C = {C 1,C,,C m } of clauses, determine whether C is satisfiable or not. That is, this problem is to ask whether there exists a truth assignment t to make C satisfiable. 3. QUANTUM ALGORITHM Let 0 and 1 of the Boolean lattice L be denoted by the vectors 0 1 and 1 0 in the 0 1 Hilbert space C, respectively. That is, the vector 0 corresponds to falseness and 1 does to truth. An element x X can be denoted by 0 or 1, so by 0 or 1. In order to describe a clause C with at most n length by a quantum state, we need the n-tuple tensor product Hilbert space H n 1 C. For instance, in the case of n =, given C = {x 1,x } with an assignment x 1 =0and x =1, then the corresponding quantum state vector is 0 1, so that the quantum state vector describing C is generally written by C = x 1 x Hwith x k =0or 1 (k=1,). The quantum computationis performed by a unitary gate constructed from several fundamental gates such as Not gate, Controlled-Not gate, Controlled-Controlled Not gate [11]. Once X {x 1,,x n } and C = {C 1,C,,C m } are given, the SAT is to find the vector t (C) m j=1 x Cj t(x), where t(x) is 0 or 1 when x =0or 1, respectively, and t(x) t(y) t(x y), t(x) t(y) t(x y). We consider the quantum algorithm for the SAT problem. Since we have n variables x k (k =1,,n) and a quantum computation produces some dust bits, the assignments of the n variables and the l dusts are represented by n qubits and l qubits, respectively, in the Hilbert space n 1 C l 1 C. Moreover the resulting state vector t (C) should be added in the last qubit, so that the total Hilbert space is H n 1 C l 1 C C.

3 NEW QUANTUM ALGORITHM 163 Let us start the quantum computation of SAT problem from an initial vector v 0 n 1 0 l when C is composed of n Boolean variables x 1,,x n. We apply the discrete Fourier transformation denoted by U t n to the part of the Boolean variables of the vector v 0, then the 1 1 resulting state vector becomes v ( ) U t l 1 I v 0 = 1 n 1 ( ) l 1 0 0, where I is the identity matrix in C. This vector can be written as v = 1 n j=1 x j l Now, we perform the quantum computation to check the satisfiability,which willbe done by a unitary operator U t properly constructed by unitary gates. Then after the computation by U t,thevector v goes to v t U t v = 1 = 1 U t n j=1 x j l n j=1 x j l i=1 y i t (x 1,,x n ), where t (x 1,,x n ) t (C) because C contains x 1, x n, and y i are the dust bits produced by the computation. Note that the unitary operator U t is concretely constructed [10, 11, 13]. The final step to check the satisfiability of C is to apply the projection E n+l 1 I 1 1 to the state v t, mathematically equivalent, to compute the value v t E v t. If the vector E v t exists or the value v t E v t is not 0, then we conclude that C is satisfiable. The value of v t E v t is r/ with an integer r less than, which is the probability to find the result t(x) =1, and it is often very small and is difficult to be detected even when it is not zero, so that we desire to have some way to amplify this value, if it is not zero. Let us simplify our notations. After the step (ii) the quantum computer will be in the state v f = 1 q ϕ q ϕ 1 1, where ϕ 1 and ϕ 0 are normalized n + l qubit states and q = r/. Effectively our problem is reduced to the following 1 qubit problem. We have the state ψ = 1 q 0 + q 1 and we want to distinguish between the cases q =0and q>0 (small positive number). In order to amplify the no-zero q, we proposed to combine quantum computer with a chaotic dynamics amplifier. Such a quantum chaos computer is a new model of computations and we demonstrated that the amplification is possible in the polynomial time [6, 7, 11]. 4. AMPLIFICATION BY CHAOTIC DYNAMICS Various aspects of classical and quantum chaos have been the subject of numerous studies, see [11] and references therein. Chaotic behavior in a classical system usually is considered as an exponential sensitivity to initial conditions. It is this sensitivity that we would like to use to distinguish between the cases q =0and q>0 from the previous section.

4 164 OHYA Consider the so called logistic map which is given by the equation x n+1 = ax n (1 x n ) f(x), x n [0, 1]. The properties of the map depend on the parameter a. If we take, for example, a =3.71, then the Lyapunov exponent is positive, the trajectory is very sensitive to the initial value and one has the chaotic behavior [7]. It is important to notice that if the initial value x 0 =0, then x n =0for all n in the logistic map. It is known [3] that any classical algorithm can be implemented on quantum computer. Our quantum chaos computer will be consisting from two blocks. One block is the ordinary quantum computer performing computations with the output ψ = 1 q 0 + q 1. The second block is a computer performing computations of the classical logistic map. This two blocks should be connected in such a way that the state ψ first be transformed into the density matrix of the form ρ = q P 1 + ( 1 q ) P 0, where P 1 and P 0 are projectors to the state vectors 1 and 0. This connection is in fact nontrivial and actually it should be considered as the third block. One has to notice that P 1 and P 0 generate an Abelian algebra which can be considered as a classical system. In the second block the density matrix ρ above is interpreted as the initial data, and we apply the logistic map as ρ m = (I + f m (ρ)σ 3 ), where I is the identity matrix and σ 3 is the z-component of the Pauli matrix on C. To find a proper value m we finally measure the value of σ 3 in the state ρ m such that M m trρ m σ 3. After simple computation we obtain ρ m = (I + f m (q )σ 3 ), and M m = f m (q ). Thus the question is whether we can find such a m in polynomial steps of n satisfying the inequality M m 1 for very small but non-zero q. Here we have to remark that if one has q =0then ρ 0 = P 0 and we obtain M m =0for all m. If q 0, the stochastic dynamics leads to the amplification of the small magnitude q in such a way that it can be detected as is explained below. The transition from ρ 0 to ρ m is nonlinear and can be considered as a classical evolution because our algebra generated by P 0 and P 1 is abelian. The amplification can be done within at most n steps due to the following theorems. Since f m (q ) is x m of the logistic map x m+1 = f(x m ) with x 0 = q, we use the notation x m in the logistic map for simplicity. Theorem 1. For the logistic map x n+1 = ax n (1 x n ) with a [0, 4] and x 0 [0, 1], let x 0 be 1 and a set J be {0, 1,,,n, n}. If a is 3.71, then there exists an integer m in J satisfying x m > 1. Theorem. Let a and n be the same as in the above theorem. If there exists m 0 in J such that x m0 > 1, then m 0 > n 1 log According to these theorems, it isenoughtocheckthevaluex m (i.e., M m ) around the above m 0 when q is 1 for a large n. More generally, when q= k n with some integer k, it is similarly checked that n the value x m (M m ) becomes over 1 within at most n steps. So we can amplify the small q in polynominal steps. The proofs and other details are given in the book [11]. 5. CONCLUSION The complexity of the quantum algorithm for the SAT problem was considered by constructing unitary gates to compute the SAT problem. We also needed to consider the number of steps in the classical amplification process by using the logistic map performed on the resulting state obtained by quantum computation, which is the probabilistic part of the algorithm to distingish the cases q =0and q>0. Thus we found that all processes, i.e., quantum computation and amplification, has been done within polynomial steps to solve the SAT problem.

5 NEW QUANTUM ALGORITHM FURTHER STUDIES The above discussion could be descrbed by Language of the generalized qantum Turing machine, in which non-unitary dynamics can be involoved [15,16]. Recently, we found some incomplete points in the proof of Shor s factoring problem [18]. In that paper, we discussed the computational complexity of Shor s quantum algorithm, and we pointed out that there is a problem with the unitary implementation of the modular exponentiation and show that the complexity of the original Shor s algorithm is in fact not polynomial but exponential. To estimate the complexity of the modular exponentiation Shor counts only the number of squarings. However each squaring operation is rather complicated, and we have to compute the number of quantum gates to perform each squaring. Then we get the exponential complexity for the modular exponentiation. Then the complexity becomes exponential in the worst case. Moreover we found similar incompleteness even for the discussions using quantum circuits done by several authors, e.g., [4], after Shor. We are now working to prove the Shor s factoring problem by means of our quantum chaos algorithm [0]. REFERENCES 1. M. Garey and D. Johnson, Computers and Intractability a guide to the theory of NP-completeness (Freeman, 1979).. P. W. Shor, Algorithm for quantum computation : Discrete logarithm and factoring algorithm, in Proc. 35th Annual IEEE Symposium on Foundation of Computer Science, (1994). 3. D. Deutsch, Quantum theory, the Church-Turing principle and the universal quantum computer, Proc. Royal Soc. London A 400, (1985). 4. A. Ekert and R. Jozsa, Quantum computation and Shor s factoring algorithm, Rev. Mod. Phys. 68 (3), (1996). 5. E. Bernstein and U. Vazirani, Quantum complexity theory, Proc. 5th ACM Symp. Theory Comput., 11 0 (1993). 6. M.OhyaandI.V.Volovich, Quantum computing and chaotic amplification, J. Opt. B 5 (6), (003). 7. M.Ohya and I.V.Volovich, New quantum algorithm for studying NP-complete problems, Rep. Math. Phys. 5 (1), 5 33 (003). 8. M. Ohya and N. Masuda, NP problem in quantum algorithm, Open Syst. Inform. Dyn. 7 (1), (000). 9. L. Accardi and M. Ohya, A stochastic limit approach to the SAT problem, Open Syst. Inform. Dyn. 11, 1 16 (004). 10. L. Accardi and R. Sabbadini, On the Ohya-Masuda quantum SAT algorithm, Volterra Prepr. 43 (000). 11. M.OhyaandI.V.Volovich,Mathematical Foundation of Quantum Information and Computation and its Applications to Nano- and Bio-Systems (Springer-Verlag, TMP Series, 011). 1. C. H. Bennett, E. Bernstein, G. Brassard and U. Vazirani, Strengths and weaknesses of quantum computing, SICOMP 6 (5), (1997). 13. S. Iriyama and M. Ohya, Rigorous estimation of the computational complexity for OV SAT algorithm, Open Syst. Inform. Dyn. 15 (), (008). 14. S. Iriyama, T. Miyadera and M. Ohya, Note on a universal quantum Turing machine, Phys. Lett. A 37, (008). 15. S. Iriyama and M. Ohya, Language classes defined by generalized quantum Turing machine, Open Syst. Inform. Dyn. 15 (4), (008). 16. S. Iriyama, M. Ohya and I. V. Volovich, Generalized quantum Turing machine and its application to the SAT chaos algorithm, QP-PQ: Quantum Prob. White Noise Anal., Quantum Inform. Comput. 19, 04 5 (World Sci. Publ., 006). 17. S. Iriyama, M. Ohya and I. V. Volovich, On computational complexity of Shor s quantum factoring algorithm, TUS Preprint (01). 18. L. Accardi, S. Iriyama, M. Ohya and I. V. Volovich, Note on Shor s quantum factoring algorithm, TUS Preprint (01). 19. S. Iriyama, M. Ohya and I. V. Volovich, On quantum algorithm for binary search and its computational complexity, TUS Preprint (01). 0. Goto, S. Iriyama, M. Ohya and I. V. Volovich, New proof of the factoring algorithm, in preparation. 1. S. Iriyama and M. Ohya, The problem to construct unitary quantum Turing machine computing partial recursive functions, TUS Preprint (009).

Chapter 2 Algorithms and Computation

Chapter 2 Algorithms and Computation Chapter 2 Algorithms and Computation In this chapter, we first discuss the principles of algorithm and computation in general framework, common both in classical and quantum computers, then we go to the

More information

The P versus NP Problem in Quantum Physics

The P versus NP Problem in Quantum Physics NeuroQuantology December 04 Volume Issue 4 Page 350-354 350 The P versus NP Problem in Quantum Physics Daegene Song ABSTRACT Motivated by the fact that information is encoded and processed by physical

More information

Introduction to Quantum Computing

Introduction to Quantum Computing Introduction to Quantum Computing The lecture notes were prepared according to Peter Shor s papers Quantum Computing and Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a

More information

On Quantum Versions of Record-Breaking Algorithms for SAT

On Quantum Versions of Record-Breaking Algorithms for SAT On Quantum Versions of Record-Breaking Algorithms for SAT Evgeny Dantsin 1, Vladik Kreinovich 2, and Alexander Wolpert 1 1 Department of Computer Science, Roosevelt University Chicago, IL 60605, USA, {edantsin,awolpert}@roosevelt.edu

More information

Lecture Notes 4. Issued 8 March 2018

Lecture Notes 4. Issued 8 March 2018 CM30073 Advanced Algorithms and Complexity 1. Structure of the class NP Lecture Notes 4 Issued 8 March 2018 Recall that it is not known whether or not P = NP, the widely accepted hypothesis being that

More information

Introduction to Quantum Computing

Introduction to Quantum Computing Introduction to Quantum Computing Part I Emma Strubell http://cs.umaine.edu/~ema/quantum_tutorial.pdf April 12, 2011 Overview Outline What is quantum computing? Background Caveats Fundamental differences

More information

An Introduction to Quantum Computation and Quantum Information

An Introduction to Quantum Computation and Quantum Information An to and Graduate Group in Applied Math University of California, Davis March 13, 009 A bit of history Benioff 198 : First paper published mentioning quantum computing Feynman 198 : Use a quantum computer

More information

Non-Deterministic Time

Non-Deterministic Time Non-Deterministic Time Master Informatique 2016 1 Non-Deterministic Time Complexity Classes Reminder on DTM vs NDTM [Turing 1936] (q 0, x 0 ) (q 1, x 1 ) Deterministic (q n, x n ) Non-Deterministic (q

More information

An Architectural Framework For Quantum Algorithms Processing Unit (QAPU)

An Architectural Framework For Quantum Algorithms Processing Unit (QAPU) An Architectural Framework For Quantum s Processing Unit (QAPU) Mohammad Reza Soltan Aghaei, Zuriati Ahmad Zukarnain, Ali Mamat, and ishamuddin Zainuddin Abstract- The focus of this study is developing

More information

ROM-BASED COMPUTATION: QUANTUM VERSUS CLASSICAL

ROM-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 information

)j > Riley Tipton Perry University of New South Wales, Australia. World Scientific CHENNAI

)j > Riley Tipton Perry University of New South Wales, Australia. World Scientific CHENNAI Riley Tipton Perry University of New South Wales, Australia )j > World Scientific NEW JERSEY LONDON. SINGAPORE BEIJING SHANSHAI HONG K0N6 TAIPEI» CHENNAI Contents Acknowledgments xi 1. Introduction 1 1.1

More information

Quantum Algorithms Lecture #2. Stephen Jordan

Quantum Algorithms Lecture #2. Stephen Jordan Quantum Algorithms Lecture #2 Stephen Jordan Last Time Defined quantum circuit model. Argued it captures all of quantum computation. Developed some building blocks: Gate universality Controlled-unitaries

More information

Chapter 10. Quantum algorithms

Chapter 10. Quantum algorithms Chapter 10. Quantum algorithms Complex numbers: a quick review Definition: C = { a + b i : a, b R } where i = 1. Polar form of z = a + b i is z = re iθ, where r = z = a 2 + b 2 and θ = tan 1 y x Alternatively,

More information

Introduction to Quantum Computing

Introduction to Quantum Computing Introduction to Quantum Computing Petros Wallden Lecture 7: Complexity & Algorithms I 13th October 016 School of Informatics, University of Edinburgh Complexity - Computational Complexity: Classification

More information

Quantum Computing based on Tensor Products Overview and Introduction

Quantum Computing based on Tensor Products Overview and Introduction Quantum Computing based on Tensor Products Overview and Introduction Guillermo Morales Luna Computer Science Section CINVESTAV-IPN E-mail: gmorales@cs.cinvestav.mx 5-th International Workshop on Applied

More information

Quantum algorithms for computing short discrete logarithms and factoring RSA integers

Quantum algorithms for computing short discrete logarithms and factoring RSA integers Quantum algorithms for computing short discrete logarithms and factoring RSA integers Martin Ekerå, Johan Håstad February, 07 Abstract In this paper we generalize the quantum algorithm for computing short

More information

Compute the Fourier transform on the first register to get x {0,1} n x 0.

Compute the Fourier transform on the first register to get x {0,1} n x 0. CS 94 Recursive Fourier Sampling, Simon s Algorithm /5/009 Spring 009 Lecture 3 1 Review Recall that we can write any classical circuit x f(x) as a reversible circuit R f. We can view R f as a unitary

More information

An algorithm for the satisfiability problem of formulas in conjunctive normal form

An algorithm for the satisfiability problem of formulas in conjunctive normal form Journal of Algorithms 54 (2005) 40 44 www.elsevier.com/locate/jalgor An algorithm for the satisfiability problem of formulas in conjunctive normal form Rainer Schuler Abt. Theoretische Informatik, Universität

More information

The Sturm-Liouville eigenvalue problem and NP-complete problems in the quantum setting with queries

The Sturm-Liouville eigenvalue problem and NP-complete problems in the quantum setting with queries The Sturm-Liouville eigenvalue problem and NP-complete problems in the quantum setting with queries A. Papageorgiou 1 and H. Woźniakowski 2 1,2 Department of Computer Science, Columbia University, New

More information

APPLYING QUANTUM COMPUTER FOR THE REALIZATION OF SPSA ALGORITHM Oleg Granichin, Alexey Wladimirovich

APPLYING QUANTUM COMPUTER FOR THE REALIZATION OF SPSA ALGORITHM Oleg Granichin, Alexey Wladimirovich APPLYING QUANTUM COMPUTER FOR THE REALIZATION OF SPSA ALGORITHM Oleg Granichin, Alexey Wladimirovich Department of Mathematics and Mechanics St. Petersburg State University Abstract The estimates of the

More information

NP Complete Problems. COMP 215 Lecture 20

NP Complete Problems. COMP 215 Lecture 20 NP Complete Problems COMP 215 Lecture 20 Complexity Theory Complexity theory is a research area unto itself. The central project is classifying problems as either tractable or intractable. Tractable Worst

More information

Introduction to Complexity Theory

Introduction to Complexity Theory Introduction to Complexity Theory Read K & S Chapter 6. Most computational problems you will face your life are solvable (decidable). We have yet to address whether a problem is easy or hard. Complexity

More information

Introduction to Quantum Algorithms Part I: Quantum Gates and Simon s Algorithm

Introduction to Quantum Algorithms Part I: Quantum Gates and Simon s Algorithm Part I: Quantum Gates and Simon s Algorithm Martin Rötteler NEC Laboratories America, Inc. 4 Independence Way, Suite 00 Princeton, NJ 08540, U.S.A. International Summer School on Quantum Information, Max-Planck-Institut

More information

NP-completeness. Chapter 34. Sergey Bereg

NP-completeness. Chapter 34. Sergey Bereg NP-completeness Chapter 34 Sergey Bereg Oct 2017 Examples Some problems admit polynomial time algorithms, i.e. O(n k ) running time where n is the input size. We will study a class of NP-complete problems

More information

Complex numbers: a quick review. Chapter 10. Quantum algorithms. Definition: where i = 1. Polar form of z = a + b i is z = re iθ, where

Complex numbers: a quick review. Chapter 10. Quantum algorithms. Definition: where i = 1. Polar form of z = a + b i is z = re iθ, where Chapter 0 Quantum algorithms Complex numbers: a quick review / 4 / 4 Definition: C = { a + b i : a, b R } where i = Polar form of z = a + b i is z = re iθ, where r = z = a + b and θ = tan y x Alternatively,

More information

10 Quantum Complexity Theory I

10 Quantum Complexity Theory I 10 Quantum Complexity Theory I Just as the theory of computability had its foundations in the Church-Turing thesis, computational complexity theory rests upon a modern strengthening of this thesis, which

More information

arxiv:quant-ph/ v1 16 Nov 1995

arxiv:quant-ph/ v1 16 Nov 1995 Quantum Networks for Elementary Arithmetic Operations Vlatko Vedral, Adriano Barenco and Artur Ekert Clarendon Laboratory, Department of Physics University of Oxford, Oxford, OX1 3PU, U.K. (Submitted to

More information

Fourier Sampling & Simon s Algorithm

Fourier Sampling & Simon s Algorithm Chapter 4 Fourier Sampling & Simon s Algorithm 4.1 Reversible Computation A quantum circuit acting on n qubits is described by an n n unitary operator U. Since U is unitary, UU = U U = I. This implies

More information

NP-Completeness. NP-Completeness 1

NP-Completeness. NP-Completeness 1 NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and Johnson, W.H. Freeman and Company, 1979. NP-Completeness 1 General Problems, Input Size and

More information

THE RESEARCH OF QUANTUM PHASE ESTIMATION

THE RESEARCH OF QUANTUM PHASE ESTIMATION THE RESEARCH OF QUANTUM PHASE ESTIMATION ALGORITHM Zhuang Jiayu 1,Zhao Junsuo,XuFanjiang, QiaoPeng& Hu Haiying 1 Science and Technology on Integrated Information System Laboratory, Institute of Software

More information

Notes for Lecture 21

Notes for Lecture 21 U.C. Berkeley CS170: Intro to CS Theory Handout N21 Professor Luca Trevisan November 20, 2001 Notes for Lecture 21 1 Tractable and Intractable Problems So far, almost all of the problems that we have studied

More information

Representing fuzzy structures in quantum computation with mixed states

Representing fuzzy structures in quantum computation with mixed states Representing fuzzy structures in quantum computation with mixed states Hector Freytes Fellow of CONICET-Argentina Email: hfreytes@gmailcom Antonio Arico Department of Mathematics Viale Merello 9, 913 Caglari

More information

NQP = co-c = P. Electronic Colloquium on Computational Complexity, Report No. 73 (1998)

NQP = co-c = P. Electronic Colloquium on Computational Complexity, Report No. 73 (1998) NQP = co-c = P Electronic Colloquium on Computational Complexity, Report No. 73 (1998) Tomoyuki Yamakami and Andrew C. Yao Department of Computer Science, Princeton University Princeton, NJ 08544 December

More information

CS 320, Fall Dr. Geri Georg, Instructor 320 NP 1

CS 320, Fall Dr. Geri Georg, Instructor 320 NP 1 NP CS 320, Fall 2017 Dr. Geri Georg, Instructor georg@colostate.edu 320 NP 1 NP Complete A class of problems where: No polynomial time algorithm has been discovered No proof that one doesn t exist 320

More information

Quantum algorithms for testing Boolean functions

Quantum algorithms for testing Boolean functions Quantum algorithms for testing Boolean functions Dominik F. Floess Erika Andersson SUPA, School of Engineering and Physical Sciences Heriot-Watt University, Edinburgh EH4 4AS, United Kingdom dominikfloess@gmx.de

More information

Introduction to Quantum Computing

Introduction to Quantum Computing Introduction to Quantum Computing Part II Emma Strubell http://cs.umaine.edu/~ema/quantum_tutorial.pdf April 13, 2011 Overview Outline Grover s Algorithm Quantum search A worked example Simon s algorithm

More information

Comp487/587 - Boolean Formulas

Comp487/587 - Boolean Formulas Comp487/587 - Boolean Formulas 1 Logic and SAT 1.1 What is a Boolean Formula Logic is a way through which we can analyze and reason about simple or complicated events. In particular, we are interested

More information

Theory of Computation Chapter 9

Theory of Computation Chapter 9 0-0 Theory of Computation Chapter 9 Guan-Shieng Huang May 12, 2003 NP-completeness Problems NP: the class of languages decided by nondeterministic Turing machine in polynomial time NP-completeness: Cook

More information

Chapter 1. Introduction

Chapter 1. Introduction Chapter 1 Introduction Symbolical artificial intelligence is a field of computer science that is highly related to quantum computation. At first glance, this statement appears to be a contradiction. However,

More information

Quantum Versions of k-csp Algorithms: a First Step Towards Quantum Algorithms for Interval-Related Constraint Satisfaction Problems

Quantum Versions of k-csp Algorithms: a First Step Towards Quantum Algorithms for Interval-Related Constraint Satisfaction Problems Quantum Versions of k-csp Algorithms: a First Step Towards Quantum Algorithms for Interval-Related Constraint Satisfaction Problems ABSTRACT Evgeny Dantsin Alexander Wolpert Department of Computer Science

More information

A Simple Proof of P versus NP

A Simple Proof of P versus NP A Simple Proof of P versus NP Frank Vega To cite this version: Frank Vega. A Simple Proof of P versus NP. 2016. HAL Id: hal-01281254 https://hal.archives-ouvertes.fr/hal-01281254 Submitted

More information

Quantum Algorithms. 1. Definition of the Subject and Its Importance. 4. Factoring, Discrete Logarithms, and the Abelian Hidden Subgroup Problem

Quantum Algorithms. 1. Definition of the Subject and Its Importance. 4. Factoring, Discrete Logarithms, and the Abelian Hidden Subgroup Problem Quantum Algorithms Michele Mosca Institute for Quantum Computing and Dept. of Combinatorics & Optimization University of Waterloo and St. Jerome s University, and Perimeter Institute for Theoretical Physics

More information

1.1 P, NP, and NP-complete

1.1 P, NP, and NP-complete CSC5160: Combinatorial Optimization and Approximation Algorithms Topic: Introduction to NP-complete Problems Date: 11/01/2008 Lecturer: Lap Chi Lau Scribe: Jerry Jilin Le This lecture gives a general introduction

More information

Quantum Computation, NP-Completeness and physical reality [1] [2] [3]

Quantum Computation, NP-Completeness and physical reality [1] [2] [3] Quantum Computation, NP-Completeness and physical reality [1] [2] [3] Compiled by Saman Zarandioon samanz@rutgers.edu 1 Introduction The NP versus P question is one of the most fundamental questions in

More information

Introduction of Quantum-inspired Evolutionary Algorithm

Introduction of Quantum-inspired Evolutionary Algorithm FIRA Robot Congress Seoul, Korea Introduction of Quantum-inspired Evolutionary Algorithm Kuk-Hyun Han and Jong-Hwan Kim Department of Electrical Engineering and Computer Science, Korea Advanced Institute

More information

Undecidable Problems. Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, / 65

Undecidable Problems. Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, / 65 Undecidable Problems Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, 2018 1/ 65 Algorithmically Solvable Problems Let us assume we have a problem P. If there is an algorithm solving

More information

NP-Completeness. f(n) \ n n sec sec sec. n sec 24.3 sec 5.2 mins. 2 n sec 17.9 mins 35.

NP-Completeness. f(n) \ n n sec sec sec. n sec 24.3 sec 5.2 mins. 2 n sec 17.9 mins 35. NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and Johnson, W.H. Freeman and Company, 1979. NP-Completeness 1 General Problems, Input Size and

More information

Quantum Computation. Michael A. Nielsen. University of Queensland

Quantum Computation. Michael A. Nielsen. University of Queensland Quantum Computation Michael A. Nielsen University of Queensland Goals: 1. To eplain the quantum circuit model of computation. 2. To eplain Deutsch s algorithm. 3. To eplain an alternate model of quantum

More information

The query register and working memory together form the accessible memory, denoted H A. Thus the state of the algorithm is described by a vector

The query register and working memory together form the accessible memory, denoted H A. Thus the state of the algorithm is described by a vector 1 Query model In the quantum query model we wish to compute some function f and we access the input through queries. The complexity of f is the number of queries needed to compute f on a worst-case input

More information

arxiv:quant-ph/ v5 6 Apr 2005

arxiv:quant-ph/ v5 6 Apr 2005 Nonunitary quantum circuit Hiroaki Terashima 1, and Masahito Ueda 1, arxiv:quant-ph/3461v5 6 Apr 5 1 Department of Physics, Tokyo Institute of Technology, Tokyo 15-8551, Japan CREST, Japan Science and

More information

NP Completeness and Approximation Algorithms

NP Completeness and Approximation Algorithms Winter School on Optimization Techniques December 15-20, 2016 Organized by ACMU, ISI and IEEE CEDA NP Completeness and Approximation Algorithms Susmita Sur-Kolay Advanced Computing and Microelectronic

More information

CS21 Decidability and Tractability

CS21 Decidability and Tractability CS21 Decidability and Tractability Lecture 20 February 23, 2018 February 23, 2018 CS21 Lecture 20 1 Outline the complexity class NP NP-complete probelems: Subset Sum NP-complete problems: NAE-3-SAT, max

More information

Quantum Computing. Thorsten Altenkirch

Quantum Computing. Thorsten Altenkirch Quantum Computing Thorsten Altenkirch Is Computation universal? Alonzo Church - calculus Alan Turing Turing machines computable functions The Church-Turing thesis All computational formalisms define the

More information

The Complexity of Maximum. Matroid-Greedoid Intersection and. Weighted Greedoid Maximization

The Complexity of Maximum. Matroid-Greedoid Intersection and. Weighted Greedoid Maximization Department of Computer Science Series of Publications C Report C-2004-2 The Complexity of Maximum Matroid-Greedoid Intersection and Weighted Greedoid Maximization Taneli Mielikäinen Esko Ukkonen University

More information

Lecture 22: Quantum computational complexity

Lecture 22: Quantum computational complexity CPSC 519/619: Quantum Computation John Watrous, University of Calgary Lecture 22: Quantum computational complexity April 11, 2006 This will be the last lecture of the course I hope you have enjoyed the

More information

Computational Complexity

Computational Complexity p. 1/24 Computational Complexity The most sharp distinction in the theory of computation is between computable and noncomputable functions; that is, between possible and impossible. From the example of

More information

Quantum algorithms (CO 781, Winter 2008) Prof. Andrew Childs, University of Waterloo LECTURE 1: Quantum circuits and the abelian QFT

Quantum algorithms (CO 781, Winter 2008) Prof. Andrew Childs, University of Waterloo LECTURE 1: Quantum circuits and the abelian QFT Quantum algorithms (CO 78, Winter 008) Prof. Andrew Childs, University of Waterloo LECTURE : Quantum circuits and the abelian QFT This is a course on quantum algorithms. It is intended for graduate students

More information

Quantum Searching. Robert-Jan Slager and Thomas Beuman. 24 november 2009

Quantum Searching. Robert-Jan Slager and Thomas Beuman. 24 november 2009 Quantum Searching Robert-Jan Slager and Thomas Beuman 24 november 2009 1 Introduction Quantum computers promise a significant speed-up over classical computers, since calculations can be done simultaneously.

More information

Quantum Complexity Theory. Wim van Dam HP Labs MSRI UC Berkeley SQUINT 3 June 16, 2003

Quantum Complexity Theory. Wim van Dam HP Labs MSRI UC Berkeley SQUINT 3 June 16, 2003 Quantum Complexity Theory Wim van Dam HP Labs MSRI UC Berkeley SQUINT 3 June 16, 2003 Complexity Theory Complexity theory investigates what resources (time, space, randomness, etc.) are required to solve

More information

A Probabilistic Algorithm for -SAT Based on Limited Local Search and Restart

A Probabilistic Algorithm for -SAT Based on Limited Local Search and Restart A Probabilistic Algorithm for -SAT Based on Limited Local Search and Restart Uwe Schöning Universität Ulm, Abteilung Theoretische Informatik James-Franck-Ring, D-89069 Ulm, Germany e-mail: schoenin@informatik.uni-ulm.de

More information

COP 4531 Complexity & Analysis of Data Structures & Algorithms

COP 4531 Complexity & Analysis of Data Structures & Algorithms COP 4531 Complexity & Analysis of Data Structures & Algorithms Lecture 18 Reductions and NP-completeness Thanks to Kevin Wayne and the text authors who contributed to these slides Classify Problems According

More information

Short Course in Quantum Information Lecture 5

Short Course in Quantum Information Lecture 5 Short Course in Quantum Information Lecture 5 Quantum Algorithms Prof. Andrew Landahl University of New Mexico Course Info All materials downloadable @ website http://info.phys.unm.edu/~deutschgroup/deutschclasses.html

More information

NP-Complete problems

NP-Complete problems NP-Complete problems NP-complete problems (NPC): A subset of NP. If any NP-complete problem can be solved in polynomial time, then every problem in NP has a polynomial time solution. NP-complete languages

More information

Unit 1A: Computational Complexity

Unit 1A: Computational Complexity Unit 1A: Computational Complexity Course contents: Computational complexity NP-completeness Algorithmic Paradigms Readings Chapters 3, 4, and 5 Unit 1A 1 O: Upper Bounding Function Def: f(n)= O(g(n)) if

More information

NP-Completeness. Andreas Klappenecker. [based on slides by Prof. Welch]

NP-Completeness. Andreas Klappenecker. [based on slides by Prof. Welch] NP-Completeness Andreas Klappenecker [based on slides by Prof. Welch] 1 Prelude: Informal Discussion (Incidentally, we will never get very formal in this course) 2 Polynomial Time Algorithms Most of the

More information

1. Introduction Recap

1. Introduction Recap 1. Introduction Recap 1. Tractable and intractable problems polynomial-boundness: O(n k ) 2. NP-complete problems informal definition 3. Examples of P vs. NP difference may appear only slightly 4. Optimization

More information

Show that the following problems are NP-complete

Show that the following problems are NP-complete Show that the following problems are NP-complete April 7, 2018 Below is a list of 30 exercises in which you are asked to prove that some problem is NP-complete. The goal is to better understand the theory

More information

Simulation of quantum computers with probabilistic models

Simulation of quantum computers with probabilistic models Simulation of quantum computers with probabilistic models Vlad Gheorghiu Department of Physics Carnegie Mellon University Pittsburgh, PA 15213, U.S.A. April 6, 2010 Vlad Gheorghiu (CMU) Simulation of quantum

More information

arxiv:quant-ph/ v1 23 Dec 2001

arxiv:quant-ph/ v1 23 Dec 2001 From Monte Carlo to Quantum Computation Stefan Heinrich arxiv:quant-ph/0112152v1 23 Dec 2001 Abstract Fachbereich Informatik Universität Kaiserslautern D-67653 Kaiserslautern, Germany e-mail: heinrich@informatik.uni-kl.de

More information

Introduction. Pvs.NPExample

Introduction. Pvs.NPExample Introduction Computer Science & Engineering 423/823 Design and Analysis of Algorithms Lecture 09 NP-Completeness (Chapter 34) Stephen Scott (Adapted from Vinodchandran N. Variyam) sscott@cse.unl.edu I

More information

Quantum-resistant cryptography

Quantum-resistant cryptography Quantum-resistant cryptography Background: In quantum computers, states are represented as vectors in a Hilbert space. Quantum gates act on the space and allow us to manipulate quantum states with combination

More information

SAT, Coloring, Hamiltonian Cycle, TSP

SAT, Coloring, Hamiltonian Cycle, TSP 1 SAT, Coloring, Hamiltonian Cycle, TSP Slides by Carl Kingsford Apr. 28, 2014 Sects. 8.2, 8.7, 8.5 2 Boolean Formulas Boolean Formulas: Variables: x 1, x 2, x 3 (can be either true or false) Terms: t

More information

Lecture 4: Elementary Quantum Algorithms

Lecture 4: Elementary Quantum Algorithms CS 880: Quantum Information Processing 9/13/010 Lecture 4: Elementary Quantum Algorithms Instructor: Dieter van Melkebeek Scribe: Kenneth Rudinger This lecture introduces several simple quantum algorithms.

More information

Shor s Prime Factorization Algorithm

Shor s Prime Factorization Algorithm Shor s Prime Factorization Algorithm Bay Area Quantum Computing Meetup - 08/17/2017 Harley Patton Outline Why is factorization important? Shor s Algorithm Reduction to Order Finding Order Finding Algorithm

More information

Summer School on Introduction to Algorithms and Optimization Techniques July 4-12, 2017 Organized by ACMU, ISI and IEEE CEDA.

Summer School on Introduction to Algorithms and Optimization Techniques July 4-12, 2017 Organized by ACMU, ISI and IEEE CEDA. Summer School on Introduction to Algorithms and Optimization Techniques July 4-12, 2017 Organized by ACMU, ISI and IEEE CEDA NP Completeness Susmita Sur-Kolay Advanced Computing and Microelectronics Unit

More information

Spring Lecture 21 NP-Complete Problems

Spring Lecture 21 NP-Complete Problems CISC 320 Introduction to Algorithms Spring 2014 Lecture 21 NP-Complete Problems 1 We discuss some hard problems: how hard? (computational complexity) what makes them hard? any solutions? Definitions Decision

More information

Introduction to Quantum Information, Quantum Computation, and Its Application to Cryptography. D. J. Guan

Introduction to Quantum Information, Quantum Computation, and Its Application to Cryptography. D. J. Guan Introduction to Quantum Information, Quantum Computation, and Its Application to Cryptography D. J. Guan Abstract The development of quantum algorithms and quantum information theory, as well as the design

More information

1 Distributional problems

1 Distributional problems CSCI 5170: Computational Complexity Lecture 6 The Chinese University of Hong Kong, Spring 2016 23 February 2016 The theory of NP-completeness has been applied to explain why brute-force search is essentially

More information

Theory of Computation CS3102 Spring 2014 A tale of computers, math, problem solving, life, love and tragic death

Theory of Computation CS3102 Spring 2014 A tale of computers, math, problem solving, life, love and tragic death Theory of Computation CS3102 Spring 2014 A tale of computers, math, problem solving, life, love and tragic death Nathan Brunelle Department of Computer Science University of Virginia www.cs.virginia.edu/~njb2b/theory

More information

an efficient procedure for the decision problem. We illustrate this phenomenon for the Satisfiability problem.

an efficient procedure for the decision problem. We illustrate this phenomenon for the Satisfiability problem. 1 More on NP In this set of lecture notes, we examine the class NP in more detail. We give a characterization of NP which justifies the guess and verify paradigm, and study the complexity of solving search

More information

Harvard CS 121 and CSCI E-121 Lecture 22: The P vs. NP Question and NP-completeness

Harvard CS 121 and CSCI E-121 Lecture 22: The P vs. NP Question and NP-completeness Harvard CS 121 and CSCI E-121 Lecture 22: The P vs. NP Question and NP-completeness Harry Lewis November 19, 2013 Reading: Sipser 7.4, 7.5. For culture : Computers and Intractability: A Guide to the Theory

More information

Quantum Neural Network

Quantum Neural Network Quantum Neural Network - Optical Neural Networks operating at the Quantum Limit - Preface We describe the basic concepts, operational principles and expected performance of a novel computing machine, quantum

More information

Quantum Algorithms Lecture #3. Stephen Jordan

Quantum Algorithms Lecture #3. Stephen Jordan Quantum Algorithms Lecture #3 Stephen Jordan Summary of Lecture 1 Defined quantum circuit model. Argued it captures all of quantum computation. Developed some building blocks: Gate universality Controlled-unitaries

More information

Ph 219b/CS 219b. Exercises Due: Wednesday 11 February 2009

Ph 219b/CS 219b. Exercises Due: Wednesday 11 February 2009 1 Ph 219b/CS 219b Exercises Due: Wednesday 11 February 2009 5.1 The peak in the Fourier transform In the period finding algorithm we prepared the periodic state A 1 1 x 0 + jr, (1) A j=0 where A is the

More information

Graph Non-Isomorphism Has a Succinct Quantum Certificate

Graph Non-Isomorphism Has a Succinct Quantum Certificate Graph Non-Isomorphism Has a Succinct Quantum Certificate Tatsuaki Okamoto Keisuke Tanaka Summary This paper presents the first quantum computational characterization of the Graph Non-Isomorphism problem

More information

Logical error rate in the Pauli twirling approximation

Logical error rate in the Pauli twirling approximation Logical error rate in the Pauli twirling approximation Amara Katabarwa and Michael R. Geller Department of Physics and Astronomy, University of Georgia, Athens, Georgia 30602, USA (Dated: April 10, 2015)

More information

A Duality between Clause Width and Clause Density for SAT

A Duality between Clause Width and Clause Density for SAT A Duality between Clause Width and Clause Density for SAT Chris Calabro, Russell Impagliazzo, Ramamohan Paturi University of California, San Diego 9500 Gilman Drive, La Jolla, CA 92093 ccalabro,russell,paturi

More information

6.896 Quantum Complexity Theory November 11, Lecture 20

6.896 Quantum Complexity Theory November 11, Lecture 20 6.896 Quantum Complexity Theory November, 2008 Lecturer: Scott Aaronson Lecture 20 Last Time In the previous lecture, we saw the result of Aaronson and Watrous that showed that in the presence of closed

More information

Design and Analysis of Algorithms

Design and Analysis of Algorithms Design and Analysis of Algorithms CSE 5311 Lecture 25 NP Completeness Junzhou Huang, Ph.D. Department of Computer Science and Engineering CSE5311 Design and Analysis of Algorithms 1 NP-Completeness Some

More information

CHAPTER 3 FUNDAMENTALS OF COMPUTATIONAL COMPLEXITY. E. Amaldi Foundations of Operations Research Politecnico di Milano 1

CHAPTER 3 FUNDAMENTALS OF COMPUTATIONAL COMPLEXITY. E. Amaldi Foundations of Operations Research Politecnico di Milano 1 CHAPTER 3 FUNDAMENTALS OF COMPUTATIONAL COMPLEXITY E. Amaldi Foundations of Operations Research Politecnico di Milano 1 Goal: Evaluate the computational requirements (this course s focus: time) to solve

More information

6.080/6.089 GITCS May 6-8, Lecture 22/23. α 0 + β 1. α 2 + β 2 = 1

6.080/6.089 GITCS May 6-8, Lecture 22/23. α 0 + β 1. α 2 + β 2 = 1 6.080/6.089 GITCS May 6-8, 2008 Lecturer: Scott Aaronson Lecture 22/23 Scribe: Chris Granade 1 Quantum Mechanics 1.1 Quantum states of n qubits If you have an object that can be in two perfectly distinguishable

More information

P P P NP-Hard: L is NP-hard if for all L NP, L L. Thus, if we could solve L in polynomial. Cook's Theorem and Reductions

P P P NP-Hard: L is NP-hard if for all L NP, L L. Thus, if we could solve L in polynomial. Cook's Theorem and Reductions Summary of the previous lecture Recall that we mentioned the following topics: P: is the set of decision problems (or languages) that are solvable in polynomial time. NP: is the set of decision problems

More information

Gates for Adiabatic Quantum Computing

Gates 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 information

Entanglement and Quantum Computation

Entanglement and Quantum Computation Appearing in Geometric Issues in the Foundations of Science eds. S. Huggett, L. Mason, K. P. Tod, S. T. Tsou and N. M. J. Woodhouse, Oxford University Press 1997. Entanglement and Quantum Computation Richard

More information

COMPUTATIONAL COMPLEXITY

COMPUTATIONAL COMPLEXITY ATHEATICS: CONCEPTS, AND FOUNDATIONS Vol. III - Computational Complexity - Osamu Watanabe COPUTATIONAL COPLEXITY Osamu Watanabe Tokyo Institute of Technology, Tokyo, Japan Keywords: {deterministic, randomized,

More information

P, NP, NP-Complete. Ruth Anderson

P, NP, NP-Complete. Ruth Anderson P, NP, NP-Complete Ruth Anderson A Few Problems: Euler Circuits Hamiltonian Circuits Intractability: P and NP NP-Complete What now? Today s Agenda 2 Try it! Which of these can you draw (trace all edges)

More information

Extended Superposed Quantum State Initialization Using Disjoint Prime Implicants

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

More information

Computability and Complexity Theory

Computability and Complexity Theory Discrete Math for Bioinformatics WS 09/10:, by A Bockmayr/K Reinert, January 27, 2010, 18:39 9001 Computability and Complexity Theory Computability and complexity Computability theory What problems can

More information

Non-Approximability Results (2 nd part) 1/19

Non-Approximability Results (2 nd part) 1/19 Non-Approximability Results (2 nd part) 1/19 Summary - The PCP theorem - Application: Non-approximability of MAXIMUM 3-SAT 2/19 Non deterministic TM - A TM where it is possible to associate more than one

More information