Development of quantum algorithms has often been at odds with the reality of deploying them on near-term quantum hardware. Quantum scientists often imagine algorithms which do not correspond naturally to the available tools for cloud-based deployment on actual quantum computers. In this paper, we develop a means to this end, and propose such a framework with examples in quantum chemistry and machine learning.