Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderivrii committed Oct 24, 2024
1 parent 1e10c0d commit 175fbaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qiskit/transpiler/passes/synthesis/high_level_synthesis.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def run(self, dag: DAGCircuit) -> DAGCircuit:
(for instance, when the specified synthesis method is not available).
"""
qubits = tuple(dag.find_bit(q).index for q in dag.qubits)
context = QubitContext([i for i in range(len(dag.qubits))])
context = QubitContext(list(range(len(dag.qubits))))
tracker = QubitTracker(num_qubits=dag.num_qubits())
if self.qubits_initially_zero:
tracker.set_clean(context.to_globals(qubits))
Expand Down

0 comments on commit 175fbaf

Please sign in to comment.