botocore ReadTimeoutError while calling QBSolv on D-Wave's Quantum Annealer
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.
Can you share the script you are using to check if we can reproduce the error on our end?
Thank You!
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:
- This error was received immediately or after a certain period of time after submitting the circuit?
- Are you using any of the Braket example notebooks or a different script for this?
Thank you for your response.
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.
I did not use one of the example notebooks, I am using my own script within my local Python IDE (PyCharm).
Relevant questions
Can I access/use the Leap Hybrid Solvers from DWave via Braket?
Accepted Answerasked 20 days agoI have a large matrix, and I would like to use AWS Braket tools to solve the QUBO problem.
asked 3 days agoBraket Tasks Queue but queue isn't being cleared
asked 2 years agoPricing of D-Wave's Quantum Annealer if qbsolv is used
Accepted Answerasked 3 months agoDoes an S3 bucket have to be provided for a Braket DWave run?
asked 2 years agoExponentially increasing cpu time while using QBSolv/D-Wave
asked 5 days agoNonblocking call to dwave sampler
Accepted Answerasked 2 years agoBraket Notebook finished before Quantum Computer tasks did
asked 5 months agonum_repeats effect on costs (DWave's solvers)
Accepted Answerasked 18 days agobotocore ReadTimeoutError while calling QBSolv on D-Wave's Quantum Annealer
asked 12 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)