IBMBackend.target_history()
doesn't include the historical calibrations
#1615
Labels
bug
Something isn't working
Describe the bug
When you retrieve a historical
Target
usingIBMBackend.target_history()
, the calibrations defined in the target are the same as the current ones.Steps to reproduce
All three amplitudes are the same, indicating that the historical calibrations are not retrieved.
Expected behavior
The function definition suggests that the
Target
will be the same as the historical one, and the calibrations will be the ones used at that time.Suggested solutions
Either return the correct calibrations, or clarify that they are not retrieved. (Return empty calibrations to avoid confusions?)
Additional Information
I am guessing that in the transition to
Target
a while back, this function was built on top of a similar option existing for the legacyproperties()
which didn't include the calibrations at the time.The text was updated successfully, but these errors were encountered: