Abstract
Quantum State Preparation (QSP) is a critical bottleneck for quantum algorithms requiring classical data input. Traditional methods force a trade-off between linear circuit depth or linear qubit requirements. This paper presents Bidirectional State Preparation (BDSP), a configurable approach that achieves sublinear $O(\sqrt{N})$ scaling for both circuit width and depth. By tuning a split parameter, BDSP allows for hardware-specific optimization, demonstrating superior performance on NISQ-era superconducting and ion-trap quantum computers.
Introduction
The "input problem" remains one of the most significant hurdles in practical quantum computing. To leverage quantum speedups in machine learning or linear algebra, classical data must be encoded into quantum amplitudes. However, preparing an arbitrary $N$-dimensional state typically requires either $O(N)$ depth (top-down) or $O(N)$ qubits (bottom-up). On Noisy Intermediate-Scale Quantum (NISQ) devices, high depth leads to decoherence, while high width exceeds available qubit counts. BDSP addresses this by providing a middle ground that balances these resources.
The Bidirectional Approach
The core innovation of BDSP is the decomposition of the state preparation task into a binary tree structure that is processed from both ends. The tree is split at a configurable level $s$, dividing the process into two distinct stages.
In Stage 1, a top-down approach is used to prepare multiple smaller sub-states in parallel. In Stage 2, these sub-states are combined using a bottom-up "divide-and-conquer" strategy. This combination is facilitated by Controlled-SWAP (CSWAP) gates and ancillary qubits, which allow for entangled information to be merged efficiently.
The parameter $s$ serves as a "tuning knob" for hardware optimization. By setting $s \approx \frac{1}{2} \log_2 N$, the algorithm achieves a quadratic reduction in both depth and width bottlenecks, scaling as $O(\sqrt{N})$.
Experimental Validation
The researchers evaluated BDSP using synthetic input vectors on both simulators and physical quantum hardware, including IBM's superconducting processors and IonQ's ion-trap system.
Experimental results confirmed the theoretical trade-offs. On the IonQ device, a 16-dimensional state was prepared with a Mean Absolute Error (MAE) of 0.0107. The study also demonstrated that the bidirectional configuration often outperforms "pure" top-down or bottom-up methods by finding a sweet spot that minimizes both gate errors and decoherence effects.
Conclusion
Bidirectional State Preparation offers a flexible, sublinear solution to the quantum data loading problem. By allowing for the adjustment of circuit geometry, it enables more efficient use of current NISQ hardware. Future research will focus on optimizing gate decompositions and tailoring the algorithm to specific hardware connectivities to further reduce overhead.
Summary updated