Avoiding Bad Qubits
The D-Wave 2000Q system has up to 2048 qubits, but the dashboard informs today that the "DW_2000Q_5" has 2030 qubits available. About the 18 bad-qubits, I wonder:
1) how to know what are (numbers) the bad-qubits?
2) how to avoid them when using "minorminer.find_embedding"?
3) what happens (in the QPU) if I manually specify a bad qubit in my embedding?
Thank you very much.
Comments
Hello,
1) The bad qubits will not show up in the graph returned from the sampler.
You can see this by calling the following code:
You could then take check the difference between this list and a theoretical full list:
2) If you use minorminer.find_embedding, all of these qubits will be avoided automatically!
3) The Ocean tools will not let you specify a bad qubit. You will get an error saying that the graph you submitted is not compatible with the sampler's graph:
sampler.sample_ising({577:1},{})Traceback (most recent call last):
File "<input>", line 1, in <module>
File "C:\Users\djohnson\PycharmProjects\dwave\venv\lib\site-packages\dwave\system\samplers\dwave_sampler.py", line 276, in sample_ising
raise BinaryQuadraticModelStructureError(msg)
dimod.exceptions.BinaryQuadraticModelStructureError: Problem graph incompatible with solver.
David,
Basically is impossible for an embedding with one bad qubit to run.
Thank you so much for all the details and examples.
That's right but it should be possible to avoid this scenario with minorminer's find_embedding.
Please sign in to leave a comment.