Skip to content

Execution on AWS Hardware

The executor supports execution on Amazon Braket's cloud simulators and hardware. For detailed information please visit: https://aws.amazon.com/braket/

Usage

Execution on Amazon Braket requires an AWS account, and a role which classiq can assume for execution. Before first usage, please contact Classiq support.

{
    "backend_preferences": {
        "backend_service_provider": "AWS Braket",
        "backend_name": "Name of requested simulator or hardware ",
        "aws_role_arn": "ARN of valid role to assume",
        "s3_bucket_name": "S3 bucket name to save results - must start with 'amazon-braket-'",
        "s3_bucket_key": "S3 bucket key to save results",
        "job_timeout": "Timeout for execution (Optional)"
    }
}
from classiq.interface.backend.backend_preferences import AwsBackendPreferences

preferences = AwsBackendPreferences(
    backend_name="Name of requsted simulator or hardware",
    aws_role_arn="ARN of valid role to assume",
    s3_bucket_name="S3 bucket name to save results - must start with 'amazon-braket-'",
    s3_bucket_key="S3 bucket key to save results",
    job_timeout="Timeout for execution (Optional)",
)

Supported backends

The executor supports any available gate-based Amazon Braket simulator and quantum hardware. Included hardware:

  • "IonQ device"
  • "Lucy"
  • "Aspen-11"
  • "Aspen-M-1"

Included simulators:

  • "SV1"
  • "TN1"
  • "dm1"

Please note, some hardware isn't available all the time. Please check the availability windows with Amazon Braket.