import numpy as np
# Importing standard Qiskit libraries
from qiskit import QuantumCircuit, transpile, Aer, IBMQ
from qiskit.tools.jupyter import *
from qiskit.visualization import *
from ibm_quantum_widgets import *
from qiskit import *
# Loading your IBM Q account(s)
#provider = IBMQ.load_account()

q = QuantumRegister(1)
c = ClassicalRegister(1)
qc = QuantumCircuit(q, c)

qc.h(q[0])

from qiskit.quantum_info import *
Density_Matrix = DensityMatrix.from_instruction(qc)

plot_state_hinton(Density_Matrix) #Hinton plot tells the imaginary and real part of the circuit

