By using AWS re:Post, you agree to the Terms of Use
/botocore ReadTimeoutError while calling QBSolv on D-Wave's Quantum Annealer/

botocore ReadTimeoutError while calling QBSolv on D-Wave's Quantum Annealer

0

Hello,

I submitted a QUBO to the Quantum Annealer from D-Wave via Amazon Braket. I used the QBSolv solver and my local Python IDE. Unfortunately, I received the "botocore ReadTimeoutError". Is there a way to increase the boto reading time within my local Python script to avoid this error?

Thank you.

3 Answers
0

Can you share the script you are using to check if we can reproduce the error on our end?

Thank You!

answered 9 days ago
  • I cannot share everything, since it is part of an ongoing research project, but here are the main parts. The error occurred during the execution of "QBSolv().sample_qubo(...)".

    choose a D-Wave Advantage system

    system = BraketDWaveSampler(s3_folder, device_arn='arn:aws:braket:::device/qpu/d-wave/Advantage_system4')

    use the FixedEmbeddingComposite() method with a fixed embedding

    solver_QA = FixedEmbeddingComposite(system, embedding)

    Initialize the QUBO matrix

    QUBO = defaultdict(int)

    Update the QUBO matrix based on the problem at hand

    for k in qubo_matrix_quadratic_dict: QUBO[(k0, k1)] += qubo_matrix_quadratic_dictk

    sampler = solver_QA response = QBSolv().sample_qubo(QUBO, solver=sampler, num_repeats=config_dict"num_repeats", solver_limit=config_dict"solver_limit", num_reads=config_dict"number_of_reads", verbosity=1)

0

Hello, Thank you for using Braket!

Have you tried submitting the circuit again? I believe this is a boto api transient error. In order for us to reproduce the issue on our end can you provide us with the following information:

  1. This error was received immediately or after a certain period of time after submitting the circuit?
  2. Are you using any of the Braket example notebooks or a different script for this?
answered 9 days ago
0

Thank you for your response.

  1. The error appeared after a certain period of time after submitting the circuit, I actually received some solutions without any errors, but after approx. one hour, the error message was shown.

  2. I did not use one of the example notebooks, I am using my own script within my local Python IDE (PyCharm).

answered 9 days 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