264 research outputs found

    Linear and sublinear time algorithms for the basis of abelian groups

    Get PDF
    AbstractIt is well known that every finite abelian group G can be represented as a direct product of cyclic groups: G≅G1×G2×⋯×Gt, where each Gi is a cyclic group of order pj for some prime p and integer j≥1. If ai generates the cyclic group of Gi, i=1,2,…,t, then the elements a1,a2,…,at are called a basis of G. We show a randomized algorithm such that given a set of generators M={x1,…,xk} for an abelian group G and the prime factorization of order ord(xi)(i=1,…,k), it computes a basis of G in O(|M|(logn)2+∑i=1tnipini/2) time, where n=|G| has prime factorization p1n1p2n2⋯ptnt (which is not a part of input). This generalizes Buchmann and Schmidt’s algorithm that takes O(|M||G|) time. In another model, all elements in an abelian group are put into a list as a part of input. We obtain an O(n) time deterministic algorithm and a sublinear time randomized algorithm for computing a basis of an abelian group

    Quantum pattern matching fast on average

    Full text link
    The dd-dimensional pattern matching problem is to find an occurrence of a pattern of length m××mm \times \dots \times m within a text of length n××nn \times \dots \times n, with nmn \ge m. This task models various problems in text and image processing, among other application areas. This work describes a quantum algorithm which solves the pattern matching problem for random patterns and texts in time O~((n/m)d/22O(d3/2logm))\widetilde{O}((n/m)^{d/2} 2^{O(d^{3/2}\sqrt{\log m})}). For large mm this is super-polynomially faster than the best possible classical algorithm, which requires time Ω~((n/m)d+nd/2)\widetilde{\Omega}( (n/m)^d + n^{d/2} ). The algorithm is based on the use of a quantum subroutine for finding hidden shifts in dd dimensions, which is a variant of algorithms proposed by Kuperberg.Comment: 22 pages, 2 figures; v3: further minor changes, essentially published versio

    The diameter of random Cayley digraphs of given degree

    Full text link
    We consider random Cayley digraphs of order nn with uniformly distributed generating set of size kk. Specifically, we are interested in the asymptotics of the probability such a Cayley digraph has diameter two as nn\to\infty and k=f(n)k=f(n). We find a sharp phase transition from 0 to 1 at around k=nlognk = \sqrt{n \log n}. In particular, if f(n)f(n) is asymptotically linear in nn, the probability converges exponentially fast to 1.Comment: 11 page

    Learning and Testing Variable Partitions

    Get PDF
    Let FF be a multivariate function from a product set Σn\Sigma^n to an Abelian group GG. A kk-partition of FF with cost δ\delta is a partition of the set of variables V\mathbf{V} into kk non-empty subsets (X1,,Xk)(\mathbf{X}_1, \dots, \mathbf{X}_k) such that F(V)F(\mathbf{V}) is δ\delta-close to F1(X1)++Fk(Xk)F_1(\mathbf{X}_1)+\dots+F_k(\mathbf{X}_k) for some F1,,FkF_1, \dots, F_k with respect to a given error metric. We study algorithms for agnostically learning kk partitions and testing kk-partitionability over various groups and error metrics given query access to FF. In particular we show that 1.1. Given a function that has a kk-partition of cost δ\delta, a partition of cost O(kn2)(δ+ϵ)\mathcal{O}(k n^2)(\delta + \epsilon) can be learned in time O~(n2poly(1/ϵ))\tilde{\mathcal{O}}(n^2 \mathrm{poly} (1/\epsilon)) for any ϵ>0\epsilon > 0. In contrast, for k=2k = 2 and n=3n = 3 learning a partition of cost δ+ϵ\delta + \epsilon is NP-hard. 2.2. When FF is real-valued and the error metric is the 2-norm, a 2-partition of cost δ2+ϵ\sqrt{\delta^2 + \epsilon} can be learned in time O~(n5/ϵ2)\tilde{\mathcal{O}}(n^5/\epsilon^2). 3.3. When FF is Zq\mathbb{Z}_q-valued and the error metric is Hamming weight, kk-partitionability is testable with one-sided error and O(kn3/ϵ)\mathcal{O}(kn^3/\epsilon) non-adaptive queries. We also show that even two-sided testers require Ω(n)\Omega(n) queries when k=2k = 2. This work was motivated by reinforcement learning control tasks in which the set of control variables can be partitioned. The partitioning reduces the task into multiple lower-dimensional ones that are relatively easier to learn. Our second algorithm empirically increases the scores attained over previous heuristic partitioning methods applied in this context.Comment: Innovations in Theoretical Computer Science (ITCS) 202

    Explicit universal sampling sets in finite vector spaces

    Full text link
    In this paper we construct explicit sampling sets and present reconstruction algorithms for Fourier signals on finite vector spaces GG, with G=pr|G|=p^r for a suitable prime pp. The two sets have sizes of order O(pt2r2)O(pt^2r^2) and O(pt2r3log(p))O(pt^2r^3\log(p)) respectively, where tt is the number of large coefficients in the Fourier transform. The algorithms approximate the function up to a small constant of the best possible approximation with tt non-zero Fourier coefficients. The fastest of the algorithms has complexity O(p2t2r3log(p))O(p^2t^2r^3\log(p))

    An Efficient Quantum Algorithm for some Instances of the Group Isomorphism Problem

    Full text link
    In this paper we consider the problem of testing whether two finite groups are isomorphic. Whereas the case where both groups are abelian is well understood and can be solved efficiently, very little is known about the complexity of isomorphism testing for nonabelian groups. Le Gall has constructed an efficient classical algorithm for a class of groups corresponding to one of the most natural ways of constructing nonabelian groups from abelian groups: the groups that are extensions of an abelian group AA by a cyclic group ZmZ_m with the order of AA coprime with mm. More precisely, the running time of that algorithm is almost linear in the order of the input groups. In this paper we present a quantum algorithm solving the same problem in time polynomial in the logarithm of the order of the input groups. This algorithm works in the black-box setting and is the first quantum algorithm solving instances of the nonabelian group isomorphism problem exponentially faster than the best known classical algorithms.Comment: 20 pages; this is the full version of a paper that will appear in the Proceedings of the 27th International Symposium on Theoretical Aspects of Computer Science (STACS 2010

    Quantum Pattern Matching Fast on Average

    Get PDF
    corecore