/MelvinPython

Implement Melvin in python

Primary LanguagePython

Overview

Melvin is an algorithm to automatically design and find new useful experiments for quantum physicists, which was developed by Dr. Mario Krenn. The original codes are implemented in the software Wolfram Mathematica, of which the important features is that it can do symbolic, as well as numerical calculations.

Here I reimplement Melvin into Python environment, which is open source software. SymPy is a Python library, which can be used for symbolic mathematics (sympy 1.3).

Codes

Examples on creating quantum physical states and symbolic transformations (mathematica version in the branch "Mathematica_Codes"):

  • The SimpleHOMExample program shows how to work with quantum states, and how the symbolic transformations work.
    SimpleHOMExample.nb
    SimpleHOMExample.py
  • The CalcSRV program is a full version which searches for 3-particle high-dimensionally entanged states with existing optical elements.
    CalcSRV.nb
    CalcSRV.py
  • The SRVCaseCheck code is for checking whether a optical setup can produce 3-particle maximally entanged states.
    SRVCaseCheck.py
    Calc4ParticleSRV.nb
    Calc4ParticleSRV.py

More infromation

For more information about Melvin, and other helpful links, take a look at these resources:

I appreciate all kinds of help, so thank you if you'd like to contribute. If you have any problems, please do not hesitate to contact me (email: njuxmgu@gmail.com).