from qiskit import assemble from math import pi, sqrt from qiskit.visualization import plot_bloch_multivector, plot_histogram sim = Aer.get_backend('aer_simulator') from qiskit_textbook.widgets import gate_demo gate_demo(gates='pauli')