diff --git a/examples/README.md b/examples/README.md index fb6201f..04782f1 100644 --- a/examples/README.md +++ b/examples/README.md @@ -58,3 +58,13 @@ http://plato.asu.edu/sub/testcases.html. > M. Kocvara and J. Zowe. How mathematics can help in design of mechanical > structures. In D.F. Griffiths and G.A. Watson, eds., Numerical Analysis > 1995, Longman, Harlow, 1996, pp. 76--93. + + +- **quantum.mat**: A traditional problem from quantum information theory, + it computes the probability of succesfully distinguishing two quantum states. + It's used to test SeDuMi's support for complex numbers. + For details see + + > [Quantum state discrimination](https://en.wikipedia.org/wiki/Quantum_state_discrimination) + + Optimal value is `-0.75395345` diff --git a/examples/quantum.mat b/examples/quantum.mat new file mode 100644 index 0000000..4856aaf Binary files /dev/null and b/examples/quantum.mat differ diff --git a/examples/test_sedumi.m b/examples/test_sedumi.m index 6226ae6..85ad5b3 100644 --- a/examples/test_sedumi.m +++ b/examples/test_sedumi.m @@ -22,9 +22,10 @@ function test_sedumi (do_rebuild, do_exit) test_problems = { ... 'arch0.mat', -5.665170e-01; ... 'control07.mat', -2.062510e+01; ... - 'nb.mat', -5.070309e-02; ... + 'nb.mat', -5.070309e-02; ... 'OH_2Pi_STO-6GN9r12g1T2.mat', 7.946708e+01; ... - 'trto3.mat', -1.279999e+04}; + 'trto3.mat', -1.279999e+04; ... + 'quantum.mat', -0.75395345}; tol = 1e-6;