Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

Simulating a Quantum Computer : Grover's Search Algorithm with Error Correction

Martin Sjöborg, Hanna Linn

Published Jan 1, 2018• 0 citations
OpenAlex

Abstract

Classical simulations of quantum computers give us an insight into various things such as what quantum algorithms can achieve, whether it is possible to verify that they function as postulated, the difficulties that have to be overcome before quantum computers can be realized, as well as how we can handle these difficulties. We build a Python library to simulate a quantum computer that can perform all quantum algorithms by defining an universal gate set, from which all quantum gates – and thereby all circuits – can be constructed. We implement two algorithms that both highlight two important aspects of quantum computing: Grover’s quantum search algorithm, which demonstrates the efficiency of quantum algorithms and their superiority over their classical counterparts by searching an unsorted list quadratically faster; and an error correcting code, the Shor code, which highlights the cost of correcting the possible errors in a quantum computer.We test the rigidity of Grover’s algorithm by introducing errors without correction, and find that the algorithm shows resilience to smaller 1-qubit Pauli errors, but looses its efficiency under larger errors and thus the need for Pauli error correction arise.

Related papers

Modelling of Grover’s quantum search algorithms: implementations of Simple quantum simulators on classical computers

Sergey Victorovich Ulyanov, Andrey G. Reshetnikov, Olga Tyatyushkina

Models of Grover’s search algorithm is reviewed to build the foundation for the other algorithms. Thereafter, some preliminary modifications of the original algorithms by others are stated, that increases the applicability of the search procedure. A general quantum computation on an isolated system can be represented by a unitary matrix. In order to execute such a computation on a quantum computer, it is common to decompose the unitary into a quantum circuit, i.e., a sequence of quantum gates that can be physically implemented on a given architecture. There are different universal gate sets for quantum computation. Here we choose the universal gate set consisting of CNOT and single-qubit gates. We measure the cost of a circuit by the number of CNOT gates as they are usually more difficult to implement than single qubit gates and since the number of single-qubit gates is bounded by about twice the number of CNOT’s.

System Analysis in Science and Education•Sep 30, 2020•4 citations

Grover Algorithm: Enhancing the Search Mechanism

Jagriti Malhotra, Omkar Chavan, Pallavi Thakur

Grover’s algorithm is a quantum search algorithm that makes a huge difference in finding an element of interest from unsorted and unstructured data. In the case of a classical search algorithm, testing O(N) elements within a dataset of size N is a significant number. Grover’s algorithm reduces this number to $O(\sqrt N )$ so the gain is obvious. This paper covers applied aspects of Grover’s algorithm, namely quantum circuit layout, efficiency of gates, fidelity of qubits, and the optimization of resources for searching unstructured data. Focus has been placed on quantum error correction: namely, planar surface code; resource costs involved have been quantified. The paper discusses the implications of quantum computing on data retrieval and how algorithms in quantum computing are crucial for solving issues presented by a changing environment of computation.

OPJU International Technology Conference on Smart Computing for Innovation and Advancement in Industry (OTCON)•Apr 9, 2025•2 citations

Quantum implementation of the Shor-code on multiple simulator platforms

Niels M. P. Neumann, Jelle Nauta, Frank Phillipson

Running general quantum algorithms on quantum computers is hard, especially in the early stage of development of the quantum computer that we are in today. Many resources are required to transform a general problem to be run on a quantum computer, for instance to satisfy the topology constraints of the quantum hardware. Furthermore, quantum computers need to operate at temperatures close to absolute zero, and hence resources are required to keep the quantum hardware at that level. Therefore, simulating small instances of a quantum algorithm is often preferred over running it on actual quantum hardware. This is both cheaper and gives debugging capabilities which are unavailable on actual quantum hardware, such as the evaluation of the full quantum state, at intermediate points in the algorithm as well as at the end of the algorithm. By simulating small instances of quantum algorithms, the quantum algorithm can be checked for errors and be debugged before implementing and running it on actual quantum hardware for larger instances. There are multiple initiatives to create quantum simulators and while looking alike, there are difference among them. In this work we compare seven often used quantum simulators offered by various parties by implementing the Shor-code, an error-correcting technique. The Shor-code can detect and correct all single qubit errors in a quantum circuit. For most multi-qubit errors, correct detection and correction is not possible. We compare the seven quantum simulators on different aspects, such as how easy it is to implement the Shor-code, what its capabilities are regarding translation to actual quantum hardware and what the possibilities of simulating noise are. We also discuss aspects such as topology restrictions and the programming interface.

•Sep 19, 2019•0 citations

Evaluating the Practicality of Grover’s Algorithm for Large-Scale Data Search via Quantum Simulation

Lovish Bhatia, Vinay Shankar Pandey, Ajay K. Sharma

Abstract Quantum computing can solve some classes of problems faster than classical computing. Among the greatest quantum algorithms to showcase this benefit is Grover's search algorithm, which has a quadratic speed-up for unstructured search problems. In this study, we present an implementation of Grover’s algorithm on a large-scale dataset comprising approximately 131,072 (217) names. We contrast its efficiency with the classical linear search based on time complexity, scalability, and the likelihood of success. The experiment was conducted using Qiskit on a quantum simulator, where several query scenarios were implemented to verify the algorithm's efficiency and accuracy. Our findings highlight the theoretical advantage of Grover’s algorithm in situations involving large data sets, while also discussing real-world limitations such as gate noise, qubit number, and circuit depth as we move towards actual quantum hardware. This study serves as a step toward evaluating the real-world relevance of quantum search algorithms and provides information on current challenges and future directions in quantum information retrieval.

•Jul 2, 2025•1 citation

Fast simulation of Grover's quantum search on classical computer

Ayan Chattopadhyay, Menon, Vikram

The research community has been actively working on the realization of quantum computer. But the large scale commercial quantum computers are not a reality yet quantum computing field has become richer by day with the advent of algorithms and the avenue of its application in multiple domains. Availability of efficient quantum simulators will enable the researchers to quickly verify their results and concepts in order to establish a working proof of correctness. One important algorithm that has become one of the basic ingredients to build other algorithms and models is the Grover's search Algorithm which is known to be the most compute intensive. Our approach highlights the design principles for the fast simulation of Grover's search which can be implemented on a general purpose personal computer. The performance obtained are encouraging when compared to the existing simulators.

arXiv:2005.04635•May 10, 2020•3 citations

Studies Of A Quantum Scheduling Algorithm And On Quantum Error Correction

Feng Lu

Quantum computation has been a rich field of study for decades because it promises possible spectacular advances, some of which may run counter to our classically rooted intuitions. At the same time, quantum computation is still in its infancy in both theoretical and practical areas. Efficient quantum algorithms are very limited in number and scope; no real breakthrough has yet been achieved in physical implementations. Grover's search algorithm can be applied to a wide range of problems; even problems not generally regarded as searching problems can be reformulated to take advantage of quantum parallelism and entanglement leading to algorithms which show a square root speedup over their classical counterparts. This dissertation discusses a systematic way to formulate such problems and gives as an example a quantum scheduling algorithm for an R||C_max problem. This thesis shows that quantum solution to such problems is not only feasible but in some cases advantageous. The complexity of the error correction circuitry forces us to design quantum error correction codes capable of correcting only a single error per error correction cycle. Yet, time-correlated errors are common for physical implementations of quantum systems; an error corrected during a certain cycle may reoccur in a later cycle due to physical processes specific to each physical implementation of the qubits. This dissertation discusses quantum error correction for a restricted class of time-correlated errors in a spin-boson model. The algorithm proposed allows the correction of two errors per error correction cycle, provided that one of them is time-correlated. The algorithm can be applied to any stabilizer code, perfect or non-perfect, and simplified the circuit complexity significantly comparing to the classic quantum error correction codes.

Journal of International Crisis and Risk Communication Research•Jan 1, 2007•1 citation
Classical simulations of quantum computers give us an insight into various things such as what quantum algorithms can achieve, whether it is possible to verify that they function as postulated, the difficulties that have to be overcome before quantum computers can be realized, as well as how we can handle these difficulties. We build a Python library to simulate a quantum computer that can perform all quantum algorithms by defining an universal gate set, from which all quantum gates – and thereby all circuits – can be constructed. We implement two algorithms that both highlight two important aspects of quantum computing: Grover’s quantum search algorithm, which demonstrates the efficiency of quantum algorithms and their superiority over their classical counterparts by searching an unsorted list quadratically faster; and an error correcting code, the Shor code, which highlights the cost of correcting the possible errors in a quantum computer.We test the rigidity of Grover’s algorithm by introducing errors without correction, and find that the algorithm shows resilience to smaller 1-qubit Pauli errors, but looses its efficiency under larger errors and thus the need for Pauli error correction arise.
Models of Grover’s search algorithm is reviewed to build the foundation for the other algorithms. Thereafter, some preliminary modifications of the original algorithms by others are stated, that increases the applicability of the search procedure. A general quantum computation on an isolated system can be represented by a unitary matrix. In order to execute such a computation on a quantum computer, it is common to decompose the unitary into a quantum circuit, i.e., a sequence of quantum gates that can be physically implemented on a given architecture. There are different universal gate sets for quantum computation. Here we choose the universal gate set consisting of CNOT and single-qubit gates. We measure the cost of a circuit by the number of CNOT gates as they are usually more difficult to implement than single qubit gates and since the number of single-qubit gates is bounded by about twice the number of CNOT’s.
Grover’s algorithm is a quantum search algorithm that makes a huge difference in finding an element of interest from unsorted and unstructured data. In the case of a classical search algorithm, testing O(N) elements within a dataset of size N is a significant number. Grover’s algorithm reduces this number to O(N)O(\sqrt N )O(N​) so the gain is obvious. This paper covers applied aspects of Grover’s algorithm, namely quantum circuit layout, efficiency of gates, fidelity of qubits, and the optimization of resources for searching unstructured data. Focus has been placed on quantum error correction: namely, planar surface code; resource costs involved have been quantified. The paper discusses the implications of quantum computing on data retrieval and how algorithms in quantum computing are crucial for solving issues presented by a changing environment of computation.
Running general quantum algorithms on quantum computers is hard, especially in the early stage of development of the quantum computer that we are in today. Many resources are required to transform a general problem to be run on a quantum computer, for instance to satisfy the topology constraints of the quantum hardware. Furthermore, quantum computers need to operate at temperatures close to absolute zero, and hence resources are required to keep the quantum hardware at that level. Therefore, simulating small instances of a quantum algorithm is often preferred over running it on actual quantum hardware. This is both cheaper and gives debugging capabilities which are unavailable on actual quantum hardware, such as the evaluation of the full quantum state, at intermediate points in the algorithm as well as at the end of the algorithm. By simulating small instances of quantum algorithms, the quantum algorithm can be checked for errors and be debugged before implementing and running it on actual quantum hardware for larger instances. There are multiple initiatives to create quantum simulators and while looking alike, there are difference among them. In this work we compare seven often used quantum simulators offered by various parties by implementing the Shor-code, an error-correcting technique. The Shor-code can detect and correct all single qubit errors in a quantum circuit. For most multi-qubit errors, correct detection and correction is not possible. We compare the seven quantum simulators on different aspects, such as how easy it is to implement the Shor-code, what its capabilities are regarding translation to actual quantum hardware and what the possibilities of simulating noise are. We also discuss aspects such as topology restrictions and the programming interface.
Abstract Quantum computing can solve some classes of problems faster than classical computing. Among the greatest quantum algorithms to showcase this benefit is Grover's search algorithm, which has a quadratic speed-up for unstructured search problems. In this study, we present an implementation of Grover’s algorithm on a large-scale dataset comprising approximately 131,072 (217) names. We contrast its efficiency with the classical linear search based on time complexity, scalability, and the likelihood of success. The experiment was conducted using Qiskit on a quantum simulator, where several query scenarios were implemented to verify the algorithm's efficiency and accuracy. Our findings highlight the theoretical advantage of Grover’s algorithm in situations involving large data sets, while also discussing real-world limitations such as gate noise, qubit number, and circuit depth as we move towards actual quantum hardware. This study serves as a step toward evaluating the real-world relevance of quantum search algorithms and provides information on current challenges and future directions in quantum information retrieval.
The research community has been actively working on the realization of quantum computer. But the large scale commercial quantum computers are not a reality yet quantum computing field has become richer by day with the advent of algorithms and the avenue of its application in multiple domains. Availability of efficient quantum simulators will enable the researchers to quickly verify their results and concepts in order to establish a working proof of correctness. One important algorithm that has become one of the basic ingredients to build other algorithms and models is the Grover's search Algorithm which is known to be the most compute intensive. Our approach highlights the design principles for the fast simulation of Grover's search which can be implemented on a general purpose personal computer. The performance obtained are encouraging when compared to the existing simulators.
Quantum computation has been a rich field of study for decades because it promises possible spectacular advances, some of which may run counter to our classically rooted intuitions. At the same time, quantum computation is still in its infancy in both theoretical and practical areas. Efficient quantum algorithms are very limited in number and scope; no real breakthrough has yet been achieved in physical implementations. Grover's search algorithm can be applied to a wide range of problems; even problems not generally regarded as searching problems can be reformulated to take advantage of quantum parallelism and entanglement leading to algorithms which show a square root speedup over their classical counterparts. This dissertation discusses a systematic way to formulate such problems and gives as an example a quantum scheduling algorithm for an R||C_max problem. This thesis shows that quantum solution to such problems is not only feasible but in some cases advantageous. The complexity of the error correction circuitry forces us to design quantum error correction codes capable of correcting only a single error per error correction cycle. Yet, time-correlated errors are common for physical implementations of quantum systems; an error corrected during a certain cycle may reoccur in a later cycle due to physical processes specific to each physical implementation of the qubits. This dissertation discusses quantum error correction for a restricted class of time-correlated errors in a spin-boson model. The algorithm proposed allows the correction of two errors per error correction cycle, provided that one of them is time-correlated. The algorithm can be applied to any stabilizer code, perfect or non-perfect, and simplified the circuit complexity significantly comparing to the classic quantum error correction codes.