microsoft / azure-quantum-python

The azure-quantum python package submits jobs to the Azure Quantum service.
https://learn.microsoft.com/azure/quantum/
MIT License
126 stars 92 forks source link

Missing method retrieve_job on Honeywell/Quantinuum backend #263

Closed guenp closed 2 years ago

guenp commented 2 years ago

For ionq qpu, I used the following code block

simulator = myprovider.get_backend('ionq.qpu')

retrieved =simulator.retrieve_job("myid")

But similar code block does not work with Honeywell

simulator = provider.get_backend("honeywell.hqs-lt-s2")

retrieved =simulator.retrieve_job("myid")

It results in the following error message

AttributeError: 'HoneywellQPUBackend' object has no attribute 'retrieve_job'
ricardo-espinoza commented 2 years ago

With the changes in #278 , the method retrieve_job() is now part of the base implementation and is available to all providers.