BlochSphere_Evolution_GW21
This function plots a Bloch sphere, visualizes a series of qubit states, and returns the figure handle and the xyz coordinates. Two input choices are provided: (1) 2-by-N complex numbers, which is the typical way people utilize to represent a qubit; (2) 3-by-N real numbers, which is the cartesian xyz coordinates for visualizing in a 3D unit-one sphere. This function also provides choice to plot the states in a provided figure (2nd input variable). Note that the input variable "state" should be unit cell type and each cell should be either 2-by-N or 3-by-N vectors.
Cite As
Guoqing Wang (2026). BlochSphere_Evolution_GW21 (https://uk.mathworks.com/matlabcentral/fileexchange/90636-blochsphere_evolution_gw21), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
