Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Transpiler add passes that might be out of the default basis (Qiskit#…
…2357) Fixes Qiskit#2349 When a basis is not defined for a circuit, the default basis set is the set of gates used in the circuit. This makes total sense to me. However, passes might add gates and the might be out of that bases. For this reason, I'm suggesting to add the base basis (UBase and CXBase) as part of the default basis set. If I understand correctly, the base basis (is that their name?) is supported by every backend by definition, so the gates that are added by the transpiler can run in the backend. (cherry picked from commit 4bfcc5d)
- Loading branch information