Classical and Quantum Computations with Restricted Memory Farid Ablayev 1(B ) , Marat Ablayev 1 , Kamil Khadiev 1,2 , and Alexander Vasiliev 1 1 Kazan Federal University, Kazan, Russia fablayev@gmail.com, mablayev@gmail.com, kamilhadi@gmail.com, alexander.ksu@gmail.com 2 University of Latvia, Riga, Latvia Abstract. Automata and branching programs are known models of computation with restricted memory. These models of computation were in focus of a large number of researchers during the last decades. Stream- ing algorithms are a modern model of computation with restricted mem- ory. In this paper, we present recent results on the comparative compu- tational power of quantum and classical models of branching programs and streaming algorithms. In addition to comparative complexity results, we present a quantum branching program for computing a practically important quantum func- tion (quantum hash function) and prove optimality of this algorithm. Keywords: Complexity · Quantum computing Branching programs · OBDDs · Hierarchy · Hashing 1 Introduction The class of problems solvable with restricted memory and efficient algorithms (classical and quantum) for such problems are of great interest nowadays. There are many different models that process data streams and use few mem- ory resources: automata, branching programs (BPs), or streaming algorithms. Streaming algorithms are a new model in computer science, while branching programs and automata were in the focus of a great number of computer science researchers during the last decades. Our research group is focused on the study of automata, branching programs with the OBDD type restrictions, and models of streaming algorithms. These research interests largely coincide with the research interests of Juraj Hromkoviˇ c and his research group. In this paper, we present an overview of our results on classical and quantum restricted computational models, especially on the comparison of the computa- tional power of classical and quantum models. Branching programs are a well-known model of computation that has proven useful in a variety of domains such as hardware verification, model checking, and c Springer Nature Switzerland AG 2018 H.-J. B¨ockenhauer et al. (Eds.): Hromkoviˇ c Festschrift, LNCS 11011, pp. 129–155, 2018. https://doi.org/10.1007/978-3-319-98355-4_9