Simple yet useful functions for quantum information tasks in Mathematica.
Qulib is a library we are continually developing in our group , intended for dealing with simple Quantum Information tasks in Mathematica. The philosophy is to focus only on simple (and non-invasive) functions, but which are nonetheless used all the time (like partial traces, Pauli matrices and so on!)
(other examples are provided below)
Some useful features include:
Download & usage:
Have a look at the Mathematica notebook (.nb) . It contains all functions as Initialization Cells, together with documentation and examples. If you simply want to play with some of the functions, just run the Initialization Cells of this notebook.
A more systematic way of loading the functions is through the following line of code, which can be placed anywhere in the notebook:
Finally, if you wish to install the library in your computer, for further use, follow these steps:
Finally, if you are a heavy user (like me), you can set it up so that Qulib is automatically loaded when Mathematica opens. To do this:
Spin chains: eigenvalues, Lindblad equation &c.
Bosonic systems and metrology.