from qiskit.quantum_info import *
from qiskit import QuantumCircuit

qc=QuantumCircuit(2)
sv=Statevector.from_label('01')
sv_evolve=sv.evolve(qc)
sv_evolve

sv_evolve.data

sv_evolve.draw(output="latex")

sv_evolve.draw('qsphere')

qc=QuantumCircuit(2)
sv=Statevector.from_int(2,2**2)
sv_evolve=sv.evolve(qc)
sv_evolve

sv_evolve.data

sv_evolve.draw(output="latex")

qc=QuantumCircuit(2)
density_M=DensityMatrix.from_label('01')
density_M=density_M.evolve(qc)
density_M

density_M.data

density_M.draw(output="latex")

density_M.to_operator()

density_M.to_statevector()

density_M.draw('city')

