Skip to content

Validation error for complex SDPs #5

Description

@catch22

See here. This code

% prepare Ψ ⊗ Ψ for a Haar random pure state Ψ
[U, ~, ~] = svd(rand(3) + 1i*rand(3));
sigma = U * diag([1 0 0]) * U';
sigma = sigma / trace(sigma);
rho = kron(sigma, sigma);
dims = [3 3];
% try to find 2:1 extension that is 1:0-PPT
[RHO_EXT, ~, ~, ~, INFO] = sym_extension(rho, dims, [2 1], [1 0], [1 1], 'sdpt3');

leads to the following error:

error: total dimension of C should be > length(b)
error: called from
validate at line 143 column 5
sqlp at line 159 column 38
solve_sdp>solve_sdp_with_sdpt3 at line 201 column 17
solve_sdp at line 177 column 3
sym_extension at line 120 column 14

Currently the workaround is to comment out line 143 in validate.m.
(This does not work, see below!)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions