Skip to content

Code to accompany: Device-independent tests of structures of measurement incompatibility

License

Notifications You must be signed in to change notification settings

mtcq/di-certification-measurement-incompatibility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Marco Túlio Quintino, Costantino Budroni, Erik Woodhead, Adán Cabello, and Daniel Cavalcanti

This is a repository for the code used to calculate the numerical results presented in the article "Device-independent tests of structures of measurement incompatibility, Marco Túlio Quintino, Costantino Budroni, Erik Woodhead, Adán Cabello, and Daniel Cavalcanti, Phys. Rev. Lett. 123, 180401 (2019), arXiv:1902.05841".

MATLAB code requires:

  • cvx - a free MATLAB toolbox for rapid prototyping of optimization problems

We have also used functions of QETLAB (QETLAB - A MATLAB Toolbox for Quantum Entanglement), but all used functions can be found in the subfolder QETLAB_used_functions.

The main script in this repository is:

  • run1.m Script used to generate the values presented in Table 1 of the paper. It evaluates the maximal score on the inequality given by Inow for all different sets of correlations considered in the paper. By default, the inequality Inow is set as I3322 and the NPA hierarchy level as level=2. These parameters may be adjusted to consider different inequalities and different levels of the NPA hierarchy. This script calls and explains all the subroutines, used to evaluate the maximal violation of a given Bell inequalities.

The Bell inequalities used in this project are declared in the script load_variables1.m.

About

Code to accompany: Device-independent tests of structures of measurement incompatibility

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages