qiskit-on-iqm icon indicating copy to clipboard operation
qiskit-on-iqm copied to clipboard

Minimal changes to support qiskit v1.2

Open Aerylia opened this issue 5 months ago • 0 comments

Minimal refactor of transpile_to_IQM to support qiskit v1.2. Part of COMP-1361

Task list:

  • [x] Remove the use of Qiskit's BackendProperties
  • [x] Update tox and pyproject files for the new version
  • [x] Create a fake and a real backend in IQMBackendBase to use instead of BackenProperties
  • [ ] Fix the transpile layout preservation in transpile_to_IQM. It is currently ignored.
  • [ ] Add unittests to check if the layout is properly preserved.
  • [ ] Check e2e tests
  • [ ] Discuss version bump.

Other changes:

  • Refactored create_run_request to improve the experience when using different run options, by making them explicit arguments that our documentation can refer to
  • Updated the user guide to refer to the create_run_request documentation to avoid out-dated duplicated information.
  • Adjusted qubit_name_to_idx and idx_to_qubit_name in IQMBackendBase to no longer return Optional, but raise an error when the name or index cannot be found. This improved mypy and pylint issues as well as user experience since these functions should never be called in a way that it would return None. (Version bump?)
  • Unified the IQMBackendBase.architecture and IQMBackendBase._quantum_architecture as they refer to the same information with different objects.

Aerylia avatar Sep 05 '24 12:09 Aerylia