spheres.visualization.majorana_sphere.tangent_plane_rotation

spheres.visualization.majorana_sphere.tangent_plane_rotation(theta, phi)[source]

Constructs rotation into the tangent plane to the sphere at the given point specified in spherical coordinates.

Parameters
  • theta (float) –

  • phi (float) –

Returns

  • T (np.array)

  • A 3x3 matrix representing the linear transformation corresponding to the rotation.