Installation
Quick start
API reference
netqasm.util.states.
bloch_sphere_rep
Computes polar coordinates in Bloch sphere given a single-qubit density matrix
mat (numpy.ndarray) – The single-qubit density matrix
tuple
(theta, phi, r)