Open Eyal-Leviatan opened 3 weeks ago
Hello, IQM Resonance is not using the latest version of IQM server software, and does not support dynamic quantum architecture yet.
I was looking for calibration information. I was able to get it by running:
result = requests.get( join("https://api.resonance.meetiqm.com/quantum-computers/v1/garnet/calibrations"), headers=client._default_headers() ).json()
Is there a higher-level functionality of IQMClient that does this for me?
An implementation was added here https://github.com/iqm-finland/iqm-client/pull/91 for reference. As far as I am aware there is no in built functionality for this in IQMClient
and I have used the method you showed above.
Right, but the URL there (os.path.join(self._base_url, 'calibration')) will not work, since _base_rul is "https://cocos.resonance.meetiqm.com/garnet" (as per the documentation of how to send jobs). It works for: _base_url = "https://api.resonance.meetiqm.com/quantum-computers/v1/garnet" though.
Thanks anyway
Thank you for reporting this. We have added this to our backlog to improve the error messaging (SW-767) and obtaining calibration data and quality metrics (SW-766).
` from iqm import qiskit_iqm
server_url = "https://cocos.resonance.meetiqm.com/garnet" api_token="..."
provider = qiskit_iqm.IQMProvider(server_url, token=api_token) backend = provider.get_backend() client = backend.client client.get_dynamic_quantum_architecture() `
returns: HTTPError: 404 Client Error: Not Found for url: https://cocos.resonance.meetiqm.com/garnet/api/quantum-computers/v1/calibration/default/gates