qiskit/test
Matthew Treinish 9a896d3ae0
Don't run ElidePermutation if routing is disabled (#13184)
* Don't run ElidePermutation if routing is disabled

We have a routing plugin named "none" which is used to assert that no
routing should be performed (it errors if there is routing required).
We were previously running the ElidePermutations pass in this case which
is not the expected or correct behavior because it causes the same kind
of permutation as routing and would eliminate and swap gates in the
circuit. As the typical use case for routing_method='none' is when
you've already routed a circuit (or constructed it by hand to match the
connectivity constraints) we shouldn't be doing this. This commit fixes
this behavior so if the routing_method is set to "none" we no longer run
the ElidePermutations pass.

Fixes #13144

* Move release note to the correct location
2024-09-19 20:01:04 +00:00
..
benchmarks Remove benchmarks for deprecated (or soon to be) features (#13064) 2024-09-03 13:46:48 +00:00
python Don't run ElidePermutation if routing is disabled (#13184) 2024-09-19 20:01:04 +00:00
qpy_compat Raise minimum python version to 3.9 (#12910) 2024-09-10 23:53:20 +00:00
randomized Clean two_qubit_decompose code (#13093) 2024-09-13 14:35:03 +00:00
utils Fix skipping of slow tests (#13119) 2024-09-10 14:10:24 +00:00
visual Raise minimum python version to 3.9 (#12910) 2024-09-10 23:53:20 +00:00
__init__.py Remove `qiskit.test` (#10998) 2024-01-31 14:11:41 +00:00