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

asked 4 years ago171 views
2 Answers
0
Accepted Answer

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
answered 4 years ago
0

Thanks

answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions