What is a Hybrid Job? - Amazon Braket

What is a Hybrid Job?

Amazon Braket Hybrid Jobs offers a way for you to run hybrid quantum-classical algorithms requiring both classical AWS resources and quantum processing units (QPUs). Hybrid Jobs is designed to spin up the requested classical resources, run your algorithm, and release the instances after completion so you only pay for what you use.

Hybrid Jobs is ideal for long-running iterative algorithms involving both classical and quantum resources. You submit your algorithm to run, Braket runs it in a scalable containerized environment, and you retrieve the results when the algorithm is complete.

Additionally, quantum tasks created from a hybrid job benefit from higher priority queueing to a target QPU. This ensures your quantum tasks are processed and ran ahead of others in the queue. This is particularly beneficial for iterative hybrid algorithms where subsequent task depend on the outcomes of prior quantum tasks. Examples of such algorithms include the Quantum Approximate Optimization Algorithm (QAOA), variational quantum eigensolver, or quantum machine learning. You can also monitor your algorithm progress in near-real time, enabling you to keep track of costs, budget, or custom metrics such as training loss or expectation values.