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

posta 4 anni fa184 visualizzazioni
2 Risposte
0
Risposta accettata

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
con risposta 4 anni fa
0

Thanks

con risposta 4 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande