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

feita há 4 anos184 visualizações
2 Respostas
0
Resposta aceita

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
respondido há 4 anos
0

Thanks

respondido há 4 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas