2
$\begingroup$

I am doing some analysis from a now retired device (lima) and I would like to access its "logic" construction in qiskit. Specifically, I would like to print the circuits in the specific transpilation for the device, print the circuits to external files, and make use of callbacks in order to check the flow of the circuit during the transpilation procedure. How can I access this?

Note that I don't want to retrieve jobs (a.k.a. numerical data).

The error arises in the code

provider = IBMProvider(instance="ibm-q/open/main")
backend = provider.get_backend('ibmq_lima')
(...)
# The error:
QiskitBackendNotFoundError: 'No backend matches the criteria'

What is the "backend access" for retired devices?

$\endgroup$

1 Answer 1

2
$\begingroup$

Some backend configuration is saves an released in Qiskit (being moved to the IBM Quantum packages). You can retrieve that configuration from qiskit.providers.fake_provider:

from qiskit.providers.fake_provider import FakeLima
from qiskit.visualization import plot_error_map

backend = FakeLima()
plot_error_map(backend)

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.