preprint 1 Resource-Aware Hybrid Quantum Programming with General Recursion and Quantum Control Oct 23, 2025