from qiskit import *
%matplotlib inline
import numpy as np

qc = QuantumCircuit(2,2)

qc.rx(np.pi/2,0)
qc.z(0)
qc.draw(output='mpl')

qc2 = QuantumCircuit(2,2)

qc2.z(0)
qc2.rx(-np.pi/2,0)
qc2.draw(output='mpl')




