paper

Modeling and Resource Optimization for Quantum Oracles

arXiv:2605.21380

Abstract

Quantum oracles are fundamental building blocks of many quantum algorithms, and their resource consumption directly affects performance, yet structured description and complexity analysis for their composition are still lacking. In this paper, we introduce the Framework for Oracle Recursion Modeling (FORM), a unified formal abstraction of multi-function composition in quantum oracles: it provides a structured description of the composition layer, makes its gate complexity exactly computable, and turns oracle design into an optimizable tree-construction problem. Based on this model, we propose the ShallowGrow algorithm, which constructs an oracle structure under a given ancilla budget and provably minimizes the number of function evaluations. On Boolean quadratic equation systems, ShallowGrow reduces Qiskit-measured circuit depth by 54.1% on average relative to the state-of-the-art W-cycle construction, with consistent reductions on the EPFL and ISCAS85 combinational logic networks under scarce ancilla budgets. Furthermore, pebbling-based syntheses trade space against time within the logic network of a function; ShallowGrow extends this trade-off across functions, and integrated with their published circuits it reduces the ancillary qubits of a complete oracle from one per constraint function to logarithmically many. With half as many ancillas as constraint functions, the T-count falls by a factor of 7.9 to 32 relative to the W-cycle-based construction.

arXiv commentv2: substantial revision. Renamed HRSE model to FORM (Framework for Oracle Recursion Modeling) and ASDT algorithm to ShallowGrow. Expanded experiments to EPFL and ISCAS85 combinational benchmarks and to complete oracle construction with pebbling-based leaf syntheses (LHRS, Zhang et al.). Rewrote Section V with new tables and figures. 14 pages, 6 figures, 5 tables