amazon-braket

Runs quantum computing workflows on AWS through Amazon Braket devices, tasks, and hybrid jobs.

2.5k|282|Updated Apr 23, 2026
One-click install
npx skills add https://github.com/aws/agent-toolkit-for-aws --skill amazon-braket
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: amazon-braket
Source: https://github.com/aws/agent-toolkit-for-aws/tree/main/skills/specialized-skills/quantum-computing-skills/amazon-braket
Command: npx skills add https://github.com/aws/agent-toolkit-for-aws --skill amazon-braket

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires amazon-braket-sdk, amazon-braket-schemas, boto3, botocore, and includes references (resource) components.

What problem does it solve?

Working with Amazon Braket requires knowing which quantum devices exist and are available, which program types each device accepts, how to submit tasks and hybrid jobs correctly, and how to control QPU costs — details that change frequently and are easy to get wrong from memory.

Core Features & Use Cases

  • Device discovery and selection: Find QPUs and simulators across all Braket regions, check status, availability windows, qubit counts, paradigms (gate-model vs AHS), and capabilities.
  • Program submission: Build and run OpenQASM circuits, AHS programs, program sets, task batches, and hybrid jobs with correct SDK signatures and entry-point packaging.
  • Cost control: Look up current per-task, per-shot, and duration pricing, and enforce hard QPU spend caps with spending limits.
  • Use Case: Ask the agent to run a parameter sweep of variational circuits on an IonQ QPU — it will verify the device is online, package the sweep as a program set to minimize per-task fees, confirm pricing, and suggest a spending limit before submission.

Quick Start

Ask the agent to list all currently online Braket QPUs and run a Bell-state circuit on one of them with 1000 shots.

Frequently Asked Questions about amazon-braket

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a quantum circuit on Amazon Braket?

Install the amazon-braket-sdk, build a Circuit or OpenQASM program, and submit it to a device ARN with a shot count via device.run(). Verify the target device is ONLINE and within its availability window before submitting.

How do I find available QPUs and simulators on Braket?

Use AwsDevice.get_devices() from the Braket SDK, which searches across all regions and filters by status, type, provider, or name. Always check deviceStatus in the response, since GetDevice succeeds even for RETIRED devices.

What is the difference between a Braket program set and a task batch?

A program set bundles many programs into one service-side task billed with a single per-task fee, supported on all gate-based QPUs. A task batch (run_batch) dispatches independent tasks in parallel, each billed separately, and works on any device.

Does Amazon Braket support analog Hamiltonian simulation?

Yes, Braket supports AHS on neutral-atom devices, but a device accepts only one paradigm. Check the device's action map for braket.ir.ahs.program via GetDevice rather than assuming support from the device name.

How do I cap spending on Braket QPU usage?

Create a spending limit per QPU device ARN with the CreateSpendingLimit API, specifying a USD amount and time period. The limit rejects QPU tasks once exceeded; the SDK Tracker only estimates costs and does not enforce caps.

Why does my Braket hybrid job fail with ModuleNotFoundError?

The entry_point must be derived from source_module as module:function with a colon, matching the archived layout. The SDK strips leading path components, so a directory source_module needs its basename as the module prefix.