Iterative Qubits Management for Quantum Index Searching in a Hybrid System