PennyLaneAI / PennyLane-IonQ

This PennyLane plugin allows IonQ simulators/hardware to be used as PennyLane devices.
https://docs.pennylane.ai/projects/ionq
Apache License 2.0
9 stars 12 forks source link

Timeout to requests #103

Open rajkk1 opened 4 months ago

rajkk1 commented 4 months ago

Hello team!

I saw this PR that was merged back in 2021 where the a default timeout of ten minutes was added to requests: https://github.com/PennyLaneAI/PennyLane-IonQ/pull/27

I also saw that in one of the comments, it was suggested that a user-setting could be implemented https://github.com/PennyLaneAI/PennyLane-IonQ/pull/27#pullrequestreview-664531782

Just wanted to follow up and ask if you did in fact end up making the timeout value user-settable, given that often times the queue can take longer than 10 minutes which then just causes the whole operation to fail.

Thank you!

trbromley commented 4 months ago

Hi @rajkk1! We've mainly focused on maintaining this plugin recently, rather than adding new features. There may be a way to override the default by changing some of the device's attributes related to the API client.

However, one alternative for accessing the IonQ device is via the AmazonBraket device.