You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Today when submitting a job on ibm_osaka using backend.run() produces the following error:
File "/usr/local/lib/python3.10/dist-packages/qiskit_ibm_provider/qpy/binary_io/circuits.py", line 917, in _write_layout
virtual_bit = final_layout_physical[i]
KeyError: 16
for i in range(circuit.num_qubits):
try:
virtual_bit = final_layout_physical[i]
final_layout_array.append(circuit.find_bit(virtual_bit).index)
except KeyError:
continue
Additional Information
qiskit-ibm-runtime version: 0.18.0
qiskit-ibm-provider version: 0.8.0
Python version: 3.8.18
Operating system: macos
The text was updated successfully, but these errors were encountered:
Describe the bug
Today when submitting a job on ibm_osaka using backend.run() produces the following error:
File "/usr/local/lib/python3.10/dist-packages/qiskit_ibm_provider/qpy/binary_io/circuits.py", line 917, in _write_layout
virtual_bit = final_layout_physical[i]
KeyError: 16
Steps to reproduce
Expected behavior
Should works
Suggested solutions
The backend reports two faulty qubits on osaka today, backend.properties().faulty_qubits() : [16, 106] and they are missing in the physical layout. I added an exception here https://github.com/Qiskit/qiskit-ibm-provider/blob/f537ad7ece1d325e496fcce29712d50605b5080e/qiskit_ibm_provider/qpy/binary_io/circuits.py#L963
Additional Information
The text was updated successfully, but these errors were encountered: