<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Quantum_state_distinguishability on vrusso</title><link>https://vrusso.com/tags/quantum_state_distinguishability/</link><description>Recent content in Quantum_state_distinguishability on vrusso</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Tue, 01 Jul 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://vrusso.com/tags/quantum_state_distinguishability/index.xml" rel="self" type="application/rss+xml"/><item><title>A Tale of Two Measurements: How quantum nonlocality can appear and disappear</title><link>https://vrusso.com/posts/nonlocality_without_entanglement/</link><pubDate>Tue, 01 Jul 2025 00:00:00 +0000</pubDate><guid>https://vrusso.com/posts/nonlocality_without_entanglement/</guid><description>In the quantum world, things are often weird. One of the classic sources of weirdness is entanglement, the &amp;ldquo;spooky action at a distance&amp;rdquo; that connects particles no matter how far apart they are. But there&amp;rsquo;s a lesser-known, yet equally fascinating, type of weirdness called &amp;ldquo;quantum nonlocality without entanglement.&amp;rdquo;
This phenomenon occurs when you have a set of unentangled (product) quantum states that are, surprisingly, impossible to tell apart perfectly if you&amp;rsquo;re restricted to local operations.</description><content>&lt;p>In the quantum world, things are often weird. One of the classic sources of weirdness is entanglement, the &amp;ldquo;spooky
action at a distance&amp;rdquo; that connects particles no matter how far apart they are. But there&amp;rsquo;s a lesser-known, yet equally
fascinating, type of weirdness called &lt;strong>&amp;ldquo;quantum nonlocality without entanglement.&amp;rdquo;&lt;/strong>&lt;/p>
&lt;p>This phenomenon occurs when you have a set of &lt;em>unentangled&lt;/em> (product) quantum states that are, surprisingly, impossible
to tell apart perfectly if you&amp;rsquo;re restricted to local operations. Imagine two physicists, Alice and Bob, in separate
labs. Someone prepares a quantum system in one of several possible product states—meaning Alice&amp;rsquo;s part and Bob&amp;rsquo;s part
are fundamentally independent—and sends one part to each of them. Even though there&amp;rsquo;s no entanglement, they might find
that to have the best possible chance of identifying which state they were given, they need to bring their parts
together and perform a joint measurement. Acting alone in their labs and communicating over the phone (a process called
LOCC, for Local Operations and Classical Communication) just isn&amp;rsquo;t good enough.&lt;/p>
&lt;p>This leads to a natural question: is this &amp;ldquo;nonlocality&amp;rdquo; an inherent, fixed property of a given set of quantum states? If
a set of states is nonlocal, is it &lt;em>always&lt;/em> nonlocal, no matter how you try to discriminate them?&lt;/p>
&lt;p>It turns out the answer is &lt;strong>no&lt;/strong>. In a &lt;a href="https://arxiv.org/abs/2506.20560">recent paper&lt;/a> I co-authored, we found that
this nonlocality isn&amp;rsquo;t just a property of the states, but also depends crucially on the &lt;em>rules of the game&lt;/em> you&amp;rsquo;re
playing to tell them apart.&lt;/p>
&lt;h2 id="the-two-games-of-state-discrimination">The two games of state discrimination&lt;/h2>
&lt;p>When you&amp;rsquo;re trying to identify an unknown quantum state from a known list, there are two main ways to approach the
problem:&lt;/p>
&lt;ol>
&lt;li>
&lt;p>&lt;strong>Minimum-Error Discrimination (The &amp;ldquo;Best Guess&amp;rdquo; Game):&lt;/strong> In this game, you &lt;em>must&lt;/em> make a guess every time. Your
goal is to maximize the probability of being correct. You accept that you&amp;rsquo;ll sometimes be wrong, but you want to
minimize your average error rate. This is like a multiple-choice test where you&amp;rsquo;re penalized for wrong answers, but you
have to answer every question.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Unambiguous Discrimination (The &amp;ldquo;No Wrong Answers&amp;rdquo; Game):&lt;/strong> This game is stricter. You are allowed to say, &amp;ldquo;I
don&amp;rsquo;t know&amp;rdquo; (an inconclusive result). But if you &lt;em>do&lt;/em> provide an answer, it &lt;strong>must&lt;/strong> be correct. There is zero room for
error. Your goal is to maximize the probability of getting a conclusive, correct result.&lt;/p>
&lt;/li>
&lt;/ol>
&lt;p>One might assume that if a set of states is hard for Alice and Bob to distinguish in the &amp;ldquo;best guess&amp;rdquo; game (i.e., LOCC
is suboptimal), it would also be hard for them in the &amp;ldquo;no wrong answers&amp;rdquo; game. Our work shows this intuition is wrong.&lt;/p>
&lt;h2 id="the-main-result">The main result&lt;/h2>
&lt;p>We constructed a special family of ensembles, each with six unentangled, linearly independent product states in a
\(\mathbb{C}^3 \otimes \mathbb{C}^3\) system. For this set of states, we discovered an interesting duality:&lt;/p>
&lt;blockquote>
&lt;p>The ensemble exhibits nonlocality without entanglement for minimum-error discrimination, but is perfectly local for
unambiguous discrimination.&lt;/p>
&lt;/blockquote>
&lt;p>In other words:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>When playing the &amp;ldquo;Best Guess&amp;rdquo; game&lt;/strong>, Alice and Bob using only LOCC &lt;em>cannot&lt;/em> achieve the optimal success rate. A joint, global measurement is provably better. The states are nonlocal.
$$p_{_{L}}^{me} &lt; p_{_{G}}^{me}$$&lt;/li>
&lt;li>&lt;strong>When playing the &amp;ldquo;No Wrong Answers&amp;rdquo; game&lt;/strong>, Alice and Bob using only LOCC &lt;em>can&lt;/em> achieve the absolute maximum success rate. A fancy global measurement offers no advantage whatsoever. The states are not nonlocal in this context.
$$p_{_{L}}^{ud} = p_{_{G}}^{ud}$$&lt;/li>
&lt;/ul>
&lt;h2 id="how-is-this-possible">How is this possible?&lt;/h2>
&lt;p>The proof for the &lt;strong>minimum-error&lt;/strong> case is quite subtle. We showed that finding the best possible measurement for our
product states is mathematically equivalent to being able to perfectly distinguish a &lt;em>different&lt;/em> set of states—and this
new set of states is &lt;em>entangled&lt;/em>. Since we know that LOCC cannot perfectly distinguish all sets of orthogonal entangled
states, it follows that LOCC cannot be optimal for our original problem.&lt;/p>
&lt;p>The proof for the &lt;strong>unambiguous&lt;/strong> case was more direct. We first calculated the absolute theoretical maximum success
probability for this task, a value no measurement (local or global) could ever beat. Then, we designed a simple,
step-by-step LOCC protocol that Alice and Bob could use. We showed that our local protocol achieves that exact
theoretical maximum. Since their local method is as good as any possible global method, it is, by definition, optimal.&lt;/p>
&lt;h2 id="python-code-and-numerics">Python code and numerics&lt;/h2>
&lt;p>While the proofs in the paper are purely mathematical, we can use numerical optimization to find the optimal success
probabilities for these &amp;ldquo;games&amp;rdquo;. The problem of finding the best quantum measurement can be elegantly framed as a
Semidefinite Program (SDP), a type of convex optimization problem that can be solved efficiently.&lt;/p>
&lt;p>Let&amp;rsquo;s walk through how to verify this with a Python script.&lt;/p>
&lt;p>&lt;strong>Constructing the states:&lt;/strong>
First, we need to create the specific set of six product states from the paper. We&amp;rsquo;ll start
*by defining three vectors in \(\mathbb{C}^3\) that have a pairwise inner product of \(s\). For example, we&amp;rsquo;ll choose
*\(s = 0.5\).&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-python" data-lang="python">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">import&lt;/span> numpy &lt;span style="color:#66d9ef">as&lt;/span> np
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># We define a set of 3 vectors in C^3 with pairwise inner product `s`.&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>s &lt;span style="color:#f92672">=&lt;/span> &lt;span style="color:#ae81ff">0.5&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>psi_1 &lt;span style="color:#f92672">=&lt;/span> np&lt;span style="color:#f92672">.&lt;/span>array([&lt;span style="color:#ae81ff">1&lt;/span>, &lt;span style="color:#ae81ff">0&lt;/span>, &lt;span style="color:#ae81ff">0&lt;/span>], dtype&lt;span style="color:#f92672">=&lt;/span>complex)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>psi_2 &lt;span style="color:#f92672">=&lt;/span> np&lt;span style="color:#f92672">.&lt;/span>array([s, np&lt;span style="color:#f92672">.&lt;/span>sqrt(&lt;span style="color:#ae81ff">1&lt;/span> &lt;span style="color:#f92672">-&lt;/span> s&lt;span style="color:#f92672">**&lt;/span>&lt;span style="color:#ae81ff">2&lt;/span>), &lt;span style="color:#ae81ff">0&lt;/span>], dtype&lt;span style="color:#f92672">=&lt;/span>complex)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># Construct the third vector to be symmetric with the first two.&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>x &lt;span style="color:#f92672">=&lt;/span> s
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>y &lt;span style="color:#f92672">=&lt;/span> (s &lt;span style="color:#f92672">-&lt;/span> s&lt;span style="color:#f92672">**&lt;/span>&lt;span style="color:#ae81ff">2&lt;/span>) &lt;span style="color:#f92672">/&lt;/span> np&lt;span style="color:#f92672">.&lt;/span>sqrt(&lt;span style="color:#ae81ff">1&lt;/span> &lt;span style="color:#f92672">-&lt;/span> s&lt;span style="color:#f92672">**&lt;/span>&lt;span style="color:#ae81ff">2&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>z &lt;span style="color:#f92672">=&lt;/span> np&lt;span style="color:#f92672">.&lt;/span>sqrt(&lt;span style="color:#ae81ff">1&lt;/span> &lt;span style="color:#f92672">-&lt;/span> x&lt;span style="color:#f92672">**&lt;/span>&lt;span style="color:#ae81ff">2&lt;/span> &lt;span style="color:#f92672">-&lt;/span> y&lt;span style="color:#f92672">**&lt;/span>&lt;span style="color:#ae81ff">2&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>psi_3 &lt;span style="color:#f92672">=&lt;/span> np&lt;span style="color:#f92672">.&lt;/span>array([x, y, z], dtype&lt;span style="color:#f92672">=&lt;/span>complex)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># The full ensemble lives in C^3 ⊗ C^3 and consists of 6 product states.&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>ensemble &lt;span style="color:#f92672">=&lt;/span> [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> np&lt;span style="color:#f92672">.&lt;/span>kron(psi_1, psi_2), np&lt;span style="color:#f92672">.&lt;/span>kron(psi_1, psi_3),
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> np&lt;span style="color:#f92672">.&lt;/span>kron(psi_2, psi_1), np&lt;span style="color:#f92672">.&lt;/span>kron(psi_2, psi_3),
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> np&lt;span style="color:#f92672">.&lt;/span>kron(psi_3, psi_1), np&lt;span style="color:#f92672">.&lt;/span>kron(psi_3, psi_2),
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>]
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>&lt;strong>Defining the optimization problem&lt;/strong>:&lt;/p>
&lt;p>Next, we create a function that takes these states and formulates the SDP. This function uses the cvxpy library to
define the variables (the measurement operators), the objective (maximize success probability), and the physical
constraints (e.g., measurements must be valid, and for the unambiguous case, errors must be zero).&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-python" data-lang="python">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">import&lt;/span> cvxpy
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#66d9ef">def&lt;/span> &lt;span style="color:#a6e22e">to_density_matrix&lt;/span>(psi: np&lt;span style="color:#f92672">.&lt;/span>ndarray) &lt;span style="color:#f92672">-&amp;gt;&lt;/span> np&lt;span style="color:#f92672">.&lt;/span>ndarray:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#e6db74">&amp;#34;&amp;#34;&amp;#34;Converts a state vector to a density matrix.&amp;#34;&amp;#34;&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">return&lt;/span> np&lt;span style="color:#f92672">.&lt;/span>outer(psi, psi&lt;span style="color:#f92672">.&lt;/span>conj())
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#66d9ef">def&lt;/span> &lt;span style="color:#a6e22e">get_optimal_prob&lt;/span>(
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> states: list[np&lt;span style="color:#f92672">.&lt;/span>ndarray],
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> strategy: str &lt;span style="color:#f92672">=&lt;/span> &lt;span style="color:#e6db74">&amp;#34;min_error&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> solver: str &lt;span style="color:#f92672">=&lt;/span> &lt;span style="color:#e6db74">&amp;#34;SCS&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>) &lt;span style="color:#f92672">-&amp;gt;&lt;/span> float:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#e6db74">&amp;#34;&amp;#34;&amp;#34;Calculates the optimal success probability using an SDP.&amp;#34;&amp;#34;&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> dim &lt;span style="color:#f92672">=&lt;/span> states[&lt;span style="color:#ae81ff">0&lt;/span>]&lt;span style="color:#f92672">.&lt;/span>shape[&lt;span style="color:#ae81ff">0&lt;/span>]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> n &lt;span style="color:#f92672">=&lt;/span> len(states)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> probs &lt;span style="color:#f92672">=&lt;/span> [&lt;span style="color:#ae81ff">1&lt;/span> &lt;span style="color:#f92672">/&lt;/span> n] &lt;span style="color:#f92672">*&lt;/span> n
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e"># For unambiguous discrimination, we add a &amp;#34;failure&amp;#34; outcome.&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> num_measurements &lt;span style="color:#f92672">=&lt;/span> n &lt;span style="color:#f92672">+&lt;/span> &lt;span style="color:#ae81ff">1&lt;/span> &lt;span style="color:#66d9ef">if&lt;/span> strategy &lt;span style="color:#f92672">==&lt;/span> &lt;span style="color:#e6db74">&amp;#34;unambiguous&amp;#34;&lt;/span> &lt;span style="color:#66d9ef">else&lt;/span> n
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> measurements &lt;span style="color:#f92672">=&lt;/span> [cvxpy&lt;span style="color:#f92672">.&lt;/span>Variable((dim, dim), hermitian&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#66d9ef">True&lt;/span>) &lt;span style="color:#66d9ef">for&lt;/span> _ &lt;span style="color:#f92672">in&lt;/span> range(num_measurements)]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e"># Objective: maximize the average probability of a correct guess.&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> obj_func &lt;span style="color:#f92672">=&lt;/span> sum(probs[i] &lt;span style="color:#f92672">*&lt;/span> cvxpy&lt;span style="color:#f92672">.&lt;/span>trace(to_density_matrix(states[i]) &lt;span style="color:#f92672">@&lt;/span> measurements[i]) &lt;span style="color:#66d9ef">for&lt;/span> i &lt;span style="color:#f92672">in&lt;/span> range(n))
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e"># Constraints for a valid measurement (POVM).&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> constraints &lt;span style="color:#f92672">=&lt;/span> [sum(measurements) &lt;span style="color:#f92672">==&lt;/span> np&lt;span style="color:#f92672">.&lt;/span>eye(dim)]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> constraints &lt;span style="color:#f92672">+=&lt;/span> [m &lt;span style="color:#f92672">&amp;gt;&amp;gt;&lt;/span> &lt;span style="color:#ae81ff">0&lt;/span> &lt;span style="color:#66d9ef">for&lt;/span> m &lt;span style="color:#f92672">in&lt;/span> measurements]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e"># Additional zero-error constraints for the unambiguous game.&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">if&lt;/span> strategy &lt;span style="color:#f92672">==&lt;/span> &lt;span style="color:#e6db74">&amp;#34;unambiguous&amp;#34;&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">for&lt;/span> i &lt;span style="color:#f92672">in&lt;/span> range(n):
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">for&lt;/span> j &lt;span style="color:#f92672">in&lt;/span> range(n):
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">if&lt;/span> i &lt;span style="color:#f92672">!=&lt;/span> j:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> constraints&lt;span style="color:#f92672">.&lt;/span>append(cvxpy&lt;span style="color:#f92672">.&lt;/span>trace(to_density_matrix(states[j]) &lt;span style="color:#f92672">@&lt;/span> measurements[i]) &lt;span style="color:#f92672">==&lt;/span> &lt;span style="color:#ae81ff">0&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e"># Solve the SDP and return the optimal value.&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> problem &lt;span style="color:#f92672">=&lt;/span> cvxpy&lt;span style="color:#f92672">.&lt;/span>Problem(cvxpy&lt;span style="color:#f92672">.&lt;/span>Maximize(cvxpy&lt;span style="color:#f92672">.&lt;/span>real(obj_func)), constraints)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">return&lt;/span> problem&lt;span style="color:#f92672">.&lt;/span>solve(solver&lt;span style="color:#f92672">=&lt;/span>solver)
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>&lt;strong>Running the games and seeing the results&lt;/strong>:
Finally, we use our function to play both games and print the optimal success probabilities.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-python" data-lang="python">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># For the &amp;#34;Best Guess&amp;#34; (minimum-error) game.&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>p_G_me &lt;span style="color:#f92672">=&lt;/span> get_optimal_prob(ensemble, strategy&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#e6db74">&amp;#34;min_error&amp;#34;&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># For the &amp;#34;No Wrong Answers&amp;#34; (unambiguous) game.&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>p_G_ud &lt;span style="color:#f92672">=&lt;/span> get_optimal_prob(ensemble, strategy&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#e6db74">&amp;#34;unambiguous&amp;#34;&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>print(&lt;span style="color:#e6db74">&amp;#34;--- Optimal Global Success Probabilities (p_G) ---&amp;#34;&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>print(&lt;span style="color:#e6db74">f&lt;/span>&lt;span style="color:#e6db74">&amp;#34;Minimum-Error Discrimination: &lt;/span>&lt;span style="color:#e6db74">{&lt;/span>p_G_me&lt;span style="color:#e6db74">:&lt;/span>&lt;span style="color:#e6db74">.4f&lt;/span>&lt;span style="color:#e6db74">}&lt;/span>&lt;span style="color:#e6db74">&amp;#34;&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>print(&lt;span style="color:#e6db74">f&lt;/span>&lt;span style="color:#e6db74">&amp;#34;Unambiguous Discrimination: &lt;/span>&lt;span style="color:#e6db74">{&lt;/span>p_G_ud&lt;span style="color:#e6db74">:&lt;/span>&lt;span style="color:#e6db74">.4f&lt;/span>&lt;span style="color:#e6db74">}&lt;/span>&lt;span style="color:#e6db74">&amp;#34;&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># The paper proves p_G_ud = (1-s)^2. Let&amp;#39;s verify.&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>theoretical_ud_prob &lt;span style="color:#f92672">=&lt;/span> (&lt;span style="color:#ae81ff">1&lt;/span> &lt;span style="color:#f92672">-&lt;/span> s)&lt;span style="color:#f92672">**&lt;/span>&lt;span style="color:#ae81ff">2&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>print(&lt;span style="color:#e6db74">f&lt;/span>&lt;span style="color:#e6db74">&amp;#34;&lt;/span>&lt;span style="color:#ae81ff">\n&lt;/span>&lt;span style="color:#e6db74">Theoretical Unambiguous Prob. (1-s)^2: &lt;/span>&lt;span style="color:#e6db74">{&lt;/span>theoretical_ud_prob&lt;span style="color:#e6db74">:&lt;/span>&lt;span style="color:#e6db74">.4f&lt;/span>&lt;span style="color:#e6db74">}&lt;/span>&lt;span style="color:#e6db74">&amp;#34;&lt;/span>)
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>This script produces the following output:&lt;/p>
&lt;pre tabindex="0">&lt;code>--- Optimal Global Success Probabilities (p_G) ---
Minimum-Error Discrimination: 0.8626
Unambiguous Discrimination: 0.2500
Theoretical Unambiguous Prob. (1-s)^2: 0.2500
&lt;/code>&lt;/pre>&lt;p>This shows that the maximum achievable success rate depends heavily on which &amp;ldquo;game&amp;rdquo; is being played. As the paper
proves, the nonlocality of the ensemble appears for the minimum-error task but vanishes entirely for the unambiguous
one.&lt;/p>
&lt;h2 id="the-takeaway">The takeaway&lt;/h2>
&lt;p>The punchline is that &amp;ldquo;quantum nonlocality without entanglement&amp;rdquo; is not a fundamental attribute of a set of states
alone. It&amp;rsquo;s a relational property that emerges from the interplay between the states and the specific question you&amp;rsquo;re
asking about them. The very same set of states can be nonlocal under one set of rules but perfectly local under another.
The quantum weirdness can appear or disappear depending on how you choose to look.&lt;/p>
&lt;p>For all the mathematical details and the nitty-gritty of the proofs, feel free to check out &lt;a href="https://arxiv.org/abs/2506.20560">the full paper&lt;/a>.&lt;/p></content></item><item><title>The two-copy problem for quantum states</title><link>https://vrusso.com/posts/two_copy_problem/</link><pubDate>Wed, 08 Jan 2025 00:00:00 +0000</pubDate><guid>https://vrusso.com/posts/two_copy_problem/</guid><description>Let \(n\) be an integer, let \(\mathcal{X}\) be a complex Euclidean space, let \(\rho_i \in \text{D}(\mathcal{X})\) be a pure quantum state represented as a density operator, and let
$$ \eta = \left\{\left(\frac{1}{n}, \rho_1\right), \ldots, \left(\frac{1}{n}, \rho_n\right)\right\} \subset \mathcal{X} $$ be an ensemble of pure and mutually orthogonal quantum states. Define \(\eta^{\otimes 2}\) as the two-copy ensemble where
$$ \eta^{\otimes 2} = \left\{\left(\frac{1}{n}, \rho_1 \otimes \rho_1\right), \ldots, \left(\frac{1}{n}, \rho_n \otimes \rho_n\right)\right\} \subset \mathcal{X} \otimes \mathcal{X}.</description><content>&lt;p>Let \(n\) be an integer, let \(\mathcal{X}\) be a complex Euclidean space, let \(\rho_i \in \text{D}(\mathcal{X})\) be a
pure quantum state represented as a density operator, and let&lt;/p>
$$
\eta = \left\{\left(\frac{1}{n}, \rho_1\right), \ldots, \left(\frac{1}{n}, \rho_n\right)\right\} \subset \mathcal{X}
$$
&lt;p>be an ensemble of pure and mutually orthogonal quantum states. Define \(\eta^{\otimes 2}\) as the two-copy ensemble where&lt;/p>
$$
\eta^{\otimes 2} = \left\{\left(\frac{1}{n}, \rho_1 \otimes \rho_1\right), \ldots, \left(\frac{1}{n}, \rho_n \otimes \rho_n\right)\right\}
\subset \mathcal{X} \otimes \mathcal{X}.
$$
&lt;p>&lt;strong>Question&lt;/strong>: Does there exist an ensemble \(\eta^{\otimes 2}\) such that the optimal LOCC, PPT, or SEP values is strictly less than \(1\)?&lt;/p>
&lt;p>Ghosh et al. &lt;a href="https://arxiv.org/abs/quant-ph/0205105">GKRS04&lt;/a> showed that orthogonal maximally entangled states drawn
from the canonical generalized-Bell family can be perfectly discriminated via LOCC if two copies of each of the states
are provided. Their argument does not cover an arbitrary set of \(d^2\) pairwise orthogonal maximally entangled states,
and they exhibit a \(3 \otimes 3\) case where it fails. The question above is more general still, and asks whether two
copies for any set of mutually orthogonal states are &lt;em>always&lt;/em> sufficient for perfectly distinguishing via LOCC, SEP, or
PPT measurements.&lt;/p>
&lt;p>These classes of measurements abide by the following inclusion relationship:&lt;/p>
$$
\text{LOCC} \subset \text{SEP} \subset \text{PPT} \subset \text{GLOBAL}
$$
&lt;p>The set of LOCC measurements has a seemingly complex mathematical structure and no tractable characterization of this
set is known. However, the set of PPT, SEP, and GLOBAL operators forms a closed convex cone and thus the problem of
state distinguishability can be phrased in terms of &lt;a href="https://en.wikipedia.org/wiki/Semidefinite_programming">semidefinite
programming&lt;/a> (SDP) optimization problems.&lt;/p>
&lt;p>The optimal value we obtain from these SDPs would be an upper bound on LOCC in the same way in which they are positioned
in the inclusion chain. As the states are mutually orthogonal, the optimal GLOBAL values will always attain the trivial
upper bound of one. We therefore turn to the respective optimization problems for SEP and PPT measurements.&lt;/p>
&lt;h3 id="semidefinite-program-for-ppt-distinguishability">Semidefinite program for PPT distinguishability&lt;/h3>
&lt;p>Let us first consider the primal problem for the PPT measurement SDP which was introduced in
&lt;a href="https://arxiv.org/abs/1205.1031">Cosentino12&lt;/a>. Given a set of states \(\{\rho_1, \ldots, \rho_n\} \subset \mathcal{A}
\otimes \mathcal{B}\), we wish to find a corresponding set of PPT meaurement operators \(P_1, \ldots, P_n\) that
maximize the equation in the objective function.&lt;/p>
$$
\begin{equation}
\begin{aligned}
\textbf{Primal:} \quad &amp; \\
\text{maximize:} \quad &amp; \sum_{j=1}^k \langle P_j, \rho_j \rangle \\
\text{subject to:} \quad &amp; P_1 + \cdots + P_k = \mathbb{I}_{\mathcal{A}}
\otimes \mathbb{I}_{\mathcal{B}}, \\
&amp; P_1, \ldots, P_k \in \text{PPT}(\mathcal{A} : \mathcal{B}).
\end{aligned}
\end{equation}
$$
&lt;p>Note that we use \(\text{PPT}(\mathcal{A} : \mathcal{B})\) to represent the set of &lt;em>PPT operators&lt;/em> over some complex
Euclidean spaces \(\mathcal{A}\) and \(\mathcal{B}\) where this is defined as the set of all positive semidefinite
operators \(P \in \text{Pos}(\mathcal{A} \otimes \mathcal{B})\) that satisfy \((T \otimes \mathbb{I}_{\mathcal{B}})(P)
\in \text{Pos}(\mathcal{A} \otimes \mathcal{B})\) where \(T\) denotes the linear transpose operation. We can implement
this SDP numerically in Python using the &lt;a href="https://github.com/cvxpy/cvxpy">&lt;code>cvxpy&lt;/code>&lt;/a> and
&lt;a href="https://github.com/vprusso/toqito">&lt;code>toqito&lt;/code>&lt;/a> modules.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-py" data-lang="py">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">import&lt;/span> cvxpy
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">import&lt;/span> numpy &lt;span style="color:#66d9ef">as&lt;/span> np
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">from&lt;/span> toqito.channels &lt;span style="color:#f92672">import&lt;/span> partial_transpose
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#66d9ef">def&lt;/span> &lt;span style="color:#a6e22e">ppt_primal&lt;/span>(
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> states: list[np&lt;span style="color:#f92672">.&lt;/span>ndarray],
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> dims: list[int],
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> sys: list[int],
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>) &lt;span style="color:#f92672">-&amp;gt;&lt;/span> float:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> n, d &lt;span style="color:#f92672">=&lt;/span> len(states), states[&lt;span style="color:#ae81ff">0&lt;/span>]&lt;span style="color:#f92672">.&lt;/span>shape[&lt;span style="color:#ae81ff">0&lt;/span>]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e"># Define PSD variables for the measurements.&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> meas &lt;span style="color:#f92672">=&lt;/span> [cvxpy&lt;span style="color:#f92672">.&lt;/span>Variable((d, d), hermitian&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#66d9ef">True&lt;/span>) &lt;span style="color:#66d9ef">for&lt;/span> _ &lt;span style="color:#f92672">in&lt;/span> range(n)]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e"># Constraints: PPT, PSD, and valid measurement collection.&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> constraints &lt;span style="color:#f92672">=&lt;/span> [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">*&lt;/span>(partial_transpose(meas[i], sys&lt;span style="color:#f92672">=&lt;/span>sys, dim&lt;span style="color:#f92672">=&lt;/span>dims) &lt;span style="color:#f92672">&amp;gt;&amp;gt;&lt;/span> &lt;span style="color:#ae81ff">0&lt;/span> &lt;span style="color:#66d9ef">for&lt;/span> i &lt;span style="color:#f92672">in&lt;/span> range(n)),
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">*&lt;/span>(meas[i] &lt;span style="color:#f92672">&amp;gt;&amp;gt;&lt;/span> &lt;span style="color:#ae81ff">0&lt;/span> &lt;span style="color:#66d9ef">for&lt;/span> i &lt;span style="color:#f92672">in&lt;/span> range(n)),
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> cvxpy&lt;span style="color:#f92672">.&lt;/span>sum(meas) &lt;span style="color:#f92672">==&lt;/span> np&lt;span style="color:#f92672">.&lt;/span>identity(d)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e"># Objective function: maximize the success probability.&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> obj_func &lt;span style="color:#f92672">=&lt;/span> [&lt;span style="color:#ae81ff">1&lt;/span>&lt;span style="color:#f92672">/&lt;/span>n &lt;span style="color:#f92672">*&lt;/span> cvxpy&lt;span style="color:#f92672">.&lt;/span>trace(states[i]&lt;span style="color:#f92672">.&lt;/span>conj()&lt;span style="color:#f92672">.&lt;/span>T &lt;span style="color:#f92672">@&lt;/span> meas[i]) &lt;span style="color:#66d9ef">for&lt;/span> i &lt;span style="color:#f92672">in&lt;/span> range(n)]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> objective &lt;span style="color:#f92672">=&lt;/span> cvxpy&lt;span style="color:#f92672">.&lt;/span>Maximize(cvxpy&lt;span style="color:#f92672">.&lt;/span>real(cvxpy&lt;span style="color:#f92672">.&lt;/span>sum(obj_func)))
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">return&lt;/span> cvxpy&lt;span style="color:#f92672">.&lt;/span>Problem(objective, constraints)&lt;span style="color:#f92672">.&lt;/span>solve()
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Note that in addition to the states (that we provide to the function as density operators in &lt;code>states&lt;/code>), we need to
provide a list, &lt;code>dims&lt;/code>, that corresponds to the dimensions of the systems held by the bipartite parties. Additionally,
the &lt;code>sys&lt;/code> argument is a list that informs what subsystems to perform the partial transpose on. If we are assuming that
each state is a bipartite state held by Alice and Bob, we want to perform the partial trace only on Alice&amp;rsquo;s subsystem(s)
but not on Bob&amp;rsquo;s.&lt;/p>
&lt;p>As an example, consider the four Bell states&lt;/p>
$$
\begin{equation}
\begin{aligned}
|\psi_1\rangle = \frac{1}{\sqrt{2}}\left(|00\rangle + |11\rangle\right), \quad
|\psi_2\rangle &amp;= \frac{1}{\sqrt{2}}\left(|00\rangle - |11\rangle\right), \\
|\psi_3\rangle = \frac{1}{\sqrt{2}}\left(|01\rangle + |10\rangle\right), \quad
|\psi_4\rangle &amp;= \frac{1}{\sqrt{2}}\left(|01\rangle - |10\rangle\right).
\end{aligned}
\end{equation}
$$
&lt;p>where \(|\psi_i\rangle \in \mathcal{A} \otimes \mathcal{B}\) such that \(\mathcal{A} = \mathcal{B} = \mathbb{C}^2\). Since
\(\rho_i = |\psi_i\rangle\langle\psi_i| \in \mathcal{A} \otimes \mathcal{B}\), we only want to perform the partial transpose
on the first subsystem. Consider the following code:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-py" data-lang="py">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">import&lt;/span> numpy &lt;span style="color:#66d9ef">as&lt;/span> np
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>e0, e1 &lt;span style="color:#f92672">=&lt;/span> np&lt;span style="color:#f92672">.&lt;/span>array([[&lt;span style="color:#ae81ff">1&lt;/span>], [&lt;span style="color:#ae81ff">0&lt;/span>]]), np&lt;span style="color:#f92672">.&lt;/span>array([[&lt;span style="color:#ae81ff">0&lt;/span>], [&lt;span style="color:#ae81ff">1&lt;/span>]])
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># Define the four Bell state vectors.&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>psi_1 &lt;span style="color:#f92672">=&lt;/span> &lt;span style="color:#ae81ff">1&lt;/span>&lt;span style="color:#f92672">/&lt;/span>np&lt;span style="color:#f92672">.&lt;/span>sqrt(&lt;span style="color:#ae81ff">2&lt;/span>) &lt;span style="color:#f92672">*&lt;/span> (np&lt;span style="color:#f92672">.&lt;/span>kron(e0, e0) &lt;span style="color:#f92672">+&lt;/span> np&lt;span style="color:#f92672">.&lt;/span>kron(e1, e1))
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>psi_2 &lt;span style="color:#f92672">=&lt;/span> &lt;span style="color:#ae81ff">1&lt;/span>&lt;span style="color:#f92672">/&lt;/span>np&lt;span style="color:#f92672">.&lt;/span>sqrt(&lt;span style="color:#ae81ff">2&lt;/span>) &lt;span style="color:#f92672">*&lt;/span> (np&lt;span style="color:#f92672">.&lt;/span>kron(e0, e0) &lt;span style="color:#f92672">-&lt;/span> np&lt;span style="color:#f92672">.&lt;/span>kron(e1, e1))
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>psi_3 &lt;span style="color:#f92672">=&lt;/span> &lt;span style="color:#ae81ff">1&lt;/span>&lt;span style="color:#f92672">/&lt;/span>np&lt;span style="color:#f92672">.&lt;/span>sqrt(&lt;span style="color:#ae81ff">2&lt;/span>) &lt;span style="color:#f92672">*&lt;/span> (np&lt;span style="color:#f92672">.&lt;/span>kron(e0, e1) &lt;span style="color:#f92672">+&lt;/span> np&lt;span style="color:#f92672">.&lt;/span>kron(e1, e0))
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>psi_4 &lt;span style="color:#f92672">=&lt;/span> &lt;span style="color:#ae81ff">1&lt;/span>&lt;span style="color:#f92672">/&lt;/span>np&lt;span style="color:#f92672">.&lt;/span>sqrt(&lt;span style="color:#ae81ff">2&lt;/span>) &lt;span style="color:#f92672">*&lt;/span> (np&lt;span style="color:#f92672">.&lt;/span>kron(e0, e1) &lt;span style="color:#f92672">-&lt;/span> np&lt;span style="color:#f92672">.&lt;/span>kron(e1, e0))
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># Compute the corresponding density matrices.&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rho_1 &lt;span style="color:#f92672">=&lt;/span> psi_1 &lt;span style="color:#f92672">@&lt;/span> psi_1&lt;span style="color:#f92672">.&lt;/span>conj()&lt;span style="color:#f92672">.&lt;/span>T
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rho_2 &lt;span style="color:#f92672">=&lt;/span> psi_2 &lt;span style="color:#f92672">@&lt;/span> psi_2&lt;span style="color:#f92672">.&lt;/span>conj()&lt;span style="color:#f92672">.&lt;/span>T
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rho_3 &lt;span style="color:#f92672">=&lt;/span> psi_3 &lt;span style="color:#f92672">@&lt;/span> psi_3&lt;span style="color:#f92672">.&lt;/span>conj()&lt;span style="color:#f92672">.&lt;/span>T
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>rho_4 &lt;span style="color:#f92672">=&lt;/span> psi_4 &lt;span style="color:#f92672">@&lt;/span> psi_4&lt;span style="color:#f92672">.&lt;/span>conj()&lt;span style="color:#f92672">.&lt;/span>T
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># Compute the PPT-distinguishability of the four Bell states.&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>states &lt;span style="color:#f92672">=&lt;/span> [rho_1, rho_2, rho_3, rho_4]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>ppt_primal(states, dims&lt;span style="color:#f92672">=&lt;/span>[&lt;span style="color:#ae81ff">2&lt;/span>, &lt;span style="color:#ae81ff">2&lt;/span>], sys&lt;span style="color:#f92672">=&lt;/span>[&lt;span style="color:#ae81ff">0&lt;/span>])
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Now, consider the &amp;ldquo;two-copy&amp;rdquo; setting for the four Bell states. That is, each state in the set is now \(|\psi_i\rangle
\otimes |\psi_i\rangle \in \mathcal{A}_1 \otimes \mathcal{B}_1 \otimes \mathcal{A}_2 \otimes \mathcal{B}_2\). In other
words, Alice&amp;rsquo;s subsystems, the ones we want to perform the partial transpose over, are now the first and third
subsystems.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-py" data-lang="py">&lt;span style="display:flex;">&lt;span>two_copy_states &lt;span style="color:#f92672">=&lt;/span> [np&lt;span style="color:#f92672">.&lt;/span>kron(state, state) &lt;span style="color:#66d9ef">for&lt;/span> state &lt;span style="color:#f92672">in&lt;/span> states]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>ppt_primal(two_copy_states, dims&lt;span style="color:#f92672">=&lt;/span>[&lt;span style="color:#ae81ff">2&lt;/span>, &lt;span style="color:#ae81ff">2&lt;/span>, &lt;span style="color:#ae81ff">2&lt;/span>, &lt;span style="color:#ae81ff">2&lt;/span>], sys&lt;span style="color:#f92672">=&lt;/span>[&lt;span style="color:#ae81ff">0&lt;/span>, &lt;span style="color:#ae81ff">2&lt;/span>])
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Note that &lt;code>0&lt;/code> and &lt;code>2&lt;/code> are used instead of &lt;code>1&lt;/code> and &lt;code>3&lt;/code> for the subsystem labeling as Python (like many other languages)
uses zero-based indexing.&lt;/p>
&lt;h3 id="numerical-search">Numerical search&lt;/h3>
&lt;p>Given that we have an implementation of the PPT SDP for quantum state distinguishability, we could attempt a numerical
approach to search for a counterexample for the two-copy problem. The approach would entail:&lt;/p>
&lt;ul>
&lt;li>Generate a set of \(n\) random mutually orthogonal quantum states.&lt;/li>
&lt;li>Compute the optimal PPT value for the corresponding &amp;ldquo;two-copy&amp;rdquo; set of states.&lt;/li>
&lt;/ul>
&lt;p>To compute a random set of states, we could use a fairly standard trick of using Gram-Schmidt orthogonalization to
obtain a set of \(n\) states of dimension \(d\).&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-py" data-lang="py">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#66d9ef">def&lt;/span> &lt;span style="color:#a6e22e">generate_orthogonal_states&lt;/span>(n: int, d: int) &lt;span style="color:#f92672">-&amp;gt;&lt;/span> list[np&lt;span style="color:#f92672">.&lt;/span>ndarray]:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#e6db74">&amp;#34;&amp;#34;&amp;#34;Generate a set of random mutually orthogonal pure states.&amp;#34;&amp;#34;&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">if&lt;/span> n &lt;span style="color:#f92672">&amp;gt;&lt;/span> d:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">raise&lt;/span> &lt;span style="color:#a6e22e">ValueError&lt;/span>(&lt;span style="color:#e6db74">&amp;#34;Number of states cannot exceed the dimension.&amp;#34;&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e"># Generate random complex vectors.&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> random_vectors &lt;span style="color:#f92672">=&lt;/span> np&lt;span style="color:#f92672">.&lt;/span>random&lt;span style="color:#f92672">.&lt;/span>randn(n, d) &lt;span style="color:#f92672">+&lt;/span> &lt;span style="color:#ae81ff">1&lt;/span>j &lt;span style="color:#f92672">*&lt;/span> np&lt;span style="color:#f92672">.&lt;/span>random&lt;span style="color:#f92672">.&lt;/span>randn(n, d)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e"># Apply Gram-Schmidt orthogonalization.&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> orthogonal_states &lt;span style="color:#f92672">=&lt;/span> []
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">for&lt;/span> v &lt;span style="color:#f92672">in&lt;/span> random_vectors:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e"># Subtract projections onto previously added states.&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">for&lt;/span> u &lt;span style="color:#f92672">in&lt;/span> orthogonal_states:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> v &lt;span style="color:#f92672">-=&lt;/span> np&lt;span style="color:#f92672">.&lt;/span>dot(np&lt;span style="color:#f92672">.&lt;/span>conj(u), v) &lt;span style="color:#f92672">*&lt;/span> u
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e"># Normalize the vector.&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> v &lt;span style="color:#f92672">/=&lt;/span> np&lt;span style="color:#f92672">.&lt;/span>linalg&lt;span style="color:#f92672">.&lt;/span>norm(v)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> orthogonal_states&lt;span style="color:#f92672">.&lt;/span>append(v)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">return&lt;/span> orthogonal_states
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Now that we have both the mechanism by which to generate sets of orthogonal states and to calculate the optimal
PPT-distinguishable value, we can simply pick a dimension, a number of trial to run, and keep running until we find
something whose optimal two-copy value is strictly less than one.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-py" data-lang="py">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">import&lt;/span> pickle
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>num_trials &lt;span style="color:#f92672">=&lt;/span> &lt;span style="color:#ae81ff">100&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>dim &lt;span style="color:#f92672">=&lt;/span> &lt;span style="color:#ae81ff">2&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#66d9ef">for&lt;/span> trial &lt;span style="color:#f92672">in&lt;/span> range(num_trials):
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> states &lt;span style="color:#f92672">=&lt;/span> generate_orthogonal_states(dim&lt;span style="color:#f92672">**&lt;/span>&lt;span style="color:#ae81ff">2&lt;/span>, dim&lt;span style="color:#f92672">**&lt;/span>&lt;span style="color:#ae81ff">2&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> two_copy &lt;span style="color:#f92672">=&lt;/span> [np&lt;span style="color:#f92672">.&lt;/span>kron(state, state) &lt;span style="color:#66d9ef">for&lt;/span> state &lt;span style="color:#f92672">in&lt;/span> states]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> two_copy_opt, _ &lt;span style="color:#f92672">=&lt;/span> ppt_primal(two_copy, dims&lt;span style="color:#f92672">=&lt;/span>[dim, dim, dim, dim], sys&lt;span style="color:#f92672">=&lt;/span>[&lt;span style="color:#ae81ff">0&lt;/span>, &lt;span style="color:#ae81ff">2&lt;/span>])
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">if&lt;/span> &lt;span style="color:#f92672">not&lt;/span> np&lt;span style="color:#f92672">.&lt;/span>isclose(two_copy_opt, &lt;span style="color:#ae81ff">1&lt;/span>):
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> print(&lt;span style="color:#e6db74">f&lt;/span>&lt;span style="color:#e6db74">&amp;#34;Two-copy optimization value is not close to 1. Saving states...&amp;#34;&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">with&lt;/span> open(&lt;span style="color:#e6db74">&amp;#34;states.pkl&amp;#34;&lt;/span>, &lt;span style="color:#e6db74">&amp;#34;wb&amp;#34;&lt;/span>) &lt;span style="color:#66d9ef">as&lt;/span> f:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> pickle&lt;span style="color:#f92672">.&lt;/span>dump(states, f)
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Of course, we may never find any such example. Perhaps because one does not exist, the structure of the states are too
special or specific to stumble upon randomly, or we are just unlucky.&lt;/p>
&lt;p>One thing to note here is that the problem scales quickly as a function of &lt;code>dim&lt;/code>, the dimenion. As we increase &lt;code>dim&lt;/code>,
the matrices scale exponentially, and therefore, will likely only be feasible for relatively small dimensions.&lt;/p>
&lt;p>Also, certain solvers tend to perform quite a bit better than others. For instance the &lt;a href="https://www.mosek.com/">MOSEK&lt;/a> solver
heuristically seems to be much better than either the free and stock &lt;a href="https://cvxopt.org/">CVXOPT&lt;/a> or
&lt;a href="https://yalmip.github.io/solver/scs/">SCS&lt;/a> solvers. MOSEK, however, is not free, (although there are options for
obtaining a trial license).&lt;/p>
&lt;p>Another thing to note as well is that one could also consider using SDPs to calculate the SEP-distinguishability of the
states (as this would be a closer approximation to the LOCC value). However, optimizing over the set of SEP operators is
NP-hard and requires a hierarchy of SDPs that become progressively more computationally expensive to compute as you
climb the hierarchy. The &lt;a href="https://github.com/vprusso/toqito">toqito&lt;/a> library does have such functionality for computing
these hierarchies (for instance,
&lt;a href="https://github.com/vprusso/toqito/blob/master/toqito/state_opt/symmetric_extension_hierarchy.py">symmetric_extension_hierarchy.py&lt;/a>),
and these may prove interesting to investigate further.&lt;/p>
&lt;p>I&amp;rsquo;m personally quite curious to know the resolution to this question. Please feel free to reach out to me should you
want to discuss it further!&lt;/p>
&lt;h1 id="update-august-2026">Update (August 2026)&lt;/h1>
&lt;p>Since writing this post I learned of work that settles a restricted form of the
question. It does not resolve the question as posed above, but it does show that
the question needs to be stated more carefully than I stated it.&lt;/p>
&lt;h2 id="adaptive-versus-generic-protocols">Adaptive versus generic protocols&lt;/h2>
&lt;p>There are two ways that Alice and Bob might use two copies. In an &lt;em>adaptive&lt;/em>
protocol the copies are measured one at a time, and the measurement applied to
the second copy may depend on the outcome obtained from the first. In a
&lt;em>non-adaptive&lt;/em> protocol each party addresses both of their systems at once, so
that Alice performs a single measurement on her halves of both copies while Bob
does the same. Neither class contains the other.&lt;/p>
&lt;p>The optimal values computed by the SDPs above are taken over a class that is
larger than both. A PPT or separable operator on \(\mathcal{X} \otimes
\mathcal{X}\) is under no obligation to factor across the two copies, nor to
arise from measuring one copy and then the other. This distinction is what the
question above turns on, and I did not draw it originally.&lt;/p>
&lt;h2 id="what-is-now-known">What is now known&lt;/h2>
&lt;p>Banik, Guha, Alimuddin, Kar, Halder, and Bhattacharya
&lt;a href="https://arxiv.org/abs/2011.09287">BGAKHB20&lt;/a> resolve the adaptive case for two
qubits. Their Theorem 3 states that any orthonormal basis of \(\mathbb{C}^2
\otimes \mathbb{C}^2\) containing exactly three entangled states requires three
copies for perfect discrimination under adaptive LOCC. Two copies therefore do
not suffice for such a basis under an adaptive protocol. One such basis is&lt;/p>
$$
\left\{
|00\rangle, \quad
\frac{|01\rangle + |10\rangle}{\sqrt{2}}, \quad
\frac{1}{\sqrt{2}}\left(\frac{|01\rangle - |10\rangle}{\sqrt{2}} + |11\rangle\right), \quad
\frac{1}{\sqrt{2}}\left(\frac{|01\rangle - |10\rangle}{\sqrt{2}} - |11\rangle\right)
\right\},
$$
&lt;p>whose first element is a product state and whose remaining three elements are
entangled. The result is striking in that the Bell basis, in which all four
states are entangled, &lt;em>is&lt;/em> two-copy distinguishable under an adaptive protocol.
A basis with less entanglement is here the harder one.&lt;/p>
&lt;p>That paper is explicit that the non-adaptive case is not settled. The authors
write that their constructions &amp;ldquo;either will establish two-copy
indistinguishability (under generic protocol) or it will demonstrate
super-additivity of locally accessible information&amp;rdquo;, and they leave the
construction of such ensembles open.&lt;/p>
&lt;p>The question posed in this post is the generic one, so it remains open.&lt;/p>
&lt;h2 id="what-the-numerics-say">What the numerics say&lt;/h2>
&lt;p>Running the search described above turns up nothing. The optimal PPT value for
the two-copy ensemble came back equal to one for random orthonormal bases in
\(2 \otimes 2\), \(2 \otimes 3\), and \(2 \otimes 4\), for structured families,
and for gradient-free minimization run directly against the two-copy value from
several starting points.&lt;/p>
&lt;p>The most informative of these is a one-parameter family interpolating between a
maximally entangled basis and a product basis. Along that family the single-copy
value moves smoothly from \(1/2\) to \(1\), so the family covers the full range
from hard to trivial, while the two-copy value stays fixed at one throughout.&lt;/p>
&lt;p>Two remarks bear on where a counterexample could live, though they constrain
less than I first supposed. A basis of product states is perfectly
distinguishable by the measurement onto those states, which is separable, so the
value is one for a trivial reason. The maximally entangled case is narrower than
I stated it above: &lt;a href="https://arxiv.org/abs/quant-ph/0205105">GKRS04&lt;/a> covers sets
drawn from the canonical generalized-Bell family
\(\frac{1}{\sqrt{d}}\sum_j e^{2\pi i jn/d}|j\rangle|(j+m) \bmod d\rangle\),
and its authors write that they are unable to proceed the same way for an
arbitrary set of \(d^2\) pairwise orthogonal maximally entangled states, giving
a \(3 \otimes 3\) case where the method fails. A maximally entangled basis
outside that family is therefore still a candidate, and the middle range is not
the only place to look.&lt;/p>
&lt;p>One caution about reading such numerics, which cost me some time. The three
classes are ordered by inclusion, so their optimal values satisfy&lt;/p>
$$
\omega_{\text{LOCC}} \leq \omega_{\text{SEP}} \leq \omega_{\text{PPT}}.
$$
&lt;p>A PPT value of one is consistent with a separable or LOCC value strictly below
one, and says nothing about either. The PPT computations above are evidence only
about the largest of the three classes.&lt;/p>
&lt;h2 id="what-the-literature-does-and-does-not-contain">What the literature does and does not contain&lt;/h2>
&lt;p>A systematic search turned up one partial result worth recording. Shu
(&lt;a href="https://doi.org/10.1140/s13360-021-02182-5">EPJ Plus 136:1172&lt;/a>) proves that any
\(N\) pairwise orthogonal &lt;em>product&lt;/em> states in \(\mathbb{C}^m \otimes
\mathbb{C}^n\) are perfectly LOCC-distinguishable with \(\lceil N/4 \rceil\)
copies, so any set of at most eight orthogonal product states is two-copy
distinguishable. That covers no entangled ensemble, but it does transfer to SEP
and PPT for the reason given next.&lt;/p>
&lt;p>There is a logical asymmetry here that is easy to get backwards, and I did. An
adaptive protocol is itself a measurement on the joint two-copy system, so every
achievability result stated for adaptive protocols is already valid for the
generic classes, and for SEP and PPT above them. The adaptive restriction
therefore matters only for &lt;em>negative&lt;/em> results. A counterexample answering the
question must be a lower bound against a genuinely joint measurement, and no
bound of that kind appears in the literature.&lt;/p>
&lt;p>I could find no treatment of the two-copy PPT question for orthogonal pure
states anywhere in the literature. The multi-copy PPT results I am aware of, such
as those of &lt;a href="https://arxiv.org/abs/1209.4222">YDY14&lt;/a> and
&lt;a href="https://arxiv.org/abs/1702.00231">LWD17&lt;/a>, all concern ensembles containing a
mixed state, and the reason is structural rather than incidental. That machinery
requires the support of one ensemble member to be strongly PPT-unextendible, and
the minimum dimension of such a subspace in an \(m \otimes n\) system is
\(m + n - 1 \geq 3\). A pure state has support of dimension one, so the
mechanism can never be triggered by a pure-state ensemble. Relatedly, since
\(N-1\) copies always suffice for \(N\) orthogonal pure states, no pure
ensemble is &lt;em>many&lt;/em>-copy indistinguishable at all, which is why that literature
never formulates the fixed two-copy question.&lt;/p>
&lt;p>As before, I would be glad to hear from anyone who wants to discuss it.&lt;/p></content></item><item><title>Disproving a conjecture on quantum state antidistinguishability</title><link>https://vrusso.com/posts/antidist_conjecture/</link><pubDate>Sun, 05 Jan 2025 00:00:00 +0000</pubDate><guid>https://vrusso.com/posts/antidist_conjecture/</guid><description>I&amp;rsquo;m going to discuss a conjecture that got me interested in the topic of &amp;ldquo;quantum state antidistinguishability&amp;rdquo;.
Conjecture [Havlíček-Barret (2020)]:
Let \(S = \{|\psi_1\rangle, \ldots, |\psi_n\rangle\} \subset \mathbb{C}^n\) be a set of \(n\) pure quantum states each of dimension \(n\). Then \(S\) is antidistinguishable when
$$ |\langle \psi_i | \psi_j \rangle| \leq \frac{n-2}{n-1} $$ for all \(i \neq j\).
Before unpacking this statement more formally, I want to mention some points that drew me to it:</description><content>&lt;p>I&amp;rsquo;m going to discuss a conjecture that got me interested in the topic of &amp;ldquo;quantum state antidistinguishability&amp;rdquo;.&lt;/p>
&lt;p>&lt;strong>Conjecture&lt;/strong> [&lt;a href="https://arxiv.org/abs/1911.01927">Havlíček-Barret (2020)&lt;/a>]:&lt;/p>
&lt;p>Let \(S = \{|\psi_1\rangle, \ldots, |\psi_n\rangle\} \subset \mathbb{C}^n\) be a set of \(n\) pure quantum states each
of dimension \(n\). Then \(S\) is antidistinguishable when&lt;/p>
$$
|\langle \psi_i | \psi_j \rangle| \leq \frac{n-2}{n-1}
$$
&lt;p>
for all \(i \neq j\).&lt;/p>
&lt;p>Before unpacking this statement more formally, I want to mention some points that drew me to it:&lt;/p>
&lt;ul>
&lt;li>
&lt;p>The validity of the conjecture would imply the existence of a quantum communication task with an exponential
separation between classical and quantum communication complexity.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>The notion of &amp;ldquo;antidistinguishability&amp;rdquo; is closely related to a quantum state distinguishability; a topic that I&amp;rsquo;ve
been interested in and have previously worked on (&lt;a href="https://arxiv.org/abs/1307.3232">arXiv:1307.3232&lt;/a>,
&lt;a href="https://arxiv.org/abs/1408.6981">arXiv:1408.6981&lt;/a>, &lt;a href="https://arxiv.org/abs/2106.08721">arXiv:2106.08721&lt;/a>, and
&lt;a href="https://arxiv.org/abs/2406.13430">arXiv:2406.13430&lt;/a>, to name a few).&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Antidistinguishability has connections to the foundations of quantum mechanics. Specifically, in the &lt;a href="https://en.wikipedia.org/wiki/Pusey%E2%80%93Barrett%E2%80%93Rudolph_theorem">PBR
theorem&lt;/a>, it was used (although the term
&amp;ldquo;antidistinguishable&amp;rdquo; was not used) as a key piece of machinery about the question of whether the quantum state
is ontological or epistemic.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>It&amp;rsquo;s an intriguingly concise conjecture with little baggage and lends itself to numerical attack. This seemed like a
good way for me to kick the tires on my (at the time) newly developed &lt;a href="https://github.com/vprusso/toqito">|toqito&amp;gt;&lt;/a>
software package.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>I tend to excel at breaking things, so I figured that an attempt to disprove it would be fun and keep me out of
trouble.&lt;/p>
&lt;/li>
&lt;/ul>
&lt;p>The conjecture can be viewed as a statement about a set of unit vectors in a complex Euclidean space (pure quantum
states) and a property that a set of quantum states can possess called &lt;em>antidistinguishability&lt;/em>.&lt;/p>
&lt;h3 id="antidistinguishability">Antidistinguishability&lt;/h3>
&lt;p>To describe antidistinguishability, let&amp;rsquo;s consider the following setting:&lt;/p>
&lt;p>&lt;strong>Problem&lt;/strong>:
Given a single copy of an arbitrary pure state (in a lab, not on paper), from a set of states, we want to figure out
exactly which one were &lt;em>not&lt;/em> given to us: measuring it provides some information but causes the state to collapse.&lt;/p>
&lt;p>&lt;strong>Approach&lt;/strong>:
However, if we are given extra information about the state, sometimes we can figure out which state was (not) given to us.&lt;/p>
&lt;p>&lt;strong>Scenario&lt;/strong>:
Suppose we are given (on paper) a set of potential states:&lt;/p>
$$
S = \{|\psi_1\rangle, |\psi_2\rangle, \ldots, |\psi_n\rangle \} \subset \mathbb{C}^d.
$$
&lt;p>Then we are given (in a lab) one of those \(n\) states. If we can successfully determine which states was &lt;em>not&lt;/em> given to
us for every state in the set, then we say that the set of quantum states are &lt;em>antidistinguishable&lt;/em>.&lt;/p>
&lt;p>This scenario is depicted in the following ASCII image: Note that &lt;code>---&amp;gt;&lt;/code> denotes the transmission of quantum information
whereas &lt;code>===&amp;gt;&lt;/code> denotes the transmission of classical information (in this case, Bob&amp;rsquo;s answer about the index of the
state).&lt;/p>
&lt;pre tabindex="0">&lt;code> Alice Bob
--------- ---------
| | |ψ_i⟩ | |
| | ------------------&amp;gt; | |
| Prepare | i | Measure |
| | &amp;lt;================= | |
| | | |
--------- ---------
&lt;/code>&lt;/pre>&lt;p>Alice selects one of the states \(|\psi_i\rangle\) from the set \(\{|\psi_1\rangle, \ldots, |\psi_n\rangle\}\) and sends
\(|\psi_i\rangle\) to Bob. Bob needs to return an index &amp;ldquo;i&amp;rdquo;. We say that Bob&amp;rsquo;s answer is &amp;ldquo;correct&amp;rdquo; if the index &amp;ldquo;i&amp;rdquo; he
returns is &lt;em>not&lt;/em> the index corresponding to the index of the state \(|\psi_i\rangle\). If Bob can perform this task
correctly for each state in the set, then the states are antidistinguishable and otherwise, they are not.&lt;/p>
&lt;p>For clarity, let&amp;rsquo;s write a formal definition for what it means for a set of states to be antidistinguishable:&lt;/p>
&lt;p>&lt;strong>Definition&lt;/strong>: Let \(n\) and \(d\) be integers. A collection of quantum states&lt;/p>
$$
\begin{equation}
S = \{|\psi_1\rangle, \ldots, |\psi_{n}\rangle\} \subset \mathbb{C}^d
\end{equation}
$$
&lt;p>are &lt;em>antidistinguishable&lt;/em> if there exists a collection of positive operator value measurements (POVMs) \(\{M_1, \ldots,
M_{n}\}\) such that \(\langle \psi_i | M_i | \psi_i \rangle = 0\) for all \(1 \leq i \leq n\).&lt;/p>
&lt;p>Recall that a collection of POVMs are positive semidefinite operators \(\{M_i : 1 \leq i \leq n\} \subset \mathbb{C}^d\)
that satisfy&lt;/p>
$$
\begin{equation}
\sum_{i=1}^{n} M_i = \mathbb{I}_d.
\end{equation}
$$
&lt;p>Another way of phrasing this is that if such a valid set of measurement operators exists that gives an inner product value
of zero for each state in the set, then the set of states are antidistinguishable, and otherwise, they are not.&lt;/p>
&lt;h4 id="example-trine-states">Example: Trine states&lt;/h4>
&lt;p>Let&amp;rsquo;s take a look at a set of states that we will show to be antidistinguishable (but interestingly are &lt;em>not&lt;/em>
distinguishable, that is, they cannot be perfectly distinguished). Consider the so-called &lt;em>trine states&lt;/em> which are a set
of three states, each of dimension two defined as&lt;/p>
$$
\begin{equation}
|\psi_1\rangle = |0\rangle, \quad
|\psi_2\rangle = -\frac{1}{2}(|0\rangle + \sqrt{3}|1\rangle), \quad
|\psi_3\rangle = -\frac{1}{2}(|0\rangle - \sqrt{3}|1\rangle).
\end{equation}
$$
&lt;p>We can define this set of states in Python like so:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-py" data-lang="py">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">import&lt;/span> numpy &lt;span style="color:#66d9ef">as&lt;/span> np
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>e_0, e_1 &lt;span style="color:#f92672">=&lt;/span> np&lt;span style="color:#f92672">.&lt;/span>array([[&lt;span style="color:#ae81ff">1&lt;/span>], [&lt;span style="color:#ae81ff">0&lt;/span>]]), np&lt;span style="color:#f92672">.&lt;/span>array([[&lt;span style="color:#ae81ff">0&lt;/span>], [&lt;span style="color:#ae81ff">1&lt;/span>]])
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>psi_1 &lt;span style="color:#f92672">=&lt;/span> e_0
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>psi_2 &lt;span style="color:#f92672">=&lt;/span> &lt;span style="color:#f92672">-&lt;/span>&lt;span style="color:#ae81ff">1&lt;/span> &lt;span style="color:#f92672">/&lt;/span> &lt;span style="color:#ae81ff">2&lt;/span> &lt;span style="color:#f92672">*&lt;/span> (e_0 &lt;span style="color:#f92672">+&lt;/span> np&lt;span style="color:#f92672">.&lt;/span>sqrt(&lt;span style="color:#ae81ff">3&lt;/span>) &lt;span style="color:#f92672">*&lt;/span> e_1)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>psi_3 &lt;span style="color:#f92672">=&lt;/span> &lt;span style="color:#f92672">-&lt;/span>&lt;span style="color:#ae81ff">1&lt;/span> &lt;span style="color:#f92672">/&lt;/span> &lt;span style="color:#ae81ff">2&lt;/span> &lt;span style="color:#f92672">*&lt;/span> (e_0 &lt;span style="color:#f92672">-&lt;/span> np&lt;span style="color:#f92672">.&lt;/span>sqrt(&lt;span style="color:#ae81ff">3&lt;/span>) &lt;span style="color:#f92672">*&lt;/span> e_1)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>trine_states &lt;span style="color:#f92672">=&lt;/span> [psi_1, psi_2, psi_3]
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Here are a set of measurements we can verify that satisfy the antidistinguishability constraints. We will see a
method that we can use to obtain these directly later, but for now, let&amp;rsquo;s just assume that we have a process to obtain
these from a black box.&lt;/p>
$$
\begin{equation}
M_1 = \frac{2}{3} (\mathbb{I} - |\psi_1\rangle \langle \psi_1|), \quad
M_2 = \frac{2}{3} (\mathbb{I} - |\psi_2\rangle \langle \psi_2|), \quad
M_3 = \frac{2}{3} (\mathbb{I} - |\psi_3\rangle \langle \psi_3|).
\end{equation}
$$
&lt;p>We will want to check the requisite properties of these measurements, so let&amp;rsquo;s go ahead and define them numerically.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-py" data-lang="py">&lt;span style="display:flex;">&lt;span>M1 &lt;span style="color:#f92672">=&lt;/span> &lt;span style="color:#ae81ff">2&lt;/span>&lt;span style="color:#f92672">/&lt;/span>&lt;span style="color:#ae81ff">3&lt;/span> &lt;span style="color:#f92672">*&lt;/span> (np&lt;span style="color:#f92672">.&lt;/span>identity(&lt;span style="color:#ae81ff">2&lt;/span>) &lt;span style="color:#f92672">-&lt;/span> psi1 &lt;span style="color:#f92672">@&lt;/span> psi1&lt;span style="color:#f92672">.&lt;/span>conj()&lt;span style="color:#f92672">.&lt;/span>T)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>M2 &lt;span style="color:#f92672">=&lt;/span> &lt;span style="color:#ae81ff">2&lt;/span>&lt;span style="color:#f92672">/&lt;/span>&lt;span style="color:#ae81ff">3&lt;/span> &lt;span style="color:#f92672">*&lt;/span> (np&lt;span style="color:#f92672">.&lt;/span>identity(&lt;span style="color:#ae81ff">2&lt;/span>) &lt;span style="color:#f92672">-&lt;/span> psi2 &lt;span style="color:#f92672">@&lt;/span> psi2&lt;span style="color:#f92672">.&lt;/span>conj()&lt;span style="color:#f92672">.&lt;/span>T)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>M3 &lt;span style="color:#f92672">=&lt;/span> &lt;span style="color:#ae81ff">2&lt;/span>&lt;span style="color:#f92672">/&lt;/span>&lt;span style="color:#ae81ff">3&lt;/span> &lt;span style="color:#f92672">*&lt;/span> (np&lt;span style="color:#f92672">.&lt;/span>identity(&lt;span style="color:#ae81ff">2&lt;/span>) &lt;span style="color:#f92672">-&lt;/span> psi3 &lt;span style="color:#f92672">@&lt;/span> psi3&lt;span style="color:#f92672">.&lt;/span>conj()&lt;span style="color:#f92672">.&lt;/span>T)
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>In order for \(M_1\), \(M_2\), and \(M_3\) to constitute as valid POVMs, each of these matrices must be positive
semidefinite and we must ensure that \(\sum_{i \in \{1,2,3\}} M_i = \mathbb{I}_2\). It&amp;rsquo;s straightforward to confirm that
the matrices are positive semidefinite by inspection and we can also see that they do indeed sum to the identity
operator.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-py" data-lang="py">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">&amp;gt;&amp;gt;&amp;gt;&lt;/span> print(&lt;span style="color:#e6db74">f&lt;/span>&lt;span style="color:#e6db74">&amp;#34;M_1 + M_2 + M_3: &lt;/span>&lt;span style="color:#ae81ff">\n&lt;/span>&lt;span style="color:#e6db74"> &lt;/span>&lt;span style="color:#e6db74">{&lt;/span>M1 &lt;span style="color:#f92672">+&lt;/span> M2 &lt;span style="color:#f92672">+&lt;/span> M3&lt;span style="color:#e6db74">}&lt;/span>&lt;span style="color:#e6db74">&amp;#34;&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>M_1 &lt;span style="color:#f92672">+&lt;/span> M_2 &lt;span style="color:#f92672">+&lt;/span> M_3:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> [[&lt;span style="color:#ae81ff">1.&lt;/span> &lt;span style="color:#ae81ff">0.&lt;/span>]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> [&lt;span style="color:#ae81ff">0.&lt;/span> &lt;span style="color:#ae81ff">1.&lt;/span>]]
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Next, we must show that these measurements satisfy \(\langle \psi_i | M_i | \psi_i \rangle = 0\) for all \(i \in
\{1,2,3\}\). Indeed, for the measurements we have defined, we can check that this is the case.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-py" data-lang="py">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">&amp;gt;&amp;gt;&amp;gt;&lt;/span> print(&lt;span style="color:#e6db74">f&lt;/span>&lt;span style="color:#e6db74">&amp;#34;&amp;lt;𝛙_1| M_1 |𝛙_1&amp;gt;: &amp;#34;&lt;/span>, (psi1&lt;span style="color:#f92672">.&lt;/span>reshape(&lt;span style="color:#ae81ff">1&lt;/span>, &lt;span style="color:#f92672">-&lt;/span>&lt;span style="color:#ae81ff">1&lt;/span>)[&lt;span style="color:#ae81ff">0&lt;/span>] &lt;span style="color:#f92672">@&lt;/span> M1 &lt;span style="color:#f92672">@&lt;/span> psi1)[&lt;span style="color:#ae81ff">0&lt;/span>])
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">&amp;gt;&amp;gt;&amp;gt;&lt;/span> print(&lt;span style="color:#e6db74">f&lt;/span>&lt;span style="color:#e6db74">&amp;#34;&amp;lt;𝛙_2| M_2 |𝛙_2&amp;gt;: &amp;#34;&lt;/span>, (psi2&lt;span style="color:#f92672">.&lt;/span>reshape(&lt;span style="color:#ae81ff">1&lt;/span>, &lt;span style="color:#f92672">-&lt;/span>&lt;span style="color:#ae81ff">1&lt;/span>)[&lt;span style="color:#ae81ff">0&lt;/span>] &lt;span style="color:#f92672">@&lt;/span> M2 &lt;span style="color:#f92672">@&lt;/span> psi2)[&lt;span style="color:#ae81ff">0&lt;/span>])
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">&amp;gt;&amp;gt;&amp;gt;&lt;/span> print(&lt;span style="color:#e6db74">f&lt;/span>&lt;span style="color:#e6db74">&amp;#34;&amp;lt;𝛙_3| M_3 |𝛙_3&amp;gt;: &amp;#34;&lt;/span>, (psi3&lt;span style="color:#f92672">.&lt;/span>reshape(&lt;span style="color:#ae81ff">1&lt;/span>, &lt;span style="color:#f92672">-&lt;/span>&lt;span style="color:#ae81ff">1&lt;/span>)[&lt;span style="color:#ae81ff">0&lt;/span>] &lt;span style="color:#f92672">@&lt;/span> M3 &lt;span style="color:#f92672">@&lt;/span> psi3)[&lt;span style="color:#ae81ff">0&lt;/span>])
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">&amp;lt;&lt;/span>𝛙_1&lt;span style="color:#f92672">|&lt;/span> M_1 &lt;span style="color:#f92672">|&lt;/span>𝛙_1&lt;span style="color:#f92672">&amp;gt;&lt;/span>: &lt;span style="color:#ae81ff">0.0&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">&amp;lt;&lt;/span>𝛙_2&lt;span style="color:#f92672">|&lt;/span> M_2 &lt;span style="color:#f92672">|&lt;/span>𝛙_2&lt;span style="color:#f92672">&amp;gt;&lt;/span>: &lt;span style="color:#ae81ff">6.999554767325977e-17&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">&amp;lt;&lt;/span>𝛙_3&lt;span style="color:#f92672">|&lt;/span> M_3 &lt;span style="color:#f92672">|&lt;/span>𝛙_3&lt;span style="color:#f92672">&amp;gt;&lt;/span>: &lt;span style="color:#ae81ff">6.999554767325977e-17&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Since we have exhibited a set of measurements \(\{M_i: i \in \{1,2,3\}\} \subset \text{Pos}(\mathbb{C^d})\) that satisfy&lt;/p>
$$
\begin{equation}
\langle \psi_i | M_i | \psi_i \rangle = 0
\quad \text{and} \quad
\sum_{i \in \{1,2,3\}} M_i = \mathbb{I}_2
\end{equation}
$$
&lt;p>for all \(i\), we conclude that the trine states are antidistinguishable. So, we have shown that the trine states are
antidistinguishable by exhibiting a set of measurement operators that satisfy the necessary criteria.&lt;/p>
&lt;p>But where did these measurements come from and how can we construct such a set of measurements (if such a set exists)
for an arbitrary set of quantum states? For this, we require the technique of semidefinite programming.&lt;/p>
&lt;h3 id="semidefinite-program-for-determining-antidistinguishability">Semidefinite program for determining antidistinguishability&lt;/h3>
&lt;p>&lt;a href="https://en.wikipedia.org/wiki/Semidefinite_programming">Semidefinite programming&lt;/a> is a technique for optimizing over
positive semidefinite (PSD) matrices. Conveniently, in quantum information, many of the objects of interest (quantum
states, channels, and measurements) can all be represented by positive semidefinite matrices.&lt;/p>
&lt;p>In general semidefinite programs (SDPs) are:&lt;/p>
&lt;ul>
&lt;li>Generalization of linear programming.&lt;/li>
&lt;li>Powerful tool with many applications in quantum information.&lt;/li>
&lt;li>SDPs are efficiently solvable (polynomial time).&lt;/li>
&lt;li>Provides an upper bound (dual) and lower bound (primal) for the problem.&lt;/li>
&lt;li>Software packages for solving SDPs exist (&lt;a href="https://www.cvxpy.org/">cvxpy&lt;/a>, &lt;a href="https://cvxopt.org/">cvxopt&lt;/a>, &lt;a href="https://picos-api.gitlab.io/picos/complex.html">picos&lt;/a>, etc.).&lt;/li>
&lt;/ul>
&lt;p>&lt;a href="https://sites.google.com/site/jamiesikora/home">Jamie Sikora&lt;/a> has compiled a list of useful SDP resources with a focus
on quantum information &lt;a href="https://sites.google.com/site/jamiesikora/sdp-resources?authuser=0">here&lt;/a>.&lt;/p>
&lt;p>Whether a collection of states \(\{|\psi_1 \rangle, |\psi_2\rangle, \ldots, |\psi_{n}\rangle \}\) are antidistinguishable
or not can be determined by the following semidefinite program.&lt;/p>
$$
\begin{equation}
\begin{aligned}
\text{minimize:} \quad &amp; \sum_{i=1}^{n} \langle \psi_i | M_i | \psi_i \rangle \\
\text{subject to:} \quad &amp; \sum_{i=1}^{n} M_i = \mathbb{I}_{\mathcal{X}}, \\
&amp; M_i \succeq 0 \quad \forall \ 1 \leq i \leq n.
\end{aligned}
\end{equation}
$$
&lt;p>In this SDP, we are optimizing over a set of \(n\) valid quantum measurements (this is what our constraints impose). If
the objective function yields a value of zero, this indicates that the set of states are indeed antidistinguishable. We
can numerically implement the primal problem using &lt;code>cvxpy&lt;/code> for a given set of vectors specified as &lt;code>numpy&lt;/code> arrays.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-py" data-lang="py">&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">import&lt;/span> cvxpy
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">import&lt;/span> numpy &lt;span style="color:#66d9ef">as&lt;/span> np
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">from&lt;/span> toqito.matrix_ops &lt;span style="color:#f92672">import&lt;/span> to_density_matrix
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">def&lt;/span> &lt;span style="color:#a6e22e">primal&lt;/span>(vectors: list[np&lt;span style="color:#f92672">.&lt;/span>nadarray]):
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> n, d &lt;span style="color:#f92672">=&lt;/span> len(vectors), vectors[&lt;span style="color:#ae81ff">0&lt;/span>]&lt;span style="color:#f92672">.&lt;/span>shape[&lt;span style="color:#ae81ff">0&lt;/span>]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e"># Define PSD variables for the measurements.&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> meas &lt;span style="color:#f92672">=&lt;/span> [cvxpy&lt;span style="color:#f92672">.&lt;/span>Variable((d, d), hermitian&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#66d9ef">True&lt;/span>) &lt;span style="color:#66d9ef">for&lt;/span> _ &lt;span style="color:#f92672">in&lt;/span> range(n)]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e"># Constraints: measurements are PSD and sum to identity.&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> constraints &lt;span style="color:#f92672">=&lt;/span> [meas[i] &lt;span style="color:#f92672">&amp;gt;&amp;gt;&lt;/span> &lt;span style="color:#ae81ff">0&lt;/span> &lt;span style="color:#66d9ef">for&lt;/span> i &lt;span style="color:#f92672">in&lt;/span> range(n)]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> constraints&lt;span style="color:#f92672">.&lt;/span>append([cvxpy&lt;span style="color:#f92672">.&lt;/span>sum(meas) &lt;span style="color:#f92672">==&lt;/span> np&lt;span style="color:#f92672">.&lt;/span>eye(d)])
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e"># Objective function: maximize the success probability.&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> obj_func &lt;span style="color:#f92672">=&lt;/span> [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#ae81ff">1&lt;/span> &lt;span style="color:#f92672">/&lt;/span> n &lt;span style="color:#f92672">*&lt;/span> cvxpy&lt;span style="color:#f92672">.&lt;/span>trace(to_density_matrix(vectors[i])&lt;span style="color:#f92672">.&lt;/span>conj()&lt;span style="color:#f92672">.&lt;/span>T &lt;span style="color:#f92672">@&lt;/span> meas[i])
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">for&lt;/span> i &lt;span style="color:#f92672">in&lt;/span> range(n)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> objective &lt;span style="color:#f92672">=&lt;/span> cvxpy&lt;span style="color:#f92672">.&lt;/span>Minimize(cvxpy&lt;span style="color:#f92672">.&lt;/span>real(cvxpy&lt;span style="color:#f92672">.&lt;/span>sum(obj_func)))
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> problem &lt;span style="color:#f92672">=&lt;/span> cvxpy&lt;span style="color:#f92672">.&lt;/span>Problem(objective, constraints)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">return&lt;/span> problem&lt;span style="color:#f92672">.&lt;/span>solve(), meas
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Using a standard SDP recipe, we can construct the corresponding dual optimization problem.&lt;/p>
$$
\begin{equation}
\begin{aligned}
\text{maximize:} \quad &amp; \text{Tr}(Y) \\
\text{subject to:} \quad &amp; Y \preceq |\psi_i\rangle\langle\psi_i|, \ \forall i \in \{1, \ldots, n\}.
\end{aligned}
\end{equation}
$$
&lt;p>where \(Y\) is understood to be a Hermitian operator. Using &lt;code>cvxpy&lt;/code>, we can code up the dual problem as well.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-py" data-lang="py">&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">import&lt;/span> cvxpy
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">import&lt;/span> numpy &lt;span style="color:#66d9ef">as&lt;/span> np
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">from&lt;/span> toqito.matrix_ops &lt;span style="color:#f92672">import&lt;/span> to_density_matrix
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">def&lt;/span> &lt;span style="color:#a6e22e">dual&lt;/span>(vectors: list[np&lt;span style="color:#f92672">.&lt;/span>ndarray]):
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e"># Define the dual problem.&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> y_var &lt;span style="color:#f92672">=&lt;/span> cvxpy&lt;span style="color:#f92672">.&lt;/span>Variable((d, d), hermitian&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#66d9ef">True&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> constraints &lt;span style="color:#f92672">=&lt;/span> [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> y_var &lt;span style="color:#f92672">&amp;lt;&amp;lt;&lt;/span> &lt;span style="color:#ae81ff">1&lt;/span> &lt;span style="color:#f92672">/&lt;/span> n &lt;span style="color:#f92672">*&lt;/span> to_density_matrix(vector)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">for&lt;/span> vector &lt;span style="color:#f92672">in&lt;/span> vectors
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> objective &lt;span style="color:#f92672">=&lt;/span> cvxpy&lt;span style="color:#f92672">.&lt;/span>Maximize(cvxpy&lt;span style="color:#f92672">.&lt;/span>trace(cvxpy&lt;span style="color:#f92672">.&lt;/span>real(y_var)))
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> problem &lt;span style="color:#f92672">=&lt;/span> cvxpy&lt;span style="color:#f92672">.&lt;/span>Problem(objective, constraints)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">return&lt;/span> problem&lt;span style="color:#f92672">.&lt;/span>solve(), y_var
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Through the magic of SDPs, this gives us a way to certify an upper bound for the specific instance of the problem we are
considering. In other words, for a given set of states, we can find a feasible variable \(Y\) that satisfies the
properties of the dual problem, we have a certificate to say that the upper bound is optimal.&lt;/p>
&lt;p>In the next section, we will see how we can use this property of the dual problem to disprove the conjecture for a given
set of states, but first, let&amp;rsquo;s take another look at the trine states with this SDP in our toolbelt.&lt;/p>
&lt;h4 id="example-revisiting-the-trine-states">Example: Revisiting the trine states&lt;/h4>
&lt;p>Consider again the trine states from the previous example. We can determine that they are antidistinguishable by way of
the antidistinguishability SDP.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-py" data-lang="py">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">&amp;gt;&amp;gt;&amp;gt;&lt;/span> opt_value, measurements &lt;span style="color:#f92672">=&lt;/span> primal(trine_states)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">&amp;gt;&amp;gt;&amp;gt;&lt;/span> print(&lt;span style="color:#e6db74">f&lt;/span>&lt;span style="color:#e6db74">&amp;#34;Optimal SDP value: &lt;/span>&lt;span style="color:#e6db74">{&lt;/span>opt_value&lt;span style="color:#e6db74">}&lt;/span>&lt;span style="color:#e6db74">&amp;#34;&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>Optimal SDP value: &lt;span style="color:#ae81ff">4.334787693145857e-08&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>The SDP not only gives us the optimal value, which is \(0\) in this case, indicating that the states are
antidistinguishable, but we also get a set of optimal measurement operators.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-py" data-lang="py">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">&amp;gt;&amp;gt;&amp;gt;&lt;/span> print(&lt;span style="color:#e6db74">f&lt;/span>&lt;span style="color:#e6db74">&amp;#34;M1: &lt;/span>&lt;span style="color:#ae81ff">\n&lt;/span>&lt;span style="color:#e6db74"> &lt;/span>&lt;span style="color:#e6db74">{&lt;/span>np&lt;span style="color:#f92672">.&lt;/span>around(measurements[&lt;span style="color:#ae81ff">0&lt;/span>], decimals&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">5&lt;/span>)&lt;span style="color:#e6db74">}&lt;/span>&lt;span style="color:#e6db74">&amp;#34;&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">&amp;gt;&amp;gt;&amp;gt;&lt;/span> print(&lt;span style="color:#e6db74">f&lt;/span>&lt;span style="color:#e6db74">&amp;#34;M2: &lt;/span>&lt;span style="color:#ae81ff">\n&lt;/span>&lt;span style="color:#e6db74"> &lt;/span>&lt;span style="color:#e6db74">{&lt;/span>np&lt;span style="color:#f92672">.&lt;/span>around(measurements[&lt;span style="color:#ae81ff">1&lt;/span>], decimals&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">5&lt;/span>)&lt;span style="color:#e6db74">}&lt;/span>&lt;span style="color:#e6db74">&amp;#34;&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">&amp;gt;&amp;gt;&amp;gt;&lt;/span> print(&lt;span style="color:#e6db74">f&lt;/span>&lt;span style="color:#e6db74">&amp;#34;M3: &lt;/span>&lt;span style="color:#ae81ff">\n&lt;/span>&lt;span style="color:#e6db74"> &lt;/span>&lt;span style="color:#e6db74">{&lt;/span>np&lt;span style="color:#f92672">.&lt;/span>around(measurements[&lt;span style="color:#ae81ff">2&lt;/span>], decimals&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">5&lt;/span>)&lt;span style="color:#e6db74">}&lt;/span>&lt;span style="color:#e6db74">&amp;#34;&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>M1:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> [[&lt;span style="color:#ae81ff">0.&lt;/span> &lt;span style="color:#f92672">+&lt;/span>&lt;span style="color:#ae81ff">0.&lt;/span>j &lt;span style="color:#ae81ff">0.&lt;/span> &lt;span style="color:#f92672">+&lt;/span>&lt;span style="color:#ae81ff">0.&lt;/span>j]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> [&lt;span style="color:#ae81ff">0.&lt;/span> &lt;span style="color:#f92672">+&lt;/span>&lt;span style="color:#ae81ff">0.&lt;/span>j &lt;span style="color:#ae81ff">0.66664&lt;/span>&lt;span style="color:#f92672">+&lt;/span>&lt;span style="color:#ae81ff">0.&lt;/span>j]]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>M2:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> [[ &lt;span style="color:#ae81ff">0.5&lt;/span> &lt;span style="color:#f92672">+&lt;/span>&lt;span style="color:#ae81ff">0.&lt;/span>j &lt;span style="color:#f92672">-&lt;/span>&lt;span style="color:#ae81ff">0.28869&lt;/span>&lt;span style="color:#f92672">+&lt;/span>&lt;span style="color:#ae81ff">0.&lt;/span>j]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> [&lt;span style="color:#f92672">-&lt;/span>&lt;span style="color:#ae81ff">0.28869&lt;/span>&lt;span style="color:#f92672">+&lt;/span>&lt;span style="color:#ae81ff">0.&lt;/span>j &lt;span style="color:#ae81ff">0.16668&lt;/span>&lt;span style="color:#f92672">+&lt;/span>&lt;span style="color:#ae81ff">0.&lt;/span>j]]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>M3:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> [[&lt;span style="color:#ae81ff">0.5&lt;/span> &lt;span style="color:#f92672">+&lt;/span>&lt;span style="color:#ae81ff">0.&lt;/span>j &lt;span style="color:#ae81ff">0.28869&lt;/span>&lt;span style="color:#f92672">+&lt;/span>&lt;span style="color:#ae81ff">0.&lt;/span>j]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> [&lt;span style="color:#ae81ff">0.28869&lt;/span>&lt;span style="color:#f92672">+&lt;/span>&lt;span style="color:#ae81ff">0.&lt;/span>j &lt;span style="color:#ae81ff">0.16668&lt;/span>&lt;span style="color:#f92672">+&lt;/span>&lt;span style="color:#ae81ff">0.&lt;/span>j]]
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>These should look familiar to the measurements we explicitly constructed earlier.&lt;/p>
&lt;h3 id="disproving-the-conjecture">Disproving the conjecture&lt;/h3>
&lt;p>Now that we have defined antidistinguishability, let&amp;rsquo;s return to thinking about the conjecture at the beginning of this
blog post.&lt;/p>
&lt;p>If we want to disprove it, we would need to find a counterexample. We also need to be aware that when \(n = 2\) or \(n =
3\), the RHS of the conjectured equation is \(0\) or \(1/2\), respectively, which are true (and tight). So if any
counterexamples exist, we need to restrict our search to \(n \geq 4\).&lt;/p>
&lt;p>And unceremonously, that is precisely what can be done:&lt;/p>
&lt;ul>
&lt;li>Generate a random set of \(n\) quantum states each of dimension \(n\).&lt;/li>
&lt;li>Check if the conjectured bound is satisfied:&lt;/li>
&lt;li>Check if the states are antidistinguishable (using the SDP).&lt;/li>
&lt;li>If the bound is satisfied but the states are not antidistinguishable, we have our counterexample.&lt;/li>
&lt;/ul>
&lt;p>The following snippet of code follows this procedure for a fixed number of randomly generated examples.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-py" data-lang="py">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># Generate a random collection of &amp;#34;n&amp;#34; states of dimension &amp;#34;d&amp;#34;:&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">from&lt;/span> toqito.rand &lt;span style="color:#f92672">import&lt;/span> random_states
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#66d9ef">def&lt;/span> &lt;span style="color:#a6e22e">is_bound_satisfied&lt;/span>(S: np&lt;span style="color:#f92672">.&lt;/span>ndarray) &lt;span style="color:#f92672">-&amp;gt;&lt;/span> bool:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">for&lt;/span> i, _ &lt;span style="color:#f92672">in&lt;/span> enumerate(S):
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">for&lt;/span> j, _ &lt;span style="color:#f92672">in&lt;/span> enumerate(S):
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">if&lt;/span> i &lt;span style="color:#f92672">!=&lt;/span> j:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ip_val &lt;span style="color:#f92672">=&lt;/span> np&lt;span style="color:#f92672">.&lt;/span>abs(np&lt;span style="color:#f92672">.&lt;/span>trace(S[i]&lt;span style="color:#f92672">.&lt;/span>conj()&lt;span style="color:#f92672">.&lt;/span>T &lt;span style="color:#f92672">*&lt;/span> S[j]&lt;span style="color:#f92672">.&lt;/span>reshape(&lt;span style="color:#f92672">-&lt;/span>&lt;span style="color:#ae81ff">1&lt;/span>, &lt;span style="color:#ae81ff">1&lt;/span>)))
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e"># If |&amp;lt;Ψ_i|Ψ_j&amp;gt;| &amp;gt; (d − 2)/(d − 1) for some i != j, return False.&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">if&lt;/span> ip_val &lt;span style="color:#f92672">&amp;gt;&lt;/span> (len(S) &lt;span style="color:#f92672">-&lt;/span> &lt;span style="color:#ae81ff">2&lt;/span>)&lt;span style="color:#f92672">/&lt;/span>(len(S) &lt;span style="color:#f92672">-&lt;/span> &lt;span style="color:#ae81ff">1&lt;/span>):
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">return&lt;/span> &lt;span style="color:#66d9ef">True&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">return&lt;/span> &lt;span style="color:#66d9ef">False&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>n &lt;span style="color:#f92672">=&lt;/span> &lt;span style="color:#ae81ff">4&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>num_tests &lt;span style="color:#f92672">=&lt;/span> &lt;span style="color:#ae81ff">10_000&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#66d9ef">for&lt;/span> i &lt;span style="color:#f92672">in&lt;/span> range(num_tests):
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> S &lt;span style="color:#f92672">=&lt;/span> random_states(n&lt;span style="color:#f92672">=&lt;/span>n, d&lt;span style="color:#f92672">=&lt;/span>n)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> dual_val, y_var &lt;span style="color:#f92672">=&lt;/span> dual(S)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> print(&lt;span style="color:#e6db74">f&lt;/span>&lt;span style="color:#e6db74">&amp;#34;Is conjectured bound satisfied: &lt;/span>&lt;span style="color:#e6db74">{&lt;/span>is_bound_satisfied(S)&lt;span style="color:#e6db74">}&lt;/span>&lt;span style="color:#e6db74">&amp;#34;&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> print(&lt;span style="color:#e6db74">f&lt;/span>&lt;span style="color:#e6db74">&amp;#34;Is antidistinguishable: &lt;/span>&lt;span style="color:#e6db74">{&lt;/span>dual(S)&lt;span style="color:#e6db74">}&lt;/span>&lt;span style="color:#e6db74">&amp;#34;&lt;/span>)
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>After running the code for a long while, we were able to stumble upon the following counterexample.&lt;/p>
&lt;p>&lt;strong>Counterexample&lt;/strong> [&lt;a href="https://arxiv.org/abs/2206.08313">Russo–Sikora, (2022)&lt;/a>]:
For \(n=4\), the conjecture states that if \(|\langle \psi_i | \psi_j \rangle| \leq 2/3 \approx 0.6666\) for all \(i \neq
j\) then \(S\) is antidistinguishable. A numerical search was able to exhibit a non-antidistinguishable set of states with
\(|\langle \psi_i | \psi_j \rangle| \leq 0.6451\) for all \(i \neq j\).&lt;/p>
&lt;p>While this counterexample is not unique, the one that was found and used in our paper was the following:&lt;/p>
$$
\begin{equation}
\begin{aligned}
|\psi_1\rangle = \begin{bmatrix}
+0.50127198 - 0.037607i \\
-0.00698152 - 0.590973i \\
+0.08186514 - 0.4497548i \\
-0.01299883 + 0.43458491i
\end{bmatrix}, &amp;\quad
|\psi_2\rangle = \begin{bmatrix}
-0.07115345 - 0.27080326i \\
+0.82047712 + 0.26320823i \\
+0.22105089 - 0.2091996i \\
-0.23575591 - 0.1758769i
\end{bmatrix}, \\
|\psi_3\rangle = \begin{bmatrix}
+0.31360906 + 0.46339313i \\
-0.0465825 - 0.47825017i \\
-0.10470394 - 0.11776404i \\
+0.60231515 + 0.26154959i
\end{bmatrix}, &amp;\quad
|\psi_4\rangle = \begin{bmatrix}
-0.53532122 - 0.03654632i \\
+0.40955941 - 0.15150576i \\
-0.05741386 + 0.23873985i \\
-0.4737113 - 0.48652564i \\
\end{bmatrix}.
\end{aligned}
\end{equation}
$$
&lt;p>We can observe that the above set of \(4\) states violates the conjecture.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-py" data-lang="py">&lt;span style="display:flex;">&lt;span>dim &lt;span style="color:#f92672">=&lt;/span> &lt;span style="color:#ae81ff">4&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>S &lt;span style="color:#f92672">=&lt;/span> np&lt;span style="color:#f92672">.&lt;/span>array(
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#ae81ff">0.50127198&lt;/span> &lt;span style="color:#f92672">-&lt;/span> &lt;span style="color:#ae81ff">0.037607&lt;/span>j,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>&lt;span style="color:#ae81ff">0.00698152&lt;/span> &lt;span style="color:#f92672">-&lt;/span> &lt;span style="color:#ae81ff">0.590973&lt;/span>j,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#ae81ff">0.08186514&lt;/span> &lt;span style="color:#f92672">-&lt;/span> &lt;span style="color:#ae81ff">0.4497548&lt;/span>j,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>&lt;span style="color:#ae81ff">0.01299883&lt;/span> &lt;span style="color:#f92672">+&lt;/span> &lt;span style="color:#ae81ff">0.43458491&lt;/span>j,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ],
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>&lt;span style="color:#ae81ff">0.07115345&lt;/span> &lt;span style="color:#f92672">-&lt;/span> &lt;span style="color:#ae81ff">0.27080326&lt;/span>j,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#ae81ff">0.82047712&lt;/span> &lt;span style="color:#f92672">+&lt;/span> &lt;span style="color:#ae81ff">0.26320823&lt;/span>j,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#ae81ff">0.22105089&lt;/span> &lt;span style="color:#f92672">-&lt;/span> &lt;span style="color:#ae81ff">0.2091996&lt;/span>j,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>&lt;span style="color:#ae81ff">0.23575591&lt;/span> &lt;span style="color:#f92672">-&lt;/span> &lt;span style="color:#ae81ff">0.1758769&lt;/span>j,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ],
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#ae81ff">0.31360906&lt;/span> &lt;span style="color:#f92672">+&lt;/span> &lt;span style="color:#ae81ff">0.46339313&lt;/span>j,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>&lt;span style="color:#ae81ff">0.0465825&lt;/span> &lt;span style="color:#f92672">-&lt;/span> &lt;span style="color:#ae81ff">0.47825017&lt;/span>j,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>&lt;span style="color:#ae81ff">0.10470394&lt;/span> &lt;span style="color:#f92672">-&lt;/span> &lt;span style="color:#ae81ff">0.11776404&lt;/span>j,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#ae81ff">0.60231515&lt;/span> &lt;span style="color:#f92672">+&lt;/span> &lt;span style="color:#ae81ff">0.26154959&lt;/span>j,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ],
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>&lt;span style="color:#ae81ff">0.53532122&lt;/span> &lt;span style="color:#f92672">-&lt;/span> &lt;span style="color:#ae81ff">0.03654632&lt;/span>j,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#ae81ff">0.40955941&lt;/span> &lt;span style="color:#f92672">-&lt;/span> &lt;span style="color:#ae81ff">0.15150576&lt;/span>j,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>&lt;span style="color:#ae81ff">0.05741386&lt;/span> &lt;span style="color:#f92672">+&lt;/span> &lt;span style="color:#ae81ff">0.23873985&lt;/span>j,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">-&lt;/span>&lt;span style="color:#ae81ff">0.4737113&lt;/span> &lt;span style="color:#f92672">-&lt;/span> &lt;span style="color:#ae81ff">0.48652564&lt;/span>j,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ],
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># Is conjectured bound satisfied: True&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>print(&lt;span style="color:#e6db74">f&lt;/span>&lt;span style="color:#e6db74">&amp;#34;Is conjectured bound satisfied: &lt;/span>&lt;span style="color:#e6db74">{&lt;/span>is_bound_satisfied(S)&lt;span style="color:#e6db74">}&lt;/span>&lt;span style="color:#e6db74">&amp;#34;&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># Is antidistinguishable: False&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>print(&lt;span style="color:#e6db74">f&lt;/span>&lt;span style="color:#e6db74">&amp;#34;Is antidistinguishable: &lt;/span>&lt;span style="color:#e6db74">{&lt;/span>dual(S)&lt;span style="color:#e6db74">}&lt;/span>&lt;span style="color:#e6db74">&amp;#34;&lt;/span>)
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>The nice thing about the code is that not only do we have access to the dual value, but also the dual variable, \(Y\)
which gives us a certificate to verify that this is an upper bound for this choice of states. I&amp;rsquo;ll omit this check
explicitly here, but this is precisely what we do in &lt;a href="https://arxiv.org/abs/2206.08313">arXiv:2206.08313&lt;/a>.&lt;/p>
&lt;p>Now, finding a counterexample and breaking things is fine, but it&amp;rsquo;s a bit unsatisfactory. In a follow-up work, we were
able to patch up the conjectured statement into the following theorem.&lt;/p>
&lt;p>&lt;strong>Theorem&lt;/strong> [&lt;a href="https://arxiv.org/abs/2311.17047">Johnston-Russo-Sikora, (2023)&lt;/a>]:&lt;/p>
&lt;p>Let \(n \geq 2\) be an integer and let \(S = \{|\psi_1\rangle, |\psi_2\rangle, \ldots, |\psi_n\rangle \}\). If&lt;/p>
$$
\begin{equation}
|\langle \psi_i | \psi_j \rangle| \leq \frac{1}{\sqrt{2}} \sqrt{\frac{n-2}{n-1}}
\end{equation}
$$
&lt;p>for all \(i \neq j\), then \(S\) is antidistinguishable.&lt;/p>
&lt;p>I&amp;rsquo;ll leave the details of this to our paper, but will mention that:&lt;/p>
&lt;ul>
&lt;li>
&lt;p>When \(n = 2, 3\), or \(4\), the RHS bound is \(0\), \(1/2\), or \(1/\sqrt{3}\) respectively, which are tight.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Unknown if it’s tight for \(n \geq 5\).&lt;/p>
&lt;/li>
&lt;/ul>
&lt;p>There is certainly a lot more that can be said on the topic, and I look forward to continuing to doing so in the
future!&lt;/p></content></item></channel></rss>