In 2019, AWS launched Braket, its quantum computing service that makes hardware and software tools from its partners Rigetti, IonQ and D-Wave available in its cloud. Given how quickly quantum computing is moving ahead, it’s maybe no surprise that a lot has changed since then. Among other things, hybrid algorithms that use classical computers to optimize quantum algorithms — a process similar to training machine learning models — have become a standard tool for developers. Today, AWS announced improved support for running these hybrid algorithms on Braket.
Previously, to run these algorithms, developers would have to set up and manage the infrastructure to run the optimization algorithms on classical machines and then manage the integration with the quantum computing hardware, in addition to the monitoring and visualization tools for analyzing the results.
Image Credits: AWS
But that’s not all. “Another big challenge is that [Quantum Processing Units] are shared, inelastic resources, and you compete with others for access,” AWS’s Danilo Poccia explains in today’s announcement. “This can slow down the execution of your algorithm. A single large workload from another customer can bring the algorithm to a halt, potentially extending your total runtime for hours. This is not only inconvenient but also impacts the quality of the results because today’s QPUs need periodic re-calibration, which can invalidate the progress of a hybrid algorithm. In the worst case, the algorithm fails, wasting budget and time.”
With the new Amazon Braket Hybrid Jobs feature, developers get a fully managed service that handles the hardware and software interactions between the classical and quantum machines — and developers will get priority access to quantum processing units to provide them with more predictability. Braket will automatically spin up the necessary resources (and shut them down once a job is completed). Developers can set custom metrics for their algorithms and, using Amazon CloudWatch, they can visualize the results in near real time.
“As application developers, Braket Hybrid Jobs gives us the opportunity to explore the potential of hybrid variational algorithms with our customers,” said Vic Putz, head of engineering at QCWare. “We are excited to extend our integration with Amazon Braket and the ability to run our own proprietary algorithms libraries in custom containers means we can innovate quickly in a secure environment. The operational maturity of Amazon Braket and the convenience of priority access to different types of quantum hardware means we can build this new capability into our stack with confidence.”