Skip to content

Commit

Permalink
Remove unused condition for faulty qubits backnedv1 path
Browse files Browse the repository at this point in the history
  • Loading branch information
mtreinish committed Apr 6, 2023
1 parent e720665 commit 8df2130
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions qiskit/transpiler/passes/layout/dense_layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,6 @@ def _build_error_matrix(num_qubits, qubit_map, target=None, coupling_map=None, b
for index, qubit_data in enumerate(backend_prop.qubits):
if index not in qubit_map:
continue
# Handle faulty qubits edge case
# if index >= num_qubits:
# break
for item in qubit_data:
if item.name == "readout_error":
mapped_index = qubit_map[index]
Expand Down

0 comments on commit 8df2130

Please sign in to comment.