Best Separable Approximation on a two-qutrit state

Here you can download the programs used in the work Investigating bound entangled two-qutrit states via the best separable approximation by A. Gabdulin and A. Mandilara, arxiv:1906.08963 and which are based on the algorithmic procedure devised in V. M. Akulin, G. A. Kabatyanski, A. Mandilara, Phys. Rev. A 92, 042322 (2015).

The function F takes as

Input: an 9x9 full rank Hermitian, positive matrix, of unit trace, and Outputs

the components and weight of the Best Separable approximation:

The accuracy on the estimation of the weight is of the order 0,0001.