• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / qiskit-ibm-runtime / 6790934410

07 Nov 2023 10:14PM UTC coverage: 55.975% (-14.4%) from 70.398%
6790934410

push

github

web-flow
Support IBMBackend.run() (#1138)

* initial support for backend.run()

* Added temporary session support

* Copied test_backend.py from the provider

* Added all status types from the provider

* Added test_ibm_job_states.py from provider. Added 'transpiler' directory to support convert_id_to_delay

* lint

* black

* lint

* Added integration tests from the provider

* added test_ibm_job and made necessary changes

* Fixed several tests

* Fixed missing job methods in test

* Changed exception type

* Added test_ibm_job_attributes.py

* Added test_ibm_job_attributes.py that was missed in previous commit

* Added test class TestBackendRunInSession for backend.run with session

* Cleaning up code

* lint, added missing parameter

* Added more tests from qiskit-ibm-provider

* Inherit from BaseQiskitTestCase

* Enabled several tests

* removed method _deprecate_id_instruction

* lint, unused imports

* Removed instance parameter from tests with backend.run()

* Removed instance from decorator

* Changed test to run on quantum channel only

* Removed instance parameter when getting backend

* lint

* Copied transpiler directory from the provider

* black

* fix more tests

* update test_session

* added tranpiler passes entry point

* Removed obsolete JobStatus types, and removed the tests that were checking them

* Removed unnecessary check

* Removed exception parameter from validate_job_tags. Use 'import_job_tags' from runtime instead of from provider

* Put back the check if circuit is indeed of type 'QuantumCircuit'. Updated the hint accordingly

* Update qiskit_ibm_runtime/ibm_backend.py

Co-authored-by: Jessie Yu <jessieyu@us.ibm.com>

* Cleaned up code involving session setup

* Removed setting of 'skip_transpilation' because set by default by Qasm3

* Replaced in path 'qiskit-ibm-provider' with 'qiskit-ibm-runtime'.

* Added None to get() statement

* Changed w... (continued)

93 of 1048 new or added lines in 16 files covered. (8.87%)

2464 of 4402 relevant lines covered (55.97%)

6.56 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

60.0
/qiskit_ibm_runtime/ibm_backend.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc