qiskit/qiskit
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
..
assembler Deprecate Qobj and assemble (#12649) 2024-07-25 10:11:56 +00:00
circuit Fix code examples (#13178) 2024-09-18 15:18:30 +00:00
compiler Internally importing `qiskit.providers.backend.Backend` should not raise `DeprecationWarning` (#12906) 2024-08-15 17:34:50 +00:00
converters Oxidize dag_to_circuit() (#13126) 2024-09-12 19:28:26 +00:00
dagcircuit [DAGCircuit Oxidation] Port `DAGCircuit` to Rust (#12550) 2024-08-23 16:40:59 +00:00
passmanager Spellcheck Done [Unitary Hack 2024] (#12501) 2024-06-19 15:50:03 +00:00
primitives Fix code examples (#13178) 2024-09-18 15:18:30 +00:00
providers Internally importing `qiskit.providers.backend.Backend` should not raise `DeprecationWarning` (#12906) 2024-08-15 17:34:50 +00:00
pulse Fix code examples (#13178) 2024-09-18 15:18:30 +00:00
qasm/libs Update version of OpenQASM 3.0 standard library (#12387) 2024-07-22 15:44:46 +00:00
qasm2 Add example of `qasm2.CustomInstruction` (#13167) 2024-09-18 07:33:56 +00:00
qasm3 Make `qasm3.CustomGate` accessible from Python space (#13187) 2024-09-19 13:38:07 +00:00
qobj Deprecate Qobj and assemble (#12649) 2024-07-25 10:11:56 +00:00
qpy Update docs links for new URL structure (#12896) 2024-08-02 20:53:09 +00:00
quantum_info Fix code examples (#13178) 2024-09-18 15:18:30 +00:00
result Deprecate Qobj and assemble (#12649) 2024-07-25 10:11:56 +00:00
scheduler Remove consider-using-f-string lint rule and updates (#12423) 2024-06-19 07:05:56 +00:00
synthesis Clean two_qubit_decompose code (#13093) 2024-09-13 14:35:03 +00:00
transpiler Don't run ElidePermutation if routing is disabled (#13184) 2024-09-19 20:01:04 +00:00
utils Fix documentation for utils.optionals data values (#13098) 2024-09-05 22:36:03 +00:00
visualization Fix code examples (#13178) 2024-09-18 15:18:30 +00:00
VERSION.txt Revert version number back to 1.3.0 after beta pre-release (#13142) 2024-09-12 15:00:04 +00:00
__init__.py Raise minimum python version to 3.9 (#12910) 2024-09-10 23:53:20 +00:00
_numpy_compat.py Spellcheck Done [Unitary Hack 2024] (#12501) 2024-06-19 15:50:03 +00:00
exceptions.py Introduction of ExperimentalWarning (#11326) 2024-01-31 12:16:46 +00:00
user_config.py Add config option to leverage all cores for sabre (#12780) 2024-07-29 12:50:08 +00:00
version.py Remove __qiskit_version__ (deprecated in Qiskit Terra 0.25) (#11305) 2023-11-24 09:31:09 +00:00