Created
June 24, 2021 11:03
-
-
Save hariby/6cfc1bc7f4c15e28045a3b43a32ea181 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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