From 60cf699217895942ff8a8906591183b642687716 Mon Sep 17 00:00:00 2001 From: araujoms Date: Wed, 15 Mar 2023 10:07:59 +0100 Subject: [PATCH] add unit test for complex numbers --- examples/README.md | 10 ++++++++++ examples/quantum.mat | Bin 0 -> 942 bytes examples/test_sedumi.m | 5 +++-- 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 examples/quantum.mat 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 0000000000000000000000000000000000000000..4856aaf7b9ab4fd737a1ac5f856a42f2901cebb5 GIT binary patch literal 942 zcmeZu4DoSvQZUssQ1EpO(M`+DN!3vZ$Vn_o%P-2cQgHY2i*PhE(NSJZ(nJ&JW5r-^c@=Xd}7Jxg`vML9M5$iD}V)c0h6^WPTxCUfuZ%lk^cwWvRQbn$m^<(Ka_ zOQ#7$L~$wA5`P#|GMet@6>3Y*J*e4TW0fL=AV4M^X#tllf@PFHyNL+ z%W}_p`0enS_LuD^^XC+8+nsdo(BBOejf~q)wX>c!_q#uT_rK+<@BIGxO})?O()-kz zd+lp|Up@4=z4BW?W%Z0-TRz=uUwQo54e`Bm-qsz`Ed4)uYUpw8ozD+`dEb8Oefvs& zBb_T9+%NC!w{1SZDe;ucjGqR7fjW2mlnL_s_^(#;TL3UHZaaSksZMubHl67=ulW0y zx95AqKkk^k^-|q&b@Sen{Mv7QMS9HcmF3>zpW1%gxbXeE`!ns+Zu+l|`K4&H`E1uj6s;L;RV2R*k(AH!4 z1yY{_S1*u|0!?m57#Pqf3Xd3A zqB*yL>~x0P830Y