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
已提問 9 個月前檢視次數 241 次
2 個答案
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
已回答 9 個月前
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
已回答 9 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南