Quantum Counters Smita Krishnaswamy Igor L. Markov John P. Hayes.

Slides:



Advertisements
Similar presentations
Puzzle Twin primes are two prime numbers whose difference is two.
Advertisements

Shortest Vector In A Lattice is NP-Hard to approximate
MATH 224 – Discrete Mathematics
Principal Component Analysis Based on L1-Norm Maximization Nojun Kwak IEEE Transactions on Pattern Analysis and Machine Intelligence, 2008.
1 1 CDT314 FABER Formal Languages, Automata and Models of Computation Lecture 3 School of Innovation, Design and Engineering Mälardalen University 2012.
Bounds on Code Length Theorem: Let l ∗ 1, l ∗ 2,..., l ∗ m be optimal codeword lengths for a source distribution p and a D-ary alphabet, and let L ∗ be.
Computability and Complexity
Divide and Conquer. Recall Complexity Analysis – Comparison of algorithm – Big O Simplification From source code – Recursive.
Classical and Quantum Automata Abuzer Yakaryılmaz Advisor: Prof. Cem Say.
Theoretical Program Checking Greg Bronevetsky. Background The field of Program Checking is about 13 years old. Pioneered by Manuel Blum, Hal Wasserman,
Nattee Niparnan. Recall  Complexity Analysis  Comparison of Two Algos  Big O  Simplification  From source code  Recursive.
Complexity 15-1 Complexity Andrei Bulatov Hierarchy Theorem.
Complexity 11-1 Complexity Andrei Bulatov Space Complexity.
Quantum Phase Estimation using Multivalued Logic.
Introduction to Computability Theory
Chapter 3 Growth of Functions
Two-Qubit Quantum Circuits Vivek V. Shende Igor L. Markov Stephen S. Bullock.
On Uniform Amplification of Hardness in NP Luca Trevisan STOC 05 Paper Review Present by Hai Xu.
DARPA Scalable Simplification of Reversible Circuits Vivek Shende, Aditya Prasad, Igor Markov, and John Hayes The Univ. of Michigan, EECS.
High-Performance Simulation of Quantum Computation using QuIDDs George F. Viamontes, Manoj Rajagopalan, Igor L. Markov, and John P. Hayes Advanced Computer.
CHAPTER 4 Decidability Contents Decidable Languages
Quantum Automata Formalism. These are general questions related to complexity of quantum algorithms, combinational and sequential.
EECS 598: Background in Theory of Computation Igor L. Markov and John P. Hayes
“Both Toffoli and CNOT need little help to do universal QC” (following a paper by the same title by Yaoyun Shi) paper.
Complexity 19-1 Parallel Computation Complexity Andrei Bulatov.
Anuj Dawar.
Symbolic Reduction of Quantum Circuits. Motivation In classical computation, it is desirable to find a “minimal” circuit to compute a given function In.
Foundations of Privacy Lecture 11 Lecturer: Moni Naor.
An Arbitrary Two-qubit Computation in 23 Elementary Gates or Less Stephen S. Bullock and Igor L. Markov University of Michigan Departments of Mathematics.
Introduction to Quantum logic (2) Yong-woo Choi.
ROM-based computations: quantum versus classical B.C. Travaglione, M.A.Nielsen, H.M. Wiseman, and A. Ambainis.
Classical Versus Quantum. Goal: Fast, low-cost implementation of useful algorithms using standard components (gates) and design techniques Classical Logic.
Chapter 2 The Fundamentals: Algorithms, the Integers, and Matrices
Outline Main result Quantum computation and quantum circuits Feynman’s sum over paths Polynomials QuPol program “Quantum Polynomials” Quantum polynomials.
Randomized Turing Machines
Analysis of Algorithms
Quantum Computing MAS 725 Hartmut Klauck NTU
Télécom 2A – Algo Complexity (1) Time Complexity and the divide and conquer strategy Or : how to measure algorithm run-time And : design efficient algorithms.
Analysis of Algorithms CSCI Previous Evaluations of Programs Correctness – does the algorithm do what it is supposed to do? Generality – does it.
1 Introduction to Quantum Information Processing CS 467 / CS 667 Phys 467 / Phys 767 C&O 481 / C&O 681 Richard Cleve DC 3524 Course.
Monte Carlo Methods So far we have discussed Monte Carlo methods based on a uniform distribution of random numbers on the interval [0,1] p(x) = 1 0  x.
Quantum Computing MAS 725 Hartmut Klauck NTU
Theory of Computing Lecture 21 MAS 714 Hartmut Klauck.
Complexity, etc. Homework. Comparison to computability. Big Oh notation. Sorting. Classwork/Homework: prepare presentation on specific sorts. Presentation.
Parallel computation Section 10.5 Giorgi Japaridze Theory of Computability.
1 Linear Bounded Automata LBAs. 2 Linear Bounded Automata (LBAs) are the same as Turing Machines with one difference: The input string tape space is the.
8.4.2 Quantum process tomography 8.5 Limitations of the quantum operations formalism 量子輪講 2003 年 10 月 16 日 担当:徳本 晋
1 Introduction to Quantum Information Processing CS 467 / CS 667 Phys 467 / Phys 767 C&O 481 / C&O 681 Richard Cleve DC 3524 Course.
1 Introduction to Quantum Information Processing CS 467 / CS 667 Phys 667 / Phys 767 C&O 481 / C&O 681 Richard Cleve DC 653 Lecture.
Quantum Computing MAS 725 Hartmut Klauck NTU
E.G.M. PetrakisAlgorithm Analysis1  Algorithms that are equally correct can vary in their utilization of computational resources  time and memory  a.
1. Searching The basic characteristics of any searching algorithm is that searching should be efficient, it should have less number of computations involved.
Searching Topics Sequential Search Binary Search.
Lower bounds on data stream computations Seminar in Communication Complexity By Michael Umansky Instructor: Ronitt Rubinfeld.
Algorithmics - Lecture 41 LECTURE 4: Analysis of Algorithms Efficiency (I)
Quantum Computation Stephen Jordan. Church-Turing Thesis ● Weak Form: Anything we would regard as “computable” can be computed by a Turing machine. ●
BITS Pilani Pilani Campus Data Structure and Algorithms Design Dr. Maheswari Karthikeyan Lecture1.
Discrete Methods in Mathematical Informatics Kunihiko Sadakane The University of Tokyo
Beginner’s Guide to Quantum Computing Graduate Seminar Presentation Oct. 5, 2007.
Quantum Shift Register Circuits Mark M. Wilde arXiv: National Institute of Standards and Technology, Wednesday, June 10, 2009 To appear in Physical.
The Acceptance Problem for TMs
Probabilistic Algorithms
A low cost quantum factoring algorithm
Streaming & sampling.
HIERARCHY THEOREMS Hu Rui Prof. Takahashi laboratory
Decidable Languages Costas Busch - LSU.
CSE838 Lecture notes copy right: Moon Jung Chung
Chap 4 Quantum Circuits: p
Quantum Computation and Information Chap 1 Intro and Overview: p 28-58
Time Complexity and the divide and conquer strategy
Presentation transcript:

Quantum Counters Smita Krishnaswamy Igor L. Markov John P. Hayes

Contents Motivation Background Previous work Basic Circuit Good Parameters Improved Circuits Current Work /Conclusions

BACKGROUND

Motivation Goal of QC thus far has been to solve problems faster than classical computing Deutsch’s algorithm first example of algorithm with faster quantum algorithm Our goal is to obtain exponential memory improvement for a specific problem We use sequential circuits to achieve this

Sequential Circuits Sequential circuits contain a combinational portion and a memory portion Combinational portion is re-used and therefore usually simpler Sequential circuits are modeled by finite automata

Finite Automata 5-tuple Q=set of states Σ=input alphabet =starting state =set of accepting states = transition function

More Finite Automata The memory portion stores state info An FSA for a counter that counts to 4:

Quantum Finite Automata RFA: Reversible finite automata i.e. only one arrow going into each state A QFA is a reversible finite automata that transitions between quantum states Q=the vector space of state vectors Q acc =the accepting subspace with an operator P acc that projects onto it δ is a unitary matrix

Example RFA for 2-counter (can do it in 2 states) RFA’s cannot recognize E={a j |j=2k+3}

PREVIOUS WORK

Prime Counter For p prime let language Any deterministic FA recognizing L p takes at least p states Ambainis and Freivalds [1] show that a QFA needs only O(log p) states O(log p) states requires only O(log log p) qubits. This is an exponential decrease

QFA for Set of states : Q = {|0>,|1>} Starting state: q 0 =|0> Set of accepting states: Q acc = span(|0>) Next state function δ:

Counter QFA Pick a rotation angle Φ=2πk/p, 0<k<p For input a j, rotate qubit j times by Φ If j is a multiple of p then the state is definitely |0>, else we have |1> with probability cos 2 (Φ) Want to pick a set of k’s that increases the probability of obtaining state |1> for every j

1-qubit Counter for p=5 Φ j= 1 mod 5 j=2 mod 5 j=3 mod 5j=4 mod 5 j = 0 mod 5

Sequence of QFAs This QFA rejects any x not in L p with varying probability of error ranging from 0 to 1 Therefore any one of these QFAs is not enough We can pick a sequence of 8 ln p QFA’S with different values for k where Ф =2 π k/ p The values for k can be picked such that the probability of error is always less than 7/8

Proof Sketch At least half of all of the k’s that we consider reject any given a j not in L p with probability at least ½ There is a sequence of length 8 ln p that ¼ of all elements reject every a j not in L p with probability ½ (This follows from Chernoff Bounds)

Problems To Address No explicit circuit construction given No explicit description of the sequence of angle parameters given Loose error estimate

CIRCUIT IMPLEMENTATION

Quantum Circuits Quantum operators are unitary matrices A larger matrix is broken into a matrix or tensor product of 2x2 matrices (1-qubit gates) Gate library: {R x, R y, R z,C-NOT, NOT} R x (Φ )=

Gate Library R y (Φ )= R z (Φ )= NOT =

Gate Library C-NOT = K-controlled Rotations H=R y (π/4)

Controlled Rotations Barenco et. al. [2] give construction for k-controlled rotations from basic gates They are constructed from K-controlled NOT gates and 1-controlled rotation gates

Implementation The QFAs cannot be implemented separately without wasting space Need O(log p) qubits for this Can implement as a block-diagonal matrix Each block on the diagonal is an R x Can be implemented with controlled rotations

Block-Diagonal Matrix

Basic Circuit Each block diagonal corresponds to one k-controlled rotation gate Example:

GOOD PARAMETERS

Error Probability The probability of error for this circuit is: The expression is the sum over the error contribution of each k i Try to minimize the maximum error for any value of j<p

Picking parameters:Observations Theorem: No parameter set can have probability of error <½ Proof: For a given k the average probability of error over all j’s is ½ A sequence of k’s has the same average probability of error Therefore P err which is the max of all of these has to be > ½

Rejection Patterns Each parameter is “good” for a ½ of the j’s and they occur in a specific pattern

Greedy Selection of Parameters Try to cover as much new area as possible Continue this process until all parameters are rejected with a certain probability Obtain a set of parameters that follow the sequence m i l j where m and l are constants Use mutually prime values of m and l to avoid repetition Usually m=2 and l=3

Asymptotic Behavior These params give low P err for all p’s

Estimating Error Bounds : Idea Discretize the cosine expression If sin 2 (φ)> ½ regard it as 1/2 If sin 2 (φ)< ½ regard it as 0 The area covered by a parameter k : the portion of the unit circle where sin 2 (2πk/p) >½ For the parameters m i l j can get recursive expressions for which areas are covered by n of the k’s If n was half the total number of k’s.The probability lower bounded by (1/2)(1/2)=(1/4)

IMPROVED CIRCUITS

Circuit Complexity Basic block-diagonal circuit: too many gates There are only O(log log p) qubits where as there are O(log p) gates Different circuit decomposition may yield better results Some reductions are possible

Reductions Order the parameters such that their controls are in Gray Code order Only one C-NOT is required between any set of C-NOTS

Reducing Control Bits Can use only log p different rotations We apply them with fewer control bits by using binary addition

Other Techniques Random circuit simulations Pick a set of k-controlled circuits repeatedly Save the best

Greedy Simulation Pick gates one by one first go through controls then through rotations, p 2 possibilities Continue this while probability decreases Order does not matter

Diagonalization

Using Diagonal Computations Diagonal computation uses identity HR x (θ)H= R z (θ) NDIAG algorithm by Bullock and Markov [4] reduces gate counts by tensor-product decomposition This technique may not be useful for this circuit for an inherent reason the range of the parameters too big Tensor product of two rotations adds the angles. Need to explore this: could mean there are NO good circuits for this computation.

Tensor Products Diagonal unitary matrices have the form Tensor products of two such matrices have the form

On-going Work: Proof Sketch We want a circuit with O(log log p) gates and we are trying to combine them to form a computation that has O(log p) rotations. This is possible if we use the gates as rotations with angles that add like binary numbers. Problem: We want O(log p) rotations spread out in the range [1,p]. Using O(log log p) rotations we can either get [1, log p] consecutive rotation angles or [1 p] rotation angles with big holes in between.

Current Work Finding better circuits Finding circuits or proving that no good circuits exist for the greedy parameters Coming up with an analytical error bound for these parameters Empirically the error value is around.60

Conclusions Studied counters with exp memory savings Can construct unitary computations Can construct quantum circuits

Open Questions Are there any polynomial sized circuits or is there a size-accuracy tradeoff? Will Fourier transforms or other techniques give friendlier parameters? Do other quantum sequential circuits improve memory usage over classical circuits?

References