How to get the Qiskit textbook widgets working?

358 views Asked by At

For example, when trying to run

from qiskit_textbook.widgets import gate_demo
gate_demo(gates='pauli')

in Jupyter notebook or a script, the output I get is

HBox(children=(Button(description='X', layout=Layout(height='3em'), style=ButtonStyle()), Button(...

Image(value=b'\x89PNG\r\n\xla\n\x00\x00\x00\rIHDR\x00\x00\x02...

0

There are 0 answers