For OpenPulse enabled backends, the Hamiltonian can be retrieved via its configuration. The configuration holds a dictionary containing for example the Hamiltonian as a LaTeX string. Example code:
from qiskit.providers.fake_provider import FakeBelem
backend = FakeBelem()
print(backend.configuration().hamiltonian['h_latex'])
When rendered, the Hamiltonian (for fake backend FakeBelem
) is defined as seen in this picture:
The Hamiltonian for other backends, for example the real ibmq_guadalupe
look similar, just with more coupling(J)- and control channel(U)-Terms.
What is the meaning of the $\Delta_i$ and $O_i$ symbols (marked red, first line) in these kind of Hamiltonians?