Tutorials
spheres.beams.
viz_spin_beam
Visualizes a spin state and its corresponding structured Gaussian beam side by side with matplotlib.
spin (qt.Qobj) – Spin-j state.
size (float) – Size of plot.
n_samples (int) – Number of samples of the beam function.