Skip to content

Commit

Permalink
update test_sabre_shortest_path_routing()
Browse files Browse the repository at this point in the history
  • Loading branch information
changsookim committed Jul 29, 2024
1 parent 6eaf3cc commit aae31dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_transpiler_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def test_sabre_shortest_path_routing():

# line connectivity
chip = nx.Graph()
chip.add_nodes_from([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])
chip.add_nodes_from(range(10))
chip.add_edges_from(
[(0, 1), (1, 2), (2, 3), (3, 4), (4, 5), (5, 6), (6, 7), (7, 8), (8, 9)]
)
Expand Down

0 comments on commit aae31dd

Please sign in to comment.