This repository was archived by the owner on Aug 19, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
random_circuit_hex benchmark backwards compatility (#358)
Makes two additional changes to random_circuit_hex to better support older qiskit versions. Re-orders import attempts for euler_angles_1q. At some point in time, trying to call euler_angles_1q via qiskit.mapper would import successfully, but raise when called with an error like qiskit.exceptions.QiskitError: 'euler_angles_1q functionality is now accessible in qiskit.quantum_info.synthesis'. Change default order to always use the newest version of euler_angles_1q that's available. Falls back to setting seed_mapper for versions of qiskit earlier than seed_transpiler.
- Loading branch information