Git Product home page Git Product logo

quantbox's People

Contributors

catch22 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

quantbox's Issues

Validation error for complex SDPs

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!)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.