Code

M9_Spikey_small

Some Mathematica resources for quantum information:

Note: in the partial trace code some variables are global and may conflict with other parts of your code if you integrate it into a larger program. To fix this, you can simply change the name of some variables.