Expand description
Q-sphere visualization (Qiskit-style) for quantum states.
Maps each computational basis state to a point on a unit sphere with latitude proportional to Hamming weight and longitude determined by rank within the Hamming shell.
Functionsยง
- qsphere_
plotly_ json - Returns a Plotly-JSON string for a Q-sphere visualization of the state.