from qiskit.visualization import plot_bloch_vector

plot_bloch_vector([1,0,0], title="Esfera de Bloch")

from qiskit.visualization import plot_bloch_vector, bloch
from matplotlib.pyplot import text
from math import pi, cos, sin
from qutip import *

# angles that represent our state
theta = pi/2
phi = 4*pi/3

# calculating the coordinates
x = sin(theta)*cos(phi)
y = sin(theta)*sin(phi)
z = cos(theta)

# preparing the sphere
sphere = bloch
sphere.Bloch
b = Bloch()
# preparing the lables
b.ylpos = [1.1, -1.2]
b.xlabel = ['$\\left|0\\right>+\\left|1\\right>$', '$\\left|0\\right>-\\left|1\\right>$']
b.ylabel = ['$\\left|0\\right>+i\\left|1\\right>$', '$\\left|0\\right>-i\\left|1\\right>$']
# first 6 drawn vectors will be blue, the 7th - red
b.vector_color = ['b','b','b','b','b','b','r']
# drawing vectors of orthogonal states (most popular bases), note the coordinates of vectors,
# they correspond to the according states.
b.add_vectors([[0,0,1],[0,0,-1],[0,1,0],[0,-1,0],[1,0,0],[-1,0,0]])
# drawing our state (as 7th vector)
b.add_vectors([x,y,z])
# showing the Bloch sphere with all that we have prepared
b.show()