Nonblocking call to dwave sampler

0

Folks,
Is there a nonblocking call to the Dwave sampler?

Use case:
I would like to call the sampler in a lambda and exit. I would like to then trigger a lambda on the result.json file showing up in S3.

I don't need to wait around in a lambda for the results due to the extra time and the uncertianty of it returning.

Thanks you
Aussie

已提問 4 年前檢視次數 184 次
2 個答案
0
已接受的答案

Hi AussieV123,

Thanks for reaching out. Yes! Have a look at this example (https://github.com/aws/amazon-braket-ocean-plugin-python/blob/7a229a926d4c3e0921406a215d93e7390886e9f3/examples/braket_dwave_sampler_factoring.py#L54).
It shows how to separate the task creation from sample set retrieval for D-Wave.

Best Regards,
Eric

profile pictureAWS
已回答 4 年前
0

Thanks

已回答 4 年前

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

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

回答問題指南