Skip to content

Commit

Permalink
Remove opt level 1 variant of test_chained_data_dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mtreinish committed Apr 13, 2023
1 parent 3d6c943 commit 0041f3f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/python/compiler/test_transpiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -2465,7 +2465,11 @@ def _visit_block(circuit, qubit_mapping=None):
op_node._node_id, lambda edge_data: isinstance(edge_data, Clbit)
)[0]

@data(1, 2, 3)
# Level 1 skipped in this test for now because routing inserts more swaps
# and tricking the intermediate layout permutation to validate ordering
# will be different compared to higher optimization levels. We have similar
# coverage provided by above tests for level 1.
@data(2, 3)
def test_chained_data_dependency(self, opt_level):
"""Test 3 component circuit with shared clbits between each component."""
creg = ClassicalRegister(1)
Expand Down

0 comments on commit 0041f3f

Please sign in to comment.