Braket Hybrid Jobs provide three main benefits. First, it simplifies running hybrid quantum-classical algorithms. Many quantum researchers are often new to cloud computing and do not want to set up and manage their compute environment before running their hybrid algorithm. With Hybrid Jobs, you only need to specify your preferred compute instance – or use the default. Braket Hybrid Jobs will spin up the classical resources and run the workload in pre-built container environments, return the results to Amazon S3, and finally release the compute resources so you only pay for what you use.
Second, Hybrid Jobs provide live insights into running algorithms. You can define custom algorithm metrics as part of your algorithm that will be automatically logged by Amazon CloudWatch and displayed in the Amazon Braket console. With this, you can track the progress of your algorithms.
Third, Amazon Braket Hybrid Jobs provide better performance than running hybrid algorithms from your own environment. During the entire time that your job is running, it has priority access to the selected QPU. This means tasks executed on that device as part of your job will be executed ahead of other tasks that may be queued up on the device. This results in shorter and more predictable run times for hybrid algorithms, and ultimately better results by reducing the detrimental effects of slowly changing device characteristics (‘device drift’) on algorithm performance.