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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则