Skip to content

Instantly share code, notes, and snippets.

@hariby
Created June 24, 2021 11:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hariby/6cfc1bc7f4c15e28045a3b43a32ea181 to your computer and use it in GitHub Desktop.
Save hariby/6cfc1bc7f4c15e28045a3b43a32ea181 to your computer and use it in GitHub Desktop.
from boto3.session import Session
from braket.aws.aws_session import AwsSession
from braket.aws import AwsDevice
region_name = 'us-west-2'
sess = Session(region_name=region_name)
aws_sess = AwsSession(boto_session=sess)
device = AwsDevice("arn:aws:braket:::device/quantum-simulator/amazon/sv1", aws_session=aws_sess)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment