Skip to content
DraconiticResearch
Search Sources API
194,226 studies31 sourcesUpdated 9 min ago
PreprintarXiv licencearXiv

Magic in Grover's Algorithm and the Role of Oracle Synthesis

Abstract

Grover's algorithm is a textbook example of quantum advantage, providing a quadratic query speedup over classical methods for unstructured search. In this Letter, we characterize the non-stabilizerness, or magic, developed throughout Grover's protocol, quantifying quantum complexity with respect to the efficiently simulable stabilizer states. First, we compute the compilation-independent magic at the end of each Grover iteration, deriving an analytic prediction for the stabilizer Rényi entropy and proving that it remains intensive as the system size grows. We then investigate the magic overhead due to decomposing the circuit into elementary gates. When the solution to the search problem is known, we show that an efficient decomposition exists that keeps magic bounded despite using an extensive number of Toffoli gates. In contrast, agnostic implementations are expected to generate volume-law non-stabilizerness, as we confirm for the 3-SAT problem, which rules out efficient simulation by stabilizer-based methods in practically relevant cases. Our findings clarify the growth of magic in Grover's algorithm and the role of solution-awareness in its circuit compilation.

Related

  1. The Cost of a Real Grover Oracle: Minecraft Seed Search from Software to Quantum Hardware
    Evan M. Reeves, Elias Sopkin, Thomas A. Searles
    arXivPreprintCC BY 4.0Full textQuantum physics & quantum informationarXiv
  2. Depth analysis of the Quantum Approximate Optimization Algorithm with a Grover mixer
    Bojko N. Bakalov, Dimitar Grantcharov
    arXivPreprintarXiv licenceFull textMathematical physicsQuantum physics & quantum informationarXiv
  3. Efficient preparation of spin-squeezed states with Grover's algorithm
    Zhi-Yuan Zeng, Wen-Long Ma
    arXivPreprintarXiv licenceFull textQuantum physics & quantum informationarXiv
  4. Implementation of Grover’s Search Algorithm for Tectonic Activity Detection in an Unsorted Seismic Database
    Shofina Mumtaz Mahardhika, Listiyanto Listiyanto, Agus Yulianto +1
    Physics CommunicationPeer-reviewedCC BYFull textGeneral physicsDOAJ
  5. Experimental quantum-computing-enhanced sensing using Grover's algorithm
    Mathieu Ouellet, Purnendu Sen, Xiangqin Wang +6
    arXivPreprintCC BY 4.0Full textQuantum physics & quantum informationarXiv
BibTeX
@misc{paviglianiti2026magic,
  title = {{Magic in Grover's Algorithm and the Role of Oracle Synthesis}},
  author = {Alessio Paviglianiti and Vincenzo Savona},
  howpublished = {arXiv},
  year = {2026},
  month = oct,
  doi = {10.48550/arxiv.2610.37772},
  eprint = {2610.37772},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.37772},
}
RIS
TY  - UNPB
TI  - Magic in Grover's Algorithm and the Role of Oracle Synthesis
AU  - Alessio Paviglianiti
AU  - Vincenzo Savona
PY  - 2026
DA  - 2026/10/27
PB  - arXiv
DO  - 10.48550/arxiv.2610.37772
UR  - https://arxiv.org/abs/2610.37772
AB  - Grover's algorithm is a textbook example of quantum advantage, providing a quadratic query speedup over classical methods for unstructured search. In this Letter, we characterize the non-stabilizerness, or magic, developed throughout Grover's protocol, quantifying quantum complexity with respect to the efficiently simulable stabilizer states. First, we compute the compilation-independent magic at the end of each Grover iteration, deriving an analytic prediction for the stabilizer Rényi entropy and proving that it remains intensive as the system size grows. We then investigate the magic overhead due to decomposing the circuit into elementary gates. When the solution to the search problem is known, we show that an efficient decomposition exists that keeps magic bounded despite using an extensive number of Toffoli gates. In contrast, agnostic implementations are expected to generate volume-law non-stabilizerness, as we confirm for the 3-SAT problem, which rules out efficient simulation by stabilizer-based methods in practically relevant cases. Our findings clarify the growth of magic in Grover's algorithm and the role of solution-awareness in its circuit compilation.
ER  -