Error map¶
from qiskit import IBMQ
IBMQ.load_account()
from kaleidoscope.qiskit.backends.interactive import system_error_map
Error map from backend instance¶
pro = IBMQ.get_provider(group='open')
backend = pro.backends.ibmq_lima
system_error_map(backend)
Error map from backend properties¶
import datetime
# Grab ibmq_lima properties on Jan. 1, 2020.
old_props = backend.properties(datetime=datetime.datetime(2020, 1, 1))
system_error_map(old_props)
Traceback [1;36m(most recent call last)[0m:
File [0;32m"<ipython-input-3-a3e05abccc79>"[0m, line [0;32m4[0m, in [0;35m<module>[0m
system_error_map(old_props)
[1;36m File [1;32m"/opt/miniconda3/envs/qiskit/lib/python3.9/site-packages/kaleidoscope/qiskit/backends/interactive/error_map.py"[1;36m, line [1;32m90[1;36m, in [1;35msystem_error_map[1;36m[0m
[1;33m raise KaleidoscopeError('Input is not a valid backend or properties object.')[0m
[1;31mKaleidoscopeError[0m[1;31m:[0m Input is not a valid backend or properties object.
Use %tb to get the full traceback.
Change colormap¶
from kaleidoscope.qiskit import system_error_map
from kaleidoscope.qiskit.services import Systems
from matplotlib.cm import cividis
backend = Systems.ibmq_santiago𖼯5Q𖼞
system_error_map(backend, colormap=cividis)