Melt is a library for doing quantum things in Mathematica. Developed by Prof. Gabriel Landi and the QT2 group. 🇧🇷 🇺🇸
Melt provides a full set of functions for simulating open quantum systems, and performing quantum information tasks in Mathematica.
It also provides utility functions to better match Mathematica’s native functionality with the notations & practices used by quantum physicists.
Melt is built on the philosophy that one should understand the underlying code. It is thus based on simple functions, laid out in a single, easy-to-read Mathematica notebook.
Most functions are designed to seamlessly handle numerics or symbolic inputs. Simple problems, such as 1 or 2 qubits, can be handled symbolically. Complex many-body systems are handled numerically.
Melt works with standard matrices and vectors, making it more accessible and easier to understand. It also uses the built-in sparse-array functionality from Mathematica.
<aside> <img src="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/6f5f03a7-c3da-4fe0-b85a-1bf670750c6f/Transparent.png" alt="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/6f5f03a7-c3da-4fe0-b85a-1bf670750c6f/Transparent.png" width="40px" /> Resources
Mathematica’s native functionality
</aside>
Melt is written as a single Mathematica notebook called melt.nb
, containing all functions & documentation.
<aside> <img src="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/756ba29b-14c8-49ed-b9da-504d011658e4/Transparent.png" alt="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/756ba29b-14c8-49ed-b9da-504d011658e4/Transparent.png" width="40px" /> Download: 👇
</aside>
The zip also contains the file melt.m
, which has only the function definitions.
To automatically load all functions in your Mathematica notebook, run:
Get["<http://www.fmt.if.usp.br/~gtlandi/download/melt.m>"]
For suggestions or bugs, contact Gabriel T. Landi at [email protected].
If you wish to submit your own tutorial, however simple, please do! Tutorials can be a single (commented) Mathematica notebook or a video.