Skip to content

Commit

Permalink
Update backend model up-conversion logic (#11095)
Browse files Browse the repository at this point in the history
* This marks an initiative to replace the contents of method convert_to_target from qiskit.providers.backend_compat.py with contents of method target_from_server_data from qiskit_ibm_provider/utils/json_decoder.py

* removed usage of supported_instructions from conf_*.json

* fixed lint

* added test, to check if the issue has been fixed

* added release note

* added suggestions and refactored code

* removed argument deprecation, removed covert_to_target_legacy

* refactor code

* Added working add_delay argument in convert_to_target function, and removed source code for convert_to_target_legacy function from backend_compat.py.

* refactor code

* fixed lint

* changed a test

* altered release note

* applied suggestions

* add test

* refactor code

* altered handling of calibration data

* docs

* fix docs error

* lint

* refactor code

* refactor code(removed inefficiencies and improved code legibility), applied suggestions, reverted a visualization test to its original form
  • Loading branch information
MozammilQ authored and ElePT committed Dec 13, 2023
1 parent a9c9005 commit 93db199
Show file tree
Hide file tree
Showing 5 changed files with 310 additions and 161 deletions.
Loading

0 comments on commit 93db199

Please sign in to comment.