Skip to content

Execution on AWS Hardware

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

Usage

Execution on Amazon Braket requires an AWS account, and a role that Classiq can assume for execution. Before first use, 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.execution 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)",
)

Opening info tab

Supported Backends

The Classiq 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"

NOTE: Some hardware is not available all the time. Check the availability windows with Amazon Braket.