qiskit-community / qiskit-ionq

Qiskit provider for IonQ backends
https://qiskit-community.github.io/qiskit-ionq/
Apache License 2.0
42 stars 24 forks source link

Fix calibration() method #106

Closed Cynocracy closed 1 year ago

Cynocracy commented 1 year ago

Also update to use the v0.2 base URL

There were a few issues with calibration(), mainly:

  1. list calibrations endpoint no longer exists
  2. code that was ported to raise_for_status was ported incorrectly, doubly breaking it (mea culpa on this one, I think)

This was tested manually, we'll have to add this to our internal integration testing to avoid this kind of breakage, which I can do as a followup

Cynocracy commented 1 year ago

Ah, actually, it's probably better to use https://docs.ionq.com/#tag/characterizations/operation/getCharacterizationsCurrentForBackend