Federico Spedalieri

Entanglement Code

Below is the link to the Compressed Entanglement Testing Matlab code. You need to change the extension to .m and you will need the  Sedumi package by J. Sturm, that can be downloaded from http://sedumi.ie.lehigh.edu/ . If you find any bugs please let me know. The code has room for improvement (could definitely be optimized). If you modify it and improve it, please send me a note, I'll be very interested to hear about it.


Note: the code does not check if there is actually a state that satisfies the constraints (it assumes you are feeding it reasonable information). You can check if a state satisifies a given set of constraints using the following Matlab function: CheckStateConstraints