|Determines whether or not an operator has a symmetric extension|
|Other toolboxes required|| cvx|
SymmetricExtension is a function that determines whether or not a given positive semidefinite operator has a symmetric extension. This function is extremely useful for showing that quantum states are entangled (see the Examples section). Various types of symmetric extensions can be looked for – by default, the extension that is looked must be Bosonic and have positive partial transpose, but both of these restrictions can be removed.
- EX = SymmetricExtension(X)
- EX = SymmetricExtension(X,K)
- EX = SymmetricExtension(X,K,DIM)
- EX = SymmetricExtension(X,K,DIM,PPT)
- EX = SymmetricExtension(X,K,DIM,PPT,BOS)
- EX = SymmetricExtension(X,K,DIM,PPT,BOS,TOL)
- [EX,WIT] = SymmetricExtension(X,K,DIM,PPT,BOS,TOL)
- X: A positive semidefinite operator.
- K (optional, default 2): The number of copies of the second subsystem in the desired symmetric extension.
- DIM (optional, by default has both subsystems of equal dimension): A 1-by-2 vector containing the dimensions of the two subsystems that X acts on.
- PPT (optional, default 1): A flag (either 1 or 0) that indicates whether or not the desired symmetric extension must have positive partial transpose.
- BOS (optional, default 1): A flag (either 1 or 0) that indicates whether or not the desired symmetric extension must be Bosonic (i.e., have its range contained within the symmetric subspace).
- TOL (optional, default sqrt(eps)): The numerical tolerance used throughout this script. It is recommended that this is left at the default value unless numerical problems arise and the script has difficulty determining whether or not X has a symmetric extension.
- EX: A flag (either 1 or 0) indicating that X does or does not have a symmetric extension of the desired type.
- WIT (optional): A witness that verifies that the answer provided by EX is correct. If EX = 1 (i.e., X has a symmetric extension) then WIT is such a symmetric extension. If EX = 0 (i.e., no symmetric extension exists) then WIT is an entanglement witness with trace(WIT*X) = -1 but trace(WIT*Y) >= 0 for all symmetrically extendable Y.
Please add some examples.