Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable retrieval of historical data for 'target' #743

Merged
merged 6 commits into from
Mar 9, 2023

Conversation

merav-aharoni
Copy link
Contributor

Summary

Allow the user to retrieve historical data for the target of the backend.

Details and comments

This is similar to the support that already exists for backend.properties. For target, we defined a new method - target_history, since target is defined as a property.
Note that when we try to pass the datetime parameter to defaults(), it does not work, because there is no support for this parameter on the server side.
See similar support in Qiskit/qiskit-ibm-provider#535.

@coveralls
Copy link

coveralls commented Mar 9, 2023

Pull Request Test Coverage Report for Build 4377189123

  • 2 of 9 (22.22%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.07%) to 66.707%

Changes Missing Coverage Covered Lines Changed/Added Lines %
qiskit_ibm_runtime/ibm_backend.py 2 9 22.22%
Totals Coverage Status
Change from base Build 4377079329: -0.07%
Covered Lines: 3300
Relevant Lines: 4947

💛 - Coveralls

@merav-aharoni merav-aharoni marked this pull request as ready for review March 9, 2023 19:31
@merav-aharoni merav-aharoni requested a review from kt474 March 9, 2023 19:32
@merav-aharoni merav-aharoni added the Changelog: New Feature Include in the Added section of the changelog label Mar 9, 2023
@kt474 kt474 merged commit 915c7c5 into Qiskit:main Mar 9, 2023
@merav-aharoni merav-aharoni deleted the target_history branch May 14, 2023 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: New Feature Include in the Added section of the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants