Skip to content

Commit

Permalink
corrections by Andrea and fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Simone-Bordoni committed Nov 10, 2023
1 parent 778c9ac commit 486dd6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qibo/transpiler/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ def _swap_candidates(self):
"""
candidates = []
for block in self._front_layer:
for qubit in self.circuit.get_physical_qubits(block)
for qubit in self.circuit.get_physical_qubits(block):
for connected in self.connectivity.neighbors(qubit):
candidate = tuple(
sorted(
Expand Down

0 comments on commit 486dd6d

Please sign in to comment.