Expand description
Bloch sphere visualization for multi-qubit states.
Provides single-qubit Bloch vector computation via partial trace and a Plotly JSON generator for an N-sphere grid.
Functionsยง
- bloch_
array_ plotly_ json - Returns a Plotly-JSON string for a grid of Bloch spheres, one per qubit.
- bloch_
vector_ for_ qubit - Compute the Bloch vector for a single qubit by partial-tracing the full state.