diff --git a/qiskit/transpiler/passes/basis/decompose.py b/qiskit/transpiler/passes/basis/decompose.py index 3720c40c1001..1772cbd65544 100644 --- a/qiskit/transpiler/passes/basis/decompose.py +++ b/qiskit/transpiler/passes/basis/decompose.py @@ -124,8 +124,6 @@ def _should_decompose(self, node: DAGOpNode) -> bool: def _node_to_dag(node: DAGOpNode) -> DAGCircuit: dag = DAGCircuit() - # dag.add_qubits([Qubit() for _ in range(node.op.num_qubits)]) - # dag.add_clbits([Clbit() for _ in range(node.op.num_clbits)]) dag.add_qubits(node.qargs) dag.add_clbits(node.cargs)