Skip to content

Commit

Permalink
Update test_aws.py
Browse files Browse the repository at this point in the history
Updated the Client name.
  • Loading branch information
mho291 committed Apr 30, 2024
1 parent 4a51a17 commit a1e418c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_aws.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ def test_aws_client_backend():
circuit_qibo.add(gates.M(0, 2))

# Local simulator test, does not cost money
client = aws_client.AWSClientBackend()
client = aws_client.BraketClientBackend()
# AWS device tests, cost money
# AWS = aws_client.AWSClientBackend(device = AwsDevice("arn:aws:braket:eu-west-2::device/qpu/oqc/Lucy"))
# AWS = aws_client.AWSClientBackend(device = AwsDevice("arn:aws:braket:::device/quantum-simulator/amazon/sv1"))
# AWS = aws_client.BraketClientBackend(device = AwsDevice("arn:aws:braket:eu-west-2::device/qpu/oqc/Lucy"))
# AWS = aws_client.BraketClientBackend(device = AwsDevice("arn:aws:braket:::device/quantum-simulator/amazon/sv1"))

local_res = NP_BACKEND.execute_circuit(circuit_qibo)
remote_res = client.execute_circuit(circuit_qibo)
Expand Down

0 comments on commit a1e418c

Please sign in to comment.