Code to accompany A formalism for steering with local quantum measurements
This repository provides a small collection of code which reproduces the numerical results presented in
A formalism for steering with local quantum measurements.
A. B. Sainz, L. Aolita, M. Piani, M. J. Hoban, P. Skrzypczyk
arXiv:1708.00756
The main file is a Jupyter notebook that presents all of the codes (written in MATLAB) and performs all of the calculations required to obtain the numerical results presented in this work. The notebook can be most conveniently viewed here.
In order to run (and not just view) the Jupyter notebook, it is necessary to have installed
- Jupyter notebook
- MATLAB and the API for Python
- The MATLAB kernal for Jupyter.
The MATLAB codes require in addition:
Everything has been tested on Matlab R2017a, and CVX 2.1
The MATLAB code comprises the following:
- GenerateAssem.m: generates an assemblage given a shared quantum state and measurements for Alice and Bob
- BreuerMapOnAssem.m: Applies the Breuer map to the elements of an assemblage
- IsAQAssemblage.m: Determines whether an assemblage belongs to the set of 'almost-quantum' assemblages