botocore ReadTimeoutError while calling QBSolv on D-Wave's Quantum Annealer
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?
Can you share the script you are using to check if we can reproduce the error on our end?
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
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)
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).
Can I access/use the Leap Hybrid Solvers from DWave via Braket?Accepted Answerasked 20 days ago
I have a large matrix, and I would like to use AWS Braket tools to solve the QUBO problem.asked 3 days ago
Braket Tasks Queue but queue isn't being cleared
Pricing of D-Wave's Quantum Annealer if qbsolv is usedAccepted Answerasked 3 months ago
Does an S3 bucket have to be provided for a Braket DWave run?
Exponentially increasing cpu time while using QBSolv/D-Waveasked 5 days ago
Nonblocking call to dwave samplerAccepted Answer
Braket Notebook finished before Quantum Computer tasks didasked 5 months ago
num_repeats effect on costs (DWave's solvers)Accepted Answerasked 18 days ago
botocore ReadTimeoutError while calling QBSolv on D-Wave's Quantum Annealerasked 12 days ago