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
gefragt vor 9 Monaten241 Aufrufe
2 Antworten
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
beantwortet vor 9 Monaten
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
beantwortet vor 9 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen