Error while execution

0

Enter image description here

Hello community, I was executing my code with the following libraries installed: amazon-braket-default-simulator==1.9.0 amazon-braket-pennylane-plugin==1.9.0 amazon-braket-schemas==1.10.2 amazon-braket-sdk==1.31.0

When i execute my code with pennylane in my local it works but when i try to execute with "arn:aws:braket:eu-west-2::device/qpu/oqc/Lucy" it works, saving my results on a folder named with the task and result.json. After some iterations it stops giving the following error.

error: INFO: backoff: Backing off get_quantum_task (...) for 1.0s (botocore.errorfactory.ResourceNotFoundException: An error occurred (ResourceNotFoundException) when calling the GetQuantumTask operation: Quantum task f1b8bd74-96e1-4cd9-85a1-18fd91de47a2 not found)

Kevin
asked 9 months ago234 views
2 Answers
0

In the screenshot above it looks like an info message (it starts with INFO). Occasionally when trying to poll for an existing quantum task (when trying to get the results, say), the task can't be immediately found in the service. The Braket SDK retries up to 3 times, though, and the error message will still be printed even if the retries eventually succeed.

Could you confirm that your code does indeed terminate prematurely? Thanks!

AWS
answered 9 months ago
0

Executing the code in my local with 3 qubits it lasts 15 seconds and i have the following output: Enter image description here

When i send on a free device the code (the screenshot i sent before took like 20 minutes executing) i got that message with no further notification.

Kevin
answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions