Join GitHub today
Spin x/y/z bases representation #431
Provides improved functionality in moving between Jx, Jy and Jz spin bases. Implements logic for using represent, rewrite and InnerProducts between arbitrary states in any basis. See the docstrings for usage. Also implements some tests and documentation for things in the spin module. Let me know if you have any questions or comments.
Note that there are still bugs in the Rotation.d function that will effect results from this work, see . Some of the cases that need to be resolved are in an XFAIL test.