Introduction
Let H 1 , … , H k \mathcal{H}_1,\ldots,\mathcal{H}_k H 1 , … , H k be finite-dimensional real Hilbert spaces, each of dimension at most d d d . For each j ∈ [ k ] j \in[k] j ∈ [ k ] let K j ⊆ B H j \mathcal{K}_j \subseteq B_{\mathcal{H}_j} K j ⊆ B H j be a convex set which admits a poly ( d ) \operatorname{poly}(d) poly ( d ) linear optimization algorithm and let
C = conv { x 1 ⊗ ⋯ ⊗ x k : x j ∈ K j } . \mathcal{C}=\operatorname{conv}\{x_1\otimes\cdots\otimes x_k:x_j\in\mathcal{K}_j\}. C = conv { x 1 ⊗ ⋯ ⊗ x k : x j ∈ K j } .
We are interested in the following weak membership problem : given M ∈ H 1 ⊗ ⋯ ⊗ H k M\in\mathcal{H}_1\otimes\cdots\otimes\mathcal{H}_k M ∈ H 1 ⊗ ⋯ ⊗ H k decide whether
M ∈ C , or dist ( M , C ) = inf M ′ ∈ C ∥ M − M ′ ∥ ≥ ϵ , M\in\mathcal{C},\qquad\text{or}\qquad\operatorname{dist}(M,\mathcal{C})=\inf_{M'\in\mathcal{C}}\lVert M-M'\rVert\geq\epsilon, M ∈ C , or dist ( M , C ) = M ′ ∈ C inf ∥ M − M ′ ∥ ≥ ϵ ,
where ∥ ⋅ ∥ \lVert\cdot\rVert ∥ ⋅ ∥ is the norm induced by the inner product in H 1 ⊗ ⋯ ⊗ H k \mathcal{H}_1\otimes\cdots\otimes\mathcal{H}_k H 1 ⊗ ⋯ ⊗ H k . Besides being a natural algorithmic task on its own, this general formulation specializes to well-known computational problems, which we discuss next.
Problem I: Nuclear Tensor Norms. When K j \mathcal{K}_j K j is the unit ball of R d \mathbb{R}^d R d , then the convex hull of unit-norm rank-one tensors C \mathcal{C} C corresponds to all tensors with (real) nuclear norm at most 1 1 1 [FL18], where the nuclear norm of a tensor ∥ ⋅ ∥ ∗ \lVert\cdot\rVert_* ∥ ⋅ ∥ ∗ is defined as
∥ M ∥ ∗ = inf { ∑ i = 1 r ∣ λ i ∣ : M = ∑ i ∈ [ r ] λ i ( x 1 , i ⊗ ⋯ ⊗ x k , i ) , ∥ x j , i ∥ = 1 , x j , i ∈ R d , r ∈ N , λ i ∈ R } . \lVert M\rVert_*=\inf\left\{\sum_{i=1}^{r}\lvert\lambda_i\rvert:M=\sum_{i\in[r]}\lambda_i(x_{1,i}\otimes\cdots\otimes x_{k,i}),\ \lVert x_{j,i}\rVert=1,\ x_{j,i}\in\mathbb{R}^d,\ r\in\mathbb{N},\ \lambda_i\in\mathbb{R}\right\}. ∥ M ∥ ∗ = inf ⎩ ⎨ ⎧ i = 1 ∑ r ∣ λ i ∣ : M = i ∈ [ r ] ∑ λ i ( x 1 , i ⊗ ⋯ ⊗ x k , i ) , ∥ x j , i ∥ = 1 , x j , i ∈ R d , r ∈ N , λ i ∈ R ⎭ ⎬ ⎫ .
Note that linear optimization over v ∈ R d v\in\mathbb{R}^d v ∈ R d reduces to computing ∥ v ∥ \lVert v\rVert ∥ v ∥ , which is of course polynomial-time. Originating from ideas of Grothendieck [Gro55] and Schatten [42 ] , the computational problem of weak membership in the nuclear ball was introduced by Friedland and Lim [FL18], who proved NP-hardness of nuclear-norm evaluation for real tensors of order k ≥ 3 k\geq3 k ≥ 3 and complex tensors of order k ≥ 4 k\geq4 k ≥ 4 . They also proved NP-hardness of nuclear-ball weak membership when the accuracy is allowed to depend on the instance, already for fourth-order tensors satisfying additional positivity and symmetry restrictions. [29 , 35 ] established NP-hardness at inverse-polynomial Frobenius accuracy for k = 3 k=3 k = 3 over both fields. On the other hand, for fixed k k k and ϵ > 0 \epsilon>0 ϵ > 0 , the randomized additive spectral-norm algorithm of Fernandez de la Vega, Karpinski, Kannan, and Vempala [Fer+05], yields, as a consequence, polynomial-time weak membership at Frobenius accuracy ϵ \epsilon ϵ . Other works provide polynomial-time algorithms for computing nuclear norms with a dimension-dependent multiplicative approximation factor [31 , 34 FL18, CL20, 40 He+23] .
Problem II: Quantum Separability. Conversely, when K j = D d \mathcal{K}_j=\mathcal{D}_d K j = D d is the set of density matrices in dimension d d d and H j = Herm ( C d ) \mathcal{H}_j=\operatorname{Herm}(\mathbb{C}^d) H j = Herm ( C d ) :
C = Sep ( d , k ) : = conv { ρ 1 ⊗ ⋯ ⊗ ρ k : ρ 1 , … , ρ k ∈ D d } , \mathcal{C}=\operatorname{Sep}(d,k):=\operatorname{conv}\{\rho_1\otimes\cdots\otimes\rho_k:\rho_1,\ldots,\rho_k\in\mathcal{D}_d\}, C = Sep ( d , k ) := conv { ρ 1 ⊗ ⋯ ⊗ ρ k : ρ 1 , … , ρ k ∈ D d } ,
is the set of separable k k k -partite states. Since linear optimization over D d \mathcal{D}_d D d corresponds to the computation of the largest eigenvalue, which is again polynomial-time, our problem specializes to the Frobenius-norm quantum separability problem [Gur03]. This problem is known to be NP-hard when ϵ = exp ( − Ω ( d ) ) \epsilon=\exp(-\Omega(d)) ϵ = exp ( − Ω ( d )) [Gur03] and even ϵ = 1 / poly ( d ) \epsilon=1/\operatorname{poly}(d) ϵ = 1/ poly ( d ) [Gha10], already for k = 2 k=2 k = 2 . When distance is measured in trace norm instead, Harrow and Montanaro [30 ] showed evidence that even a polynomial-time algorithm with constant additive error would solve 3-SAT in time exp ( O ( n polylog n ) ) \exp(O(\sqrt{n}\operatorname{polylog}n)) exp ( O ( n polylog n )) . On the positive side Brandão, Christandl, and Yard [7 ] (see also [43 ] ) gave a quasi-polynomial algorithm, exp ( O ( η − 2 log 2 d ) ) \exp(O(\eta^{-2}\log^2 d)) exp ( O ( η − 2 log 2 d )) , for bipartite weak membership in the LOCC norm and in the Frobenius norm, extended by Brandão and Harrow [11 ] to k k k parties, in time exp ( O ( k 4 η − 2 log 2 2 d ) ) \exp(O(k^{4}\eta^{-2}\log_{2}^{2}d)) exp ( O ( k 4 η − 2 log 2 2 d )) , for the one-way LOCC norm and a multipartite variant of the Frobenius norm in time exp ( O ( 18 k / 2 k η − 2 log 2 2 d ) ) \exp(O(18^{k/2}k\eta^{-2}\log_{2}^{2}d)) exp ( O ( 1 8 k /2 k η − 2 log 2 2 d )) . Very recently, the bipartite version of the problem was shown to be solvable in polynomial time for constant ϵ > 0 \epsilon> 0 ϵ > 0 and distance in Frobenius norm [37 , 32 ] . While these results plausibly generalize to a constant k k k , independent of d d d , a polynomial-time algorithm for the general case is, to the best of our knowledge, currently open.
Our Results
In this work we propose a deterministic polynomial-time algorithm for the general problem stated in the introduction, for any k k k and d d d , in the constant accuracy ϵ \epsilon ϵ regime. Specializing it to weak membership in the unit ball of the nuclear norm, we obtain the first polynomial-time algorithm for general tensors as an immediate consequence. The algorithm runs in time polynomial in the size of the input tensor, d k d^{k} d k .
Theorem 1.1 (Nuclear Norm; Informal). Let K ∗ = { M ∈ ( R d ) ⊗ k : ∥ M ∥ ∗ ≤ 1 } K_* = \{M \in(\mathbb{R}^{d})^{\otimes k} : \lVert M\rVert_* \le1\} K ∗ = { M ∈ ( R d ) ⊗ k : ∥ M ∥ ∗ ≤ 1 } . For every ϵ > 0 \epsilon> 0 ϵ > 0 there is a deterministic algorithm that, given M ∈ ( R d ) ⊗ k M \in(\mathbb{R}^{d})^{\otimes k} M ∈ ( R d ) ⊗ k , decides whether M ∈ K ∗ M \in K_* M ∈ K ∗ or dist ( M , K ∗ ) ≥ ϵ \operatorname{dist}(M,K_*) \ge\epsilon dist ( M , K ∗ ) ≥ ϵ in time d O ϵ ( k ) d^{O_{\epsilon}(k)} d O ϵ ( k ) .
If we instead specialize the general problem to density matrices, we obtain the first polynomial-time algorithm for the multipartite weak membership problem in the Frobenius norm. This improves upon recent works [37 , 32 ] that obtained an analogous result for k = 2 k = 2 k = 2 . Here the input size is an explicit d k × d k d^{k} \times d^{k} d k × d k density matrix.
Theorem 1.2 (Quantum Separability; Informal). For every ϵ > 0 \epsilon> 0 ϵ > 0 there is a deterministic algorithm that, given ρ ∈ Herm ( ( C d ) ⊗ k ) \rho\in\operatorname{Herm}((\mathbb{C}^{d})^{\otimes k}) ρ ∈ Herm (( C d ) ⊗ k ) , decides whether ρ ∈ Sep ( d , k ) \rho\in\operatorname{Sep}(d,k) ρ ∈ Sep ( d , k ) or dist ( ρ , Sep ( d , k ) ) ≥ ϵ \operatorname{dist}(\rho,\operatorname{Sep}(d,k)) \ge\epsilon dist ( ρ , Sep ( d , k )) ≥ ϵ in time d O ϵ ( k ) d^{O_{\epsilon}(k)} d O ϵ ( k ) .
Our algorithm relies on the fact that we can reduce the weak-membership problem to a dual optimization problem in which the tensor norm is guaranteed to be bounded. Akin to the idea of regularity, this lets us approximate the tensor with only a few spectral components and limit the information factor j j j needs about the optimal solution on all other factors. Then each factor can “guess” the optimal solution and optimize its own factor. This is the fundamental idea behind our results. However, this simple strategy is not enough to obtain a truly polynomial-time algorithm, and it requires several technical improvements (elaborated below).
Next, motivated by applications in quantum information, we also consider the question of multipartite quantum separability in the property testing setting [13 ] , i.e., where the inputs are copies of an unknown quantum state ρ ∈ D ( ( C d ) ⊗ k ) \rho\in\mathcal{D}((\mathbb{C}^{d})^{\otimes k}) ρ ∈ D (( C d ) ⊗ k ) . Here we obtain a much stronger result, namely an algorithm to solve Frobenius-norm weak membership where the number of copies is independent of d d d and whose runtime is polynomial in k log d k\log d k log d , rather than k d kd k d . To the best of our knowledge, this is the first dimension-free test for weak membership in the set of separable states. Prior work obtained comparable dimension-free guarantees for the simpler task of state certification [BOW19] or product state certification but restricted to pure states [44 , 12 ] .
Theorem 1.3 (Quantum Separability from Copies; Informal). For every ϵ > 0 \epsilon> 0 ϵ > 0 there is a quantum algorithm that, given copies of an unknown ρ ∈ D ( ( C d ) ⊗ k ) \rho\in\mathcal{D}((\mathbb{C}^{d})^{\otimes k}) ρ ∈ D (( C d ) ⊗ k ) , distinguishes ρ ∈ Sep ( d , k ) \rho\in\operatorname{Sep}(d,k) ρ ∈ Sep ( d , k ) from dist ( ρ , Sep ( d , k ) ) ≥ ϵ \operatorname{dist}(\rho,\operatorname{Sep}(d,k)) \ge\epsilon dist ( ρ , Sep ( d , k )) ≥ ϵ with high probability, using k O ϵ ( 1 ) k^{O_{\epsilon}(1)} k O ϵ ( 1 ) copies of ρ \rho ρ and total time k O ϵ ( 1 ) polylog ( d ) k^{O_{\epsilon}(1)}\operatorname{polylog}(d) k O ϵ ( 1 ) polylog ( d ) .
We highlight that for the analogous problem with the trace norm there is a lower bound of Ω ( d 2 ) \Omega(d^{2}) Ω ( d 2 ) on the number of copies [13 ] . Other copy lower bounds [Bec+25; AB26] apply also to the Frobenius norm but assume that the measurements act on one copy at a time, or consider measurements that remain positive after partial transposition. Our algorithm bypasses these barriers by (necessarily) using coherent measurements across copies.
The proof relies on two main ingredients: a copy-efficient maximization of Tr ( ( ρ − σ ) π ) \operatorname{Tr}((\rho-\sigma)\pi) Tr (( ρ − σ ) π ) over pure product states π \pi π , with ρ \rho ρ given by copies and σ \sigma σ an explicit mixture of product states, which extends the product-state learner of [4 ] to qudits and to signed objective functions; and a reduction, performed on copies, from local dimension d d d to local dimension O ( k 2 / ϵ 4 ) O(k^2/\epsilon^4) O ( k 2 / ϵ 4 ) at a cost of polylog ( d ) \operatorname{polylog}(d) polylog ( d ) time, using tools from representation theory.
Technical Outline I: Classical Algorithms
The heart of our classical algorithm is the multilinear optimization problem
Opt ( M ) : = max ρ 1 ∈ K 1 , … , ρ k ∈ K k ⟨ M , ρ 1 ⊗ ⋯ ⊗ ρ k ⟩ , ∥ M ∥ ≤ 1 , (1) \operatorname{Opt}(M) := \max_{\rho_1\in\mathcal{K}_1,\ldots,\rho_k\in\mathcal{K}_k} \langle M,\rho_1\otimes\cdots\otimes\rho_k\rangle,\qquad\lVert M\rVert\le1, \tag*{(1)} Opt ( M ) := ρ 1 ∈ K 1 , … , ρ k ∈ K k max ⟨ M , ρ 1 ⊗ ⋯ ⊗ ρ k ⟩ , ∥ M ∥ ≤ 1 , (1)
where each K j ⊆ B H j \mathcal{K}_j\subseteq B_{\mathcal{H}_j} K j ⊆ B H j is a convex set of dimension d d d , and admits a linear optimization oracle. This is precisely the dual problem of the general problem stated in the introduction, so a solution for the optimization problem implies an algorithm for the weak membership problem, by a standard application of Frank–Wolfe [FW56]. In this outline, we concentrate on approximating (1) in polynomial-time, up to a constant additive factor. It is going to be convenient to view our optimization problem as a cooperative game : player j j j chooses a strategy ρ j ∈ K j \rho_j\in\mathcal{K}_j ρ j ∈ K j , and the players jointly maximize the payoff in (1).
The Bipartite Case. Consider first k = 2 k=2 k = 2 , viewing M ∈ H 1 ⊗ H 2 M\in\mathcal{H}_1\otimes\mathcal{H}_2 M ∈ H 1 ⊗ H 2 as a linear map from H 1 \mathcal{H}_1 H 1 to H 2 \mathcal{H}_2 H 2 . Suppose for a moment that the first player is given the optimal solution. Then it could simply communicate that solution to the second player, who then only has to optimize a linear function. To reduce the size of the “message” of the first player, we prove that the first player’s optimal solution affects the objective only through a limited communication channel, whose bandwidth is controlled by the tensor’s small Frobenius norm. Thus, instead of having the first player communicating anything, we can now simply let the second player guess the message that would be generated by an optimal solution.
More concretely, fix a threshold η > 0 \eta>0 η > 0 , and let U : R r → H 1 U:\mathbb{R}^r\to\mathcal{H}_1 U : R r → H 1 be an isometry onto the subspace spanned by the input singular directions with singular values greater than η \eta η . Since ∥ M ∥ ≤ 1 \lVert M\rVert\le1 ∥ M ∥ ≤ 1 , there are at most r ≤ η − 2 r\le\eta^{-2} r ≤ η − 2 such directions. The discarded part has operator norm at most η \eta η , so
∣ ⟨ M , x ⊗ y ⟩ − ⟨ M , U U † x ⊗ y ⟩ ∣ ≤ η ∥ x ∥ ∥ y ∥ , ∀ x ∈ H 1 , y ∈ H 2 . (2) \left|\langle M,x\otimes y\rangle-\langle M,UU^\dagger x\otimes y\rangle\right|\le\eta\lVert x\rVert\lVert y\rVert,\qquad\forall x\in\mathcal{H}_1,y\in\mathcal{H}_2. \tag*{(2)} ⟨ M , x ⊗ y ⟩ − ⟨ M , U U † x ⊗ y ⟩ ≤ η ∥ x ∥ ∥ y ∥ , ∀ x ∈ H 1 , y ∈ H 2 . (2)
Thus, up to error η \eta η , the payoff is ⟨ M , U p ⊗ ρ 2 ⟩ \langle M,Up\otimes\rho_2\rangle ⟨ M , U p ⊗ ρ 2 ⟩ , where the message p = U † ρ 1 p=U^\dagger\rho_1 p = U † ρ 1 has norm at most 1. Player 1’s strategy therefore matters only through a vector in dimension r ≤ η − 2 r\le\eta^{-2} r ≤ η − 2 .
This gives an algorithm by discretizing the message. For a net radius δ > 0 \delta>0 δ > 0 , enumerate a δ \delta δ -net of the unit ball of R r \mathbb{R}^r R r . For each net point g g g , use convex optimization to find ρ 1 ∈ K 1 \rho_1\in\mathcal{K}_1 ρ 1 ∈ K 1 with ∥ U † ρ 1 − g ∥ ≤ δ \lVert U^\dagger\rho_1-g\rVert\le\delta ∥ U † ρ 1 − g ∥ ≤ δ , if one exists. Then maximize ⟨ M , U g ⊗ ρ 2 ⟩ \langle M,Ug\otimes\rho_2\rangle ⟨ M , U g ⊗ ρ 2 ⟩ over ρ 2 ∈ K 2 \rho_2\in\mathcal{K}_2 ρ 2 ∈ K 2 using the linear oracle, and return the best feasible pair. The compressed payoff is 1-Lipschitz in the message, so the resulting payoff is at least Opt ( M ) − O ( η + δ ) \operatorname{Opt}(M)-O(\eta+\delta) Opt ( M ) − O ( η + δ ) . Taking δ = η \delta=\eta δ = η gives running time poly ( d ) ⋅ exp ( O ( η − 2 log ( 1 / η ) ) ) \operatorname{poly}(d)\cdot\exp(O(\eta^{-2}\log(1/\eta))) poly ( d ) ⋅ exp ( O ( η − 2 log ( 1/ η ))) .
For general k k k , applying bipartite compression independently at each site incurs an error of O ( k η ) O(k\eta) O ( k η ) , and requires guessing k k k messages of dimension at most η − 2 \eta^{-2} η − 2 each. Achieving accuracy ϵ \epsilon ϵ requires taking η = Θ ( ϵ / k ) \eta=\Theta(\epsilon/k) η = Θ ( ϵ / k ) leading to an overhead of exp ( O ~ ( k 3 ) ) \exp(\widetilde{O}(k^3)) exp ( O ( k 3 )) . This bound is polynomial in d k d^k d k only when k k k is at most polylogarithmic in d d d . Two additional ideas overcome these losses.
Prefix Compression. The first idea is to avoid guessing the compressed strategies of all players independently. Indeed, once the first j j j players have chosen ρ 1 , … , ρ j \rho_1,\ldots,\rho_j ρ 1 , … , ρ j , the remaining players only need to know how the product ρ 1 ⊗ ⋯ ⊗ ρ j \rho_1 \otimes\cdots\otimes\rho_j ρ 1 ⊗ ⋯ ⊗ ρ j interacts with the remaining systems. We therefore compress the entire prefix of strategies into a single low-dimensional message, which is updated as each new player chooses its strategy. Starting with V 0 = R V_0 = \mathbb{R} V 0 = R , at step j = 1 , … , k − 1 j = 1,\ldots,k-1 j = 1 , … , k − 1 we apply spectral truncation across the cut between V j − 1 ⊗ H j V_{j-1} \otimes\mathcal{H}_j V j − 1 ⊗ H j and the remaining systems. Let V j V_j V j be the space of retained coordinates and U j : V j → V j − 1 ⊗ H j U_j: V_j \to V_{j-1} \otimes\mathcal{H}_j U j : V j → V j − 1 ⊗ H j their isometric embedding. The message representing ρ 1 ⊗ ⋯ ⊗ ρ j \rho_1 \otimes\cdots\otimes\rho_j ρ 1 ⊗ ⋯ ⊗ ρ j is defined recursively by
p 0 = 1 , p j = U j † ( p j − 1 ⊗ ρ j ) ∈ V j , dim V j ≤ η − 2 . p_0 = 1,\qquad p_j = U_j^\dagger(p_{j-1} \otimes\rho_j) \in V_j,\qquad\dim V_j \le\eta^{-2}. p 0 = 1 , p j = U j † ( p j − 1 ⊗ ρ j ) ∈ V j , dim V j ≤ η − 2 .
The Energy Argument. The second idea improves the accumulated error from O ( k η ) O(k\eta) O ( k η ) to O ( η k ) O(\eta\sqrt{k}) O ( η k ) . At each step j j j , the spectral truncation splits the incoming message p j − 1 ⊗ ρ j p_{j-1} \otimes\rho_j p j − 1 ⊗ ρ j into a retained component p j p_j p j and a discarded component q j q_j q j . Since these components are orthogonal, and ∥ ρ j ∥ ≤ 1 \lVert\rho_j\rVert\le1 ∥ ρ j ∥ ≤ 1 , the squared norm of the discarded component is bounded by the decrease in the squared norm of the message, as ∥ q j ∥ 2 ≤ ∥ p j − 1 ∥ 2 − ∥ p j ∥ 2 \lVert q_j\rVert^2 \le\lVert p_{j-1}\rVert^2 - \lVert p_j\rVert^2 ∥ q j ∥ 2 ≤ ∥ p j − 1 ∥ 2 − ∥ p j ∥ 2 . Crucially, this simple observation lets us bound by a telescopic argument the total error by
η ∑ j = 1 k − 1 ∥ q j ∥ ≤ η k . \eta\sum_{j=1}^{k-1} \lVert q_j\rVert\le\eta\sqrt{k}. η j = 1 ∑ k − 1 ∥ q j ∥ ≤ η k .
To obtain an algorithm, we discretize each message space to accuracy δ \delta δ . Since each space has dimension at most η − 2 \eta^{-2} η − 2 , and we enumerate one space at a time, the resulting guarantees are a total error of O ( η k + k δ ) O(\eta\sqrt{k} + k\delta) O ( η k + k δ ) and a running time of poly ( d k ) ⋅ exp ( O ( η − 2 log ( 1 / δ ) ) ) \operatorname{poly}(d^k) \cdot\exp(O(\eta^{-2}\log(1/\delta))) poly ( d k ) ⋅ exp ( O ( η − 2 log ( 1/ δ ))) . This gives a polynomial-time algorithm whenever k k k is polynomially bounded in d d d , by choosing η = Θ ( ϵ / k ) \eta= \Theta(\epsilon/\sqrt{k}) η = Θ ( ϵ / k ) and δ = Θ ( ϵ / k ) \delta= \Theta(\epsilon/k) δ = Θ ( ϵ / k ) . For larger k k k , grouping players into blocks and using exhaustive search within each block gives the same bound.
Related Techniques. The idea of approximating solutions to such product objectives was already present in related domains, usually when the strategy space is a randomized choice over finitely many options and thus a simplex. This has yielded many quasi-polynomial-time algorithms in various settings. For instance, Lipton et al. [36 ] , Barman [5 ] , and Deligkas et al. [Del+22] showed that mixed strategies in large games can be replaced by logarithmic-support empirical strategies. A closely related idea underlies the algorithmic results of Aaronson, Impagliazzo, and Moshkovitz [AIM14], where they devised a technique called peeling to compute the value of a free-game (multi-prover interactive games in which each prover gets independent questions) by removing one prover at a time by guessing their strategy. Similar arguments were used for dense CSPs by Arora, Karger, and Karpinski [AKK95] and Manurangsi and Moshkovitz [39 ] . Brandao and Harrow [10 ] use this idea to compute operator norms, best-separable state, and injective tensor norms. Recently, Bernasconi, Castiglioni, Celli, and Farina [9 ] showed a unifying framework that captures some of these results, through the lens of fixed-degree polynomial optimization. The crucial distinction is that most of these algorithms require quasi-polynomial time (and necessarily so, given the lower bounds of Aaronson et al. [AIM14] and Rubinstein [41 ] ). This stems from the different techniques used to concisely describe a guessed solution. In most of these results, the optimization space is a randomized strategy over finite options, and the key compression statement is that an empirical sample of such a distribution approximates the objective. By Hoeffding’s inequality, this guarantees logarithmic support; thus, exhaustive enumeration leads to quasi-polynomial time. Our compression mechanism is fundamentally different. We compress a player’s interaction with the remaining players via spectral truncation, showing that only a constant number of directions need to be preserved, which explains the quasi-polynomial vs. polynomial improvement.
Technical Outline II: Quantum Algorithms
In the property-testing setting, the algorithm receives copies of an unknown state ρ ∈ D ( ( C d ) ⊗ k ) \rho\in\mathcal{D}((\mathbb{C}^{d})^{\otimes k}) ρ ∈ D (( C d ) ⊗ k ) and wants to test separability with Frobenius gap η > 0 \eta> 0 η > 0 . A trivial solution for this problem would be to learn a classical description of ρ \rho ρ via, e.g., tomography, and then run the algorithm described above. However, this would necessarily impose a runtime polynomial in d k d^{k} d k . To achieve runtime polynomial in k log d k \log d k log d , the challenge is to apply our ideas without learning an explicit description of ρ \rho ρ . As a warm-up, let us first describe a tester whose runtime is polynomial in k k k and d d d . At a later point in this overview, we will reduce the dependency to log d \log d log d via a dimensionality reduction.
Building a Small Cover. Starting from a fixed separable state, say σ = ∣ 0 ⟩ ⟨ 0 ∣ ⊗ k \sigma= \lvert0\rangle\langle0\rvert^{\otimes k} σ = ∣ 0 ⟩ ⟨ 0 ∣ ⊗ k , our algorithm again proceeds by iterating Frank-Wolfe to update σ \sigma σ in the direction of ρ \rho ρ , while maintaining σ \sigma σ as a short mixture of product states, each stored as k k k individual d d d -dimensional density matrices, so that the algorithm’s runtime stays polynomial in d k dk d k . Each iteration of Frank-Wolfe requires solving the optimization problem
max { Tr [ ( ρ − σ ) ∣ x ⟩ ⟨ x ∣ ] : x = x 1 ⊗ ⋯ ⊗ x k , x j ∈ C d , ∥ x j ∥ = 1 } . (3) \max\left\{ \operatorname{Tr}\left[(\rho-\sigma)\lvert x\rangle\langle x\rvert\right] : x=x_1\otimes\cdots\otimes x_k,\ x_j\in\mathbb{C}^{d},\ \lVert x_j\rVert=1 \right\}. \tag*{(3)} max { Tr [ ( ρ − σ ) ∣ x ⟩ ⟨ x ∣ ] : x = x 1 ⊗ ⋯ ⊗ x k , x j ∈ C d , ∥ x j ∥ = 1 } . (3)
The first difficulty is therefore implementing the optimization oracle for Equation (3) , given σ \sigma σ explicitly but from copies of ρ \rho ρ .
Our starting point is the recent work of Bakshi et al. [4 ] , which considers a closely related optimization problem to Equation (3) , where the objective function is Tr [ ρ ∣ x ⟩ ⟨ x ∣ ] \operatorname{Tr}[\rho\lvert x\rangle\langle x\rvert] Tr [ ρ ∣ x ⟩ ⟨ x ∣] and the local dimension is fixed to d = 2 d=2 d = 2 . At a high level, their algorithm builds a small cover of product vectors a a a such that every x x x (with non-negligible overlap with ρ \rho ρ ) has a large overlap with at least one a a a . As in § 1.2 , spectral compression allows to restrict the cover to a subspace of dimension ( k d ) O ( 1 ) (kd)^{O(1)} ( k d ) O ( 1 ) , so we can solve the optimization problem efficiently. To extend this to the signed objective function in Equation (3) , we observe that σ ⪰ 0 \sigma\succeq0 σ ⪰ 0 , so any product vector with objective value at least θ \theta θ also satisfies Tr [ ρ ∣ x ⟩ ⟨ x ∣ ] ≥ θ \operatorname{Tr}[\rho\lvert x\rangle\langle x\rvert]\geq\theta Tr [ ρ ∣ x ⟩ ⟨ x ∣] ≥ θ . Therefore, the same cover remains valid for our objective function. Extending the algorithm from Bakshi et al. [4 ] to an arbitrary local dimension d d d requires additional technical care but follows the same overall approach.
Filtering by Frobenius Mass. The next goal is to reduce the dimension from d d d to q = O ( k 2 / η 4 ) q=O(k^{2}/\eta^{4}) q = O ( k 2 / η 4 ) while preserving separability. The idea is to keep only the local directions that contribute significantly to the Frobenius norm of ρ \rho ρ . For each local site j j j , define A j = Tr [ k ] ∖ { j } ( ρ 2 ) A_j=\operatorname{Tr}_{[k]\setminus\{j\}}(\rho^{2}) A j = Tr [ k ] ∖ { j } ( ρ 2 ) . The eigenvalues of A j A_j A j measure the contribution of each local direction to ∥ ρ ∥ 2 \lVert\rho\rVert^{2} ∥ ρ ∥ 2 . Since Tr ( A j ) ≤ 1 \operatorname{Tr}(A_j)\leq1 Tr ( A j ) ≤ 1 , there can be at most q q q eigenvalues larger than 1 / q 1/q 1/ q . We therefore define F j = f ( A j ) F_j=f(A_j) F j = f ( A j ) , where f f f is a spectral cutoff that is zero below 1 / q 1/q 1/ q , one above 2 / q 2/q 2/ q , and interpolates linearly in between. The key observation is that for separable states, the filtering discards very little Frobenius mass. We can estimate this loss from copies of ρ \rho ρ : if it is too large, we safely reject (i.e., declare the state as entangled); otherwise, the state after the filter remains O ( η ) O(\eta) O ( η ) -close to ρ \rho ρ in Frobenius norm. Since the filtering acts locally and preserves separability, the separability promise is preserved up to a constant loss in accuracy.
Moreover, we can implement the filtering channel directly from copies of ρ \rho ρ without explicitly learning A j A_j A j . The key observation is that a swap-test procedure on two copies of ρ \rho ρ , followed by tracing out all but the j j j tensor components, yields
1 2 ∑ b ∈ { 0 , 1 } ∣ b ⟩ ⟨ b ∣ ⊗ Tr [ k ] ∖ { j } ( ρ + ( − 1 ) b ρ 2 ) . \frac{1}{2}\sum_{b\in\{0,1\}}\lvert b\rangle\langle b\rvert\otimes\operatorname{Tr}_{[k]\setminus\{j\}}\left(\rho+(-1)^{b}\rho^{2}\right). 2 1 b ∈ { 0 , 1 } ∑ ∣ b ⟩ ⟨ b ∣ ⊗ Tr [ k ] ∖ { j } ( ρ + ( − 1 ) b ρ 2 ) .
and the difference between the two (subnormalized) blocks is precisely equal to Tr [ k ] ∖ { j } ( ρ 2 ) = A j \operatorname{Tr}_{[k]\setminus\{j\}}(\rho^{2})=A_j Tr [ k ] ∖ { j } ( ρ 2 ) = A j . This allows us to implement the evolution e i t A j e^{itA_j} e i t A j via sample-based Hamiltonian simulation [33 ] .
On an eigenvector of A j A_j A j with eigenvalue λ \lambda λ , this evolution simply introduces a phase e i t λ e^{it\lambda} e i t λ . Using phase estimation, we can store an approximation of λ \lambda λ in an auxiliary register and use it to perform the controlled rotation
∣ λ ⟩ ∣ 0 ⟩ → ∣ λ ⟩ ( f ( λ ) ∣ 0 ⟩ + 1 − f ( λ ) 2 ∣ 1 ⟩ ) . |\lambda\rangle|0\rangle\to|\lambda\rangle\left(f(\lambda)|0\rangle+\sqrt{1-f(\lambda)^2}|1\rangle\right). ∣ λ ⟩ ∣0 ⟩ → ∣ λ ⟩ ( f ( λ ) ∣0 ⟩ + 1 − f ( λ ) 2 ∣1 ⟩ ) .
Measuring the auxiliary qubit, we keep the filtered state on outcome 0 and replace it with a flag ∣ ⊥ ⟩ |\perp\rangle ∣ ⊥ ⟩ on outcome 1, thus implementing the desired filtering channel.
Overall, we reduced the effective local dimension to q = O ( k 2 / η 4 ) q=O(k^2/\eta^4) q = O ( k 2 / η 4 ) without losing the promise. However, these low-dimensional subspaces are unknown, and identifying their bases would require time polynomial in d d d . Thus, while filtering reduces the effective dimension of the state, it does not yet give an efficient way to run our tester in dimension q q q .
Our final challenge is to isolate the relevant low-dimensional subspace. Although each local support has dimension at most q q q , identifying a basis for it would require time polynomial in d d d . We therefore seek a way to run our low-dimensional tester without explicitly identifying these subspaces. Let N N N be the number of copies needed by the low-dimensional tester. Analytically, we can rewrite our state as ω = ( ⨂ j V j ) ρ ^ ( ⨂ j V j † ) \omega=(\bigotimes_j V_j)\hat{\rho}(\bigotimes_j V_j^\dagger) ω = ( ⨂ j V j ) ρ ^ ( ⨂ j V j † ) where ρ ^ \hat{\rho} ρ ^ has local dimension q q q and V j : C q → C d V_j:\mathbb{C}^q\to\mathbb{C}^d V j : C q → C d are unknown isometries.
The key observation is that we do not need to recover ρ ^ \hat{\rho} ρ ^ exactly: local unitary rotations preserve both separability and Frobenius distance. This motivates using Schur–Weyl duality, which separates the information about the unknown local basis from the information invariant under local rotations. More precisely, the Schur transform [Har05] decomposes N N N copies of a local system into registers Q λ Q_\lambda Q λ and P λ P_\lambda P λ , indexed by partitions λ \lambda λ of N N N (with at most q q q rows in its Young diagram representation). In this basis, the unknown embedding takes the form
Sch d V j ⊗ N Sch q † = ⨁ λ ⊢ N V j , λ ⊗ I P λ . \operatorname{Sch}_d V_j^{\otimes N}\operatorname{Sch}_q^\dagger=\bigoplus_{\lambda\vdash N}V_{j,\lambda}\otimes I_{P_\lambda}. Sch d V j ⊗ N Sch q † = λ ⊢ N ⨁ V j , λ ⊗ I P λ .
Thus, the unknown isometries V j , λ : Q λ ( q ) → Q λ ( d ) V_{j,\lambda}:Q_\lambda^{(q)}\to Q_\lambda^{(d)} V j , λ : Q λ ( q ) → Q λ ( d ) act only on the Q λ Q_\lambda Q λ registers, leaving the P λ P_\lambda P λ registers unchanged. We can therefore apply the Schur transform, discard each Q λ ( d ) Q_\lambda^{(d)} Q λ ( d ) register, and replace it with a fixed state on Q λ ( q ) Q_\lambda^{(q)} Q λ ( q ) , while preserving the sector labels and permutation registers, including their correlations across sites. Although this replacement loses information, the crucial observation is that it preserves the state after averaging over local unitary rotations. Indeed, Haar averaging removes coherences between different Schur sectors and replaces each Q λ Q_\lambda Q λ register by the maximally mixed state. The averaged state therefore depends only on the information preserved by our procedure.
Let σ \sigma σ denote the output of this algorithm on ω ⊗ N \omega^{\otimes N} ω ⊗ N . For independent Haar-random unitaries U j ∈ U ( q ) U_j\in U(q) U j ∈ U ( q ) , write U = ⨂ j = 1 k U j U=\bigotimes_{j=1}^k U_j U = ⨂ j = 1 k U j . Then
E U 1 , … , U k [ U ⊗ N σ ( U † ) ⊗ N ] = E U 1 , … , U k [ ( U ρ ^ U † ) ⊗ N ] . \mathbb{E}_{U_1,\ldots,U_k}\left[U^{\otimes N}\sigma(U^\dagger)^{\otimes N}\right]=\mathbb{E}_{U_1,\ldots,U_k}\left[(U\hat{\rho}U^\dagger)^{\otimes N}\right]. E U 1 , … , U k [ U ⊗ N σ ( U † ) ⊗ N ] = E U 1 , … , U k [ ( U ρ ^ U † ) ⊗ N ] .
Therefore, independently at each site, we sample a Haar-random U j U_j U j and apply that same unitary to all N N N registers at site j j j . The averaged output is a mixture of N N N -fold copies of local-unitary conjugates of ρ ^ \hat{\rho} ρ ^ . The randomized state satisfies the same separability promise as ρ ^ \hat{\rho} ρ ^ , because local unitaries preserve separability and Frobenius distance. Hence our low-dimensional tester applies.
AI Disclosure
The first part of the paper (classical algorithms) was developed without the use of AI. In the second part of the paper (quantum algorithms), we used ChatGPT to extend the algorithm of Bakshi et al. [4 ] to arbitrary local dimensions and to navigate representation theory for the dimensionality reduction. The entire paper was written by us, and we take full responsibility for its content.
Preliminaries
All Hilbert spaces are finite-dimensional. We write [ k ] = { 1 , … , k } [k] = \{1,\ldots,k\} [ k ] = { 1 , … , k } , B H = { x ∈ H : ∥ x ∥ ≤ 1 } B_{\mathcal{H}} = \{x \in\mathcal{H} : \lVert x\rVert\le1\} B H = { x ∈ H : ∥ x ∥ ≤ 1 } , and H i : j = H i ⊗ ⋯ ⊗ H j \mathcal{H}_{i:j} = \mathcal{H}_i \otimes\cdots\otimes\mathcal{H}_j H i : j = H i ⊗ ⋯ ⊗ H j . Tensor products carry the inner product
⟨ ⨂ j x j , ⨂ j y j ⟩ = ∏ j ⟨ x j , y j ⟩ , ∥ ⨂ j x j ∥ = ∏ j ∥ x j ∥ . \left\langle\bigotimes_j x_j,\bigotimes_j y_j\right\rangle= \prod_j \langle x_j,y_j\rangle,\qquad\left\lVert\bigotimes_j x_j\right\rVert= \prod_j \lVert x_j\rVert. ⟨ j ⨂ x j , j ⨂ y j ⟩ = j ∏ ⟨ x j , y j ⟩ , j ⨂ x j = j ∏ ∥ x j ∥ .
We use ∥ ⋅ ∥ \lVert\cdot\rVert ∥ ⋅ ∥ for the induced Hilbert-space norm, also called the Frobenius norm for matrices and tensors. We write A † A^\dagger A † for the adjoint of A A A . For matrices,
∥ A ∥ = Tr ( A † A ) , ∥ A ∥ o p = sup ∥ x ∥ = 1 ∥ A x ∥ , ∥ A ∥ 1 = Tr A † A . \lVert A\rVert= \sqrt{\operatorname{Tr}(A^\dagger A)},\qquad\lVert A\rVert_{\mathrm{op}} = \sup_{\lVert x\rVert=1}\lVert Ax\rVert,\qquad\lVert A\rVert_1 = \operatorname{Tr}\sqrt{A^\dagger A}. ∥ A ∥ = Tr ( A † A ) , ∥ A ∥ op = ∥ x ∥ = 1 sup ∥ A x ∥ , ∥ A ∥ 1 = Tr A † A .
The Hermitian operators Herm ( H ) \operatorname{Herm}(\mathcal{H}) Herm ( H ) form a real Hilbert space with inner product ⟨ A , B ⟩ = Tr ( A B ) \langle A,B\rangle= \operatorname{Tr}(AB) ⟨ A , B ⟩ = Tr ( A B ) . The density matrices on H \mathcal{H} H are
D ( H ) = { ρ ∈ Herm ( H ) : ρ ⪰ 0 , Tr ( ρ ) = 1 } , D d = D ( C d ) . \mathcal{D}(\mathcal{H}) = \{\rho\in\operatorname{Herm}(\mathcal{H}) : \rho\succeq0,\ \operatorname{Tr}(\rho) = 1\},\qquad\mathcal{D}_d = \mathcal{D}(\mathbb{C}^d). D ( H ) = { ρ ∈ Herm ( H ) : ρ ⪰ 0 , Tr ( ρ ) = 1 } , D d = D ( C d ) .
Every ρ ∈ D ( H ) \rho\in\mathcal{D}(\mathcal{H}) ρ ∈ D ( H ) satisfies ∥ ρ ∥ ≤ 1 \lVert\rho\rVert\le1 ∥ ρ ∥ ≤ 1 . A pure state is ∣ x ⟩ ⟨ x ∣ \lvert x\rangle\langle x\rvert ∣ x ⟩ ⟨ x ∣ with ∥ x ∥ = 1 \lVert x\rVert= 1 ∥ x ∥ = 1 . The set of separable states is
Sep ( d , k ) = conv { ⨂ j ∈ [ k ] ∣ x j ⟩ ⟨ x j ∣ : x j ∈ C d , ∥ x j ∥ = 1 } . \operatorname{Sep}(d,k) = \operatorname{conv}\left\{\bigotimes_{j\in[k]}\lvert x_j\rangle\langle x_j\rvert: x_j \in\mathbb{C}^d,\ \lVert x_j\rVert= 1\right\}. Sep ( d , k ) = conv ⎩ ⎨ ⎧ j ∈ [ k ] ⨂ ∣ x j ⟩ ⟨ x j ∣ : x j ∈ C d , ∥ x j ∥ = 1 ⎭ ⎬ ⎫ .
For S ⊆ [ k ] S \subseteq[k] S ⊆ [ k ] , Tr S \operatorname{Tr}_S Tr S denotes the partial trace over the systems in S S S ; in particular, Tr − j = Tr [ k ] ∖ { j } \operatorname{Tr}_{-j} = \operatorname{Tr}_{[k]\setminus\{j\}} Tr − j = Tr [ k ] ∖ { j } and ρ [ j ] = Tr { j + 1 , … , k } ( ρ ) \rho^{[j]} = \operatorname{Tr}_{\{j+1,\ldots,k\}}(\rho) ρ [ j ] = Tr { j + 1 , … , k } ( ρ ) . Access to N N N copies of ρ \rho ρ means access to ρ ⊗ N \rho^{\otimes N} ρ ⊗ N . For a nonempty set K K K in a Hilbert space, define dist ( x , K ) = inf y ∈ K ∥ x − y ∥ \operatorname{dist}(x,K) = \inf_{y\in K}\lVert x-y\rVert dist ( x , K ) = inf y ∈ K ∥ x − y ∥ . Weak membership with gap ϵ > 0 \epsilon> 0 ϵ > 0 asks to distinguish x ∈ K x \in K x ∈ K from dist ( x , K ) ≥ ϵ \operatorname{dist}(x,K) \ge\epsilon dist ( x , K ) ≥ ϵ , with no requirement on inputs between these cases. A finite set G ⊆ K G \subseteq K G ⊆ K is a δ \delta δ -net if every x ∈ K x \in K x ∈ K satisfies ∥ x − g ∥ ≤ δ \lVert x-g\rVert\le\delta ∥ x − g ∥ ≤ δ for some g ∈ G g \in G g ∈ G . For δ > 0 \delta> 0 δ > 0 , the unit ball of R r \mathbb{R}^r R r admits such a net of size at most ( 1 + 2 / δ ) r (1+2/\delta)^r ( 1 + 2/ δ ) r .
I Classical Algorithms
Spectral Compression
The main theorem of this section is the following compression theorem for k k k -partite tensors.
Theorem 3.1. Given finite-dimensional real Hilbert spaces H 1 , … , H k \mathcal{H}_1,\ldots,\mathcal{H}_k H 1 , … , H k and T ∈ H 1 ⊗ ⋯ ⊗ H k T \in\mathcal{H}_1 \otimes\cdots\otimes\mathcal{H}_k T ∈ H 1 ⊗ ⋯ ⊗ H k , with ∥ T ∥ ≤ 1 \lVert T\rVert\le1 ∥ T ∥ ≤ 1 and any η > 0 \eta> 0 η > 0 , one can compute in polynomial time real vector spaces ( V j ) j ∈ [ k − 1 ] (V_j)_{j\in[k-1]} ( V j ) j ∈ [ k − 1 ] , with dim V j ≤ η − 2 \dim V_j \le\eta^{-2} dim V j ≤ η − 2 , linear maps U j : V j → V j − 1 ⊗ H j U_j : V_j \to V_{j-1} \otimes\mathcal{H}_j U j : V j → V j − 1 ⊗ H j for all j ∈ [ k − 1 ] j \in[k-1] j ∈ [ k − 1 ] and a terminal tensor T ~ ∈ V k − 1 ⊗ H k \widetilde{T} \in V_{k-1} \otimes\mathcal{H}_k T ∈ V k − 1 ⊗ H k . Moreover, for any ρ 1 , … , ρ k \rho_1,\ldots,\rho_k ρ 1 , … , ρ k , with ρ j ∈ H j \rho_j \in\mathcal{H}_j ρ j ∈ H j and ∥ ρ j ∥ ≤ 1 \lVert\rho_j\rVert\le1 ∥ ρ j ∥ ≤ 1 , define recursively:
p 0 = 1 , p j = p j ( ρ 1 , … , ρ j ) = U j † ( p j − 1 ⊗ ρ j ) ∈ V j p_0 = 1,\qquad p_j = p_j(\rho_1,\ldots,\rho_j) = U_j^\dagger(p_{j-1} \otimes\rho_j) \in V_j p 0 = 1 , p j = p j ( ρ 1 , … , ρ j ) = U j † ( p j − 1 ⊗ ρ j ) ∈ V j then we have
∣ ⟨ T , ρ 1 ⊗ ⋯ ⊗ ρ k ⟩ − ⟨ T ~ , p ~ k − 1 ⊗ ρ k ⟩ ∣ ≤ η k . \left\lvert\langle T,\rho_1 \otimes\cdots\otimes\rho_k\rangle- \langle\widetilde{T},\widetilde{p}_{k-1} \otimes\rho_k\rangle\right\rvert\le\eta\sqrt{k}. ⟨ T , ρ 1 ⊗ ⋯ ⊗ ρ k ⟩ − ⟨ T , p k − 1 ⊗ ρ k ⟩ ≤ η k .
The theorem says that any product vector ρ 1 ⊗ ⋯ ⊗ ρ k \rho_1 \otimes\cdots\otimes\rho_k ρ 1 ⊗ ⋯ ⊗ ρ k can be iteratively “summarized” by maintaining only a small amount of information about each prefix ρ 1 ⊗ ⋯ ⊗ ρ j \rho_1 \otimes\cdots\otimes\rho_j ρ 1 ⊗ ⋯ ⊗ ρ j , and if the tensor T T T is compressed to T ~ \widetilde{T} T , then the value is preserved up to error η / k \eta/\sqrt{k} η / k . The dependence of O ( η / k ) O(\eta/\sqrt{k}) O ( η / k ) on the number of spaces k k k is crucial to obtain polynomial-time algorithms, and one of the main technical challenges is to reach such a dependence, instead of the more straightforward O ( η k ) O(\eta k) O ( η k ) theorem. In § 3.1.2 we explain in more detail why this quantitative improvement is needed. In § 3.1.1 we state a spectral compression lemma for bipartite systems. The idea is to keep only the singular directions corresponding to large singular values. Bakshi et al. [4 ] recently used similar ideas. In § 3.1.2 , we present the proof of Theorem 3.1 .
Bipartite Spectral Compression
Intuitively, the lemma presented in this section states that given a tensor S ∈ X ⊗ Y S \in X \otimes Y S ∈ X ⊗ Y of two real finite-dimensional Hilbert spaces X X X and Y Y Y , we can find a suitable linear map U † : X → V U^\dagger\colon X \to V U † : X → V to a low-dimensional real vector space V V V with dim V ≤ η − 2 ∥ S ∥ X ⊗ Y 2 \dim V \le\eta^{-2}\lVert S\rVert_{X\otimes Y}^{2} dim V ≤ η − 2 ∥ S ∥ X ⊗ Y 2 , so that for any product test x ⊗ y x \otimes y x ⊗ y for x ∈ X x \in X x ∈ X and y ∈ Y y \in Y y ∈ Y , we cannot distinguish (up to error η ∥ x ∥ ∥ y ∥ \eta\lVert x\rVert\lVert y\rVert η ∥ x ∥ ∥ y ∥ ) ⟨ S , x ⊗ y ⟩ \langle S,x \otimes y\rangle ⟨ S , x ⊗ y ⟩ to ⟨ S ~ , U † x ⊗ y ⟩ : = ⟨ S , U U † x ⊗ y ⟩ \langle\widetilde{S},U^\dagger x \otimes y\rangle:= \langle S,UU^\dagger x \otimes y\rangle ⟨ S , U † x ⊗ y ⟩ := ⟨ S , U U † x ⊗ y ⟩ .
Lemma 3.2 (Spectral Bipartite Compression). Let X X X and Y Y Y be finite-dimensional real Hilbert spaces and let S ∈ X ⊗ Y S \in X \otimes Y S ∈ X ⊗ Y . For any η > 0 \eta> 0 η > 0 , we can find in polynomial time a Hilbert space V = R r V = \mathbb{R}^{r} V = R r , and a linear map U : V → X U \colon V \to X U : V → X and tensors S ~ = ( U † ⊗ I Y ) S ∈ V ⊗ Y \widetilde{S} = (U^\dagger\otimes I_Y)S \in V \otimes Y S = ( U † ⊗ I Y ) S ∈ V ⊗ Y and E = ( ( I X − U U † ) ⊗ I Y ) S ∈ X ⊗ Y E = ((I_X - UU^\dagger) \otimes I_Y)S \in X \otimes Y E = (( I X − U U † ) ⊗ I Y ) S ∈ X ⊗ Y such that:
S = ( U ⊗ I Y ) S ~ + E S = (U \otimes I_Y)\widetilde{S} + E S = ( U ⊗ I Y ) S + E
r ≤ η − 2 ∥ S ∥ X ⊗ Y 2 r \le\eta^{-2}\lVert S\rVert_{X\otimes Y}^{2} r ≤ η − 2 ∥ S ∥ X ⊗ Y 2
∣ ⟨ E , x ⊗ y ⟩ X ⊗ Y ∣ ≤ η ⋅ ∥ x ∥ X ∥ y ∥ Y \lvert\langle E,x \otimes y\rangle_{X\otimes Y}\rvert\le\eta\cdot\lVert x\rVert_X\lVert y\rVert_Y ∣⟨ E , x ⊗ y ⟩ X ⊗ Y ∣ ≤ η ⋅ ∥ x ∥ X ∥ y ∥ Y for all x ∈ X x \in X x ∈ X and y ∈ Y y \in Y y ∈ Y .
∥ S ~ ∥ V ⊗ Y ≤ ∥ S ∥ X ⊗ Y \lVert\widetilde{S}\rVert_{V\otimes Y} \le\lVert S\rVert_{X\otimes Y} ∥ S ∥ V ⊗ Y ≤ ∥ S ∥ X ⊗ Y and U † U = I V U^\dagger U = I_V U † U = I V
Proof. Given the tensor S ∈ X ⊗ Y S \in X \otimes Y S ∈ X ⊗ Y , we associate the linear map A S : X → Y A_S \colon X \to Y A S : X → Y , defined by ⟨ S , x ⊗ y ⟩ X ⊗ Y = ⟨ A S x , y ⟩ Y \langle S,x \otimes y\rangle_{X\otimes Y} = \langle A_Sx,y\rangle_Y ⟨ S , x ⊗ y ⟩ X ⊗ Y = ⟨ A S x , y ⟩ Y . Now we can compute the singular value decomposition of A S = ∑ t ∈ [ K ] σ t R t L t † A_S = \sum_{t\in[K]} \sigma_t R_tL_t^\dagger A S = ∑ t ∈ [ K ] σ t R t L t † , where σ 1 ≥ σ 2 ≥ ⋯ ≥ σ K ≥ 0 \sigma_1 \ge\sigma_2 \ge\cdots\ge\sigma_K \ge0 σ 1 ≥ σ 2 ≥ ⋯ ≥ σ K ≥ 0 is a decreasing family of singular values, K K K is the rank of A S A_S A S , { R t } t ∈ [ K ] ⊆ Y \{R_t\}_{t\in[K]} \subseteq Y { R t } t ∈ [ K ] ⊆ Y , { L t } t ∈ [ K ] ⊆ X \{L_t\}_{t\in[K]} \subseteq X { L t } t ∈ [ K ] ⊆ X are families of orthonormal vectors.
Define r r r as the number of singular values that exceed η \eta η . Observe that r r r is bounded since
r η 2 ≤ ∑ t ∈ [ K ] σ t 2 = ∥ A S ∥ 2 = ∥ S ∥ X ⊗ Y 2 r\eta^2 \le\sum_{t\in[K]} \sigma_t^2 = \lVert A_S\rVert^2 = \lVert S\rVert_{X\otimes Y}^2 r η 2 ≤ t ∈ [ K ] ∑ σ t 2 = ∥ A S ∥ 2 = ∥ S ∥ X ⊗ Y 2
which proves that r ≤ η − 2 ∥ S ∥ X ⊗ Y 2 r \le\eta^{-2}\lVert S\rVert_{X\otimes Y}^2 r ≤ η − 2 ∥ S ∥ X ⊗ Y 2 .
Now we are ready to define the map U : V → X U \colon V \to X U : V → X , which we can define by the image of the basis of V V V as U e t = L t Ue_t = L_t U e t = L t for all t ≤ r t \le r t ≤ r .
Then we have S = ( U ⊗ I Y ) S ~ + E S = (U \otimes I_Y)\widetilde{S} + E S = ( U ⊗ I Y ) S + E , since
( U ⊗ I Y ) S ~ + E = ( U ⊗ I Y ) ( U † ⊗ I Y ) S + ( ( I X − U U † ) ⊗ I Y ) S = ( U U † ⊗ I Y ) S + ( I X ⊗ I Y ) S − ( U U † ⊗ I Y ) S = ( I X ⊗ I Y ) S = S \begin{aligned}
(U \otimes I_Y)\widetilde{S} + E &= (U \otimes I_Y)(U^\dagger\otimes I_Y)S + ((I_X - UU^\dagger) \otimes I_Y)S \\
&= (UU^\dagger\otimes I_Y)S + (I_X \otimes I_Y)S - (UU^\dagger\otimes I_Y)S \\
&= (I_X \otimes I_Y)S = S
\end{aligned} ( U ⊗ I Y ) S + E = ( U ⊗ I Y ) ( U † ⊗ I Y ) S + (( I X − U U † ) ⊗ I Y ) S = ( U U † ⊗ I Y ) S + ( I X ⊗ I Y ) S − ( U U † ⊗ I Y ) S = ( I X ⊗ I Y ) S = S
Then we prove that the effect of E E E is negligible. First observe that for all x ∈ X x \in X x ∈ X and t ≤ r t \le r t ≤ r
L t † ( I X − U U † ) x = L t † ( x − ∑ j ∈ [ r ] L j L j † x ) = L t † x − ∑ j ∈ [ r ] L t † L j ⋅ L j † x = 0 , (4) L_t^\dagger(I_X-UU^\dagger)x = L_t^\dagger\left(x-\sum_{j\in[r]}L_jL_j^\dagger x\right)=L_t^\dagger x-\sum_{j\in[r]}L_t^\dagger L_j\cdot L_j^\dagger x=0, \tag*{(4)} L t † ( I X − U U † ) x = L t † x − j ∈ [ r ] ∑ L j L j † x = L t † x − j ∈ [ r ] ∑ L t † L j ⋅ L j † x = 0 , (4)
since L t † L j = I ( t = j ) L_t^\dagger L_j=\mathbb{I}(t=j) L t † L j = I ( t = j ) . Similarly, if t > r t>r t > r , the term ∑ j ∈ [ r ] L t † L j \sum_{j\in[r]}L_t^\dagger L_j ∑ j ∈ [ r ] L t † L j is identical to 0 0 0 and thus L t † ( I X − U U † ) x = L t † x L_t^\dagger(I_X-UU^\dagger)x=L_t^\dagger x L t † ( I X − U U † ) x = L t † x . From this, and the singular value decomposition of A S A_S A S we get
A S ( I X − U U † ) x = ∑ t ∈ [ K ] σ t R t L t † ( I X − U U † ) x = ∑ t > r σ t R t L t † x . A_S(I_X-UU^\dagger)x=\sum_{t\in[K]}\sigma_tR_tL_t^\dagger(I_X-UU^\dagger)x=\sum_{t>r}\sigma_tR_tL_t^\dagger x. A S ( I X − U U † ) x = t ∈ [ K ] ∑ σ t R t L t † ( I X − U U † ) x = t > r ∑ σ t R t L t † x .
And thus:
∥ A S ( I X − U U † ) x ∥ Y 2 ≤ ∑ t > r σ t 2 ∥ R t ∥ Y 2 ∣ L t † x ∣ 2 ≤ η 2 ∑ t ∈ [ K ] ∣ L t † x ∣ 2 ≤ η 2 ∥ x ∥ X 2 . \|A_S(I_X-UU^\dagger)x\|_Y^2\leq\sum_{t>r}\sigma_t^2\|R_t\|_Y^2|L_t^\dagger x|^2\leq\eta^2\sum_{t\in[K]}|L_t^\dagger x|^2\leq\eta^2\|x\|_X^2. ∥ A S ( I X − U U † ) x ∥ Y 2 ≤ t > r ∑ σ t 2 ∥ R t ∥ Y 2 ∣ L t † x ∣ 2 ≤ η 2 t ∈ [ K ] ∑ ∣ L t † x ∣ 2 ≤ η 2 ∥ x ∥ X 2 .
This implies that
∣ ⟨ E , x ⊗ y ⟩ X ⊗ Y ∣ = ∣ ⟨ ( ( I X − U U † ) ⊗ I Y ) S , x ⊗ y ⟩ X ⊗ Y ∣ = ∣ ⟨ S , ( I X − U U † ) x ⊗ y ⟩ X ⊗ Y ∣ = ∣ ⟨ A S ( I X − U U † ) x , y ⟩ Y ∣ ≤ ∥ A S ( I X − U U † ) x ∥ Y ⋅ ∥ y ∥ Y ≤ η ∥ x ∥ X ⋅ ∥ y ∥ Y . \begin{aligned}
|\langle E,x\otimes y\rangle_{X\otimes Y}|&=|\langle((I_X-UU^\dagger)\otimes I_Y)S,x\otimes y\rangle_{X\otimes Y}|\\
&=|\langle S,(I_X-UU^\dagger)x\otimes y\rangle_{X\otimes Y}|\\
&=|\langle A_S(I_X-UU^\dagger)x,y\rangle_Y|\\
&\leq\|A_S(I_X-UU^\dagger)x\|_Y\cdot\|y\|_Y\\
&\leq\eta\|x\|_X\cdot\|y\|_Y.
\end{aligned} ∣ ⟨ E , x ⊗ y ⟩ X ⊗ Y ∣ = ∣ ⟨(( I X − U U † ) ⊗ I Y ) S , x ⊗ y ⟩ X ⊗ Y ∣ = ∣ ⟨ S , ( I X − U U † ) x ⊗ y ⟩ X ⊗ Y ∣ = ∣ ⟨ A S ( I X − U U † ) x , y ⟩ Y ∣ ≤ ∥ A S ( I X − U U † ) x ∥ Y ⋅ ∥ y ∥ Y ≤ η ∥ x ∥ X ⋅ ∥ y ∥ Y .
Finally, observe that
∥ S ~ ∥ V ⊗ Y 2 = ∑ t ∈ [ r ] σ t 2 ≤ ∑ t ∈ [ K ] σ t 2 = ∥ S ∥ X ⊗ Y 2 , \|\widetilde{S}\|_{V\otimes Y}^2=\sum_{t\in[r]}\sigma_t^2\leq\sum_{t\in[K]}\sigma_t^2=\|S\|_{X\otimes Y}^2, ∥ S ∥ V ⊗ Y 2 = t ∈ [ r ] ∑ σ t 2 ≤ t ∈ [ K ] ∑ σ t 2 = ∥ S ∥ X ⊗ Y 2 ,
concluding the proof.
This proves that we can apply U U † UU^\dagger U U † to any x x x and preserve up to error η ( ∥ x ∥ X ⋅ ∥ y ∥ Y ) \eta(\|x\|_X\cdot\|y\|_Y) η ( ∥ x ∥ X ⋅ ∥ y ∥ Y ) any product test:
∣ ⟨ S , x ⊗ y ⟩ − ⟨ S , U U † x ⊗ y ⟩ ∣ = ∣ ⟨ E , x ⊗ y ⟩ ∣ ≤ η ( ∥ x ∥ X ⋅ ∥ y ∥ Y ) . |\langle S,x\otimes y\rangle-\langle S,UU^\dagger x\otimes y\rangle|=|\langle E,x\otimes y\rangle|\leq\eta(\|x\|_X\cdot\|y\|_Y). ∣ ⟨ S , x ⊗ y ⟩ − ⟨ S , U U † x ⊗ y ⟩ ∣ = ∣ ⟨ E , x ⊗ y ⟩ ∣ ≤ η ( ∥ x ∥ X ⋅ ∥ y ∥ Y ) .
This is useful algorithmically because U † x U^\dagger x U † x lives in a low-dimensional space, and the second local system y y y can now guess the strategy x x x of the first local system X X X , since it enters the objective only through p : = U † x ∈ R r p:=U^\dagger x\in\mathbb{R}^r p := U † x ∈ R r (by allowing a constant error η = O ( 1 ) \eta=O(1) η = O ( 1 ) ). Formally, if we assume that ∥ S ∥ X ⊗ Y ≤ 1 \|S\|_{X\otimes Y}\leq1 ∥ S ∥ X ⊗ Y ≤ 1 and ∥ x ∥ X ≤ 1 \|x\|_X\leq1 ∥ x ∥ X ≤ 1 , then i) p p p lies in a real vector space of constant dimension r ≤ η − 2 = O ( 1 ) r\leq\eta^{-2}=O(1) r ≤ η − 2 = O ( 1 ) , and ii) the ℓ 2 \ell_2 ℓ 2 norm of p p p is bounded, as
∥ U † x ∥ 2 2 = ∑ t ∈ [ r ] ∣ L t † x ∣ 2 ≤ ∑ t ∈ [ K ] ∣ L t † x ∣ 2 ≤ ∥ x ∥ X 2 ≤ 1. \|U^\dagger x\|_2^2=\sum_{t\in[r]}|L_t^\dagger x|^2\leq\sum_{t\in[K]}|L_t^\dagger x|^2\leq\|x\|_X^2\leq1. ∥ U † x ∥ 2 2 = t ∈ [ r ] ∑ ∣ L t † x ∣ 2 ≤ t ∈ [ K ] ∑ ∣ L t † x ∣ 2 ≤ ∥ x ∥ X 2 ≤ 1.
Thus, all the possible strategies of the first player can be compressed in an ℓ 2 \ell_2 ℓ 2 ball in a space of constant dimension, and thus can be (approximately) enumerated in constant time. Once the guess has been made by the second player, we need to do two steps: i) check that the guess is realizable by some strategy x x x , and ii) optimize the second player’s strategy against the guessed value.
This strategy already gives a deterministic constant-accuracy algorithm in the bipartite setting under the Frobenius norm. However, for a growing number of local systems, applying it independently at each local system leads to an error and running time that deteriorate too quickly with k k k . We therefore need the stronger recursive compression theorem.
Algorithm 1 Recursive $k$-partite Prefix Spectral Compression
Require: $T \in \mathcal{H}_1 \otimes \cdots \otimes \mathcal{H}_k$ with $\lVert T\rVert \le 1$ and $\eta > 0$.
$V_0 := \mathbb{R}$, $T_0 := T$
for $j \in [k-1]$ do
$T_{j-1} \in (V_{j-1} \otimes \mathcal{H}_j) \otimes \mathcal{H}_{j+1:k}$
Apply Lemma 3.2 with $X = V_{j-1} \otimes \mathcal{H}_j$, $Y = \mathcal{H}_{j+1:k}$ and $S = T_{j-1}$.
Build accordingly $V_j = \mathbb{R}^{r_j}$, the linear map $U_j : V_j \to V_{j-1} \otimes \mathcal{H}_j$ and the compressed tensor
$T_j = (U_j^\dagger \otimes I)T_{j-1}$
return $((U_j,V_j)_{j\in[k-1]},T_{k-1})$
k-partite Spectral Compression and Proof of Theorem 3.1
We now formalize the recursive compression procedure outlined in Section 1.2 and describe Algorithm 1 in more detail. Let H 1 , … , H k \mathcal{H}_1,\ldots,\mathcal{H}_k H 1 , … , H k be finite-dimensional Hilbert spaces and
T ∈ H 1 ⊗ ⋯ ⊗ H k , T \in\mathcal{H}_1 \otimes\cdots\otimes\mathcal{H}_k, T ∈ H 1 ⊗ ⋯ ⊗ H k ,
with ∥ T ∥ ≤ 1 \lVert T\rVert\le1 ∥ T ∥ ≤ 1 . Formally, the idea behind Algorithm 1 is to start by using Lemma 3.2 across H 1 \mathcal{H}_1 H 1 and H 2 : k \mathcal{H}_{2:k} H 2 : k producing the vector space V 1 V_1 V 1 and the embedding U 1 : V 1 → H 1 U_1 : V_1 \to\mathcal{H}_1 U 1 : V 1 → H 1 and a compressed tensor T 1 = ( U 1 † ⊗ I ) T T_1 = (U_1^\dagger\otimes I)T T 1 = ( U 1 † ⊗ I ) T . However, for the second player we do not simply compress across H 2 \mathcal{H}_2 H 2 and ⨂ i ≠ 2 H i \bigotimes_{i\ne2}\mathcal{H}_i ⨂ i = 2 H i , but we compound the compression by applying Lemma 3.2 across V 1 ⊗ H 2 V_1 \otimes\mathcal{H}_2 V 1 ⊗ H 2 and H 3 : k \mathcal{H}_{3:k} H 3 : k , and in general, at step j ∈ [ k − 1 ] j \in[k-1] j ∈ [ k − 1 ] , we apply it across V j − 1 ⊗ H j V_{j-1} \otimes\mathcal{H}_j V j − 1 ⊗ H j and ⨂ i > j H i \bigotimes_{i>j}\mathcal{H}_i ⨂ i > j H i . This means that we can maintain a single low-dimensional vector space V j V_j V j in which we can summarize the entire interaction between the first j j j systems and the remaining ones, instead of having independent k k k low-dimensional local summaries of the strategies.
The final algorithm uses the last tensor T ~ = T k − 1 \widetilde{T}=T_{k-1} T = T k − 1 returned by Algorithm 1, optimizes the linear operator over the last local system, and then reconstructs the entire solution by moving backward.
Lemma 3.3 (Recursive k k k -partite Spectral Compression). Let H 1 , … , H k \mathcal{H}_1,\ldots,\mathcal{H}_k H 1 , … , H k be finite-dimensional Hilbert spaces and
T ∈ H 1 ⊗ ⋯ ⊗ H k , T \in\mathcal{H}_1 \otimes\cdots\otimes\mathcal{H}_k, T ∈ H 1 ⊗ ⋯ ⊗ H k , with ∥ T ∥ ≤ 1 \lVert T\rVert\le1 ∥ T ∥ ≤ 1 . Then Algorithm 1 finds real spaces ( V j ) j ∈ [ k − 1 ] (V_j)_{j\in[k-1]} ( V j ) j ∈ [ k − 1 ] , linear maps U j : V j → V j − 1 ⊗ H j U_j : V_j \to V_{j-1} \otimes\mathcal{H}_j U j : V j → V j − 1 ⊗ H j for j ∈ [ k − 1 ] j \in[k-1] j ∈ [ k − 1 ] and tensors ( T j ) j ∈ [ k − 1 ] (T_j)_{j\in[k-1]} ( T j ) j ∈ [ k − 1 ] (with T j ∈ V j ⊗ H j + 1 : k T_j \in V_j \otimes\mathcal{H}_{j+1:k} T j ∈ V j ⊗ H j + 1 : k ) such that (having defined E j : = ( ( I − U j U j † ) ⊗ I ) T j − 1 E_j := ((I-U_jU_j^\dagger)\otimes I)T_{j-1} E j := (( I − U j U j † ) ⊗ I ) T j − 1 for all j ∈ [ k − 1 ] j \in[k-1] j ∈ [ k − 1 ] ):
T j − 1 = ( U j ⊗ I ) T j + E j T_{j-1} = (U_j \otimes I)T_j + E_j T j − 1 = ( U j ⊗ I ) T j + E j
∥ T j ∥ ≤ 1 \lVert T_j\rVert\le1 ∥ T j ∥ ≤ 1
dim V j ≤ η − 2 \dim V_j \le\eta^{-2} dim V j ≤ η − 2
∣ ⟨ E j , u ⊗ v ⟩ ∣ ≤ η ( ∥ u ∥ ⋅ ∥ v ∥ ) \lvert\langle E_j,u\otimes v\rangle\rvert\le\eta(\lVert u\rVert\cdot\lVert v\rVert) ∣⟨ E j , u ⊗ v ⟩∣ ≤ η (∥ u ∥ ⋅ ∥ v ∥) for all u ∈ V j − 1 ⊗ H j u \in V_{j-1}\otimes\mathcal{H}_j u ∈ V j − 1 ⊗ H j and v ∈ H j + 1 : k v \in\mathcal{H}_{j+1:k} v ∈ H j + 1 : k .
Proof. We apply Lemma 3.2 recursively. More precisely, we can observe that
∥ T j ∥ = ∥ ( U j † ⊗ I ) T j − 1 ∥ ≤ ∥ U j † ⊗ I ∥ o p ∥ T j − 1 ∥ ≤ ∥ T j − 1 ∥ . \begin{aligned}
\lVert T_j\rVert&= \lVert(U_j^\dagger\otimes I)T_{j-1}\rVert\\
&\le\lVert U_j^\dagger\otimes I\rVert_{\mathrm{op}}\lVert T_{j-1}\rVert\\
&\le\lVert T_{j-1}\rVert.
\end{aligned} ∥ T j ∥ = ∥( U j † ⊗ I ) T j − 1 ∥ ≤ ∥ U j † ⊗ I ∥ op ∥ T j − 1 ∥ ≤ ∥ T j − 1 ∥ .
Thus ∥ T j ∥ ≤ 1 \lVert T_j\rVert\le1 ∥ T j ∥ ≤ 1 inductively, and consequently
dim V j ≤ η − 2 ∥ T j − 1 ∥ 2 ≤ η − 2 , \dim V_j \le\eta^{-2}\lVert T_{j-1}\rVert^2 \le\eta^{-2}, dim V j ≤ η − 2 ∥ T j − 1 ∥ 2 ≤ η − 2 ,
showing that we can indeed apply Lemma 3.2 recursively over j j j .
The algorithmic usefulness of this lemma is explained as follows. If the local strategies ρ 1 , … , ρ j \rho_1,\ldots,\rho_j ρ 1 , … , ρ j have been fixed, we can define a recursive message to pass to the next systems as
p 0 = 1 , and p j : = U j † ( p j − 1 ⊗ ρ j ) ∈ V j . p_0=1,\qquad\text{and}\qquad p_j:=U_j^\dagger(p_{j-1}\otimes\rho_j)\in V_j. p 0 = 1 , and p j := U j † ( p j − 1 ⊗ ρ j ) ∈ V j .
Now, just as before, V j V_j V j remains a real low-dimensional space and the message p j p_j p j has small ℓ 2 \ell_2 ℓ 2 -norm:
∥ p j ∥ 2 = ∥ U j † ( p j − 1 ⊗ ρ j ) ∥ 2 ≤ ∥ p j − 1 ⊗ ρ j ∥ 2 ≤ ∥ p j − 1 ∥ 2 . (5) \lVert p_j\rVert^2=\lVert U_j^\dagger(p_{j-1}\otimes\rho_j)\rVert^2\le\lVert p_{j-1}\otimes\rho_j\rVert^2\le\lVert p_{j-1}\rVert^2. \tag*{(5)} ∥ p j ∥ 2 = ∥ U j † ( p j − 1 ⊗ ρ j ) ∥ 2 ≤ ∥ p j − 1 ⊗ ρ j ∥ 2 ≤ ∥ p j − 1 ∥ 2 . (5)
We now prove the energy bound that controls the cumulative compression error, which allows us to collect a cumulative error of O ( η k ) O(\eta\sqrt{k}) O ( η k ) instead of O ( η k ) O(\eta k) O ( η k ) . To measure the information of the discarded message, we can compute the quantity q j = ( I − U j U j † ) ( p j − 1 ⊗ ρ j ) = p j − 1 ⊗ ρ j − U j p j q_j=(I-U_jU_j^\dagger)(p_{j-1}\otimes\rho_j)=p_{j-1}\otimes\rho_j-U_jp_j q j = ( I − U j U j † ) ( p j − 1 ⊗ ρ j ) = p j − 1 ⊗ ρ j − U j p j .
Lemma 3.4 (Energy Bound). Given ρ j ∈ H j \rho_j\in\mathcal{H}_j ρ j ∈ H j with ∥ ρ j ∥ ≤ 1 \lVert\rho_j\rVert\le1 ∥ ρ j ∥ ≤ 1 for all j ∈ [ k ] j\in[k] j ∈ [ k ] , compute ( p 1 , … , p k − 1 ) (p_1,\ldots,p_{k-1}) ( p 1 , … , p k − 1 ) according to Equation (5) . Then, if we let q j = ( I − U j U j † ) ( p j − 1 ⊗ ρ j ) q_j=(I-U_jU_j^\dagger)(p_{j-1}\otimes\rho_j) q j = ( I − U j U j † ) ( p j − 1 ⊗ ρ j ) , we then have
∑ j ∈ [ k − 1 ] ∥ q j ∥ 2 ≤ 1. \sum_{j\in[k-1]}\lVert q_j\rVert^2\le1. j ∈ [ k − 1 ] ∑ ∥ q j ∥ 2 ≤ 1.
Proof. First observe that q j = ( I − U j U j † ) ( p j − 1 ⊗ ρ j ) = p j − 1 ⊗ ρ j − U j p j q_j=(I-U_jU_j^\dagger)(p_{j-1}\otimes\rho_j)=p_{j-1}\otimes\rho_j-U_jp_j q j = ( I − U j U j † ) ( p j − 1 ⊗ ρ j ) = p j − 1 ⊗ ρ j − U j p j , and that q j q_j q j is orthogonal to U j p j U_jp_j U j p j . Thus
∥ p j − 1 ⊗ ρ j ∥ 2 = ∥ q j ∥ 2 + ∥ U j p j ∥ 2 = ∥ q j ∥ 2 + ∥ p j ∥ 2 , \lVert p_{j-1}\otimes\rho_j\rVert^2=\lVert q_j\rVert^2+\lVert U_jp_j\rVert^2=\lVert q_j\rVert^2+\lVert p_j\rVert^2, ∥ p j − 1 ⊗ ρ j ∥ 2 = ∥ q j ∥ 2 + ∥ U j p j ∥ 2 = ∥ q j ∥ 2 + ∥ p j ∥ 2 ,
where the last equality follows from the fact that U j † U j = I U_j^\dagger U_j=I U j † U j = I . Moreover, since p j − 1 ⊗ ρ j ∈ V j − 1 ⊗ H j p_{j-1}\otimes\rho_j\in V_{j-1}\otimes\mathcal{H}_j p j − 1 ⊗ ρ j ∈ V j − 1 ⊗ H j , we have that
∥ p j − 1 ⊗ ρ j ∥ 2 = ⟨ p j − 1 ⊗ ρ j , p j − 1 ⊗ ρ j ⟩ V j − 1 ⊗ H j = ⟨ p j − 1 , p j − 1 ⟩ V j − 1 ⟨ ρ j , ρ j ⟩ H j = ∥ p j − 1 ∥ V j − 1 2 ∥ ρ j ∥ H j 2 ≤ ∥ p j − 1 ∥ 2 . \begin{aligned}
\lVert p_{j-1}\otimes\rho_j\rVert^2
&=\langle p_{j-1}\otimes\rho_j,p_{j-1}\otimes\rho_j\rangle_{V_{j-1}\otimes\mathcal{H}_j}\\
&=\langle p_{j-1},p_{j-1}\rangle_{V_{j-1}}\langle\rho_j,\rho_j\rangle_{\mathcal{H}_j}\\
&=\lVert p_{j-1}\rVert_{V_{j-1}}^2\lVert\rho_j\rVert_{\mathcal{H}_j}^2\\
&\le\lVert p_{j-1}\rVert^2.
\end{aligned} ∥ p j − 1 ⊗ ρ j ∥ 2 = ⟨ p j − 1 ⊗ ρ j , p j − 1 ⊗ ρ j ⟩ V j − 1 ⊗ H j = ⟨ p j − 1 , p j − 1 ⟩ V j − 1 ⟨ ρ j , ρ j ⟩ H j = ∥ p j − 1 ∥ V j − 1 2 ∥ ρ j ∥ H j 2 ≤ ∥ p j − 1 ∥ 2 .
Combining the two, we obtain that ∥ q j ∥ 2 ≤ ∥ p j − 1 ∥ 2 − ∥ p j ∥ 2 \lVert q_j\rVert^2\le\lVert p_{j-1}\rVert^2-\lVert p_j\rVert^2 ∥ q j ∥ 2 ≤ ∥ p j − 1 ∥ 2 − ∥ p j ∥ 2 , from which it follows that
∑ j = 1 k − 1 ∥ q j ∥ 2 ≤ ∥ p 0 ∥ 2 − ∥ p k − 1 ∥ 2 ≤ 1 , \sum_{j=1}^{k-1}\lVert q_j\rVert^2\le\lVert p_0\rVert^2-\lVert p_{k-1}\rVert^2\le1, j = 1 ∑ k − 1 ∥ q j ∥ 2 ≤ ∥ p 0 ∥ 2 − ∥ p k − 1 ∥ 2 ≤ 1 ,
since p 0 = 1 p_0=1 p 0 = 1 .
This energy-conservation property in compression, combined with Lemma 3.3 , gives the desired bound. For j ∈ { 0 } ∪ [ k − 1 ] j\in\{0\}\cup[k-1] j ∈ { 0 } ∪ [ k − 1 ] , the partially compressed value is
Φ j = ⟨ T j , p j ⊗ ρ j + 1 ⊗ ⋯ ⊗ ρ k ⟩ , \Phi_j=\langle T_j,p_j\otimes\rho_{j+1}\otimes\cdots\otimes\rho_k\rangle, Φ j = ⟨ T j , p j ⊗ ρ j + 1 ⊗ ⋯ ⊗ ρ k ⟩ ,
where, ( T j ) j ∈ [ k − 1 ] (T_j)_{j\in[k-1]} ( T j ) j ∈ [ k − 1 ] are the tensors produced by Algorithm 1, and the ( p j ) j ∈ [ k − 1 ] (p_j)_{j\in[k-1]} ( p j ) j ∈ [ k − 1 ] are those produced by the iterative procedure of Equation (5) from any fixed ( ρ 1 , … , ρ k ) ∈ H 1 × ⋯ × H k (\rho_1,\ldots,\rho_k)\in\mathcal{H}_1\times\cdots\times\mathcal{H}_k ( ρ 1 , … , ρ k ) ∈ H 1 × ⋯ × H k .
Rather than bounding the approximation error independently at each cut, we telescope the partially compressed values:
Φ 0 − Φ k − 1 = ∑ j ∈ [ k − 1 ] ( Φ j − 1 − Φ j ) , \Phi_0-\Phi_{k-1}=\sum_{j\in[k-1]}(\Phi_{j-1}-\Phi_j), Φ 0 − Φ k − 1 = j ∈ [ k − 1 ] ∑ ( Φ j − 1 − Φ j ) ,
instead of each individual error.
Proof of Theorem 3.1 . Recall from the notation of Lemma 3.3 , that T j − 1 = ( U j ⊗ I ) T j + E j T_{j-1}=(U_j\otimes I)T_j+E_j T j − 1 = ( U j ⊗ I ) T j + E j and that p j − 1 ⊗ ρ j = U j p j + q j p_{j-1}\otimes\rho_j=U_jp_j+q_j p j − 1 ⊗ ρ j = U j p j + q j from Lemma 3.4. We also abbreviate ρ i : j = ρ i ⊗ ⋯ ⊗ ρ j \rho_{i:j}=\rho_i\otimes\cdots\otimes\rho_j ρ i : j = ρ i ⊗ ⋯ ⊗ ρ j . Thus:
Φ j − 1 = ⟨ ( U j ⊗ I ) T j + E j , ( U j p j + q j ) ⊗ ρ j + 1 : k ⟩ = ⟨ ( U j ⊗ I ) T j , U j p j ⊗ ρ j + 1 : k ⟩ + ⟨ ( U j ⊗ I ) T j , q j ⊗ ρ j + 1 : k ⟩ + ⟨ E j , U j p j ⊗ ρ j + 1 : k ⟩ + ⟨ E j , q j ⊗ ρ j + 1 : k ⟩ = ⟨ T j , U j † U j p j ⊗ ρ j + 1 : k ⟩ + ⟨ T j , U j † q j ⊗ ρ j + 1 : k ⟩ + ⟨ E j , U j p j ⊗ ρ j + 1 : k ⟩ + ⟨ E j , q j ⊗ ρ j + 1 : k ⟩ = ⟨ T j , p j ⊗ ρ j + 1 : k ⟩ + ⟨ E j , q j ⊗ ρ j + 1 : k ⟩ = Φ j + ⟨ E j , q j ⊗ ρ j + 1 : k ⟩ , \begin{aligned}
\Phi_{j-1}
&=\left\langle(U_j\otimes I)T_j+E_j,(U_jp_j+q_j)\otimes\rho_{j+1:k}\right\rangle\\
&=\left\langle(U_j\otimes I)T_j,U_jp_j\otimes\rho_{j+1:k}\right\rangle+\left\langle(U_j\otimes I)T_j,q_j\otimes\rho_{j+1:k}\right\rangle\\
&\quad+\left\langle E_j,U_jp_j\otimes\rho_{j+1:k}\right\rangle+\left\langle E_j,q_j\otimes\rho_{j+1:k}\right\rangle\\
&=\left\langle T_j,U_j^\dagger U_jp_j\otimes\rho_{j+1:k}\right\rangle+\left\langle T_j,U_j^\dagger q_j\otimes\rho_{j+1:k}\right\rangle\\
&\quad+\left\langle E_j,U_jp_j\otimes\rho_{j+1:k}\right\rangle+\left\langle E_j,q_j\otimes\rho_{j+1:k}\right\rangle\\
&=\left\langle T_j,p_j\otimes\rho_{j+1:k}\right\rangle+\left\langle E_j,q_j\otimes\rho_{j+1:k}\right\rangle\\
&=\Phi_j+\left\langle E_j,q_j\otimes\rho_{j+1:k}\right\rangle,
\end{aligned} Φ j − 1 = ⟨ ( U j ⊗ I ) T j + E j , ( U j p j + q j ) ⊗ ρ j + 1 : k ⟩ = ⟨ ( U j ⊗ I ) T j , U j p j ⊗ ρ j + 1 : k ⟩ + ⟨ ( U j ⊗ I ) T j , q j ⊗ ρ j + 1 : k ⟩ + ⟨ E j , U j p j ⊗ ρ j + 1 : k ⟩ + ⟨ E j , q j ⊗ ρ j + 1 : k ⟩ = ⟨ T j , U j † U j p j ⊗ ρ j + 1 : k ⟩ + ⟨ T j , U j † q j ⊗ ρ j + 1 : k ⟩ + ⟨ E j , U j p j ⊗ ρ j + 1 : k ⟩ + ⟨ E j , q j ⊗ ρ j + 1 : k ⟩ = ⟨ T j , p j ⊗ ρ j + 1 : k ⟩ + ⟨ E j , q j ⊗ ρ j + 1 : k ⟩ = Φ j + ⟨ E j , q j ⊗ ρ j + 1 : k ⟩ ,
where ⟨ T j , U j † q j ⊗ ρ j + 1 : k ⟩ = 0 \left\langle T_j,U_j^\dagger q_j\otimes\rho_{j+1:k}\right\rangle=0 ⟨ T j , U j † q j ⊗ ρ j + 1 : k ⟩ = 0 since U j † q j = 0 U_j^\dagger q_j=0 U j † q j = 0 , and ⟨ E j , U j p j ⊗ ρ j + 1 : k ⟩ = 0 \left\langle E_j,U_jp_j\otimes\rho_{j+1:k}\right\rangle=0 ⟨ E j , U j p j ⊗ ρ j + 1 : k ⟩ = 0 since E j = ( ( I − U j U j † ) ⊗ I ) T j − 1 E_j=((I-U_jU_j^\dagger)\otimes I)T_{j-1} E j = (( I − U j U j † ) ⊗ I ) T j − 1 and thus ( U j † ⊗ I ) E j = 0 (U_j^\dagger\otimes I)E_j=0 ( U j † ⊗ I ) E j = 0 . Finally:
∣ Φ 0 − Φ k − 1 ∣ ≤ ∑ j ∈ [ k − 1 ] ∣ ⟨ E j , q j ⊗ ρ j + 1 : k ⟩ ∣ ≤ η ∑ j ∈ [ k − 1 ] ∥ q j ∥ ⋅ ∥ ρ j + 1 : k ∥ ≤ η ∑ j ∈ [ k − 1 ] ∥ q j ∥ ≤ η k ( ∑ j ∈ [ k − 1 ] ∥ q j ∥ 2 ) 1 / 2 ≤ η k , \begin{aligned}
\left|\Phi_0-\Phi_{k-1}\right|
&\leq\sum_{j\in[k-1]}\left|\left\langle E_j,q_j\otimes\rho_{j+1:k}\right\rangle\right|\\
&\leq\eta\sum_{j\in[k-1]}\|q_j\|\cdot\|\rho_{j+1:k}\|\\
&\leq\eta\sum_{j\in[k-1]}\|q_j\|\\
&\leq\eta\sqrt{k}\left(\sum_{j\in[k-1]}\|q_j\|^2\right)^{1/2}\leq\eta\sqrt{k},
\end{aligned} ∣ Φ 0 − Φ k − 1 ∣ ≤ j ∈ [ k − 1 ] ∑ ∣ ⟨ E j , q j ⊗ ρ j + 1 : k ⟩ ∣ ≤ η j ∈ [ k − 1 ] ∑ ∥ q j ∥ ⋅ ∥ ρ j + 1 : k ∥ ≤ η j ∈ [ k − 1 ] ∑ ∥ q j ∥ ≤ η k j ∈ [ k − 1 ] ∑ ∥ q j ∥ 2 1/2 ≤ η k ,
where the penultimate inequality is Cauchy–Schwarz and the last uses the bound of Lemma 3.4. □
From Spectral Compression to Optimization
The goal of this section is to design an algorithm for computing
Opt : = max ρ 1 ∈ K 1 , … , ρ m ∈ K m ⟨ M , ρ 1 ⊗ ⋯ ⊗ ρ m ⟩ (6) \operatorname{Opt}:=\max_{\rho_1\in K_1,\ldots,\rho_m\in K_m}\left\langle M,\rho_1\otimes\cdots\otimes\rho_m\right\rangle \tag*{(6)} Opt := ρ 1 ∈ K 1 , … , ρ m ∈ K m max ⟨ M , ρ 1 ⊗ ⋯ ⊗ ρ m ⟩ (6)
where K j ⊆ B H j K_j\subseteq B_{\mathcal{H}_j} K j ⊆ B H j are subsets of the ℓ 2 \ell_2 ℓ 2 -ball of a finite-dimensional Hilbert space H j \mathcal{H}_j H j and M ∈ H 1 ⊗ ⋯ ⊗ H m M\in\mathcal{H}_1\otimes\cdots\otimes\mathcal{H}_m M ∈ H 1 ⊗ ⋯ ⊗ H m is a tensor with Hilbert–Schmidt norm bounded by 1. In particular, we focus on additive approximations. The algorithmic procedure exploits Theorem 3.1 . We make the content of this section modular in the sense that we do not provide a concrete algorithm here, but rather a meta-algorithm. The reason is that the construction of the reachable-message cover will depend on the structure of the sets K j K_j K j and for our applications we will need different instantiations for K j K_j K j .
The key concept that turns Theorem 3.1 into an algorithmic procedure is an efficient cover of the “messages” produced by prefix local systems. We view the low-dimensional spaces V j V_j V j generated by Theorem 3.1 as the spaces that contain all the essential information needed for the prefix local systems H 1 : j \mathcal{H}_{1:j} H 1 : j to be transmitted to the suffix local systems H j + 1 : m \mathcal{H}_{j+1:m} H j + 1 : m . Then the algorithm needs to build a cover of such messages iteratively, while also storing witnesses for the local vectors ρ 1 , … , ρ j \rho_1,\ldots,\rho_j ρ 1 , … , ρ j that could have produced each retained message p j ∈ V j p_j \in V_j p j ∈ V j .
In the following section, we give the precise definition of the cover and a meta-algorithm that, given a way to build such a cover, finds an additive approximation of Opt \operatorname{Opt} Opt of Equation (6) .
Reachable Messages
Fix the maps ( U j ) j ∈ [ m − 1 ] (U_j)_{j\in[m-1]} ( U j ) j ∈ [ m − 1 ] produced by Theorem 3.1. We define all possible reachable messages recursively:
R 0 e x a c t : = { 1 } , and R j e x a c t : = { U j † ( p ⊗ ρ ) : p ∈ R j − 1 e x a c t , ρ ∈ K j } . \mathcal{R}^{\mathrm{exact}}_0 := \{1\}, \qquad\text{and} \qquad\mathcal{R}^{\mathrm{exact}}_j := \left\{U_j^\dagger(p\otimes\rho):p\in\mathcal{R}^{\mathrm{exact}}_{j-1},\ \rho\in\mathcal{K}_j\right\}. R 0 exact := { 1 } , and R j exact := { U j † ( p ⊗ ρ ) : p ∈ R j − 1 exact , ρ ∈ K j } .
We now define the recursive notion of cover used by the algorithm.
Definition 4.1 (Cover of reachable messages). Let S 0 , … , S m − 1 S_0,\ldots,S_{m-1} S 0 , … , S m − 1 be sets such that S j ⊆ V j S_j\subseteq V_j S j ⊆ V j for all j ∈ { 0 } ∪ [ m − 1 ] j\in\{0\}\cup[m-1] j ∈ { 0 } ∪ [ m − 1 ] . Given any S j − 1 ⊆ V j − 1 S_{j-1}\subseteq V_{j-1} S j − 1 ⊆ V j − 1 , we define the set of messages reachable at layer j j j as
R j ( S j − 1 ) : = { U j † ( p ⊗ ρ ) : p ∈ S j − 1 , ρ ∈ K j } ⊆ V j . \mathcal{R}_j(S_{j-1}):=\left\{U_j^\dagger(p\otimes\rho):p\in S_{j-1},\ \rho\in\mathcal{K}_j\right\}\subseteq V_j. R j ( S j − 1 ) := { U j † ( p ⊗ ρ ) : p ∈ S j − 1 , ρ ∈ K j } ⊆ V j . A sequence S 0 , … , S m − 1 S_0,\ldots,S_{m-1} S 0 , … , S m − 1 is a δ \delta δ -cover of the reachable messages if S 0 = { 1 } S_0=\{1\} S 0 = { 1 } and, for every j ∈ [ m − 1 ] j\in[m-1] j ∈ [ m − 1 ] : S j ⊆ R j ( S j − 1 ) S_j\subseteq\mathcal{R}_j(S_{j-1}) S j ⊆ R j ( S j − 1 ) , and for every q ∈ R j ( S j − 1 ) q\in\mathcal{R}_j(S_{j-1}) q ∈ R j ( S j − 1 ) there exists q ^ ∈ S j \hat{q}\in S_j q ^ ∈ S j such that ∥ q − q ^ ∥ ≤ δ \lVert q-\hat{q}\rVert\leq\delta ∥ q − q ^ ∥ ≤ δ . For every q ^ ∈ S j \hat{q}\in S_j q ^ ∈ S j we additionally store the witness p ∈ S j − 1 p\in S_{j-1} p ∈ S j − 1 and ρ ∈ K j \rho\in\mathcal{K}_j ρ ∈ K j such that
q ^ = U j † ( p ⊗ ρ ) , \hat{q}=U_j^\dagger(p\otimes\rho), q ^ = U j † ( p ⊗ ρ ) , so that the corresponding strategies can be recovered at the end.
Then we show that this definition actually produces a cover of R j e x a c t \mathcal{R}^{\mathrm{exact}}_j R j exact .
Lemma 4.2. Let S 0 , … , S m − 1 S_0,\ldots,S_{m-1} S 0 , … , S m − 1 be a δ \delta δ -cover of reachable messages. For all p j ∗ ∈ R j e x a c t p_j^*\in\mathcal{R}^{\mathrm{exact}}_j p j ∗ ∈ R j exact there exists p ^ j ∈ S j \hat{p}_j\in S_j p ^ j ∈ S j such that ∥ p ^ j − p j ∗ ∥ ≤ j δ \lVert\hat{p}_j-p_j^*\rVert\leq j\delta ∥ p ^ j − p j ∗ ∥ ≤ j δ .
Proof of Lemma 4.2. We prove this by induction. It clearly holds for j = 0 j=0 j = 0 since R 0 e x a c t = { 1 } \mathcal{R}^{\mathrm{exact}}_0=\{1\} R 0 exact = { 1 } and S 0 = { 1 } S_0=\{1\} S 0 = { 1 } . Now suppose it holds for j − 1 j-1 j − 1 . By definition, any message p j ∗ ∈ R j e x a c t p_j^*\in\mathcal{R}^{\mathrm{exact}}_j p j ∗ ∈ R j exact can be written as
p j ∗ = U j † ( p j − 1 ∗ ⊗ ρ j ) , p_j^*=U_j^\dagger(p_{j-1}^*\otimes\rho_j), p j ∗ = U j † ( p j − 1 ∗ ⊗ ρ j ) ,
and by induction hypothesis there exists a p ^ j − 1 ∈ S j − 1 \hat{p}_{j-1}\in S_{j-1} p ^ j − 1 ∈ S j − 1 such that
∥ p ^ j − 1 − p j − 1 ∗ ∥ ≤ ( j − 1 ) δ . \lVert\hat{p}_{j-1}-p_{j-1}^*\rVert\leq(j-1)\delta. ∥ p ^ j − 1 − p j − 1 ∗ ∥ ≤ ( j − 1 ) δ .
Define q : = U j † ( p ^ j − 1 ⊗ ρ j ) ∈ R j ( S j − 1 ) q:=U_j^\dagger(\hat{p}_{j-1}\otimes\rho_j)\in\mathcal{R}_j(S_{j-1}) q := U j † ( p ^ j − 1 ⊗ ρ j ) ∈ R j ( S j − 1 ) . Since S j S_j S j is a δ \delta δ -cover of R j ( S j − 1 ) \mathcal{R}_j(S_{j-1}) R j ( S j − 1 ) , there exists p ^ j ∈ S j \hat{p}_j\in S_j p ^ j ∈ S j such that
∥ p ^ j − q ∥ ≤ δ . \lVert\hat{p}_j-q\rVert\leq\delta. ∥ p ^ j − q ∥ ≤ δ .
Then
∥ p ^ j − p j ∗ ∥ ≤ ∥ p ^ j − q ∥ + ∥ U j † ( ( p ^ j − 1 − p j − 1 ∗ ) ⊗ ρ j ) ∥ ≤ δ + ∥ p ^ j − 1 − p j − 1 ∗ ∥ ∥ ρ j ∥ ≤ j δ , \lVert\hat{p}_j-p_j^*\rVert\leq\lVert\hat{p}_j-q\rVert+\lVert U_j^\dagger((\hat{p}_{j-1}-p_{j-1}^*)\otimes\rho_j)\rVert\leq\delta+\lVert\hat{p}_{j-1}-p_{j-1}^*\rVert\lVert\rho_j\rVert\leq j\delta, ∥ p ^ j − p j ∗ ∥ ≤ ∥ p ^ j − q ∥ + ∥ U j † (( p ^ j − 1 − p j − 1 ∗ ) ⊗ ρ j )∥ ≤ δ + ∥ p ^ j − 1 − p j − 1 ∗ ∥ ∥ ρ j ∥ ≤ j δ ,
concluding the proof of the claim.
Algorithm 2 Meta Algorithm for Equation (5)
Require:
1. $M \in \mathcal{H}_1 \otimes \cdots \otimes \mathcal{H}_m$ with $\lVert M\rVert \le 1$ and $\epsilon > 0$;
2. an algorithm to build a $\delta$-cover of reachable messages as per Definition 4.1;
3. an algorithm to compute $\max_{\rho_m\in K_m}\langle \widetilde{T},x\otimes\rho_m\rangle$ for all $x\in X$, and $\widetilde{T}\in X\otimes\mathcal{H}_m$.
2. Set $\eta=\Theta(\epsilon/\sqrt{m})$ and $\delta=\Theta(\epsilon/m)$.
3. Apply Algorithm 1 with approximation $\eta$ to obtain
$$
((V_j,U_j))_{j\in[m-1]} \qquad\text{and}\qquad \widetilde{M}\in V_{m-1}\otimes\mathcal{H}_m.
$$
4. Get $S_0,\ldots,S_{m-1}$ from the algorithm building the reachable-message $\delta$-cover.
5. Solve $G(p)=\max_{\rho_m\in K_m}\langle\widetilde{M},p\otimes\rho_m\rangle$ for all $p\in S_{m-1}$ using the optimization algorithm.
6. Record the $p_{m-1}\in S_{m-1}$ that attains the largest value and the corresponding maximizer $\rho_m$.
7. for $j=m-1,\ldots,1$ do ▷ Extract local vectors
8. From $p_j$, using the witnesses given by the $\delta$-cover, find $\rho_j$ and $p_{j-1}$
9. return $\rho_1,\ldots,\rho_m$
Meta Algorithm
The following meta-algorithm leaves two subroutines unspecified: the construction of the reachable-message cover and the optimization of the terminal tensor.
Lemma 4.3. Let K j ⊆ B H j K_j\subseteq B_{\mathcal{H}_j} K j ⊆ B H j be compact for all j ∈ [ m ] j\in[m] j ∈ [ m ] . Instantiate Algorithm 2 with:
an algorithm that constructs a δ \delta δ -cover S 0 , … , S m − 1 S_0,\ldots,S_{m-1} S 0 , … , S m − 1 of the reachable messages, together with witnesses as in Definition 4.1, in time T c o v e r T_{\mathrm{cover}} T cover ;
an algorithm that, given p ∈ V m − 1 p\in V_{m-1} p ∈ V m − 1 , computes
max ρ m ∈ K m ⟨ M ~ , p ⊗ ρ m ⟩ \max_{\rho_m\in K_m}\langle\widetilde{M},p\otimes\rho_m\rangle ρ m ∈ K m max ⟨ M , p ⊗ ρ m ⟩ together with a maximizing ρ m \rho_m ρ m , in time T t e r m T_{\mathrm{term}} T term .
Then Algorithm 2 finds ( ρ 1 , … , ρ m ) ∈ K 1 × ⋯ × K m (\rho_1,\ldots,\rho_m)\in K_1\times\cdots\times K_m ( ρ 1 , … , ρ m ) ∈ K 1 × ⋯ × K m such that
⟨ M , ρ 1 ⊗ ⋯ ⊗ ρ m ⟩ ≥ max ρ 1 ∈ K 1 , … , ρ m ∈ K m ⟨ M , ρ 1 ⊗ ⋯ ⊗ ρ m ⟩ − O ( ϵ ) , \langle M,\rho_1\otimes\cdots\otimes\rho_m\rangle
\ge
\max_{\rho_1\in K_1,\ldots,\rho_m\in K_m}
\langle M,\rho_1\otimes\cdots\otimes\rho_m\rangle-O(\epsilon), ⟨ M , ρ 1 ⊗ ⋯ ⊗ ρ m ⟩ ≥ ρ 1 ∈ K 1 , … , ρ m ∈ K m max ⟨ M , ρ 1 ⊗ ⋯ ⊗ ρ m ⟩ − O ( ϵ ) , whenever the tensor M M M has Hilbert–Schmidt norm bounded by 1, in time
poly ( ∣ M ∣ , m ) + T c o v e r + ∣ S m − 1 ∣ T t e r m . \operatorname{poly}(\lvert M\rvert,m)+T_{\mathrm{cover}}+\lvert S_{m-1}\rvert T_{\mathrm{term}}. poly (∣ M ∣ , m ) + T cover + ∣ S m − 1 ∣ T term .
Proof. First observe that p j p_j p j will always be in the unit ℓ 2 \ell_2 ℓ 2 ball of V j V_j V j . Indeed
∥ p j ∥ = ∥ U j † ( p j − 1 ⊗ ρ j ) ∥ ≤ ∥ p j − 1 ⊗ ρ j ∥ ≤ ∥ p j − 1 ∥ , \lVert p_j\rVert=\lVert U_j^\dagger(p_{j-1}\otimes\rho_j)\rVert
\le\lVert p_{j-1}\otimes\rho_j\rVert
\le\lVert p_{j-1}\rVert, ∥ p j ∥ = ∥ U j † ( p j − 1 ⊗ ρ j )∥ ≤ ∥ p j − 1 ⊗ ρ j ∥ ≤ ∥ p j − 1 ∥ ,
and by recursion it proves that ∥ p j ∥ ≤ 1 \lVert p_j\rVert\le1 ∥ p j ∥ ≤ 1 , since p 0 = 1 p_0=1 p 0 = 1 .
For a final message p ∈ V m − 1 p\in V_{m-1} p ∈ V m − 1 define G ( p ) = max ρ m ∈ K m ⟨ M ~ , p ⊗ ρ m ⟩ G(p)=\max_{\rho_m\in K_m}\langle\widetilde{M},p\otimes\rho_m\rangle G ( p ) = max ρ m ∈ K m ⟨ M , p ⊗ ρ m ⟩ . It is easy to see that this function is 1-Lipschitz in the Euclidean ℓ 2 \ell_2 ℓ 2 -norm.
Claim 4.4. The function p ↦ G ( p ) p\mapsto G(p) p ↦ G ( p ) is 1-Lipschitz.
Proof of Claim 4.4. Simply observe that
∣ G ( p ) − G ( p ′ ) ∣ = ∣ max ρ m ∈ K m ⟨ M ~ , p ⊗ ρ m ⟩ − max ρ m ∈ K m ⟨ M ~ , p ′ ⊗ ρ m ⟩ ∣ ≤ max ρ m ∈ K m ∣ ⟨ M ~ , ( p − p ′ ) ⊗ ρ m ⟩ ∣ ≤ ∥ M ~ ∥ ⋅ ∥ p − p ′ ∥ max ρ m ∈ K m ∥ ρ m ∥ ≤ ∥ p − p ′ ∥ , \begin{aligned}
\lvert G(p)-G(p')\rvert
&= \left\lvert\max_{\rho_m\in\mathcal{K}_m}\langle\widetilde{M},p\otimes\rho_m\rangle-\max_{\rho_m\in\mathcal{K}_m}\langle\widetilde{M},p'\otimes\rho_m\rangle\right\rvert\\
&\leq\max_{\rho_m\in\mathcal{K}_m}\left\lvert\langle\widetilde{M},(p-p')\otimes\rho_m\rangle\right\rvert\\
&\leq\lVert\widetilde{M}\rVert\cdot\lVert p-p'\rVert\max_{\rho_m\in\mathcal{K}_m}\lVert\rho_m\rVert\\
&\leq\lVert p-p'\rVert,
\end{aligned} ∣ G ( p ) − G ( p ′ )∣ = ρ m ∈ K m max ⟨ M , p ⊗ ρ m ⟩ − ρ m ∈ K m max ⟨ M , p ′ ⊗ ρ m ⟩ ≤ ρ m ∈ K m max ⟨ M , ( p − p ′ ) ⊗ ρ m ⟩ ≤ ∥ M ∥ ⋅ ∥ p − p ′ ∥ ρ m ∈ K m max ∥ ρ m ∥ ≤ ∥ p − p ′ ∥ ,
which concludes the proof of the claim.
Now let p m − 1 ∗ ∈ R m − 1 e x a c t p^*_{m-1}\in\mathcal{R}^{\mathrm{exact}}_{m-1} p m − 1 ∗ ∈ R m − 1 exact be a reachable message originating from an optimal solution ρ 1 ∗ , … , ρ m ∗ \rho^*_1,\ldots,\rho^*_m ρ 1 ∗ , … , ρ m ∗ to our problem. By Lemma 4.2, there exists some p ^ m − 1 ∈ S m − 1 \hat{p}_{m-1}\in\mathcal{S}_{m-1} p ^ m − 1 ∈ S m − 1 such that ∥ p ^ m − 1 − p m − 1 ∗ ∥ ≤ m δ \lVert\hat{p}_{m-1}-p^*_{m-1}\rVert\leq m\delta ∥ p ^ m − 1 − p m − 1 ∗ ∥ ≤ m δ and by Claim 4.4 we get:
G ( p ^ m − 1 ) ≥ G ( p m − 1 ∗ ) − m δ ≥ O p t − m δ − η m . \begin{aligned}
G(\hat{p}_{m-1})\geq G(p^*_{m-1})-m\delta\\
&\geq\mathrm{Opt}-m\delta-\eta\sqrt{m}.
\end{aligned} G ( p ^ m − 1 ) ≥ G ( p m − 1 ∗ ) − m δ ≥ Opt − m δ − η m .
where in the last inequality we used Theorem 3.1. Then, from p ^ m − 1 \hat{p}_{m-1} p ^ m − 1 we can recover all the witnesses ρ 1 , … , ρ m − 1 \rho_1,\ldots,\rho_{m-1} ρ 1 , … , ρ m − 1 that originated the message p ^ m − 1 \hat{p}_{m-1} p ^ m − 1 by definition of the cover in Definition 4.1. Finally using again Theorem 3.1 we get that ⟨ M , ρ 1 ⊗ ⋯ ⊗ ρ m ⟩ ≥ G ( p ^ m − 1 ) − η m \langle M,\rho_1\otimes\cdots\otimes\rho_m\rangle\geq G(\hat{p}_{m-1})-\eta\sqrt{m} ⟨ M , ρ 1 ⊗ ⋯ ⊗ ρ m ⟩ ≥ G ( p ^ m − 1 ) − η m showing that
⟨ M , ρ 1 ⊗ ⋯ ⊗ ρ m ⟩ ≥ O p t − m δ − 2 η m . \langle M,\rho_1\otimes\cdots\otimes\rho_m\rangle\geq\mathrm{Opt}-m\delta-2\eta\sqrt{m}. ⟨ M , ρ 1 ⊗ ⋯ ⊗ ρ m ⟩ ≥ Opt − m δ − 2 η m .
and choosing δ = Θ ( ϵ / m ) \delta=\Theta(\epsilon/m) δ = Θ ( ϵ / m ) and η = Θ ( ϵ / m ) \eta=\Theta(\epsilon/\sqrt{m}) η = Θ ( ϵ / m ) , we get an O ( ϵ ) O(\epsilon) O ( ϵ ) approximation to O p t \mathrm{Opt} Opt . □
It remains to instantiate the two subroutines in the relevant setting. We will use different constructions depending on whether the number k k k of local systems is smaller or larger than the local dimension d 2 d^2 d 2 .
Product Optimization and Weak Membership
In this section we use Lemma 4.3 to prove the following theorem. In particular, the following proves that a linear oracle for the local systems is enough to build the objects required by Algorithm 2.
The proof is divided into two regimes: k ≤ d 2 k\leq d^2 k ≤ d 2 and k > d 2 k>d^2 k > d 2 . For the k ≤ d 2 k\leq d^2 k ≤ d 2 case we can instantiate Algorithm 2 directly and find an algorithm with final running time of poly ( d k ) ⋅ exp ( O ϵ ( k log k ) ) \operatorname{poly}(d^k)\cdot\exp(O_\epsilon(k\log k)) poly ( d k ) ⋅ exp ( O ϵ ( k log k )) , which is polynomial for every k = poly ( d ) k=\operatorname{poly}(d) k = poly ( d ) , since we only need log k = O ( log d ) \log k=O(\log d) log k = O ( log d ) for this running time to be a PTAS.
However, this running time is not polynomial when d ≪ k d\ll k d ≪ k (which is a fundamental regime; for instance, it models many entangled qubits). The previous theorem cannot address this case without removing the extra log k \log k log k term in the exponent. Sadly, we could not find a cleverer analysis to remove that dependence directly, so we had to resort to a different analysis when the number of systems k k k is significantly larger than the local dimension d 2 d^2 d 2 .
In this regime, the idea is that when the local systems have a low-dimension d d d (relative to k k k ), we can do brute-force optimization over the product of a small number of local systems.
Lemma 5.1. Let H 1 , … , H k \mathcal{H}_1,\ldots,\mathcal{H}_k H 1 , … , H k be finite-dimensional real Hilbert spaces with d = max j ∈ [ k ] dim H j d=\max_{j\in[k]}\dim\mathcal{H}_j d = max j ∈ [ k ] dim H j with d ≥ 2 d\geq2 d ≥ 2 . For each j ∈ [ k ] j\in[k] j ∈ [ k ] let K j ⊆ B H j \mathcal{K}_j\subseteq B_{\mathcal{H}_j} K j ⊆ B H j be a convex set and assume that given v ∈ H j v\in\mathcal{H}_j v ∈ H j and τ > 0 \tau>0 τ > 0 we can find x ∈ K j x\in\mathcal{K}_j x ∈ K j such that
⟨ v , x ⟩ ≥ max y ∈ K j ⟨ v , y ⟩ − τ , \langle v,x\rangle\geq\max_{y\in\mathcal{K}_j}\langle v,y\rangle-\tau, ⟨ v , x ⟩ ≥ y ∈ K j max ⟨ v , y ⟩ − τ ,
in time polynomial in d , τ − 1 d,\tau^{-1} d , τ − 1 . Define A : = { x 1 ⊗ ⋯ ⊗ x k : x j ∈ K j } \mathcal{A}:=\{x_1\otimes\cdots\otimes x_k:x_j\in K_j\} A := { x 1 ⊗ ⋯ ⊗ x k : x j ∈ K j } , C = conv ( A ) C=\operatorname{conv}(\mathcal{A}) C = conv ( A ) , then for every ϵ > 0 \epsilon>0 ϵ > 0 , given M ∈ H 1 ⊗ ⋯ ⊗ H k M\in\mathcal{H}_1\otimes\cdots\otimes\mathcal{H}_k M ∈ H 1 ⊗ ⋯ ⊗ H k , with ∥ M ∥ ≤ 1 \lVert M\rVert\le1 ∥ M ∥ ≤ 1 , we can find ρ i ∈ K i \rho_i\in K_i ρ i ∈ K i , such that
⟨ M , ρ 1 ⊗ ⋯ ⊗ ρ k ⟩ ≥ max ρ 1 ∈ K 1 , … , ρ k ∈ K k ⟨ M , ρ 1 ⊗ ⋯ ⊗ ρ k ⟩ − ϵ . \langle M,\rho_1\otimes\cdots\otimes\rho_k\rangle\ge\max_{\rho_1\in K_1,\ldots,\rho_k\in K_k}\langle M,\rho_1\otimes\cdots\otimes\rho_k\rangle-\epsilon. ⟨ M , ρ 1 ⊗ ⋯ ⊗ ρ k ⟩ ≥ ρ 1 ∈ K 1 , … , ρ k ∈ K k max ⟨ M , ρ 1 ⊗ ⋯ ⊗ ρ k ⟩ − ϵ .
Proof. We will divide the proof into two regimes.
Regime I: k ≤ d 2 k\le d^2 k ≤ d 2 . Apply Algorithm 2 directly. We thus have ( ( V j , U j ) ) j ∈ [ k − 1 ] ((V_j,U_j))_{j\in[k-1]} (( V j , U j ) ) j ∈ [ k − 1 ] and M ~ ∈ V k − 1 ⊗ H k \widetilde{M}\in V_{k-1}\otimes\mathcal{H}_k M ∈ V k − 1 ⊗ H k with r j : = dim V j ≤ η − 2 = Θ ( k / ϵ 2 ) r_j:=\dim V_j\le\eta^{-2}=\Theta(k/\epsilon^2) r j := dim V j ≤ η − 2 = Θ ( k / ϵ 2 ) .
For each j ∈ [ k − 1 ] j\in[k-1] j ∈ [ k − 1 ] we consider G j \mathcal{G}_j G j which is a δ / 4 \delta/4 δ /4 -net in ℓ 2 \ell_2 ℓ 2 -norm of the Euclidean ball of V j V_j V j , with δ = Θ ( ϵ / k ) \delta=\Theta(\epsilon/k) δ = Θ ( ϵ / k ) . It is standard to obtain an explicit G j \mathcal{G}_j G j such that there exists an absolute constant C > 0 C>0 C > 0 , such that
∣ G j ∣ = ( C δ ) r j ≤ ( C δ ) η − 2 = exp ( O ( k ϵ 2 log ( k ϵ ) ) ) . \lvert\mathcal{G}_j\rvert=\left(\frac{C}{\delta}\right)^{r_j}\le\left(\frac{C}{\delta}\right)^{\eta^{-2}}=\exp\left(O\left(\frac{k}{\epsilon^2}\log\left(\frac{k}{\epsilon}\right)\right)\right). ∣ G j ∣ = ( δ C ) r j ≤ ( δ C ) η − 2 = exp ( O ( ϵ 2 k log ( ϵ k ) ) ) .
We now show how to construct the δ \delta δ -cover S 0 , … , S k − 1 S_0,\ldots,S_{k-1} S 0 , … , S k − 1 , required by Algorithm 2, inductively. Set S 0 = { 1 } S_0=\{1\} S 0 = { 1 } , and suppose S j − 1 S_{j-1} S j − 1 has already been constructed. For each pair ( p , g ) ∈ S j − 1 × G j (p,g)\in S_{j-1}\times\mathcal{G}_j ( p , g ) ∈ S j − 1 × G j , consider the convex optimization problem
min ρ ∈ K j ∥ U j † ( p ⊗ ρ ) − g ∥ . \min_{\rho\in K_j}\lVert U_j^\dagger(p\otimes\rho)-g\rVert. ρ ∈ K j min ∥ U j † ( p ⊗ ρ ) − g ∥ .
which can be solved with precision τ = δ / 8 \tau=\delta/8 τ = δ /8 in time poly ( d k / τ ) \operatorname{poly}(d^k/\tau) poly ( d k / τ ) . If the value of the program is less than δ / 2 \delta/2 δ /2 for the minimizer ρ \rho ρ , then we add U j † ( p ⊗ ρ ) U_j^\dagger(p\otimes\rho) U j † ( p ⊗ ρ ) to S j S_j S j and store the witnesses p ∈ S j − 1 p\in S_{j-1} p ∈ S j − 1 and ρ ∈ K j \rho\in K_j ρ ∈ K j . As soon as we find a solution to such a program, for a particular g ∈ G j g\in\mathcal{G}_j g ∈ G j and p ∈ S j − 1 p\in S_{j-1} p ∈ S j − 1 , we stop looping over p ∈ S j − 1 p\in S_{j-1} p ∈ S j − 1 and move to the next point in G j \mathcal{G}_j G j . In this way, there is at most one point of S j S_j S j for each g ∈ G j g\in\mathcal{G}_j g ∈ G j and ∣ S j ∣ ≤ ∣ G j ∣ \lvert S_j\rvert\le\lvert\mathcal{G}_j\rvert ∣ S j ∣ ≤ ∣ G j ∣ .
We claim that the resulting S j S_j S j is a δ \delta δ -cover according to Definition 4.1. We have to show that for all p ∈ S j − 1 p\in S_{j-1} p ∈ S j − 1 and ρ ∈ K j \rho\in K_j ρ ∈ K j , and every reachable message q ( ρ , p ) : = U j † ( p ⊗ ρ ) ∈ R j ( S j − 1 ) q(\rho,p):=U_j^\dagger(p\otimes\rho)\in\mathcal{R}_j(S_{j-1}) q ( ρ , p ) := U j † ( p ⊗ ρ ) ∈ R j ( S j − 1 ) there exists q ^ = U j † ( p ^ ⊗ ρ ^ ) ∈ S j \widehat{q}=U_j^\dagger(\widehat{p}\otimes\widehat{\rho})\in S_j q = U j † ( p ⊗ ρ ) ∈ S j for some ρ ^ ∈ K j \widehat{\rho}\in K_j ρ ∈ K j and p ^ ∈ S j − 1 \widehat{p}\in S_{j-1} p ∈ S j − 1 with ∥ q ( ρ , p ) − q ^ ∥ ≤ δ \lVert q(\rho,p)-\widehat{q}\rVert\le\delta ∥ q ( ρ , p ) − q ∥ ≤ δ . Since ∥ q ( ρ , p ) ∥ ≤ 1 \lVert q(\rho,p)\rVert\le1 ∥ q ( ρ , p )∥ ≤ 1 , we have that there exists g ∈ G j g\in\mathcal{G}_j g ∈ G j with ∥ q ( ρ , p ) − g ∥ ≤ δ / 4 \lVert q(\rho,p)-g\rVert\le\delta/4 ∥ q ( ρ , p ) − g ∥ ≤ δ /4 , which exists by definition of G j \mathcal{G}_j G j . Consider the convex problem with a tuple ( g , p ) (g,p) ( g , p ) . The problem is feasible since the original ρ \rho ρ certifies it:
min σ ∈ K j ∥ U j † ( p ⊗ σ ) − g ∥ ≤ ∥ U j † ( p ⊗ ρ ) − g ∥ = ∥ q − g ∥ ≤ δ / 4. \min_{\sigma\in K_j}\lVert U_j^\dagger(p\otimes\sigma)-g\rVert\le\lVert U_j^\dagger(p\otimes\rho)-g\rVert=\lVert q-g\rVert\le\delta/4. σ ∈ K j min ∥ U j † ( p ⊗ σ ) − g ∥ ≤ ∥ U j † ( p ⊗ ρ ) − g ∥ = ∥ q − g ∥ ≤ δ /4.
Therefore, since we are solving it with accuracy δ / 8 \delta/8 δ /8 we are going to find some ρ ′ \rho' ρ ′ such that
∥ U j † ( p ⊗ ρ ′ ) − g ∥ ≤ δ / 4 + δ / 8 ≤ δ / 2. \lVert U_j^\dagger(p\otimes\rho')-g\rVert\le\delta/4+\delta/8\le\delta/2. ∥ U j † ( p ⊗ ρ ′ ) − g ∥ ≤ δ /4 + δ /8 ≤ δ /2.
We are not guaranteed that such p p p will be the one passing the test, but this proves that there exists some (possibly different) p ′ ∈ S j − 1 p'\in S_{j-1} p ′ ∈ S j − 1 that does. In that case we will add some q ^ = U j † ( p ′ ⊗ ρ ^ ) \widehat{q}=U_j^\dagger(p'\otimes\widehat{\rho}) q = U j † ( p ′ ⊗ ρ ) to S j S_j S j such that ∥ q ^ − g ∥ ≤ δ / 2 \lVert\widehat{q}-g\rVert\le\delta/2 ∥ q − g ∥ ≤ δ /2 . Then
∥ q ^ − q ( ρ , p ) ∥ ≤ ∥ q ^ − g ∥ + ∥ g − q ( ρ , p ) ∥ ≤ δ 2 + δ 4 ≤ δ , \lVert\widehat{q}-q(\rho,p)\rVert\le\lVert\widehat{q}-g\rVert+\lVert g-q(\rho,p)\rVert\le\frac{\delta}{2}+\frac{\delta}{4}\le\delta, ∥ q − q ( ρ , p )∥ ≤ ∥ q − g ∥ + ∥ g − q ( ρ , p )∥ ≤ 2 δ + 4 δ ≤ δ ,
which proves that we are building a δ \delta δ -cover.
Moreover, it is clear that the time T c o v e r T_{\mathrm{cover}} T cover required to build the sets S 0 , … , S k − 1 S_0,\ldots,S_{k-1} S 0 , … , S k − 1 is poly ( d k / δ ) ⋅ O ( k ( C / δ ) 2 η − 2 ) \operatorname{poly}(d^k/\delta)\cdot O(k(C/\delta)^{2\eta^{-2}}) poly ( d k / δ ) ⋅ O ( k ( C / δ ) 2 η − 2 ) , since we have to repeat it k k k -times and each time it takes time poly ( d k / δ ) \operatorname{poly}(d^k/\delta) poly ( d k / δ ) to solve the optimization problem, which we have to do at most ∣ G j ∣ ⋅ ∣ S j − 1 ∣ ≤ ( ( C / δ ) η − 2 ) 2 \lvert\mathcal{G}_j\rvert\cdot\lvert S_{j-1}\rvert\le((C/\delta)^{\eta^{-2}})^2 ∣ G j ∣ ⋅ ∣ S j − 1 ∣ ≤ (( C / δ ) η − 2 ) 2 times.
We still need to implement the terminal optimization required by the meta-algorithm. For fixed p ∈ V k − 1 p \in V_{k-1} p ∈ V k − 1 , the problem
max ρ k ∈ K k ⟨ M ~ , p ⊗ ρ k ⟩ \max_{\rho_k\in\mathcal{K}_k}\langle\widetilde{M},p\otimes\rho_k\rangle ρ k ∈ K k max ⟨ M , p ⊗ ρ k ⟩
can be solved with a single call to the linear optimization oracle up to error τ = O ( ϵ ) \tau=O(\epsilon) τ = O ( ϵ ) . Thus the terminal problem is solvable in time T t e r m = poly ( d k ) T_{\mathrm{term}}=\operatorname{poly}(d^k) T term = poly ( d k ) since ϵ = O ( 1 ) \epsilon=O(1) ϵ = O ( 1 ) .
Thus, according to Lemma 4.3, the total time required is
poly ( d k ) + T c o v e r + ∣ S k − 1 ∣ T t e r m ≤ poly ( d k / δ ) ⋅ O ( k ( C / δ ) 2 η − 2 ) + ( C / δ ) η − 2 poly ( d k ) ≤ poly ( d k ) ⋅ exp ( O ( k ϵ 2 log k ϵ ) ) . \begin{aligned}
\operatorname{poly}(d^k)+T_{\mathrm{cover}}+|\mathcal{S}_{k-1}|T_{\mathrm{term}}\leq\operatorname{poly}(d^k/\delta)\cdot O\left(k(C/\delta)^{2\eta^{-2}}\right)+(C/\delta)^{\eta^{-2}}\operatorname{poly}(d^k) \\
&\leq\operatorname{poly}(d^k)\cdot\exp\left(O\left(\frac{k}{\epsilon^2}\log\frac{k}{\epsilon}\right)\right).
\end{aligned} poly ( d k ) + T cover + ∣ S k − 1 ∣ T term ≤ poly ( d k / δ ) ⋅ O ( k ( C / δ ) 2 η − 2 ) + ( C / δ ) η − 2 poly ( d k ) ≤ poly ( d k ) ⋅ exp ( O ( ϵ 2 k log ϵ k ) ) .
where we plugged δ = Θ ( ϵ / k ) \delta=\Theta(\epsilon/k) δ = Θ ( ϵ / k ) and η = Θ ( ϵ / k ) \eta=\Theta(\epsilon/\sqrt{k}) η = Θ ( ϵ / k ) . Now, if k ≤ d 2 k\leq d^2 k ≤ d 2 and ϵ \epsilon ϵ is fixed, then log ( k / ϵ ) = O ϵ ( log d ) \log(k/\epsilon)=O_\epsilon(\log d) log ( k / ϵ ) = O ϵ ( log d ) , and the running time is d O ϵ ( k ) d^{O_\epsilon(k)} d O ϵ ( k ) .
Regime II: k > d 2 k>d^2 k > d 2 . Let γ = Θ ( ϵ / k ) \gamma=\Theta(\epsilon/k) γ = Θ ( ϵ / k ) . We construct an explicit γ \gamma γ -net N γ , j \mathcal{N}_{\gamma,j} N γ , j of K j \mathcal{K}_j K j with
∣ N γ , i ∣ ≤ ( C γ ) d , |\mathcal{N}_{\gamma,i}|\leq\left(\frac{C}{\gamma}\right)^d, ∣ N γ , i ∣ ≤ ( γ C ) d ,
for some constant C > 0 C>0 C > 0 . We claim that optimizing over N γ , i \mathcal{N}_{\gamma,i} N γ , i does not change the objective by a lot. Indeed, For an optimal tuple ρ 1 , … , ρ k \rho_1,\ldots,\rho_k ρ 1 , … , ρ k and for any i i i , choose ρ i ′ ∈ N γ , i \rho_i'\in\mathcal{N}_{\gamma,i} ρ i ′ ∈ N γ , i with ∥ ρ i − ρ i ′ ∥ ≤ γ \|\rho_i-\rho_i'\|\leq\gamma ∥ ρ i − ρ i ′ ∥ ≤ γ . Then, it is easy to see that
∥ ⨂ i ∈ [ k ] ρ i − ⨂ i ∈ [ k ] ρ i ′ ∥ ≤ ∑ i ∈ [ k ] ∥ ρ i − ρ i ′ ∥ ≤ k γ , \left\|\bigotimes_{i\in[k]}\rho_i-\bigotimes_{i\in[k]}\rho_i'\right\|\leq\sum_{i\in[k]}\|\rho_i-\rho_i'\|\leq k\gamma, i ∈ [ k ] ⨂ ρ i − i ∈ [ k ] ⨂ ρ i ′ ≤ i ∈ [ k ] ∑ ∥ ρ i − ρ i ′ ∥ ≤ k γ ,
by using inductively that ∥ ρ 1 ⊗ ρ 2 − ρ 1 ′ ⊗ ρ 2 ′ ∥ ≤ ∥ ρ 1 − ρ 1 ′ ∥ + ∥ ρ 2 − ρ 2 ′ ∥ \|\rho_1\otimes\rho_2-\rho_1'\otimes\rho_2'\|\leq\|\rho_1-\rho_1'\|+\|\rho_2-\rho_2'\| ∥ ρ 1 ⊗ ρ 2 − ρ 1 ′ ⊗ ρ 2 ′ ∥ ≤ ∥ ρ 1 − ρ 1 ′ ∥ + ∥ ρ 2 − ρ 2 ′ ∥ (see also Wilde [45 Exercise 9.1.3] ). Consequently, since ∥ M ∥ ≤ 1 \|M\|\leq1 ∥ M ∥ ≤ 1 :
max ρ i ∈ N γ , i ⟨ M , ρ 1 ⊗ ⋯ ⊗ ρ k ⟩ ≥ max ρ i ∈ K i ⟨ M , ρ 1 ⊗ ⋯ ⊗ ρ k ⟩ − k γ . (7) \max_{\rho_i\in\mathcal{N}_{\gamma,i}}\langle M,\rho_1\otimes\cdots\otimes\rho_k\rangle\geq\max_{\rho_i\in\mathcal{K}_i}\langle M,\rho_1\otimes\cdots\otimes\rho_k\rangle-k\gamma. \tag*{(7)} ρ i ∈ N γ , i max ⟨ M , ρ 1 ⊗ ⋯ ⊗ ρ k ⟩ ≥ ρ i ∈ K i max ⟨ M , ρ 1 ⊗ ⋯ ⊗ ρ k ⟩ − k γ . (7)
Then partition [ k ] [k] [ k ] into m = Θ ( d k ) m=\Theta(\sqrt{dk}) m = Θ ( d k ) blocks I 1 , … , I m I_1,\ldots,I_m I 1 , … , I m and invoke Algorithm 2 with
H j ′ : = ⨂ i ∈ I j H i , K j ′ : = { ⨂ i ∈ I j ρ i : ρ i ∈ N γ , i , ∀ i ∈ I j } , \mathcal{H}'_j:=\bigotimes_{i\in I_j}\mathcal{H}_i,\qquad\mathcal{K}'_j:=\left\{\bigotimes_{i\in I_j}\rho_i:\rho_i\in\mathcal{N}_{\gamma,i},\ \forall i\in I_j\right\}, H j ′ := i ∈ I j ⨂ H i , K j ′ := ⎩ ⎨ ⎧ i ∈ I j ⨂ ρ i : ρ i ∈ N γ , i , ∀ i ∈ I j ⎭ ⎬ ⎫ ,
where the tensor M ′ ∈ H 1 ′ ⊗ ⋯ ⊗ H m ′ M'\in\mathcal{H}'_1\otimes\cdots\otimes\mathcal{H}'_m M ′ ∈ H 1 ′ ⊗ ⋯ ⊗ H m ′ is the regrouping of M ∈ H 1 ⊗ ⋯ ⊗ H k M\in\mathcal{H}_1\otimes\cdots\otimes\mathcal{H}_k M ∈ H 1 ⊗ ⋯ ⊗ H k . Moreover, observe that ∣ K j ′ ∣ = ∣ N γ , i ∣ O ( k / m ) = ( C d / γ ) O ( d k / m ) |\mathcal{K}'_j|=|\mathcal{N}_{\gamma,i}|^{O(k/m)}=(C\sqrt{d}/\gamma)^{O(dk/m)} ∣ K j ′ ∣ = ∣ N γ , i ∣ O ( k / m ) = ( C d / γ ) O ( d k / m ) .
Under this instantiation, the conditions for Lemma 4.3 hold and Algorithm 2 computes ( ( V j , U j ) ) j ∈ [ m − 1 ] ((V_j,U_j))_{j\in[m-1]} (( V j , U j ) ) j ∈ [ m − 1 ] and M ~ ∈ V m − 1 ⊗ H m ′ \widetilde{M}\in V_{m-1}\otimes\mathcal{H}'_m M ∈ V m − 1 ⊗ H m ′ with r j : = dim V j ≤ η − 2 r_j:=\dim V_j\leq\eta^{-2} r j := dim V j ≤ η − 2 . To build the δ \delta δ -cover S 0 , … , S m − 1 \mathcal{S}_0,\ldots,\mathcal{S}_{m-1} S 0 , … , S m − 1 , we apply the following simple brute-force procedure. First, define G j \mathcal{G}_j G j , as the δ / 4 \delta/4 δ /4 -net of the radius 1, ℓ 2 \ell_2 ℓ 2 ball of V j V_j V j , as in the case of k ≤ d 2 k\leq d^2 k ≤ d 2 . Then, assuming that we already built S j − 1 \mathcal{S}_{j-1} S j − 1 , we enumerate every pair ( p , ρ ) ∈ S j − 1 × K j ′ (p,\rho)\in\mathcal{S}_{j-1}\times\mathcal{K}'_j ( p , ρ ) ∈ S j − 1 × K j ′ , computing q = U j † ( p ⊗ ρ ) q=U_j^\dagger(p\otimes\rho) q = U j † ( p ⊗ ρ ) , and then finding the closest g ∈ G j g\in\mathcal{G}_j g ∈ G j to q q q . If ∥ q − g ∥ ≤ δ / 4 \|q-g\|\leq\delta/4 ∥ q − g ∥ ≤ δ /4 , and such g g g was not already marked, we add q q q to S j \mathcal{S}_j S j (moreover we store the witnesses ( p , ρ ) ∈ S j − 1 × K j (p,\rho)\in\mathcal{S}_{j-1}\times\mathcal{K}_j ( p , ρ ) ∈ S j − 1 × K j ), and mark g g g . In this way we are going to add at most ∣ G j ∣ |\mathcal{G}_j| ∣ G j ∣ points to S j \mathcal{S}_j S j , guaranteeing that ∣ S j ∣ ≤ ( C / δ ) η − 2 |\mathcal{S}_j|\leq(C/\delta)^{\eta^{-2}} ∣ S j ∣ ≤ ( C / δ ) η − 2 .
This produces a δ \delta δ -cover according to Definition 4.1. Indeed, consider any q ( ρ , p ) = U j † ( p ⊗ ρ ) ∈ R j ( S j − 1 ) q(\rho,p)=U_j^\dagger(p\otimes\rho)\in\mathcal{R}_j(\mathcal{S}_{j-1}) q ( ρ , p ) = U j † ( p ⊗ ρ ) ∈ R j ( S j − 1 ) for any ρ ∈ K j ′ \rho\in\mathcal{K}'_j ρ ∈ K j ′ and p ∈ S j − 1 p\in\mathcal{S}_{j-1} p ∈ S j − 1 . Take the point g ∈ G j g\in\mathcal{G}_j g ∈ G j chosen by the procedure for $(p,\rho). Then ∥ q ( ρ , p ) − g ∥ ≤ δ / 4 \lVert q(\rho,p)-g\rVert\le\delta/4 ∥ q ( ρ , p ) − g ∥ ≤ δ /4 and g g g has been marked, so there is a tuple ( p ′ , ρ ′ ) ∈ S j − 1 × K j ′ (p',\rho')\in S_{j-1}\times\mathcal{K}'_j ( p ′ , ρ ′ ) ∈ S j − 1 × K j ′ , such that ∥ g − q ′ ∥ ≤ δ / 4 \lVert g-q'\rVert\le\delta/4 ∥ g − q ′ ∥ ≤ δ /4 , where q ′ = U j ( p ′ ⊗ ρ ′ ) q'=U_j(p'\otimes\rho') q ′ = U j ( p ′ ⊗ ρ ′ ) and q ′ q' q ′ was added to S j S_j S j (it might also be the case that ( ρ ′ , p ′ ) = ( ρ , p ) (\rho',p')=(\rho,p) ( ρ ′ , p ′ ) = ( ρ , p ) but not necessarily). Then ∥ q ′ − q ∥ ≤ ∥ q ′ − g ∥ + ∥ g − q ∥ ≤ δ / 2 ≤ δ \lVert q'-q\rVert\le\lVert q'-g\rVert+\lVert g-q\rVert\le\delta/2\le\delta ∥ q ′ − q ∥ ≤ ∥ q ′ − g ∥ + ∥ g − q ∥ ≤ δ /2 ≤ δ . Moreover, the time T c o v e r T_{\mathrm{cover}} T cover required to build the cover, is thus bounded by poly ( d k ) ⋅ ( m d / γ ) O ( d k / m ) ( C / δ ) 2 η − 2 \operatorname{poly}(d^k)\cdot(m\sqrt{d}/\gamma)^{O(dk/m)}(C/\delta)^{2\eta^{-2}} poly ( d k ) ⋅ ( m d / γ ) O ( d k / m ) ( C / δ ) 2 η − 2 , as we need to iterate for m m m times over all elements of K j ′ \mathcal{K}'_j K j ′ and S j − 1 S_{j-1} S j − 1 , and search G j G_j G j for each pair.
For optimizing the terminal tensor M ~ ′ \widetilde{M}' M ′ , we simply enumerate over the finite set K m m \mathcal{K}_m^m K m m , which takes time T t e r m ≤ ∣ K m ′ ∣ poly ( ∣ M ~ ′ ∣ ) = ( C d / γ ) O ( d k / m ) poly ( d k ) T_{\mathrm{term}}\le|\mathcal{K}'_m|\operatorname{poly}(|\widetilde{M}'|)=(C\sqrt{d}/\gamma)^{O(dk/m)}\operatorname{poly}(d^k) T term ≤ ∣ K m ′ ∣ poly ( ∣ M ′ ∣ ) = ( C d / γ ) O ( d k / m ) poly ( d k ) .
The total required time is thus, according to Lemma 4.3:
poly ( d k ) + T c o v e r + ∣ S m − 1 ∣ T t e r m ≤ poly ( d k ) ⋅ m ( d / γ ) O ( d k / m ) ( 1 / δ ) O ( η − 2 ) ≤ poly ( d k ) ⋅ exp ( O ( d k m log d k ϵ + m ϵ 2 log m ϵ ) ) . \begin{aligned}
\operatorname{poly}(d^k)+T_{\mathrm{cover}}+|S_{m-1}|T_{\mathrm{term}}\le\operatorname{poly}(d^k)\cdot m(\sqrt{d}/\gamma)^{O(dk/m)}(1/\delta)^{O(\eta^{-2})} \\
&\le\operatorname{poly}(d^k)\cdot\exp\left(O\left(\frac{dk}{m}\log\frac{dk}{\epsilon}+\frac{m}{\epsilon^2}\log\frac{m}{\epsilon}\right)\right).
\end{aligned} poly ( d k ) + T cover + ∣ S m − 1 ∣ T term ≤ poly ( d k ) ⋅ m ( d / γ ) O ( d k / m ) ( 1/ δ ) O ( η − 2 ) ≤ poly ( d k ) ⋅ exp ( O ( m d k log ϵ d k + ϵ 2 m log ϵ m ) ) .
Taking m = Θ ( d k ) m=\Theta(\sqrt{dk}) m = Θ ( d k ) gives an upper bound of poly ( d k ) ⋅ exp ( O ϵ ( d k log d k ) ) \operatorname{poly}(d^k)\cdot\exp(O_\epsilon(\sqrt{dk}\log dk)) poly ( d k ) ⋅ exp ( O ϵ ( d k log d k )) . Now, for d 2 ≤ k d^2\le k d 2 ≤ k , we have that d k log d k ≤ k 3 / 4 log d k = O ( k log d ) \sqrt{dk}\log dk\le k^{3/4}\log dk=O(k\log d) d k log d k ≤ k 3/4 log d k = O ( k log d ) , and thus the running time becomes d O ϵ ( k ) d^{O_\epsilon(k)} d O ϵ ( k ) as desired.
Theorem 5.2. Under the same assumptions of Lemma 5.1 for every ϵ > 0 \epsilon>0 ϵ > 0 , given M ∈ H 1 ⊗ ⋯ ⊗ H k M\in\mathcal{H}_1\otimes\cdots\otimes\mathcal{H}_k M ∈ H 1 ⊗ ⋯ ⊗ H k , we can distinguish between
M ∈ C , and dist ( M , C ) ≥ ϵ , M\in C,\qquad\text{and}\qquad\operatorname{dist}(M,C)\ge\epsilon, M ∈ C , and dist ( M , C ) ≥ ϵ , in time d O ϵ ( k ) d^{O_\epsilon(k)} d O ϵ ( k ) .
Proof. If ∥ M ∥ ≥ 1 + ϵ \lVert M\rVert\ge1+\epsilon ∥ M ∥ ≥ 1 + ϵ , then dist ( M , C ) ≥ ϵ \operatorname{dist}(M,C)\ge\epsilon dist ( M , C ) ≥ ϵ , since C ⊆ B H 1 ⊗ ⋯ ⊗ H k C\subseteq B_{\mathcal{H}_1\otimes\cdots\otimes\mathcal{H}_k} C ⊆ B H 1 ⊗ ⋯ ⊗ H k and thus
dist ( M , C ) = inf M ′ ∈ C ∥ M − M ′ ∥ ≥ ∥ M ∥ − 1 ≥ ϵ . \operatorname{dist}(M,C)=\inf_{M'\in C}\lVert M-M'\rVert\ge\lVert M\rVert-1\ge\epsilon. dist ( M , C ) = M ′ ∈ C inf ∥ M − M ′ ∥ ≥ ∥ M ∥ − 1 ≥ ϵ .
So, we can solve the case ∥ M ∥ ≥ 1 + ϵ \lVert M\rVert\ge1+\epsilon ∥ M ∥ ≥ 1 + ϵ efficiently by computing ∥ M ∥ \lVert M\rVert ∥ M ∥ directly (which takes polynomial time, since M M M is given explicitly).
Thus we can assume that ∥ M ∥ ≤ 1 + ϵ \lVert M\rVert\le1+\epsilon ∥ M ∥ ≤ 1 + ϵ and consider F : C → R F:C\to\mathbb{R} F : C → R defined as
F ( Y ) = 1 2 ∥ Y − M ∥ 2 , F(Y)=\frac{1}{2}\lVert Y-M\rVert^2, F ( Y ) = 2 1 ∥ Y − M ∥ 2 ,
whose optimum over C C C is F ∗ : = 1 2 dist ( M , C ) 2 F^*:=\frac{1}{2}\operatorname{dist}(M,C)^2 F ∗ := 2 1 dist ( M , C ) 2 . We use the Frank-Wolfe algorithm to turn the linear maximization oracle of Lemma 5.1 into an optimization algorithm for F F F . Frank-Wolfe asks to solve arg min Z ∈ C ⟨ Y t − M , Z ⟩ \operatorname*{arg\,min}_{Z\in C}\langle Y_t-M,Z\rangle arg min Z ∈ C ⟨ Y t − M , Z ⟩ which, thanks to linearity, is equivalent to
arg min ρ 1 ∈ K 1 , … , ρ k ∈ K k ⟨ Y t − M , ⨂ j ∈ [ k ] ρ j ⟩ , \operatorname*{arg\,min}_{\rho_1\in\mathcal{K}_1,\ldots,\rho_k\in\mathcal{K}_k}\left\langle Y_t-M,\bigotimes_{j\in[k]}\rho_j\right\rangle, ρ 1 ∈ K 1 , … , ρ k ∈ K k arg min ⟨ Y t − M , j ∈ [ k ] ⨂ ρ j ⟩ ,
which can be solved by Lemma 5.1 at approximation δ \delta δ in time d O δ ( k ) d^{O_\delta(k)} d O δ ( k ) . Since the diameter of C C C is bounded and F F F is O ( 1 ) O(1) O ( 1 ) -Lipschitz, then Frank-Wolfe in T T T iterations yields Y T ∈ C Y_T\in C Y T ∈ C with
F ( Y T ) ≤ F ∗ + O ( T − 1 ) + O ( δ ) . F(Y_T)\le F^*+O(T^{-1})+O(\delta). F ( Y T ) ≤ F ∗ + O ( T − 1 ) + O ( δ ) .
If M ∈ C M\in C M ∈ C , then, F ∗ = 0 F^*=0 F ∗ = 0 and after T = Θ ( 1 / ϵ 2 ) T=\Theta(1/\epsilon^2) T = Θ ( 1/ ϵ 2 ) iterations and δ = Θ ( ϵ 2 ) \delta=\Theta(\epsilon^2) δ = Θ ( ϵ 2 ) we will find that F ( Y T ) ≤ O ( ϵ 2 ) F(Y_T)\le O(\epsilon^2) F ( Y T ) ≤ O ( ϵ 2 ) . On the other hand if dist ( M , C ) ≥ ϵ \operatorname{dist}(M,C)\ge\epsilon dist ( M , C ) ≥ ϵ , then F ∗ = Ω ( ϵ 2 ) F^*=\Omega(\epsilon^2) F ∗ = Ω ( ϵ 2 ) , and similarly we will find F ( Y T ) = Ω ( ϵ 2 ) F(Y_T)=\Omega(\epsilon^2) F ( Y T ) = Ω ( ϵ 2 ) . The two cases are separated, and the statement follows, since the running time of the algorithm is T d O δ ( k ) = d O ϵ ( k ) Td^{O_\delta(k)}=d^{O_\epsilon(k)} T d O δ ( k ) = d O ϵ ( k ) .
:::
Applications to Nuclear Norm and Separability
In this section, we prove two corollaries of Theorem 5.2 concerning weak membership for the nuclear norm of high-order tensors and quantum separability in the Frobenius norm.
Nuclear Norm
The (real) nuclear norm for a tensor M ∈ ( R d ) ⊗ k M \in(\mathbb{R}^{d})^{\otimes k} M ∈ ( R d ) ⊗ k is defined as
∥ M ∥ ∗ = inf { ∑ i = 1 r ∣ λ i ∣ : M = ∑ i ∈ [ r ] λ i ( x 1 , i ⊗ ⋯ ⊗ x k , i ) , ∥ x j , i ∥ = 1 , x j , i ∈ R d , r ∈ N , λ i ∈ R } . \lVert M\rVert_* = \inf\left\{ \sum_{i=1}^{r} \lvert\lambda_i\rvert: M = \sum_{i\in[r]} \lambda_i(x_{1,i} \otimes\cdots\otimes x_{k,i}), \lVert x_{j,i}\rVert= 1, x_{j,i} \in\mathbb{R}^{d}, r \in\mathbb{N}, \lambda_i \in\mathbb{R} \right\}. ∥ M ∥ ∗ = inf ⎩ ⎨ ⎧ i = 1 ∑ r ∣ λ i ∣ : M = i ∈ [ r ] ∑ λ i ( x 1 , i ⊗ ⋯ ⊗ x k , i ) , ∥ x j , i ∥ = 1 , x j , i ∈ R d , r ∈ N , λ i ∈ R ⎭ ⎬ ⎫ .
and call K ∗ K^* K ∗ the set of all tensors with nuclear norm at most 1. The problem is thus to decide if M ∈ K ∗ M \in K^* M ∈ K ∗ or dist ( M , K ∗ ) ≥ η \operatorname{dist}(M,K^*) \ge\eta dist ( M , K ∗ ) ≥ η .
Theorem 5.3. Given a tensor M ∈ ( R d ) ⊗ k M \in(\mathbb{R}^{d})^{\otimes k} M ∈ ( R d ) ⊗ k and any η > 0 \eta> 0 η > 0 , there exists an algorithm to decide if
M ∈ K ∗ , or dist ( M , K ∗ ) ≥ η , M \in K^*, \quad\text{or} \quad\operatorname{dist}(M,K^*) \ge\eta, M ∈ K ∗ , or dist ( M , K ∗ ) ≥ η , in time d O η ( k ) d^{O_\eta(k)} d O η ( k ) .
Proof. We can use Theorem 5.2 by using the fact that K ∗ K^* K ∗ is the convex hull of unit-norm rank-one tensors [FL18, Proposition 3.1], i.e.,
K ∗ = conv { x 1 ⊗ ⋯ ⊗ x k : x j ∈ B R d } . K^* = \operatorname{conv}\{x_1 \otimes\cdots\otimes x_k : x_j \in B_{\mathbb{R}^d}\}. K ∗ = conv { x 1 ⊗ ⋯ ⊗ x k : x j ∈ B R d } .
Thus we can use Theorem 5.2 with K j = B R d K_j = B_{\mathbb{R}^d} K j = B R d . The linear maximization oracle is simply the Frobenius norm computation since for all v ∈ R d v \in\mathbb{R}^{d} v ∈ R d
max y ∈ B R d ⟨ v , y ⟩ = ∥ v ∥ , \max_{y\in B_{\mathbb{R}^d}} \langle v,y\rangle= \lVert v\rVert, y ∈ B R d max ⟨ v , y ⟩ = ∥ v ∥ ,
and this provides all the ingredients needed by Theorem 5.2 . □
We note that nuclear norm can also be defined for complex tensors [FL18]. Our algorithm can be extended to complex Hilbert spaces to solve weak membership in the unit ball of complex tensors. We leave the precise description of this extension as future work.
Quantum Separability
Another important application is the quantum separability problem. For d , k ∈ N d,k \in\mathbb{N} d , k ∈ N , let
Sep ( d , k ) : = conv { ρ 1 ⊗ ⋯ ⊗ ρ k : ρ 1 , … , ρ k ∈ D d } , \operatorname{Sep}(d,k) := \operatorname{conv}\{\rho_1 \otimes\cdots\otimes\rho_k : \rho_1,\ldots,\rho_k \in\mathcal{D}_d\}, Sep ( d , k ) := conv { ρ 1 ⊗ ⋯ ⊗ ρ k : ρ 1 , … , ρ k ∈ D d } ,
denote the set of fully separable k k k -partite states.
Theorem 5.4. Given an explicit M ∈ Herm ( ( C d ) ⊗ k ) M \in\operatorname{Herm}((\mathbb{C}^{d})^{\otimes k}) M ∈ Herm (( C d ) ⊗ k ) , we can distinguish between
M ∈ Sep ( d , k ) , or dist ( M , Sep ( d , k ) ) ≥ η , M \in\operatorname{Sep}(d,k), \quad\text{or} \quad\operatorname{dist}(M,\operatorname{Sep}(d,k)) \ge\eta, M ∈ Sep ( d , k ) , or dist ( M , Sep ( d , k )) ≥ η , in time d O η ( k ) d^{O_\eta(k)} d O η ( k ) .
Proof. We use Theorem 5.2 with H j = Herm ( C d ) \mathcal{H}_j = \operatorname{Herm}(\mathbb{C}^d) H j = Herm ( C d ) , as a real Hilbert space of dimension d 2 d^2 d 2 with Hilbert–Schmidt, and K j = D d \mathcal{K}_j = \mathcal{D}_d K j = D d . Then conv ( ρ 1 ⊗ ⋯ ⊗ ρ k : ρ j ∈ D d ) = Sep ( d , k ) \operatorname{conv}(\rho_1 \otimes\cdots\otimes\rho_k : \rho_j \in\mathcal{D}_d) = \operatorname{Sep}(d,k) conv ( ρ 1 ⊗ ⋯ ⊗ ρ k : ρ j ∈ D d ) = Sep ( d , k ) . Moreover, linear optimization over K j \mathcal{K}_j K j is immediate since it is a greatest eigenvalue problem.
Thus, Theorem 5.2 guarantees a solution in time ( d 2 ) O η ( k ) = d O η ( k ) (d^2)^{O_\eta(k)} = d^{O_\eta(k)} ( d 2 ) O η ( k ) = d O η ( k ) .
Quantum Algorithms
Product-State Optimization
In this section, we will prove the following theorem, which states that given copies of a k k k -partite state ρ \rho ρ of local dimension q q q , and a classical description of a low-rank separable state σ \sigma σ , we can find a pure state with approximately optimal fidelity to ( ρ − σ ) (\rho-\sigma) ( ρ − σ ) in time and copies poly ( k q ) \operatorname{poly}(kq) poly ( k q ) .
Theorem 6.1 (Signed Product-State Optimization). Given copies of a k k k -partite state ρ ∈ D ( ( C q ) ⊗ k ) \rho\in\mathcal{D}((\mathbb{C}^q)^{\otimes k}) ρ ∈ D (( C q ) ⊗ k ) of local dimension q q q and a separable state σ \sigma σ given by
σ = ∑ ℓ ∈ [ T ] w ℓ ( σ ℓ , 1 ⊗ ⋯ ⊗ σ ℓ , k ) , \sigma= \sum_{\ell\in[T]} w_\ell(\sigma_{\ell,1} \otimes\cdots\otimes\sigma_{\ell,k}), σ = ℓ ∈ [ T ] ∑ w ℓ ( σ ℓ , 1 ⊗ ⋯ ⊗ σ ℓ , k ) , for some weights w w w and σ ℓ , j ∈ D ( C q ) \sigma_{\ell,j} \in\mathcal{D}(\mathbb{C}^q) σ ℓ , j ∈ D ( C q ) , and η > 0 \eta> 0 η > 0 and δ > 0 \delta> 0 δ > 0 , we can find pure states x 1 ∗ , … , x k ∗ x_1^*,\ldots,x_k^* x 1 ∗ , … , x k ∗ such that with probability at least 1 − δ 1-\delta 1 − δ :
Tr [ ( ρ − σ ) ⊗ ⨂ i ∈ [ k ] ∣ x i ∗ ⟩ ⟨ x i ∗ ∣ ] ≥ max x 1 , … , x k ∈ C q ∥ x i ∥ = 1 Tr [ ( ρ − σ ) ⊗ ⨂ i ∈ [ k ] ∣ x i ⟩ ⟨ x i ∣ ] − O ( η 2 ) , \operatorname{Tr}\left[(\rho-\sigma)\otimes\bigotimes_{i\in[k]} |x_i^*\rangle\langle x_i^*|\right] \ge\max_{\substack{x_1,\ldots,x_k\in\mathbb{C}^q\\ \lVert x_i\rVert=1}} \operatorname{Tr}\left[(\rho-\sigma)\otimes\bigotimes_{i\in[k]} |x_i\rangle\langle x_i|\right] - O(\eta^2), Tr ( ρ − σ ) ⊗ i ∈ [ k ] ⨂ ∣ x i ∗ ⟩ ⟨ x i ∗ ∣ ≥ x 1 , … , x k ∈ C q ∥ x i ∥ = 1 max Tr ( ρ − σ ) ⊗ i ∈ [ k ] ⨂ ∣ x i ⟩ ⟨ x i ∣ − O ( η 2 ) , with poly η ( k q T log 1 / δ ) \operatorname{poly}_\eta(kqT\log1/\delta) poly η ( k q T log 1/ δ ) time and copies of ρ \rho ρ .
This extends Bakshi et al. [4 ] (which focuses on k k k qubits) to arbitrary local dimension q q q and to the difference between states (one given by copies and one explicitly separable). This latter extension is needed because we will combine it with the Frank–Wolfe algorithm, which assumes a linear maximization oracle of this structure, to solve the weak membership problem in poly ( q k ) \operatorname{poly}(qk) poly ( q k ) time and copies.
In Section 7, we improve this result to poly ( k log q ) \operatorname{poly}(k\log q) poly ( k log q ) time and copies via a black-box reduction.
To obtain Theorem 6.1, we can use the main structure of Bakshi et al. [4 ] . To summarize briefly their approach, for a state ρ \rho ρ , their algorithm is made of two components: 1) a subroutine that, given a set of product states, outputs another product state which is “far” from all product states in the set and has good fidelity with ρ \rho ρ (this is [Bak+25, Lemma 5.8]), and 2) a way of turning this algorithm into an algorithm that produces a small cover C C C of pure states such that for all product states with good fidelity with ρ \rho ρ , there is a “similar” one in the cover ([Bak+25, Algorithm 5.5]). We modify the details surrounding their construction; however, we maintain the overall structure of the algorithm. The main reason why we can use the same construction even for a difference of states ρ − σ \rho-\sigma ρ − σ is that a cover for ρ \rho ρ is automatically a cover for ρ − σ \rho-\sigma ρ − σ .
First we define what a θ \theta θ -overlap product cover is. We define distances directly in terms of overlap, rather than using tangent distance as in Bakshi et al. [4 ] . We require that every product x x x that has good overlap with ρ \rho ρ has a representative c c c that is sufficiently aligned with x x x .
Definition 6.2 (θ \theta θ -overlap Product Cover). Let ρ ∈ D ( ( C d ) ⊗ k ) \rho\in\mathcal{D}((\mathbb{C}^d)^{\otimes k}) ρ ∈ D (( C d ) ⊗ k ) and let θ > 0 \theta> 0 θ > 0 . A finite set C C C is a θ \theta θ -overlap product cover for ρ \rho ρ if for every x = ⨂ j ∈ [ k ] x j x = \bigotimes_{j\in[k]} x_j x = ⨂ j ∈ [ k ] x j with x j ∈ C d x_j \in\mathbb{C}^d x j ∈ C d and ∥ x j ∥ = 1 \lVert x_j\rVert= 1 ∥ x j ∥ = 1 such that Tr ( ρ ∣ x ⟩ ⟨ x ∣ ) ≥ θ \operatorname{Tr}(\rho|x\rangle\langle x|) \ge\theta Tr ( ρ ∣ x ⟩ ⟨ x ∣ ) ≥ θ , there exists c ∈ C c \in C c ∈ C such that ∣ ⟨ x , c ⟩ ∣ ≥ θ 2 / 64 |\langle x,c\rangle| \ge\theta^2/64 ∣ ⟨ x , c ⟩ ∣ ≥ θ 2 /64 .
LocalSearch
Similarly to Bakshi et al. [4 ] , we use a local search algorithm to build the cover. We use this algorithm both to build the cover and to optimize the final objective once the cover is built.
Definition 6.3 (LocalSearchα , ϵ ( ω , K , a ) _{\alpha,\epsilon}(\omega,K,a) α , ϵ ( ω , K , a ) ). Given m ∈ N m \in\mathbb{N} m ∈ N , α , ϵ > 0 \alpha,\epsilon> 0 α , ϵ > 0 , failure probability δ \delta δ , and ω ∈ D ( ( C q ) ⊗ m ) \omega\in\mathcal{D}((\mathbb{C}^{q})^{\otimes m}) ω ∈ D (( C q ) ⊗ m ) and K = ∑ ℓ ∈ [ T ] c ℓ ( ⨂ j ∈ [ m ] K ℓ , j ) K = \sum_{\ell\in[T]} c_{\ell}(\bigotimes_{j \in[m]} K_{\ell,j}) K = ∑ ℓ ∈ [ T ] c ℓ ( ⨂ j ∈ [ m ] K ℓ , j ) (with K ℓ , j ∈ C q × q K_{\ell,j} \in\mathbb{C}^{q \times q} K ℓ , j ∈ C q × q , Hermitian with ∥ K ℓ , j ∥ ≤ 1 \lVert K_{\ell,j}\rVert\le1 ∥ K ℓ , j ∥ ≤ 1 and c ℓ ∈ R c_{\ell} \in\mathbb{R} c ℓ ∈ R ) and a reference product vector a = ⨂ j ∈ [ m − 1 ] a j a = \bigotimes_{j \in[m-1]}a_j a = ⨂ j ∈ [ m − 1 ] a j (with a j ∈ C q a_j \in\mathbb{C}^{q} a j ∈ C q and ∥ a j ∥ = 1 \lVert a_j\rVert= 1 ∥ a j ∥ = 1 ) LocalSearch returns x ^ = ⨂ j ∈ [ m ] x ^ j \hat{x} = \bigotimes_{j \in[m]}\hat{x}_j x ^ = ⨂ j ∈ [ m ] x ^ j and v ∈ R v \in\mathbb{R} v ∈ R such that with probability 1 − δ 1-\delta 1 − δ the following hold:
If max x ∈ R ( a , α ) Tr ( ( ω − K ) ∣ x ⟩ ⟨ x ∣ ) ≥ ϵ \max_{x \in R(a,\alpha)} \operatorname{Tr}((\omega-K)|x\rangle\langle x|) \ge\epsilon max x ∈ R ( a , α ) Tr (( ω − K ) ∣ x ⟩ ⟨ x ∣ ) ≥ ϵ then
Tr ( ( ω − K ) ∣ x ^ ⟩ ⟨ x ^ ∣ ) ≥ max x ∈ R ( a , α ) Tr ( ( ω − K ) ∣ x ⟩ ⟨ x ∣ ) − ϵ \operatorname{Tr}((\omega-K)|\hat{x}\rangle\langle\hat{x}|) \ge\max_{x \in R(a,\alpha)} \operatorname{Tr}((\omega-K)|x\rangle\langle x|)-\epsilon Tr (( ω − K ) ∣ x ^ ⟩ ⟨ x ^ ∣ ) ≥ x ∈ R ( a , α ) max Tr (( ω − K ) ∣ x ⟩ ⟨ x ∣ ) − ϵ where R ( a , α ) = { x = ⨂ j ∈ [ m ] x j : ∣ ⟨ a , x [ m − 1 ] ⟩ ∣ 2 ≥ α , ∥ x i ∥ = 1 } R(a,\alpha)=\{x=\bigotimes_{j\in[m]}x_j:\lvert\langle a,x_{[m-1]}\rangle\rvert^2\ge\alpha,\lVert x_i\rVert=1\} R ( a , α ) = { x = ⨂ j ∈ [ m ] x j : ∣⟨ a , x [ m − 1 ] ⟩ ∣ 2 ≥ α , ∥ x i ∥ = 1 } ;
and ∣ v − Tr ( ( ω − K ) ∣ x ^ ⟩ ⟨ x ^ ∣ ) ∣ ≤ ϵ \lvert v-\operatorname{Tr}((\omega-K)|\hat{x}\rangle\langle\hat{x}|)\rvert\le\epsilon ∣ v − Tr (( ω − K ) ∣ x ^ ⟩ ⟨ x ^ ∣ )∣ ≤ ϵ .
Then we show that there exists a quantum algorithm which implements it efficiently.
Lemma 6.4. For every δ > 0 \delta> 0 δ > 0 , there exists a quantum algorithm (Algorithm 3) implementing LocalSearchα , ϵ ( ω , K , a ) _{\alpha,\epsilon}(\omega,K,a) α , ϵ ( ω , K , a ) according to Definition 6.3, with failure probability at most δ \delta δ using O ( ( m q ) O ( log ( G / ( α ϵ ) ) ) log ( 1 / δ ) ) O((mq)^{O(\log(G/(\alpha\epsilon)))}\log(1/\delta)) O (( m q ) O ( l o g ( G / ( α ϵ ))) log ( 1/ δ )) copies of ω \omega ω and total running time poly α , ϵ , G ( m , q , T , log ( 1 / δ ) ) \operatorname{poly}_{\alpha,\epsilon,G}(m,q,T,\log(1/\delta)) poly α , ϵ , G ( m , q , T , log ( 1/ δ )) , where G : = 1 + ∑ ℓ = 1 T ∣ c ℓ ∣ G := 1+\sum_{\ell=1}^{T}|c_{\ell}| G := 1 + ∑ ℓ = 1 T ∣ c ℓ ∣ .
The algorithm follows exactly the same template proposed by Bakshi et al. [4 ] extended to C q \mathbb{C}^{q} C q . In particular, the idea is to parameterize the product space around the reference vector, truncate to a low-dimensional subspace, and then perform tomography only on that subspace to obtain a classical representation that can be handled with a classical polynomial optimization algorithm. Indeed, we will assume to have access to an algorithm that performs subspace tomography.
Lemma 6.5 (Subspace Tomography (essentially [4 Lemma 5.9] )). Let ω ∈ D ( ( C q ) ⊗ m ) \omega\in\mathcal{D}((\mathbb{C}^{q})^{\otimes m}) ω ∈ D (( C q ) ⊗ m ) be a quantum state and P P P a known projector on a subspace V V V of dimension D D D given explicitly by its orthonormal product basis, i.e.,
P = ∑ ℓ = 1 D ∣ a ℓ ⟩ ⟨ a ℓ ∣ and V = im ( P ) . P=\sum_{\ell=1}^{D}|a_{\ell}\rangle\langle a_{\ell}|\quad\text{and}\quad V=\operatorname{im}(P). P = ℓ = 1 ∑ D ∣ a ℓ ⟩ ⟨ a ℓ ∣ and V = im ( P ) . For any δ , ϵ > 0 \delta,\epsilon>0 δ , ϵ > 0 there exists an algorithm that with O ( D 2 ϵ − 2 log ( 1 / δ ) ) O(D^{2}\epsilon^{-2}\log(1/\delta)) O ( D 2 ϵ − 2 log ( 1/ δ )) copies of ω \omega ω outputs a classical representation ω ^ \hat{\omega} ω ^ supported on V V V such that with probability at least 1 − δ 1-\delta 1 − δ it holds that ∥ ω ^ − P ω P ∥ ≤ ϵ \lVert\hat{\omega}-P\omega P\rVert\le\epsilon ∥ ω ^ − P ω P ∥ ≤ ϵ . Moreover, the algorithm runs in time poly ( m , q , D , ϵ − 1 , log 1 / δ ) \operatorname{poly}(m,q,D,\epsilon^{-1},\log1/\delta) poly ( m , q , D , ϵ − 1 , log 1/ δ ) .
Moreover, we assume access to a classical polynomial optimization subroutine that lets us optimize tensor polynomials of fixed degree (multiplied by the exponential of the negative of a convex function) over convex sets.
Lemma 6.6 (Polynomial Optimization (essentially [4 Section 6] )). Let E E E be a finite-dimensional real Hilbert space of dimension n n n and let K ⊂ B E \mathcal{K}\subset B_E K ⊂ B E be compact and convex. Let
p ( y ) = ∑ j = 0 D ⟨ T j , y ⊗ j ⟩ p(y)=\sum_{j=0}^{D}\langle T_j,y^{\otimes j}\rangle p ( y ) = j = 0 ∑ D ⟨ T j , y ⊗ j ⟩
Algorithm 3 LocalSearchα , ϵ ( ω , K , a ) _{\alpha,\epsilon}(\omega, K, a) α , ϵ ( ω , K , a )
Require:
• Copies of ω ∈ D ( ( C q ) ⊗ m ) \omega\in\mathcal{D}((\mathbb{C}^{q})^{\otimes m}) ω ∈ D (( C q ) ⊗ m ) ; • An explicitly given K = ∑ ℓ = 1 T c ℓ ⨂ i ∈ [ m ] K ℓ , i K=\sum_{\ell=1}^{T}c_{\ell}\bigotimes_{i\in[m]}K_{\ell,i} K = ∑ ℓ = 1 T c ℓ ⨂ i ∈ [ m ] K ℓ , i ; • A reference product vector a = ⨂ j ∈ [ m − 1 ] a j a=\bigotimes_{j\in[m-1]}a_j a = ⨂ j ∈ [ m − 1 ] a j , with ∥ a j ∥ = 1 \lVert a_j\rVert=1 ∥ a j ∥ = 1 ; • parameters α , ϵ \alpha,\epsilon α , ϵ .
h ← 4 e log ( 32 ( 1 + ∑ ℓ = 1 T ∣ c ℓ ∣ ) / ( α ϵ ) ) h\leftarrow4e\log(32(1+\sum_{\ell=1}^{T}|c_{\ell}|)/(\alpha\epsilon)) h ← 4 e log ( 32 ( 1 + ∑ ℓ = 1 T ∣ c ℓ ∣ ) / ( α ϵ ))
Initialize a list L = { a ⊗ b } \mathcal{L}=\{a\otimes b\} L = { a ⊗ b } where b ∈ C q b\in\mathbb{C}^{q} b ∈ C q is any unit vector.
for all S ⊆ [ m − 1 ] S\subseteq[m-1] S ⊆ [ m − 1 ] with ∣ S ∣ ≤ 2 log ( 1 / α ) |S|\leq2\log(1/\alpha) ∣ S ∣ ≤ 2 log ( 1/ α ) do
Let P S P_S P S be the projection onto the subspace V S h \mathcal{V}^{h}_{S} V S h
Perform subspace tomography of ω \omega ω onto V S h \mathcal{V}^{h}_{S} V S h and obtain ω ^ \widehat{\omega} ω ▹ Subspace Tomography
H S : = ω ^ − P S K P S H_S:=\widehat{\omega}-P_SKP_S H S := ω − P S K P S .
For ( z , u ) ∈ K S (z,u)\in\mathcal{K}_S ( z , u ) ∈ K S define F S F_S F S according to (9)
Approximately maximize F S F_S F S over ( z , u ) ∈ K S (z,u)\in\mathcal{K}_S ( z , u ) ∈ K S , obtaining ( z ^ , u ^ ) (\widehat{z},\widehat{u}) ( z , u ) ▹ Polynomial Optimization
if F S ( z ^ , u ^ ) ≥ ϵ / 2 F_S(\widehat{z},\widehat{u})\geq\epsilon/2 F S ( z , u ) ≥ ϵ /2 then
Define the normalized product vector x x x by
x i : = a i + z ^ i 1 + ∥ z ^ i ∥ 2 2 ( i ∈ [ m − 1 ] ∖ S ) , and x i : = u ^ i ∥ u ^ i ∥ 2 ( i ∈ S ∪ { m } ) . x_i:=\frac{a_i+\widehat{z}_i}{\sqrt{1+\lVert\widehat{z}_i\rVert_2^2}}\quad(i\in[m-1]\setminus S),\qquad\text{and}\qquad x_i:=\frac{\widehat{u}_i}{\lVert\widehat{u}_i\rVert_2}\quad(i\in S\cup\{m\}). x i := 1 + ∥ z i ∥ 2 2 a i + z i ( i ∈ [ m − 1 ] ∖ S ) , and x i := ∥ u i ∥ 2 u i ( i ∈ S ∪ { m }) .
L ← L ∪ { x } \mathcal{L}\leftarrow\mathcal{L}\cup\{x\} L ← L ∪ { x }
Estimate Tr ( ( ω − K ) ∣ x ⟩ ⟨ x ∣ ) \operatorname{Tr}((\omega-K)|x\rangle\langle x|) Tr (( ω − K ) ∣ x ⟩ ⟨ x ∣ ) up to accuracy ϵ / 4 \epsilon/4 ϵ /4 for every x ∈ L x\in\mathcal{L} x ∈ L .
return the x x x with the largest estimated value together with its estimate over all x ∈ L x\in\mathcal{L} x ∈ L .
and ∑ j = 0 D ∥ T j ∥ ≤ 1 \sum_{j=0}^{D}\lVert T_j\rVert\leq1 ∑ j = 0 D ∥ T j ∥ ≤ 1 , and ϕ : K → [ 0 , ∞ ) \phi:\mathcal{K}\to[0,\infty) ϕ : K → [ 0 , ∞ ) be convex and continuous. For every ϵ > 0 \epsilon>0 ϵ > 0 there exists an algorithm which returns y ^ ∈ K \widehat{y}\in\mathcal{K} y ∈ K such that, if Opt = max y ∈ K e − ϕ ( y ) p ( y ) ≥ ϵ \operatorname{Opt}=\max_{y\in\mathcal{K}}e^{-\phi(y)}p(y)\geq\epsilon Opt = max y ∈ K e − ϕ ( y ) p ( y ) ≥ ϵ then
e − ϕ ( y ^ ) p ( y ^ ) ≥ Opt − ϵ . e^{-\phi(\widehat{y})}p(\widehat{y})\geq\operatorname{Opt}-\epsilon. e − ϕ ( y ) p ( y ) ≥ Opt − ϵ .
The algorithm runs in time poly D , ϵ ( n ) \operatorname{poly}_{D,\epsilon}(n) poly D , ϵ ( n ) .
More formally, in LocalSearch we are given a reference product vector a a a , a state ω \omega ω through copies, and a classically described sum of product operators K K K , and we want to maximize
x ↦ Tr ( ( ω − K ) ∣ x ⟩ ⟨ x ∣ ) x\mapsto\operatorname{Tr}((\omega-K)|x\rangle\langle x|) x ↦ Tr (( ω − K ) ∣ x ⟩ ⟨ x ∣ )
over the set
R ( a , α ) = { x = ⨂ j ∈ [ m ] x j : ∣ ⟨ a , x [ m − 1 ] ⟩ ∣ 2 ≥ α , ∥ x i ∥ = 1 } . R(a,\alpha)=\{x=\bigotimes_{j\in[m]}x_j:|\langle a,x_{[m-1]}\rangle|^2\geq\alpha,\ \lVert x_i\rVert=1\}. R ( a , α ) = { x = j ∈ [ m ] ⨂ x j : ∣ ⟨ a , x [ m − 1 ] ⟩ ∣ 2 ≥ α , ∥ x i ∥ = 1 } .
The crucial fact is that even if x x x differs from a a a in all coordinates, the deviation is bounded independently of m m m . Indeed, we can write any x x x as the product of
x i = a i + z i 1 + ∥ z i ∥ 2 , with z i ∈ a i ⊥ , (8) x_i=\frac{a_i+z_i}{\sqrt{1+\lVert z_i\rVert^2}},\qquad\text{with }z_i\in a_i^\perp, \tag*{(8)} x i = 1 + ∥ z i ∥ 2 a i + z i , with z i ∈ a i ⊥ , (8)
and thus ∣ ⟨ a , x [ m − 1 ] ⟩ ∣ 2 = ∏ i < m 1 1 + ∥ z i ∥ 2 |\langle a,x_{[m-1]}\rangle|^2=\prod_{i<m}\frac{1}{1+\lVert z_i\rVert^2} ∣ ⟨ a , x [ m − 1 ] ⟩ ∣ 2 = ∏ i < m 1 + ∥ z i ∥ 2 1 . Since x ∈ R ( a , α ) x\in R(a,\alpha) x ∈ R ( a , α ) , defining S ⊆ [ m − 1 ] S\subseteq[m-1] S ⊆ [ m − 1 ] as the sites at which ∥ z i ∥ ≥ 1 \lVert z_i\rVert\geq1 ∥ z i ∥ ≥ 1 gives
∑ i ∈ [ m − 1 ] ∖ S ∥ z i ∥ 2 ≤ 2 ∑ i < m log ( 1 + ∥ z i ∥ 2 ) ≤ 2 log ( 1 / α ) . \sum_{i\in[m-1]\setminus S}\lVert z_i\rVert^2\leq2\sum_{i<m}\log(1+\lVert z_i\rVert^2)\leq2\log(1/\alpha). i ∈ [ m − 1 ] ∖ S ∑ ∥ z i ∥ 2 ≤ 2 i < m ∑ log ( 1 + ∥ z i ∥ 2 ) ≤ 2 log ( 1/ α ) .
which in turn implies that only few i i i ’s (i.e., at most O ( log ( 1 / α ) ) O(\log(1/\alpha)) O ( log ( 1/ α )) ) can have large (e.g., greater than 1) orthogonal weight ∥ z i ∥ 2 \lVert z_i\rVert^2 ∥ z i ∥ 2 .
This motivates the entire algorithmic template. Indeed, we can first guess a set S S S of cardinality O ( log ( 1 / α ) ) O(\log(1/\alpha)) O ( log ( 1/ α )) and consider the convex set K S ⊂ ( C q ) m K_S \subset(\mathbb{C}^q)^m K S ⊂ ( C q ) m of parameters
K S = { ( z , u ) : z i ∈ a i ⊥ , ∥ z i ∥ ≤ 1 , ∀ i ∈ [ m − 1 ] ∖ S , ∑ i ∈ [ m − 1 ] ∖ S ∥ z i ∥ 2 ≤ 2 log ( 1 α ) , ∥ u i ∥ ≤ 1 , ∀ i ∈ S ∪ { m } } . K_S = \left\{(z,u): z_i \in a_i^\perp,\ \lVert z_i\rVert\le1,\ \forall i \in[m-1]\setminus S,\ \sum_{i\in[m-1]\setminus S}\lVert z_i\rVert^2 \le2\log\left(\frac{1}{\alpha}\right),\ \lVert u_i\rVert\le1,\ \forall i \in S\cup\{m\}\right\}. K S = ⎩ ⎨ ⎧ ( z , u ) : z i ∈ a i ⊥ , ∥ z i ∥ ≤ 1 , ∀ i ∈ [ m − 1 ] ∖ S , i ∈ [ m − 1 ] ∖ S ∑ ∥ z i ∥ 2 ≤ 2 log ( α 1 ) , ∥ u i ∥ ≤ 1 , ∀ i ∈ S ∪ { m } ⎭ ⎬ ⎫ .
The property we actually need is that each x ∈ R ( a , α ) x \in R(a,\alpha) x ∈ R ( a , α ) is represented by some ( z , u ) ∈ K S (z,u) \in K_S ( z , u ) ∈ K S for the appropriate S ⊆ [ m − 1 ] S \subseteq[m-1] S ⊆ [ m − 1 ] .
Moreover, for a guess S S S , the bound ∑ i ∈ [ m − 1 ] ∖ S ∥ z i ∥ 2 ≤ O ( log ( 1 / α ) ) \sum_{i\in[m-1]\setminus S}\lVert z_i\rVert^2 \le O(\log(1/\alpha)) ∑ i ∈ [ m − 1 ] ∖ S ∥ z i ∥ 2 ≤ O ( log ( 1/ α )) implies that most of its mass is in the subspace V S h V_S^h V S h defined as the subspace in which there are at most h h h sites significantly away from the reference direction a i a_i a i :
V S h : = ⨁ R ⊆ [ m − 1 ] ∖ S ∣ R ∣ ≤ h ( ⨂ i ∈ ( [ m − 1 ] ∖ S ) ∖ R Span ( a i ) ⊗ ⨂ i ∈ R a i ⊥ ⊗ ⨂ i ∈ S ∪ { m } C q ) , V_S^h := \bigoplus_{\substack{R\subseteq[m-1]\setminus S\\ \lvert R\rvert\le h}}\left(\bigotimes_{i\in([m-1]\setminus S)\setminus R}\operatorname{Span}(a_i)\otimes\bigotimes_{i\in R}a_i^\perp\otimes\bigotimes_{i\in S\cup\{m\}}\mathbb{C}^q\right), V S h := R ⊆ [ m − 1 ] ∖ S ∣ R ∣ ≤ h ⨁ i ∈ ([ m − 1 ] ∖ S ) ∖ R ⨂ Span ( a i ) ⊗ i ∈ R ⨂ a i ⊥ ⊗ i ∈ S ∪ { m } ⨂ C q ,
and let P S P_S P S be the orthogonal projection over this subspace.
Indeed for an x x x parametrized as in Equation (8) by parameters z i z_i z i , satisfying the bound ∑ i ∈ [ m − 1 ] ∖ S ∥ z i ∥ 2 = O ( log ( 1 / α ) ) \sum_{i\in[m-1]\setminus S}\lVert z_i\rVert^2 = O(\log(1/\alpha)) ∑ i ∈ [ m − 1 ] ∖ S ∥ z i ∥ 2 = O ( log ( 1/ α )) , the projection P S P_S P S keeps only the terms with ∣ R ∣ ≤ h \lvert R\rvert\le h ∣ R ∣ ≤ h , and we can show that (for suitable choice of h h h ):
∥ ( I − P S ) x ∥ 2 ≤ 2 − h ≤ O ( ϵ 2 ∥ ω − K ∥ o p 2 ) . \lVert(I-P_S)x\rVert^2 \le2^{-h} \le O\left(\frac{\epsilon^2}{\lVert\omega-K\rVert_{\mathrm{op}}^2}\right). ∥( I − P S ) x ∥ 2 ≤ 2 − h ≤ O ( ∥ ω − K ∥ op 2 ϵ 2 ) .
This means that instead of performing tomography of ω \omega ω on the entire space, we can perform subspace tomography only on V S h V_S^h V S h , since dim ( V S h ) = poly ( m q ) \dim(V_S^h)=\operatorname{poly}(mq) dim ( V S h ) = poly ( m q ) , when all approximations are O ( 1 ) O(1) O ( 1 ) . We want to approximately maximize x ↦ Tr ( H S ∣ P S x ⟩ ⟨ P S x ∣ ) x\mapsto\operatorname{Tr}(H_S\lvert P_Sx\rangle\langle P_Sx\rvert) x ↦ Tr ( H S ∣ P S x ⟩ ⟨ P S x ∣) by exploiting the representation Equation (8) . For a fixed S S S and ( z , u ) ∈ K S (z,u)\in K_S ( z , u ) ∈ K S we define the function
F S ( z , u ) = e − Φ ( z ) Tr ( H S ∣ w S ( z , u ) ⟩ ⟨ w S ( z , u ) ∣ ) , (9) F_S(z,u)=e^{-\Phi(z)}\operatorname{Tr}(H_S\lvert w_S(z,u)\rangle\langle w_S(z,u)\rvert), \tag*{(9)} F S ( z , u ) = e − Φ ( z ) Tr ( H S ∣ w S ( z , u )⟩ ⟨ w S ( z , u )∣) , (9)
where w S ( z , u ) = P S [ ⨂ i ∈ [ m − 1 ] ∖ S ( a i + z i ) ⊗ ⨂ i ∈ S ∪ { m } u i ] w_S(z,u)=P_S\left[\bigotimes_{i\in[m-1]\setminus S}(a_i+z_i)\otimes\bigotimes_{i\in S\cup\{m\}}u_i\right] w S ( z , u ) = P S [ ⨂ i ∈ [ m − 1 ] ∖ S ( a i + z i ) ⊗ ⨂ i ∈ S ∪ { m } u i ] is the unnormalized vector, and Φ ( z ) = ∑ i ∈ [ m − 1 ] ∖ S log ( 1 + ∥ z i ∥ 2 ) \Phi(z)=\sum_{i\in[m-1]\setminus S}\log(1+\lVert z_i\rVert^2) Φ ( z ) = ∑ i ∈ [ m − 1 ] ∖ S log ( 1 + ∥ z i ∥ 2 ) accounts for the normalization.
Overlap Product Cover
For any ρ ∈ D ( ( C d ) ⊗ k ) \rho\in\mathcal{D}((\mathbb{C}^d)^{\otimes k}) ρ ∈ D (( C d ) ⊗ k ) , Algorithm 4 will use as a subroutine LocalSearch to build a θ \theta θ -overlap product cover as per Definition 6.2.
Using LocalSearch to build a θ \theta θ -overlap cover is natural. The algorithm will build a cover C j C_j C j for every factor j j j for the j j j -partite marginal ρ [ j ] : = Tr { j + 1 , … , k } ( ρ ) \rho^{[j]}:=\operatorname{Tr}_{\{j+1,\ldots,k\}}(\rho) ρ [ j ] := Tr { j + 1 , … , k } ( ρ ) . It will naturally use the fact that LocalSearch also uses an explicitly given separable K K K to regularize the search by turning the constraint of adding new elements to the cover with small overlap with existing ones into a Lagrangian term (φ j \varphi_j φ j in Algorithm 4).
Lemma 6.7. Given θ > 0 \theta>0 θ > 0 , and ρ ∈ D ( ( C d ) ⊗ k ) \rho\in\mathcal{D}((\mathbb{C}^d)^{\otimes k}) ρ ∈ D (( C d ) ⊗ k ) supplied by copies, Algorithm 4 returns a θ \theta θ -overlap cover for ρ \rho ρ with probability at least 1 − O ( k δ / θ 2 ) 1-O(k\delta/\theta^2) 1 − O ( k δ / θ 2 ) using at most O θ ( poly ( k d ) log 1 / δ ) O_\theta(\operatorname{poly}(kd)\log1/\delta) O θ ( poly ( k d ) log 1/ δ ) copies and time.
Algorithm 4 Cover(ρ \rho ρ ; θ \theta θ )
Require: Copies of ρ ∈ D ( ( C d ) ⊗ k ) \rho\in\mathcal{D}((\mathbb{C}^{d})^{\otimes k}) ρ ∈ D (( C d ) ⊗ k ) , θ > 0 \theta> 0 θ > 0 and LocalSearch oracle
C 0 ← { 1 } C_0 \leftarrow\{1\} C 0 ← { 1 }
for j = 1 , … , k j = 1,\ldots,k j = 1 , … , k do
If C j − 1 = ∅ C_{j-1} = \varnothing C j − 1 = ∅ return ∅ \varnothing ∅
C j ← ∅ C_j \leftarrow\varnothing C j ← ∅
S t o p ← f a l s e \mathit{Stop} \leftarrow\mathit{false} Stop ← false and t = 1 t = 1 t = 1
while t ≤ 8 / θ t \le8/\theta t ≤ 8/ θ and S t o p = f a l s e \mathit{Stop} = \mathit{false} Stop = false do ▷ Inner Loop
t ← t + 1 t \leftarrow t + 1 t ← t + 1
φ j ← λ ∑ c ∈ C j ∣ c ⟩ ⟨ c ∣ \varphi_j \leftarrow\lambda\sum_{c\in C_j} |c\rangle\langle c| φ j ← λ ∑ c ∈ C j ∣ c ⟩ ⟨ c ∣ with λ = ( 8 / θ ) 2 \lambda= (8/\theta)^2 λ = ( 8/ θ ) 2
for all a ∈ C j − 1 a \in C_{j-1} a ∈ C j − 1 do
Run LocalSearch α , θ / 16 ( ρ [ j ] , φ j , a ) \operatorname{LocalSearch}_{\alpha,\theta/16}(\rho^{[j]},\varphi_j,a) LocalSearch α , θ /16 ( ρ [ j ] , φ j , a ) which returns value v a v_a v a and solution x ^ a \hat{x}_a x ^ a with α = ( θ / 8 ) 4 \alpha= (\theta/8)^4 α = ( θ /8 ) 4
if max a ∈ C j − 1 v a ≥ 3 4 θ \max_{a\in C_{j-1}} v_a \ge\frac{3}{4}\theta max a ∈ C j − 1 v a ≥ 4 3 θ then
C j ← C j ∪ { x ^ a ^ } C_j \leftarrow C_j \cup\{\hat{x}_{\hat{a}}\} C j ← C j ∪ { x ^ a ^ } where a ^ ∈ arg max a ∈ C j − 1 v a \hat{a} \in\arg\max_{a\in C_{j-1}} v_a a ^ ∈ arg max a ∈ C j − 1 v a
else
S t o p ← t r u e \mathit{Stop} \leftarrow\mathit{true} Stop ← true
return C k C_k C k
Algorithm 5 Product-State Optimization
Require: Copies of ρ ∈ D ( ( C d ) ⊗ k ) \rho\in\mathcal{D}((\mathbb{C}^{d})^{\otimes k}) ρ ∈ D (( C d ) ⊗ k ) and σ = ∑ ℓ ∈ [ T ] w ℓ ( σ ℓ , 1 ⊗ ⋯ ⊗ σ ℓ , k ) \sigma= \sum_{\ell\in[T]} w_\ell(\sigma_{\ell,1}\otimes\cdots\otimes\sigma_{\ell,k}) σ = ∑ ℓ ∈ [ T ] w ℓ ( σ ℓ , 1 ⊗ ⋯ ⊗ σ ℓ , k ) , δ , η > 0 \delta,\eta> 0 δ , η > 0
Compute a θ / 2 \theta/2 θ /2 -cover C C C for ρ \rho ρ , with θ = min { η 2 / 8 , 1 } \theta= \min\{\eta^2/8,1\} θ = min { η 2 /8 , 1 }
for all c = ⨂ j ∈ [ k ] c j ∈ C c = \bigotimes_{j\in[k]}c_j \in C c = ⨂ j ∈ [ k ] c j ∈ C do
( x ^ c , v c ) ← LocalSearch α , ϵ ( ρ , σ , c [ k − 1 ] ) (\hat{x}_c,v_c) \leftarrow\operatorname{LocalSearch}_{\alpha,\epsilon}(\rho,\sigma,c_{[k-1]}) ( x ^ c , v c ) ← LocalSearch α , ϵ ( ρ , σ , c [ k − 1 ] ) where α = ( θ / 16 ) 4 \alpha= (\theta/16)^4 α = ( θ /16 ) 4 and ϵ = θ / 16 \epsilon= \theta/16 ϵ = θ /16
Record x ^ = x ^ c \hat{x} = \hat{x}_c x ^ = x ^ c associated with the largest v ^ = v c \hat{v} = v_c v ^ = v c
for t = 1 , … , O ( 1 / θ log 1 / δ ) t = 1,\ldots,O(1/\theta\log1/\delta) t = 1 , … , O ( 1/ θ log 1/ δ ) do
Draw b b b uniformly from a product basis of ( C d ) ⊗ k (\mathbb{C}^{d})^{\otimes k} ( C d ) ⊗ k .
Estimate v b = Tr ( ( ρ − σ ) ∣ b ⟩ ⟨ b ∣ ) v_b = \operatorname{Tr}((\rho-\sigma)|b\rangle\langle b|) v b = Tr (( ρ − σ ) ∣ b ⟩ ⟨ b ∣ ) using N = O ( log ( 1 / δ ) / η 4 ) N = O(\log(1/\delta)/\eta^4) N = O ( log ( 1/ δ ) / η 4 ) copies of ρ \rho ρ .
return arg max b v b \arg\max_b v_b arg max b v b or x ^ \hat{x} x ^ if v ^ ≥ max b v b \hat{v}\ge\max_b v_b v ^ ≥ max b v b
Proof of th:mainfromBak
In this section we provide a proof of Theorem 6.1 that uses Algorithm 4 to build a cover and LocalSearch oracle to optimize once the cover is obtained. The only delicate part is that LocalSearch works only when the optimum exceeds a threshold. To handle the case where the optimum is close to zero, we use a probabilistic argument to show that a random pure product state is not too negative.
Proof of Theorem 6.1. Let Opt = max x 1 , … , x k ∈ C q : ∥ x i ∥ = 1 Tr [ ( ρ − σ ) ⨂ i ∈ [ k ] ∣ x i ⟩ ⟨ x i ∣ ] \operatorname{Opt}=\max_{x_1,\ldots,x_k\in\mathbb{C}^q:\|x_i\|=1}\operatorname{Tr}\left[(\rho-\sigma)\bigotimes_{i\in[k]}|x_i\rangle\langle x_i|\right] Opt = max x 1 , … , x k ∈ C q : ∥ x i ∥ = 1 Tr [ ( ρ − σ ) ⨂ i ∈ [ k ] ∣ x i ⟩ ⟨ x i ∣ ] . We are going to divide the proof into two cases.
Case I: Opt ≥ θ / 2 \operatorname{Opt}\ge\theta/2 Opt ≥ θ /2 . Let x ∗ = ⨂ j ∈ [ k ] x j ∗ x^*=\bigotimes_{j\in[k]}x_j^* x ∗ = ⨂ j ∈ [ k ] x j ∗ be a global optimizer. Since Opt ≥ θ / 2 \operatorname{Opt}\ge\theta/2 Opt ≥ θ /2 we have that
Tr ( ρ ∣ x ∗ ⟩ ⟨ x ∗ ∣ ) = Opt + Tr ( σ ∣ x ∗ ⟩ ⟨ x ∗ ∣ ) ≥ θ 2 . \operatorname{Tr}(\rho|x^*\rangle\langle x^*|)=\operatorname{Opt}+\operatorname{Tr}(\sigma|x^*\rangle\langle x^*|)\ge\frac{\theta}{2}. Tr ( ρ ∣ x ∗ ⟩ ⟨ x ∗ ∣ ) = Opt + Tr ( σ ∣ x ∗ ⟩ ⟨ x ∗ ∣ ) ≥ 2 θ .
Therefore, the guarantees of the cover apply, and there exists a c ∈ C c\in C c ∈ C such that ∣ ⟨ c , x ∗ ⟩ ∣ 2 ≥ α |\langle c,x^*\rangle|^2\ge\alpha ∣ ⟨ c , x ∗ ⟩ ∣ 2 ≥ α , which implies that ∣ ⟨ c [ k − 1 ] , x [ k − 1 ] ∗ ⟩ ∣ 2 ≥ α |\langle c_{[k-1]},x^*_{[k-1]}\rangle|^2\ge\alpha ∣ ⟨ c [ k − 1 ] , x [ k − 1 ] ∗ ⟩ ∣ 2 ≥ α and x k ∗ ∈ R ( c [ k − 1 ] , α ) x_k^*\in R(c_{[k-1]},\alpha) x k ∗ ∈ R ( c [ k − 1 ] , α ) . When LocalSearch is called on such c [ k − 1 ] c_{[k-1]} c [ k − 1 ] , we are guaranteed that it will output a x ^ c \hat{x}_c x ^ c with estimated value v c v_c v c at least Opt − 2 ϵ \operatorname{Opt}-2\epsilon Opt − 2 ϵ .
Case II: Opt < θ / 2 < \theta/2 < θ /2 . In this regime a trivial application of Markov’s inequality proves that a random basis vector gives a value which is approximately zero and thus O ( θ ) O(\theta) O ( θ ) approximation of the optimum.
Observe that Tr ( ρ ) = Tr ( σ ) = 1 \operatorname{Tr}(\rho)=\operatorname{Tr}(\sigma)=1 Tr ( ρ ) = Tr ( σ ) = 1 . Let b = i 1 ⊗ ⋯ ⊗ i k b=i_1\otimes\cdots\otimes i_k b = i 1 ⊗ ⋯ ⊗ i k be a uniform product basis, i.e., each i j i_j i j is uniform and independent in [ d ] [d] [ d ] . Thus E b [ ∣ b ⟩ ⟨ b ∣ ] = 1 d k ∑ i 1 , … , i k ∣ i 1 , … , i k ⟩ ⟨ i 1 , … , i k ∣ = I d k \mathbb{E}_b[|b\rangle\langle b|]=\frac{1}{d^k}\sum_{i_1,\ldots,i_k}|i_1,\ldots,i_k\rangle\langle i_1,\ldots,i_k|=\frac{I}{d^k} E b [ ∣ b ⟩ ⟨ b ∣ ] = d k 1 ∑ i 1 , … , i k ∣ i 1 , … , i k ⟩ ⟨ i 1 , … , i k ∣ = d k I and
E b [ Tr ( ( ρ − σ ) ∣ b ⟩ ⟨ b ∣ ) ] = 1 d k Tr ( ρ − σ ) = 0 , \mathbb{E}_b[\operatorname{Tr}((\rho-\sigma)|b\rangle\langle b|)]=\frac{1}{d^k}\operatorname{Tr}(\rho-\sigma)=0, E b [ Tr (( ρ − σ ) ∣ b ⟩ ⟨ b ∣ )] = d k 1 Tr ( ρ − σ ) = 0 ,
and Tr ( ( ρ − σ ) ∣ b ⟩ ⟨ b ∣ ) ∈ [ − 1 , 1 ] \operatorname{Tr}((\rho-\sigma)|b\rangle\langle b|)\in[-1,1] Tr (( ρ − σ ) ∣ b ⟩ ⟨ b ∣ ) ∈ [ − 1 , 1 ] a.s.. Thus, by Markov’s inequality, we obtain
P [ Tr ( ( ρ − σ ) ∣ b ⟩ ⟨ b ∣ ) ≥ − θ 2 ] ≥ θ 2 + θ ≥ θ 4 . \mathbb{P}\left[\operatorname{Tr}((\rho-\sigma)|b\rangle\langle b|)\geq-\frac{\theta}{2}\right]\geq\frac{\theta}{2+\theta}\geq\frac{\theta}{4}. P [ Tr (( ρ − σ ) ∣ b ⟩ ⟨ b ∣ ) ≥ − 2 θ ] ≥ 2 + θ θ ≥ 4 θ .
Therefore, after O ( 1 / θ log 1 / δ ) O(1/\theta\log1/\delta) O ( 1/ θ log 1/ δ ) draws of such b b b , we have that at least one has value at least − θ 2 -\frac{\theta}{2} − 2 θ with probability at least 1 − δ 1-\delta 1 − δ , which is an O ( θ ) = O ( η 2 ) O(\theta)=O(\eta^2) O ( θ ) = O ( η 2 ) approximation of the optimum in this regime. □
From Optimization to Membership
A simple consequence of Theorem 6.1 (similarly to what we did in Part I) is that we can use the specific structure of that linear optimization oracle to solve a weak membership problem. This is why we assume the state σ \sigma σ is given classically as a small-rank tensor, as it is the state updated by the Frank-Wolfe machinery.
Theorem 6.8. For every η > 0 \eta>0 η > 0 there is a quantum algorithm which, given copies of a state ρ ∈ D ( ( C q ) ⊗ k ) \rho\in\mathcal{D}((\mathbb{C}^q)^{\otimes k}) ρ ∈ D (( C q ) ⊗ k ) , decides if
ρ ∈ Sep ( q , k ) , or dist ( ρ , Sep ( q , k ) ) ≥ η , \rho\in\operatorname{Sep}(q,k),\quad\text{or}\quad\operatorname{dist}(\rho,\operatorname{Sep}(q,k))\geq\eta, ρ ∈ Sep ( q , k ) , or dist ( ρ , Sep ( q , k )) ≥ η , with probability of error at most 1 / 3 1/3 1/3 , using ( k q ) O η ( 1 ) (kq)^{O_\eta(1)} ( k q ) O η ( 1 ) time and copies of ρ \rho ρ .
Proof. We proceed exactly as in the proof of Theorem 5.4 , applying Frank-Wolfe to F ( σ ) = 1 2 ∥ ρ − σ ∥ 2 F(\sigma)=\frac{1}{2}\lVert\rho-\sigma\rVert^2 F ( σ ) = 2 1 ∥ ρ − σ ∥ 2 with σ ∈ Sep ( q , k ) \sigma\in\operatorname{Sep}(q,k) σ ∈ Sep ( q , k ) . At every iteration, the required linear optimization oracle is
max π ∈ Sep ( q , k ) Tr ( ( ρ − σ ) π ) , \max_{\pi\in\operatorname{Sep}(q,k)}\operatorname{Tr}((\rho-\sigma)\pi), π ∈ Sep ( q , k ) max Tr (( ρ − σ ) π ) ,
which by linearity is attained at a pure product state and can therefore be approximated to additive accuracy O ( η 2 ) O(\eta^2) O ( η 2 ) by Theorem 6.1 . After O ( η − 2 ) O(\eta^{-2}) O ( η − 2 ) iterations, and estimating the final value of F F F to additive accuracy O ( η 2 ) O(\eta^2) O ( η 2 ) , the two promised cases are separated. The claimed time and copy bounds follow from Theorem 6.1 . □
Dimensionality Reduction
In this section, we prove the following reduction from k k k -partite Frobenius weak separability in arbitrary local dimension d d d to local dimension O ( k 2 ) O(k^2) O ( k 2 ) , with the dimension d d d only appearing in the time complexity, which is increased by a polynomial in O ( log d ) O(\log d) O ( log d ) , while all other measures are kept polynomial.
Theorem 7.1 (Dimensionality Reduction). For all η > 0 \eta> 0 η > 0 , let q = O ( k 2 / η 4 ) q = O(k^2/\eta^4) q = O ( k 2 / η 4 ) with q ≤ d q \le d q ≤ d . Suppose we have a quantum algorithm, with access to N N N copies of σ ∈ D ( ( C q ) ⊗ k ) \sigma\in\mathcal{D}((\mathbb{C}^q)^{\otimes k}) σ ∈ D (( C q ) ⊗ k ) , that uses time T T T to distinguish
σ ∈ Sep ( q , k ) from dist ( σ , Sep ( q , k ) ) ≥ η 2 \sigma\in\operatorname{Sep}(q,k) \qquad\text{from} \qquad\operatorname{dist}(\sigma,\operatorname{Sep}(q,k)) \ge\frac{\eta}{2} σ ∈ Sep ( q , k ) from dist ( σ , Sep ( q , k )) ≥ 2 η with probability of mistake at most 1 / 10 1/10 1/10 . Then, given copies of ρ ∈ D ( ( C d ) ⊗ k ) \rho\in\mathcal{D}((\mathbb{C}^d)^{\otimes k}) ρ ∈ D (( C d ) ⊗ k ) , one can distinguish
ρ ∈ Sep ( d , k ) from dist ( ρ , Sep ( d , k ) ) ≥ η \rho\in\operatorname{Sep}(d,k) \qquad\text{from} \qquad\operatorname{dist}(\rho,\operatorname{Sep}(d,k)) \ge\eta ρ ∈ Sep ( d , k ) from dist ( ρ , Sep ( d , k )) ≥ η with error at most 1 / 3 1/3 1/3 , using poly ( k , N , η − 1 ) \operatorname{poly}(k,N,\eta^{-1}) poly ( k , N , η − 1 ) copies and time T + poly ( k , N , η − 1 , log d ) T + \operatorname{poly}(k,N,\eta^{-1},\log d) T + poly ( k , N , η − 1 , log d ) .
As a corollary of this black-box reduction, together with Theorem 6.8 , we obtain the following theorem on the sample complexity of weak membership.
Theorem 7.2. For every η > 0 \eta> 0 η > 0 , there is a quantum algorithm that, given copies of an unknown state ρ ∈ D ( ( C d ) ⊗ k ) \rho\in\mathcal{D}((\mathbb{C}^d)^{\otimes k}) ρ ∈ D (( C d ) ⊗ k ) , distinguishes between
ρ ∈ Sep ( d , k ) and dist ( ρ , Sep ( d , k ) ) ≥ η , \rho\in\operatorname{Sep}(d,k) \qquad\text{and} \qquad\operatorname{dist}(\rho,\operatorname{Sep}(d,k)) \ge\eta, ρ ∈ Sep ( d , k ) and dist ( ρ , Sep ( d , k )) ≥ η , with probability of error at most 1 / 3 1/3 1/3 , using k O η ( 1 ) k^{O_\eta(1)} k O η ( 1 ) copies of ρ \rho ρ and total time ( k log d ) O η ( 1 ) (k\log d)^{O_\eta(1)} ( k log d ) O η ( 1 ) .
Theorem 7.1 asks us to turn a k k k -partite state ρ \rho ρ with local dimension d d d into a state with local dimension q = O η ( k 2 ) q = O_\eta(k^2) q = O η ( k 2 ) by paying only poly log d \operatorname{poly}\log d poly log d time. Intuitively, Part I shows that this is possible by retaining only the large singular values of the tensor, but doing this requires polynomial time in the dimension of the state. The idea of this section is to learn such a decomposition without ever recording a classical description. Much of the technical difficulty is in implementing this procedure with a quantum algorithm. However, it is instructive to momentarily disregard the implementation details and to focus on the high-level idea of the reduction. The complete algorithm can be found in Algorithm 6.
For each factor j ∈ [ k ] j \in[k] j ∈ [ k ] , define the “local Frobenius-mass” A j = Tr − j ( ρ 2 ) A_j = \operatorname{Tr}_{-j}(\rho^2) A j = Tr − j ( ρ 2 ) (here Tr − j = Tr [ k ] ∖ { j } \operatorname{Tr}_{-j} = \operatorname{Tr}_{[k]\setminus\{j\}} Tr − j = Tr [ k ] ∖ { j } ). Note that A j ⪰ 0 A_j \succeq0 A j ⪰ 0 and Tr ( A j ) = Tr ( ρ 2 ) ≤ 1 \operatorname{Tr}(A_j) = \operatorname{Tr}(\rho^2) \le1 Tr ( A j ) = Tr ( ρ 2 ) ≤ 1 . Then, for any a > 0 a > 0 a > 0 , we define a ramp function which is zero below 1 / a 1/a 1/ a , 1 1 1 above 2 / a 2/a 2/ a and interpolates linearly in between:
f a ( t ) = { 0 if t ≤ 1 / a , a t − 1 if t ∈ ( 1 / a , 2 / a ) , 1 if t ≥ 2 / a . f_a(t) =
\begin{cases}
0 & \text{if } t \le1/a,\\
at - 1 & \text{if } t \in(1/a,2/a),\\
1 & \text{if } t \ge2/a.
\end{cases} f a ( t ) = ⎩ ⎨ ⎧ 0 a t − 1 1 if t ≤ 1/ a , if t ∈ ( 1/ a , 2/ a ) , if t ≥ 2/ a .
In particular we will use f = f Θ ( k 2 / η 4 ) f = f_{\Theta(k^2/\eta^4)} f = f Θ ( k 2 / η 4 ) (details in the proof of Theorem 7.1). Let F j = f ( A j ) F_j = f(A_j) F j = f ( A j ) , which, by abuse of notation, means applying f f f to the eigenvalues of A j A_j A j (which are real and nonnegative since A j ⪰ 0 A_j \succeq0 A j ⪰ 0 ). So if A j = ∑ r λ r ∣ v r ⟩ ⟨ v r ∣ A_j = \sum_r \lambda_r \lvert v_r\rangle\langle v_r\rvert A j = ∑ r λ r ∣ v r ⟩ ⟨ v r ∣ then F j = ∑ r f ( λ r ) ∣ v r ⟩ ⟨ v r ∣ F_j = \sum_r f(\lambda_r) \lvert v_r\rangle\langle v_r\rvert F j = ∑ r f ( λ r ) ∣ v r ⟩ ⟨ v r ∣ .
The crucial identity is that measuring the Frobenius mass after applying a local Hermitian operator B B B on the j j j -th party is directly linked to the local Frobenius mass A j A_j A j (which also justifies our naming). Indeed,
∥ ( B ⊗ I − j ) ρ ∥ 2 = Tr ( ( B 2 ⊗ I − j ) ρ 2 ) = Tr ( B 2 Tr − j ( ρ 2 ) ) = Tr ( B 2 A j ) . \lVert(B \otimes I_{-j})\rho\rVert^2 = \operatorname{Tr}((B^2 \otimes I_{-j})\rho^2) = \operatorname{Tr}(B^2\operatorname{Tr}_{-j}(\rho^2)) = \operatorname{Tr}(B^2A_j). ∥( B ⊗ I − j ) ρ ∥ 2 = Tr (( B 2 ⊗ I − j ) ρ 2 ) = Tr ( B 2 Tr − j ( ρ 2 )) = Tr ( B 2 A j ) .
This means that
e j = Tr ( ( I − F j 2 ) A j ) (10) e_j = \operatorname{Tr}((I-F_j^2)A_j) \tag*{(10)} e j = Tr (( I − F j 2 ) A j ) (10)
measures the Frobenius mass discarded by applying the cutoff to the low eigenvalues of A j A_j A j .
Crucially, a small dichotomy argument applies to these errors. We will prove that if ρ ∈ Sep ( d , k ) \rho\in\operatorname{Sep}(d,k) ρ ∈ Sep ( d , k ) then all e j e_j e j are bounded by O ( η 2 / k ) O(\eta^2/k) O ( η 2 / k ) , while if ρ \rho ρ is η \eta η -far from every separable state in Frobenius norm then either there are some large e j e_j e j (and thus we can reject since this cannot happen if ρ ∈ Sep ( d , k ) \rho\in\operatorname{Sep}(d,k) ρ ∈ Sep ( d , k ) ) or e j e_j e j are small and the dimensionality reduction machinery produces a safe state on which to use our algorithm of § 4.1 . This is why in Algorithm 6 (Line 2) we can safely reject every time we encounter a large error.
This motivates implementing the filter Φ j \Phi_j Φ j (Algorithm 6 (Line 5)), the quantum channel that implements a soft projection onto the important part of the eigenspace F j F_j F j . Formally, Φ j : L ( C d ) → L ( C d + 1 ) \Phi_j : \mathcal{L}(\mathbb{C}^d) \to\mathcal{L}(\mathbb{C}^{d+1}) Φ j : L ( C d ) → L ( C d + 1 ) is defined as
Φ j ( X ) = F j X F j + Tr ( ( I − F j 2 ) X ) ∣ ⊥ ⟩ ⟨ ⊥ ∣ . \Phi_j(X) = F_jXF_j + \operatorname{Tr}((I-F_j^2)X)|\bot\rangle\langle\bot|. Φ j ( X ) = F j X F j + Tr (( I − F j 2 ) X ) ∣⊥ ⟩ ⟨ ⊥∣.
Then a simple counting argument tells us that the local dimensions, after applying the Φ j \Phi_j Φ j ’s locally, is bounded. Indeed, every eigenvector retained by F j F_j F j corresponds to an eigenvalue of A j A_j A j with magnitude at least Ω ( η 4 / k 2 ) \Omega(\eta^4/k^2) Ω ( η 4 / k 2 ) . However, we already observed that the sum of the eigenvalues of A j A_j A j is at most 1 and thus there are at most q = O ( k 2 / η 4 ) q=O(k^2/\eta^4) q = O ( k 2 / η 4 ) such eigenvectors and rank ( F j ) ≤ q \operatorname{rank}(F_j)\le q rank ( F j ) ≤ q . Equivalently, it also holds that
rank ( Tr − j ( ( Φ 1 ⊗ ⋯ ⊗ Φ k ) ρ ) ) ≤ q , \operatorname{rank}\left(\operatorname{Tr}_{-j}\left((\Phi_1\otimes\cdots\otimes\Phi_k)\rho\right)\right)\le q, rank ( Tr − j ( ( Φ 1 ⊗ ⋯ ⊗ Φ k ) ρ ) ) ≤ q ,
if we think about the quantum channel Φ j \Phi_j Φ j instead. Thus we know that after applying the filters Φ j \Phi_j Φ j , there should be a low-dimensional representation ρ ~ ∈ D ( ( C q ) ⊗ k ) \widetilde{\rho}\in\mathcal{D}((\mathbb{C}^q)^{\otimes k}) ρ ∈ D (( C q ) ⊗ k ) of ( Φ 1 ⊗ ⋯ ⊗ Φ k ) ( ρ ) ∈ D ( ( C d + 1 ) ⊗ k ) (\Phi_1\otimes\cdots\otimes\Phi_k)(\rho)\in\mathcal{D}((\mathbb{C}^{d+1})^{\otimes k}) ( Φ 1 ⊗ ⋯ ⊗ Φ k ) ( ρ ) ∈ D (( C d + 1 ) ⊗ k ) . More formally, there are isometries V j : C q → C d + 1 V_j:\mathbb{C}^q\to\mathbb{C}^{d+1} V j : C q → C d + 1 such that
( Φ 1 ⊗ ⋯ ⊗ Φ k ) ( ρ ) = ( V 1 ⊗ ⋯ ⊗ V k ) ρ ~ ( V 1 † ⊗ ⋯ ⊗ V k † ) . (\Phi_1\otimes\cdots\otimes\Phi_k)(\rho)=(V_1\otimes\cdots\otimes V_k)\widetilde{\rho}(V_1^\dagger\otimes\cdots\otimes V_k^\dagger). ( Φ 1 ⊗ ⋯ ⊗ Φ k ) ( ρ ) = ( V 1 ⊗ ⋯ ⊗ V k ) ρ ( V 1 † ⊗ ⋯ ⊗ V k † ) .
However, the biggest conceptual obstacle now is that the argument leading to the isometries V j V_j V j was completely existential, and learning them explicitly would require at least poly ( d ) \operatorname{poly}(d) poly ( d ) time. Up to this point, the ideas more or less mimic the spirit of the procedure we devised in Part I. The genuinely quantum ingredient is that we can now exploit the existence of the low-dimensional support without ever constructing a classical description of it.
Indeed, to do the last step, we resort to a general procedure which takes copies of an unknown state ρ ∈ D ( ( C d ) ⊗ k ) \rho\in\mathcal{D}((\mathbb{C}^d)^{\otimes k}) ρ ∈ D (( C d ) ⊗ k ) , which secretly lives in a space with small local dimension q ≪ d q\ll d q ≪ d , and extracts from it a state with this small local dimension. We rely on representation theory and more specifically on the Schur–Weyl duality (see [Bur+25, Sections 2.1-2.3] and [Eti+11, Corollary 5.19.2-Theorem 5.22.1]). Indeed, writing down an explicit basis for the small space would require Ω ( q d ) \Omega(qd) Ω ( q d ) space, but we want to do it in polynomial in O ( log d ) O(\log d) O ( log d ) time. The insight is that we do not care about the rotation of the local states. Indeed, applying a local rotation to every factor would not change the distance to the set of separable states. Let’s focus on a local factor j j j , and consider the N N N copies supplied. This gives us a state embedded in D ( ( C d ) ⊗ N ) \mathcal{D}((\mathbb{C}^d)^{\otimes N}) D (( C d ) ⊗ N ) as V ⊗ N X ( V † ) ⊗ N V^{\otimes N}X(V^\dagger)^{\otimes N} V ⊗ N X ( V † ) ⊗ N where X ∈ D ( ( C q ) ⊗ N ) X\in\mathcal{D}((\mathbb{C}^q)^{\otimes N}) X ∈ D (( C q ) ⊗ N ) for some unknown isometry V : C q → C d V:\mathbb{C}^q\to\mathbb{C}^d V : C q → C d . For the sake of clarity, imagine the simplified case in which the Schur–Weyl duality tells us that
( C m ) ⊗ N ≅ Q ( m ) ⊗ P , (\mathbb{C}^m)^{\otimes N}\cong Q^{(m)}\otimes P, ( C m ) ⊗ N ≅ Q ( m ) ⊗ P ,
and such that when we apply the same unitary U ∈ U ( m ) U\in U(m) U ∈ U ( m ) to every local factor it acts only on Q ( m ) Q^{(m)} Q ( m ) , while permutations act only on P P P (in reality Schur–Weyl duality tells us ( C m ) ⊗ N (\mathbb{C}^m)^{\otimes N} ( C m ) ⊗ N decomposes into the direct sum of terms like Q λ ( m ) ⊗ P λ Q^{(m)}_\lambda\otimes P_\lambda Q λ ( m ) ⊗ P λ , one for each λ \lambda λ that represents a Young diagram with at most m m m rows; see Section B for additional details). More importantly, the isometry V ⊗ N V^{\otimes N} V ⊗ N takes the form V Q ⊗ I P V_Q\otimes I_P V Q ⊗ I P for some induced isometry V Q : Q ( q ) → Q ( d ) V_Q:Q^{(q)}\to Q^{(d)} V Q : Q ( q ) → Q ( d ) . So if X ∈ D ( Q ( q ) ⊗ P ) X\in\mathcal{D}(Q^{(q)}\otimes P) X ∈ D ( Q ( q ) ⊗ P ) , then its embedding into D ( Q ( d ) ⊗ P ) \mathcal{D}(Q^{(d)}\otimes P) D ( Q ( d ) ⊗ P ) is
( V Q ⊗ I P ) X ( V Q † ⊗ I P ) . (V_Q\otimes I_P)X(V_Q^\dagger\otimes I_P). ( V Q ⊗ I P ) X ( V Q † ⊗ I P ) .
So the information about the unknown isometry V V V is confined to the register Q ( m ) Q^{(m)} Q ( m ) . So we can trace out the registers of Q ( m ) Q^{(m)} Q ( m ) to obtain
τ P = Tr Q ( d ) ( ( V Q ⊗ I P ) X ( V Q † ⊗ I P ) ) = Tr Q ( q ) ( X ) \tau_P = \operatorname{Tr}_{Q^{(d)}}\left((V_Q \otimes I_P)X(V_Q^\dagger\otimes I_P)\right) = \operatorname{Tr}_{Q^{(q)}}(X) τ P = Tr Q ( d ) ( ( V Q ⊗ I P ) X ( V Q † ⊗ I P ) ) = Tr Q ( q ) ( X )
and then, preparing an arbitrary state ∣ t ⟩ ⟨ t ∣ Q ( q ) \lvert t\rangle\langle t\rvert_{Q^{(q)}} ∣ t ⟩ ⟨ t ∣ Q ( q ) , we can obtain Z = ∣ t ⟩ ⟨ t ∣ Q ( q ) ⊗ τ P Z = \lvert t\rangle\langle t\rvert_{Q^{(q)}} \otimes\tau_P Z = ∣ t ⟩ ⟨ t ∣ Q ( q ) ⊗ τ P . We destroyed all the information contained in Q ( q ) Q^{(q)} Q ( q ) . This is not problematic as arbitrary rotations would act in the same way, while keeping the same distance from separable states. Formally, consider the Haar averages
T ( X ) = ∫ U ( q ) U ⊗ N X ( U † ) ⊗ N d U , \mathcal{T}(X) = \int_{U(q)} U^{\otimes N}X(U^\dagger)^{\otimes N}\,\mathrm{d}U, T ( X ) = ∫ U ( q ) U ⊗ N X ( U † ) ⊗ N d U ,
and, using the fact that local rotations act only on the Q Q Q registers, we obtain T ( X ) = I Q ( q ) dim Q ( q ) ⊗ τ P \mathcal{T}(X) = \frac{I_{Q^{(q)}}}{\dim Q^{(q)}}\otimes\tau_P T ( X ) = d i m Q ( q ) I Q ( q ) ⊗ τ P . On the other hand, the same happens with T ( Z ) \mathcal{T}(Z) T ( Z ) and thus even if Z ≠ X Z \ne X Z = X we obtain that T ( Z ) = T ( X ) \mathcal{T}(Z) = \mathcal{T}(X) T ( Z ) = T ( X ) . Indeed, we do not expect to recover X X X exactly, since it would require poly ( q N ) \operatorname{poly}(q^N) poly ( q N ) space to write it down. The procedure discussed here is implemented in Algorithm 6 (Line 6).
The discussion above concerned a single local factor. Importantly, the same identity remains valid when its N N N registers are entangled with an arbitrary reference system. We may therefore apply this procedure independently to each of the k k k local factors of the full state ρ ~ ⊗ N \widetilde{\rho}^{\otimes N} ρ ⊗ N and find a state Z Z Z such that:$5
( T 1 ⊗ ⋯ ⊗ T k ) ( Z ) = ( T 1 ⊗ ⋯ ⊗ T k ) ( ρ ~ ⊗ N ) = E U 1 , … , U k [ ( U ρ ~ U † ) ⊗ N ] . (\mathcal{T}_1 \otimes\cdots\otimes\mathcal{T}_k)(Z) = (\mathcal{T}_1 \otimes\cdots\otimes\mathcal{T}_k)(\widetilde{\rho}^{\otimes N}) = \mathbb{E}_{U_1,\ldots,U_k}\left[(U\widetilde{\rho}U^\dagger)^{\otimes N}\right]. ( T 1 ⊗ ⋯ ⊗ T k ) ( Z ) = ( T 1 ⊗ ⋯ ⊗ T k ) ( ρ ⊗ N ) = E U 1 , … , U k [ ( U ρ U † ) ⊗ N ] .
This is sufficient because for every fixed U U U , ( U ρ ~ U † ) ⊗ N (U\widetilde{\rho}U^\dagger)^{\otimes N} ( U ρ U † ) ⊗ N and ρ ~ ⊗ N \widetilde{\rho}^{\otimes N} ρ ⊗ N satisfy the same separability promise; thus, the low-dimensional tester, by linearity, preserves the same acceptance probability gap under averaging.
Implementing the Channels
After the high-level overview, we now present the algorithm’s implementation. As standard, we say that a channel E ^ \widehat{\mathcal{E}} E implements the ideal channel E \mathcal{E} E with error at most δ \delta δ if, for every reference register B B B and every joint state X X X on the input register and B B B ,
∥ ( ( E ^ − E ) ⊗ I B ) X ∥ 1 ≤ δ . \left\|\left((\widehat{\mathcal{E}}-\mathcal{E})\otimes I_B\right)X\right\|_1 \le\delta. ( ( E − E ) ⊗ I B ) X 1 ≤ δ .
We assume the following subroutines (the proofs of these lemmas are deferred to Section C). The main difficulty is that F j = f ( A j ) F_j = f(A_j) F j = f ( A j ) depends on the unknown operator A j = Tr − j ( ρ 2 ) A_j = \operatorname{Tr}_{-j}(\rho^2) A j = Tr − j ( ρ 2 ) . The following lemma shows that the corresponding spectral filter can nevertheless be implemented directly from copies of ρ \rho ρ , without explicitly learning A j A_j A j , using existing Hamiltonian-simulation techniques [33 ] .
Lemma 7.3 (Filtering). For j ∈ [ k ] j \in[k] j ∈ [ k ] , define the channel Φ j : L ( C d ) → L ( C d ⊕ Span { ∣ ⊥ ⟩ } ) \Phi_j \colon\mathcal{L}(\mathbb{C}^d) \to\mathcal{L}(\mathbb{C}^d \oplus\operatorname{Span}\{\lvert\bot\rangle\}) Φ j : L ( C d ) → L ( C d ⊕ Span {∣ ⊥ ⟩}) by
Φ j ( X ) = F j X F j + Tr [ ( I − F j 2 ) X ] ∣ ⊥ ⟩ ⟨ ⊥ ∣ . (11) \Phi_j(X) = F_j X F_j + \operatorname{Tr}\left[(I-F_j^2)X\right]\lvert\bot\rangle\langle\bot\rvert. \tag*{(11)} Φ j ( X ) = F j X F j + Tr [ ( I − F j 2 ) X ] ∣ ⊥ ⟩ ⟨ ⊥ ∣ . (11) For δ > 0 \delta> 0 δ > 0 , a routine implements Φ j \Phi_j Φ j with error at most δ \delta δ on a specified target register, using poly ( k , η − 1 , δ − 1 ) \operatorname{poly}(k,\eta^{-1},\delta^{-1}) poly ( k , η − 1 , δ − 1 ) auxiliary copies of ρ \rho ρ and poly ( k , η − 1 , δ − 1 , log d ) \operatorname{poly}(k,\eta^{-1},\delta^{-1},\log d) poly ( k , η − 1 , δ − 1 , log d ) total time.
Once the filtering channel is available, estimating the discarded Frobenius mass e j e_j e j is essentially standard: a swap-test-type measurement turns e j e_j e j into the expectation of a bounded random variable, to which concentration applies.
Lemma 7.4 (Estimation). Let e j e_j e j be defined as in Equation (10) . Given copies of ρ \rho ρ , ϵ > 0 \epsilon> 0 ϵ > 0 , and a probability p > 0 p > 0 p > 0 , there is a routine that returns classical estimates satisfying
max j ∈ [ k ] ∣ e ^ j − e j ∣ ≤ ϵ , \max_{j\in[k]}|\widehat{e}_j-e_j|\leq\epsilon, j ∈ [ k ] max ∣ e j − e j ∣ ≤ ϵ , with probability at least 1 − p 1-p 1 − p . It uses poly ( k , η − 1 , ϵ − 1 , log 1 / p ) \operatorname{poly}(k,\eta^{-1},\epsilon^{-1},\log1/p) poly ( k , η − 1 , ϵ − 1 , log 1/ p ) copies and this bound times poly ( log d ) \operatorname{poly}(\log d) poly ( log d ) total time.
This is the key representation-theoretic ingredient: it removes the unknown embedding of a q q q -dimensional subspace inside C d \mathbb{C}^d C d without ever learning that subspace. The price to pay is only that the output is preserved modulo a common local Haar average, which is sufficient for our application.
Lemma 7.5 (Schur compression). For integers D ≥ q D\geq q D ≥ q and N N N , there is a channel
C D → q ( N ) : D ( ( C D ) ⊗ N ) ⟶ D ( ( C q ) ⊗ N ) \mathcal{C}^{(N)}_{D\to q}:\mathcal{D}((\mathbb{C}^{D})^{\otimes N})\longrightarrow\mathcal{D}((\mathbb{C}^{q})^{\otimes N}) C D → q ( N ) : D (( C D ) ⊗ N ) ⟶ D (( C q ) ⊗ N ) such that, for every reference system B B B , every isometry V : C q → C D V:\mathbb{C}^{q}\to\mathbb{C}^{D} V : C q → C D and state X ∈ D ( ( C q ) ⊗ N ⊗ B ) X\in\mathcal{D}((\mathbb{C}^{q})^{\otimes N}\otimes B) X ∈ D (( C q ) ⊗ N ⊗ B ) ,
( ( T q ( N ) ∘ C D → q ( N ) ) ⊗ I B ) ( ( V ⊗ N ⊗ I B ) X ( ( V † ) ⊗ N ⊗ I B ) ) = ( T q ( N ) ⊗ I B ) ( X ) , (12) \left((\mathcal{T}^{(N)}_q\circ\mathcal{C}^{(N)}_{D\to q})\otimes I_B\right)\left((V^{\otimes N}\otimes I_B)X((V^\dagger)^{\otimes N}\otimes I_B)\right)=\left(\mathcal{T}^{(N)}_q\otimes I_B\right)(X), \tag*{(12)} ( ( T q ( N ) ∘ C D → q ( N ) ) ⊗ I B ) ( ( V ⊗ N ⊗ I B ) X (( V † ) ⊗ N ⊗ I B ) ) = ( T q ( N ) ⊗ I B ) ( X ) , (12) where, with d U dU d U the Haar measure of U ( q ) U(q) U ( q ) , we let
T q ( N ) ( X ) : = ∫ U ( q ) U ⊗ N X ( U † ) ⊗ N d U . \mathcal{T}^{(N)}_q(X):=\int_{U(q)}U^{\otimes N}X(U^\dagger)^{\otimes N}\,dU. T q ( N ) ( X ) := ∫ U ( q ) U ⊗ N X ( U † ) ⊗ N d U . The channel depends only on D D D , q q q , N N N and uses no additional input copies. For δ > 0 \delta>0 δ > 0 , it can be implemented with error at most δ \delta δ in time poly ( N , q , log D , log ( 1 / δ ) ) \operatorname{poly}(N,q,\log D,\log(1/\delta)) poly ( N , q , log D , log ( 1/ δ )) .
Finally, implementing the Haar average is standard: it suffices to efficiently sample an approximate Haar-random unitary and apply the same sampled unitary to all N N N copies.
Lemma 7.6 (Sampling Local Unitaries [38 ] ). For integers q q q , N N N , and δ > 0 \delta>0 δ > 0 , a classical randomized routine returns a unitary circuit U ~ \widetilde{U} U such that the averaged channel
X ↦ E U ~ [ U ~ ⊗ N X ( U ~ † ) ⊗ N ] X\mapsto\mathbb{E}_{\widetilde{U}}\left[\widetilde{U}^{\otimes N}X(\widetilde{U}^{\dagger})^{\otimes N}\right] X ↦ E U [ U ⊗ N X ( U † ) ⊗ N ] implements T q ( N ) \mathcal{T}^{(N)}_q T q ( N ) with error at most δ \delta δ . Its random bits, classical time, and circuit size are poly ( q , log ( N / δ ) ) \operatorname{poly}(q,\log(N/\delta)) poly ( q , log ( N / δ )) . On qubit registers, the comparison is on the full register, extending each ideal U ∈ U ( q ) U\in U(q) U ∈ U ( q ) by the identity on unused basis states.
With these implementations of the ideal channels, we are ready to present the main algorithm.
Proof of th:dimension-reduction
First we argue that separable inputs pass step 1 of the algorithm. Suppose ρ ∈ Sep ( d , k ) \rho\in\operatorname{Sep}(d,k) ρ ∈ Sep ( d , k ) . Fix any j ∈ [ k ] j\in[k] j ∈ [ k ] and write with x a ∈ C d x_a\in\mathbb{C}^d x a ∈ C d the j j j -th register and y a ∈ ( C d ) ⊗ ( k − 1 ) y_a\in(\mathbb{C}^d)^{\otimes(k-1)} y a ∈ ( C d ) ⊗ ( k − 1 ) the remaining ones, so that
ρ = ∑ a p a ∣ x a ⊗ y a ⟩ ⟨ x a ⊗ y a ∣ , p a ≥ 0 , ∑ a p a = 1 , ∥ x a ∥ = ∥ y a ∥ = 1. \rho=\sum_a p_a\lvert x_a\otimes y_a\rangle\langle x_a\otimes y_a\rvert,\qquad p_a\geq0,\qquad\sum_a p_a=1,\qquad\lVert x_a\rVert=\lVert y_a\rVert=1. ρ = a ∑ p a ∣ x a ⊗ y a ⟩ ⟨ x a ⊗ y a ∣ , p a ≥ 0 , a ∑ p a = 1 , ∥ x a ∥ = ∥ y a ∥ = 1.
For the actual implementation of f f f we pick f = f a f=f_a f = f a with a = 2 11 k 2 / η 4 a=2^{11}k^2/\eta^4 a = 2 11 k 2 / η 4 . Since f ( t ) = 1 f(t)=1 f ( t ) = 1 for t ≥ η 4 / ( 2 10 k 2 ) t\geq\eta^4/(2^{10}k^2) t ≥ η 4 / ( 2 10 k 2 ) , it is simple to check that for all t ∈ ( 0 , 1 ) t\in(0,1) t ∈ ( 0 , 1 )
t ( 1 − f ( t ) 2 ) 2 ≤ η 4 2 10 k 2 . (13) t(1-f(t)^2)^2\leq\frac{\eta^4}{2^{10}k^2}. \tag*{(13)} t ( 1 − f ( t ) 2 ) 2 ≤ 2 10 k 2 η 4 . (13)
Algorithm 6 Dimensionality Reduction
Require: Copies of ρ ∈ D ( ( C d ) ⊗ k ) \rho\in\mathcal{D}((\mathbb{C}^{d})^{\otimes k}) ρ ∈ D (( C d ) ⊗ k ) and a low-dimensional tester A \mathcal{A} A for ρ ~ ∈ D ( ( C q ) ⊗ k ) \widetilde{\rho} \in\mathcal{D}((\mathbb{C}^{q})^{\otimes k}) ρ ∈ D (( C q ) ⊗ k )
For all j ∈ [ k ] j \in[k] j ∈ [ k ] estimate e j e_j e j with precision ϵ = O ( η 2 / k ) \epsilon= O(\eta^2/k) ϵ = O ( η 2 / k ) and constant probability to obtain e ^ j \widehat{e}_j e j with Lemma 7.4
if max j ∈ [ k ] e ^ j ≥ Ω ( η 2 / k ) \max_{j\in[k]} \widehat{e}_j \geq\Omega(\eta^2/k) max j ∈ [ k ] e j ≥ Ω ( η 2 / k ) then
reject
Assign the N N N copies of ρ \rho ρ to registers Y 1 ( n ) , … , Y k ( n ) Y_1^{(n)},\ldots,Y_k^{(n)} Y 1 ( n ) , … , Y k ( n ) for n ∈ [ N ] n \in[N] n ∈ [ N ] .
For each local factor j j j and any of the N N N copies apply Φ j \Phi_j Φ j as in Lemma 7.3 (using additional fresh copies for its execution) with error δ = O ( 1 / ( k N ) ) \delta= O(1/(kN)) δ = O ( 1/ ( k N ))
Apply the compression channel C d + 1 → q ( N ) \mathcal{C}_{d+1\to q}^{(N)} C d + 1 → q ( N ) of Lemma 7.5 to each local factor j j j on the registers Y j ( 1 ) , … , Y j ( N ) ∈ C d + 1 Y_j^{(1)},\ldots,Y_j^{(N)} \in\mathbb{C}^{d+1} Y j ( 1 ) , … , Y j ( N ) ∈ C d + 1 with error O ( 1 / k ) O(1/k) O ( 1/ k ) and label the output registers as Z j ( 1 ) , … , Z j ( N ) ∈ C q Z_j^{(1)},\ldots,Z_j^{(N)} \in\mathbb{C}^{q} Z j ( 1 ) , … , Z j ( N ) ∈ C q
For each local factor j j j apply Lemma 7.6 independently with error O ( 1 / k ) O(1/k) O ( 1/ k ) , a Haar-random unitary U j ∈ U ( q ) U_j \in U(q) U j ∈ U ( q ) . Apply the same U j U_j U j to all N N N registers Z j ( 1 ) , … , Z j ( N ) Z_j^{(1)},\ldots,Z_j^{(N)} Z j ( 1 ) , … , Z j ( N )
Regroup the registers Z 1 ( n ) , … , Z k ( n ) Z_1^{(n)},\ldots,Z_k^{(n)} Z 1 ( n ) , … , Z k ( n ) by copy n ∈ [ N ] n \in[N] n ∈ [ N ] and run the low-dimensional tester A \mathcal{A} A return { reject , accept } \{\textbf{reject},\textbf{accept}\} { reject , accept } according to the answer of A \mathcal{A} A
Consequently, plugging in the expansion of ρ \rho ρ into the definition of e j : = Tr ( ( I − F j 2 ) A j ) e_j := \operatorname{Tr}((I-F_j^2)A_j) e j := Tr (( I − F j 2 ) A j ) we obtain
e j = ∑ a p a R [ ⟨ x a ⊗ y a ∣ ( ( I j − F j 2 ) ⊗ I − j ) ρ ∣ x a ⊗ y a ⟩ ] ≤ ∑ a p a ∥ ⟨ x a ∣ ( ( I j − F j 2 ) ⊗ I − j ) ρ ∥ = ∑ a p a ⟨ x a ∣ ( I j − F j 2 ) 2 A j ∣ x a ⟩ ≤ η 2 32 k , \begin{aligned}
e_j &= \sum_a p_a \mathfrak{R}\left[\langle x_a \otimes y_a|((I_j-F_j^2)\otimes I_{-j})\rho|x_a\otimes y_a\rangle\right] \\
&\leq\sum_a p_a \left\|\langle x_a|((I_j-F_j^2)\otimes I_{-j})\rho\right\| \\
&= \sum_a p_a \sqrt{\langle x_a|(I_j-F_j^2)^2 A_j|x_a\rangle} \leq\frac{\eta^2}{32k},
\end{aligned} e j = a ∑ p a R [ ⟨ x a ⊗ y a ∣ (( I j − F j 2 ) ⊗ I − j ) ρ ∣ x a ⊗ y a ⟩ ] ≤ a ∑ p a ⟨ x a ∣ (( I j − F j 2 ) ⊗ I − j ) ρ = a ∑ p a ⟨ x a ∣ ( I j − F j 2 ) 2 A j ∣ x a ⟩ ≤ 32 k η 2 ,
where in the last inequality we used Equation (12) applied to the eigenvalues. Thus, whenever all estimates have the requested accuracy, we know that e ^ j ≤ O ( η 2 / k ) \widehat{e}_j \leq O(\eta^2/k) e j ≤ O ( η 2 / k ) , and we know that observing a larger e ^ j \widehat{e}_j e j means that we can safely reject. If otherwise the algorithm does not reject at that step we know that e j ≤ O ( η 2 / k ) e_j \leq O(\eta^2/k) e j ≤ O ( η 2 / k ) . Next, we argue that the filtering step preserves the distance to the set of separable states.
Define the projection onto the original registers by P : = ( I C d ⊕ 0 ∣ ⊥ ⟩ ) ⊗ k P := (I_{\mathbb{C}^{d}}\oplus0_{|\perp\rangle})^{\otimes k} P := ( I C d ⊕ 0 ∣ ⊥ ⟩ ) ⊗ k . Identifying the range of P P P with ( C d ) ⊗ k (\mathbb{C}^{d})^{\otimes k} ( C d ) ⊗ k and defining
σ = ( Φ 1 ⊗ ⋯ ⊗ Φ k ) ( ρ ) \sigma= (\Phi_1\otimes\cdots\otimes\Phi_k)(\rho) σ = ( Φ 1 ⊗ ⋯ ⊗ Φ k ) ( ρ )
the channel formula of Equation (10) in Lemma 7.3 gives
P σ P = ( ⨂ j F j ) ρ ( ⨂ j F j ) . P\sigma P = \left(\bigotimes_j F_j\right)\rho\left(\bigotimes_j F_j\right). P σ P = ( j ⨂ F j ) ρ ( j ⨂ F j ) .
The inequalities 0 ≤ F j ≤ I 0\leq F_j\leq I 0 ≤ F j ≤ I give
∥ ( I − ⨂ j F j ) ρ ∥ 1 2 = Tr [ ( I − ⨂ j F j ) 2 ρ 2 ] ≤ Tr [ ( I − ⨂ j F j 2 ) ρ 2 ] ( 0 ≤ ⨂ j F j ≤ I ) ≤ ∑ j Tr [ ( ( I − F j 2 ) ⊗ I − j ) ρ 2 ] ( I − ⨂ j F j 2 ≤ ∑ j ( I − F j 2 ) ⊗ I − j ) = ∑ j Tr [ ( I − F j 2 ) A j ] = ∑ j e j . \begin{aligned}
\left\|\left(I-\bigotimes_j F_j\right)\rho\right\|_1^2
&= \operatorname{Tr}\left[\left(I-\bigotimes_j F_j\right)^2\rho^2\right] \\
&\leq\operatorname{Tr}\left[\left(I-\bigotimes_j F_j^2\right)\rho^2\right] \qquad(0\leq\bigotimes_j F_j\leq I)\\
&\leq\sum_j\operatorname{Tr}\left[((I-F_j^2)\otimes I_{-j})\rho^2\right] \qquad\left(I-\bigotimes_j F_j^2\leq\sum_j(I-F_j^2)\otimes I_{-j}\right)\\
&= \sum_j\operatorname{Tr}\left[(I-F_j^2)A_j\right]=\sum_j e_j.
\end{aligned} ( I − j ⨂ F j ) ρ 1 2 = Tr ( I − j ⨂ F j ) 2 ρ 2 ≤ Tr [ ( I − j ⨂ F j 2 ) ρ 2 ] ( 0 ≤ j ⨂ F j ≤ I ) ≤ j ∑ Tr [ (( I − F j 2 ) ⊗ I − j ) ρ 2 ] ( I − j ⨂ F j 2 ≤ j ∑ ( I − F j 2 ) ⊗ I − j ) = j ∑ Tr [ ( I − F j 2 ) A j ] = j ∑ e j .
Now, by triangle inequality, we can bound the error between ρ \rho ρ and the application of the filtering Φ j \Phi_j Φ j :
∥ ρ − P σ P ∥ ≤ ∥ ( I − ⨂ j F j ) ρ ∥ + ∥ ( ⨂ j F j ) ρ ( I − ⨂ j F j ) ∥ ≤ 2 ∥ ( I − ⨂ j F j ) ρ ∥ ≤ 2 ∑ j e j 2 ≤ O ( η ) . (14) \left\|\rho-P\sigma P\right\| \leq\left\|\left(I-\bigotimes_j F_j\right)\rho\right\|+\left\|\left(\bigotimes_j F_j\right)\rho\left(I-\bigotimes_j F_j\right)\right\|
\leq2\left\|\left(I-\bigotimes_j F_j\right)\rho\right\| \leq2\sqrt{\sum_j e_j^2}\leq O(\eta). \tag*{(14)} ∥ ρ − P σ P ∥ ≤ ( I − j ⨂ F j ) ρ + ( j ⨂ F j ) ρ ( I − j ⨂ F j ) ≤ 2 ( I − j ⨂ F j ) ρ ≤ 2 j ∑ e j 2 ≤ O ( η ) . (14)
Now we finally prove that σ = ( Φ 1 ⊗ ⋯ ⊗ Φ k ) ( ρ ) \sigma=(\Phi_1\otimes\cdots\otimes\Phi_k)(\rho) σ = ( Φ 1 ⊗ ⋯ ⊗ Φ k ) ( ρ ) satisfies the same separability promises as ρ \rho ρ . For all ζ ∈ Sep ( d + 1 , k ) \zeta\in\operatorname{Sep}(d+1,k) ζ ∈ Sep ( d + 1 , k ) , the operator P ζ P P\zeta P P ζ P , restricted to the original registers, is subnormalized and separable. Thus 0 ≤ Tr ( P ζ P ) ≤ 1 0\leq\operatorname{Tr}(P\zeta P)\leq1 0 ≤ Tr ( P ζ P ) ≤ 1 . Define the restricted separable state
ζ ~ = P ζ P + ( 1 − Tr ( P ζ P ) ) I d k ∈ Sep ( d , k ) , \widetilde{\zeta}=P\zeta P+\left(1-\operatorname{Tr}(P\zeta P)\right)\frac{I}{d^k}\in\operatorname{Sep}(d,k), ζ = P ζ P + ( 1 − Tr ( P ζ P ) ) d k I ∈ Sep ( d , k ) ,
and observe that
∥ ρ − ζ ~ ∥ 2 = ∥ ρ − P ζ P ∥ 2 − ( 1 − Tr ( P ζ P ) ) 2 1 d k , \left\|\rho-\widetilde{\zeta}\right\|^2=\left\|\rho-P\zeta P\right\|^2-\left(1-\operatorname{Tr}(P\zeta P)\right)^2\frac{1}{d^k}, ρ − ζ 2 = ∥ ρ − P ζ P ∥ 2 − ( 1 − Tr ( P ζ P ) ) 2 d k 1 ,
which implies that
dist ( ρ , Sep ( d , k ) ) ≤ ∥ ρ − ζ ~ ∥ ≤ ∥ ρ − P ζ P ∥ ≤ ∥ ρ − P σ P ∥ + ∥ P ( σ − ζ ) P ∥ ≤ O ( η ) + ∥ σ − ζ ∥ . \begin{aligned}
\operatorname{dist}(\rho,\operatorname{Sep}(d,k))&\leq\left\|\rho-\widetilde{\zeta}\right\|\\
&\leq\left\|\rho-P\zeta P\right\|\\
&\leq\left\|\rho-P\sigma P\right\|+\left\|P(\sigma-\zeta)P\right\|\\
&\leq O(\eta)+\left\|\sigma-\zeta\right\|.
\end{aligned} dist ( ρ , Sep ( d , k )) ≤ ρ − ζ ≤ ∥ ρ − P ζ P ∥ ≤ ∥ ρ − P σ P ∥ + ∥ P ( σ − ζ ) P ∥ ≤ O ( η ) + ∥ σ − ζ ∥ .
Minimizing over ζ ∈ Sep ( d + 1 , k ) \zeta\in\operatorname{Sep}(d+1,k) ζ ∈ Sep ( d + 1 , k ) proves
dist ( σ , Sep ( d + 1 , k ) ) ≥ dist ( ρ , Sep ( d , k ) ) − O ( η ) . (15) \operatorname{dist}(\sigma,\operatorname{Sep}(d+1,k))\geq\operatorname{dist}(\rho,\operatorname{Sep}(d,k))-O(\eta). \tag*{(15)} dist ( σ , Sep ( d + 1 , k )) ≥ dist ( ρ , Sep ( d , k )) − O ( η ) . (15)
On the other hand, since each Φ j \Phi_j Φ j is a local channel, ( Φ 1 ⊗ ⋯ ⊗ Φ k ) ( Sep ( d , k ) ) ⊆ Sep ( d + 1 , k ) (\Phi_1\otimes\cdots\otimes\Phi_k)(\operatorname{Sep}(d,k))\subseteq\operatorname{Sep}(d+1,k) ( Φ 1 ⊗ ⋯ ⊗ Φ k ) ( Sep ( d , k )) ⊆ Sep ( d + 1 , k ) and therefore
ρ ∈ Sep ( d , k ) ⟹ σ ∈ Sep ( d + 1 , k ) . \rho\in\operatorname{Sep}(d,k)\Longrightarrow\sigma\in\operatorname{Sep}(d+1,k). ρ ∈ Sep ( d , k ) ⟹ σ ∈ Sep ( d + 1 , k ) .
Finally, we connect the supplied separability tester with the last two subroutines. More precisely we show that there are unknown local isometries such that there is a small state ρ ~ \widetilde{\rho} ρ which satisfies the same separability promises of ρ \rho ρ . We do this by first proving that the rank of the filtering step is small. Since f ( t ) > 0 f(t)>0 f ( t ) > 0 precisely when t > η 4 / ( 2 11 k 2 ) t>\eta^4/(2^{11}k^2) t > η 4 / ( 2 11 k 2 ) ,
η 4 2 11 k 2 rank F j < Tr ( A j ) = Tr ( ρ 2 ) ≤ 1. \frac{\eta^4}{2^{11}k^2}\operatorname{rank}F_j<\operatorname{Tr}(A_j)=\operatorname{Tr}(\rho^2)\leq1. 2 11 k 2 η 4 rank F j < Tr ( A j ) = Tr ( ρ 2 ) ≤ 1.
The definition of Φ j \Phi_j Φ j in (27) also gives
supp Tr − j ( σ ) ⊆ img F j ⊕ Span { ∣ ⊥ ⟩ } , \operatorname{supp}\operatorname{Tr}_{-j}(\sigma)\subseteq\operatorname{img}F_j\oplus\operatorname{Span}\{\lvert\bot\rangle\}, supp Tr − j ( σ ) ⊆ img F j ⊕ Span {∣ ⊥ ⟩} ,
and therefore
rank Tr − j ( σ ) ≤ 1 + rank F j ≤ O ( k 2 / η 4 ) = q . \operatorname{rank}\operatorname{Tr}_{-j}(\sigma)\leq1+\operatorname{rank}F_j\leq O(k^2/\eta^4)=q. rank Tr − j ( σ ) ≤ 1 + rank F j ≤ O ( k 2 / η 4 ) = q .
Thus we know that there are isometries V j : C q → C d + 1 V_j:\mathbb{C}^q\to\mathbb{C}^{d+1} V j : C q → C d + 1 with V j † V j = I V_j^\dagger V_j=I V j † V j = I such that for all j ∈ [ k ] j\in[k] j ∈ [ k ] :
supp Tr − j ( σ ) ⊆ img V j \operatorname{supp}\operatorname{Tr}_{-j}(\sigma)\subseteq\operatorname{img}V_j supp Tr − j ( σ ) ⊆ img V j
and define,
ρ ~ : = ( ⨂ j V j † ) σ ( ⨂ j V j ) . \widetilde{\rho}:=\left(\bigotimes_j V_j^\dagger\right)\sigma\left(\bigotimes_j V_j\right). ρ := ( j ⨂ V j † ) σ ( j ⨂ V j ) .
This choice of V j V_j V j implies σ = ( ⨂ j V j ) ρ ~ ( ⨂ j V j † ) \sigma= \left(\bigotimes_j V_j\right)\widetilde{\rho}\left(\bigotimes_j V_j^\dagger\right) σ = ( ⨂ j V j ) ρ ( ⨂ j V j † ) , and Tr ρ ~ = 1 \operatorname{Tr}\widetilde{\rho}=1 Tr ρ = 1 . Therefore
σ ∈ Sep ( d + 1 , k ) ⟹ ρ ~ ∈ Sep ( q , k ) . \sigma\in\operatorname{Sep}(d+1,k) \Longrightarrow\widetilde{\rho}\in\operatorname{Sep}(q,k). σ ∈ Sep ( d + 1 , k ) ⟹ ρ ∈ Sep ( q , k ) .
Now we show that the distance of ρ ~ \widetilde{\rho} ρ from separable states is preserved. Indeed, for every σ ′ ∈ Sep ( q , k ) \sigma' \in\operatorname{Sep}(q,k) σ ′ ∈ Sep ( q , k ) ,
( ⨂ j V j ) σ ′ ( ⨂ j V j † ) ∈ Sep ( d + 1 , k ) , \left(\bigotimes_j V_j\right)\sigma'\left(\bigotimes_j V_j^\dagger\right) \in\operatorname{Sep}(d+1,k), ( j ⨂ V j ) σ ′ ( j ⨂ V j † ) ∈ Sep ( d + 1 , k ) ,
and
∥ ρ ~ − σ ′ ∥ = ∥ σ − ( ⨂ j V j ) σ ′ ( ⨂ j V j † ) ∥ . \lVert\widetilde{\rho}-\sigma'\rVert= \left\lVert\sigma-\left(\bigotimes_j V_j\right)\sigma'\left(\bigotimes_j V_j^\dagger\right)\right\rVert. ∥ ρ − σ ′ ∥ = σ − ( j ⨂ V j ) σ ′ ( j ⨂ V j † ) .
Which implies that,
dist ( ρ ~ , Sep ( q , k ) ) ≥ dist ( σ , Sep ( d + 1 , k ) ) . \operatorname{dist}(\widetilde{\rho},\operatorname{Sep}(q,k)) \ge\operatorname{dist}(\sigma,\operatorname{Sep}(d+1,k)). dist ( ρ , Sep ( q , k )) ≥ dist ( σ , Sep ( d + 1 , k )) .
Combined with the relationship between the separability of ρ \rho ρ and σ \sigma σ we obtain that
ρ ∈ Sep ( d , k ) ⟹ σ ∈ Sep ( d + 1 , k ) ⟹ ρ ~ ∈ Sep ( q , k ) \rho\in\operatorname{Sep}(d,k) \Longrightarrow\sigma\in\operatorname{Sep}(d+1,k) \Longrightarrow\widetilde{\rho} \in\operatorname{Sep}(q,k) ρ ∈ Sep ( d , k ) ⟹ σ ∈ Sep ( d + 1 , k ) ⟹ ρ ∈ Sep ( q , k )
and
dist ( ρ ~ , Sep ( q , k ) ) ≥ dist ( σ , Sep ( d + 1 , k ) ) − O ( η ) ≥ dist ( ρ , Sep ( d , k ) ) − O ( η ) . (16) \operatorname{dist}(\widetilde{\rho},\operatorname{Sep}(q,k)) \ge\operatorname{dist}(\sigma,\operatorname{Sep}(d+1,k))-O(\eta) \ge\operatorname{dist}(\rho,\operatorname{Sep}(d,k))-O(\eta). \tag*{(16)} dist ( ρ , Sep ( q , k )) ≥ dist ( σ , Sep ( d + 1 , k )) − O ( η ) ≥ dist ( ρ , Sep ( d , k )) − O ( η ) . (16)
The last step concerns the application of the Haar averaging together with the compression step of Lemma 7.5 after regrouping the register for each party. Applying the compression channel C d + 1 → q ( N ) \mathcal{C}_{d+1\to q}^{(N)} C d + 1 → q ( N ) and the ideal Haar averaging channel to each party independently, we obtain
( ⨂ j ∈ [ k ] ( T q ( N ) ∘ C d + 1 → q ( N ) ) ) ( σ ⊗ N ) = ( ⨂ j ∈ [ k ] T q ( N ) ) ( ρ ~ ⊗ N ) = ∫ U ( q ) k [ ( ⨂ j ∈ [ k ] U j ) ρ ~ ( ⨂ j ∈ [ k ] U j † ) ] ⊗ N d U 1 ⋯ d U k . \begin{aligned}
\left(\bigotimes_{j\in[k]}\left(\mathcal{T}_q^{(N)}\circ\mathcal{C}_{d+1\to q}^{(N)}\right)\right)\left(\sigma^{\otimes N}\right)=\left(\bigotimes_{j\in[k]}\mathcal{T}_q^{(N)}\right)\left(\widetilde{\rho}^{\otimes N}\right) \\
&=\int_{U(q)^k}\left[\left(\bigotimes_{j\in[k]}U_j\right)\widetilde{\rho}\left(\bigotimes_{j\in[k]}U_j^\dagger\right)\right]^{\otimes N}dU_1\cdots dU_k.
\end{aligned} j ∈ [ k ] ⨂ ( T q ( N ) ∘ C d + 1 → q ( N ) ) ( σ ⊗ N ) = j ∈ [ k ] ⨂ T q ( N ) ( ρ ⊗ N ) = ∫ U ( q ) k j ∈ [ k ] ⨂ U j ρ j ∈ [ k ] ⨂ U j † ⊗ N d U 1 ⋯ d U k .
Moreover, since local unitaries preserve separability:
dist ( ( ⨂ j ∈ [ k ] U j ) ρ ~ ( ⨂ j ∈ [ k ] U j † ) , Sep ( q , k ) ) = dist ( ρ ~ , Sep ( q , k ) ) , \operatorname{dist}\left(\left(\bigotimes_{j\in[k]}U_j\right)\widetilde{\rho}\left(\bigotimes_{j\in[k]}U_j^\dagger\right),\operatorname{Sep}(q,k)\right)=\operatorname{dist}(\widetilde{\rho},\operatorname{Sep}(q,k)), dist j ∈ [ k ] ⨂ U j ρ j ∈ [ k ] ⨂ U j † , Sep ( q , k ) = dist ( ρ , Sep ( q , k )) ,
and thus every term in the integrand preserves distance from separable states and by Equation (16) the low-dimensional tester A \mathcal{A} A on [ ( ⨂ j ∈ [ k ] U j ) ρ ~ ( ⨂ j ∈ [ k ] U j † ) ] ⊗ N \left[\left(\bigotimes_{j\in[k]}U_j\right)\widetilde{\rho}\left(\bigotimes_{j\in[k]}U_j^\dagger\right)\right]^{\otimes N} [ ( ⨂ j ∈ [ k ] U j ) ρ ( ⨂ j ∈ [ k ] U j † ) ] ⊗ N , returns the correct answer with constant probability. The implementations of the ideal channels C d + 1 → q ( N ) \mathcal{C}_{d+1\to q}^{(N)} C d + 1 → q ( N ) and T q ( N ) \mathcal{T}_q^{(N)} T q ( N ) are discussed in Lemma 7.5 and Lemma 7.6, respectively.
Resource Management. Finally, we bound the error and the total resources used by the algorithm. By Lemma 7.4,
max j ∣ e ^ j − e j ∣ < O ( η 2 / k ) , \max_j\lvert\widehat{e}_j-e_j\rvert< O(\eta^2/k), j max ∣ e j − e j ∣ < O ( η 2 / k ) ,
holds with constant probability. All later target and auxiliary copies are fresh and independent of these estimates. Let Ω ^ \widehat{\Omega} Ω be the joint output of the k N kN k N filtering calls. Applying Lemma 7.3 successively, with all other registers as reference registers, gives
∥ Ω ^ − σ ⊗ N ∥ 1 ≤ O ( 1 ) . \lVert\widehat{\Omega}-\sigma^{\otimes N}\rVert_1\le O(1). ∥ Ω − σ ⊗ N ∥ 1 ≤ O ( 1 ) .
The two remaining contributions follow from Lemmas 7.5 and 7.6 . The total change in acceptance probability, including estimation failure, is at most constant. Consequently, choosing the constants accordingly, if ρ ∈ Sep ( d , k ) \rho\in\operatorname{Sep}(d,k) ρ ∈ Sep ( d , k ) the probability of accepting can be made at least 2 / 3 2/3 2/3 , while making the probability of accepting in the case dist ( ρ , Sep ( d , k ) ) ≥ η \operatorname{dist}(\rho,\operatorname{Sep}(d,k)) \ge\eta dist ( ρ , Sep ( d , k )) ≥ η at most 1 / 3 1/3 1/3 .
Substituting q = O ( k 2 / η 4 ) q = O(k^{2}/\eta^{4}) q = O ( k 2 / η 4 ) and the requested accuracies in the four subroutine bounds gives poly ( k , N , η − 1 ) \operatorname{poly}(k,N,\eta^{-1}) poly ( k , N , η − 1 ) copies and total time T + poly ( k , N , η − 1 , log d ) T + \operatorname{poly}(k,N,\eta^{-1},\log d) T + poly ( k , N , η − 1 , log d ) ; A \mathcal{A} A is only run once.
Proofs Omitted from Section 6
Lemma 6.5 (Subspace Tomography (essentially [4 Lemma 5.9] ).) Let ω ∈ D ( ( C q ) ⊗ m ) \omega\in\mathcal{D}((\mathbb{C}^{q})^{\otimes m}) ω ∈ D (( C q ) ⊗ m ) be a quantum state and P P P a known projector on a subspace V V V of dimension D D D given explicitly by its orthonormal product basis, i.e.,
P = ∑ ℓ = 1 D ∣ a ℓ ⟩ ⟨ a ℓ ∣ and V = im ( P ) . P = \sum_{\ell=1}^{D} |a_{\ell}\rangle\langle a_{\ell}| \quad\text{and}\quad V = \operatorname{im}(P). P = ℓ = 1 ∑ D ∣ a ℓ ⟩ ⟨ a ℓ ∣ and V = im ( P ) . For any δ , ϵ > 0 \delta,\epsilon> 0 δ , ϵ > 0 there exists an algorithm that with O ( D 2 ϵ 2 log ( 1 / δ ) ) O\left(\frac{D^{2}}{\epsilon^{2}}\log(1/\delta)\right) O ( ϵ 2 D 2 log ( 1/ δ ) ) copies of ω \omega ω outputs a classical representation ω ^ \widehat{\omega} ω supported on V V V such that with probability at least 1 − δ 1-\delta 1 − δ it holds that ∥ ω ^ − P ω P ∥ ≤ ϵ \|\widehat{\omega}-P\omega P\| \le\epsilon ∥ ω − P ω P ∥ ≤ ϵ . Moreover, the algorithm runs in time poly ( m , q , D , ϵ − 1 , log 1 / δ ) \operatorname{poly}(m,q,D,\epsilon^{-1},\log1/\delta) poly ( m , q , D , ϵ − 1 , log 1/ δ ) .
Proof. Let F : C D → ( C q ) ⊗ m F:\mathbb{C}^{D}\to(\mathbb{C}^{q})^{\otimes m} F : C D → ( C q ) ⊗ m be defined as F ∣ ℓ ⟩ = ∣ a ℓ ⟩ F|\ell\rangle=|a_{\ell}\rangle F ∣ ℓ ⟩ = ∣ a ℓ ⟩ . Then F † F = I D F^{\dagger}F=I_{D} F † F = I D and F F † = P FF^{\dagger}=P F F † = P , since the a ℓ a_{\ell} a ℓ are orthonormal. Moreover, because vectors a ℓ a_{\ell} a ℓ are explicitly given, the isometry F F F , together with the projection onto its image, can be implemented in time poly ( m , q , D ) \operatorname{poly}(m,q,D) poly ( m , q , D ) .
Apply standard Frobenius tomography (such as the one of Flammia and O’Donnell [FO24]) to
ω ′ = ( F † ω F ) ⊕ ( 1 − Tr ( P ω ) ) ∣ ⊥ ⟩ ⟨ ⊥ ∣ , \omega'=(F^{\dagger}\omega F)\oplus(1-\operatorname{Tr}(P\omega))|\perp\rangle\langle\perp|, ω ′ = ( F † ω F ) ⊕ ( 1 − Tr ( P ω )) ∣ ⊥ ⟩ ⟨ ⊥ ∣ , which is a density matrix of C D ⊕ Span { ∣ ⊥ ⟩ } \mathbb{C}^{D}\oplus\operatorname{Span}\{|\perp\rangle\} C D ⊕ Span { ∣ ⊥ ⟩} since Tr ( F † ω F ) = Tr ( F F † ω ) = Tr ( P ω ) \operatorname{Tr}(F^{\dagger}\omega F)=\operatorname{Tr}(FF^{\dagger}\omega)=\operatorname{Tr}(P\omega) Tr ( F † ω F ) = Tr ( F F † ω ) = Tr ( P ω ) . So we get back a classical description ω ^ ′ \widehat{\omega}' ω ′ such that
∥ ω ′ − ω ^ ′ ∥ ≤ ϵ , \|\omega'-\widehat{\omega}'\|\le\epsilon, ∥ ω ′ − ω ′ ∥ ≤ ϵ , in time and copies O ( D 2 ϵ − 2 log 1 / δ ) O(D^{2}\epsilon^{-2}\log1/\delta) O ( D 2 ϵ − 2 log 1/ δ ) . Let Q Q Q be the projector from C D ⊕ Span ( ∣ ⊥ ⟩ ) \mathbb{C}^{D}\oplus\operatorname{Span}(|\perp\rangle) C D ⊕ Span ( ∣ ⊥ ⟩) to C D \mathbb{C}^{D} C D , and define ω ^ = F Q ω ^ ′ Q F † \widehat{\omega}=FQ\widehat{\omega}'QF^{\dagger} ω = F Q ω ′ Q F † . Since F Q ω ′ Q F † = F ( F † ω F ) F † = P ω P FQ\omega'QF^{\dagger}=F(F^{\dagger}\omega F)F^{\dagger}=P\omega P F Q ω ′ Q F † = F ( F † ω F ) F † = P ω P ,
∥ ω ^ − P ω P ∥ = ∥ F Q ( ω ^ ′ − ω ′ ) Q F † ∥ ≤ ∥ Q ( ω ^ ′ − ω ′ ) Q ∥ ≤ ∥ ω ′ − ω ^ ′ ∥ ≤ ϵ , \begin{aligned}
\|\widehat{\omega}-P\omega P\|&=\|FQ(\widehat{\omega}'-\omega')QF^{\dagger}\|\\
&\le\|Q(\widehat{\omega}'-\omega')Q\|\\
&\le\|\omega'-\widehat{\omega}'\|\le\epsilon,
\end{aligned} ∥ ω − P ω P ∥ = ∥ F Q ( ω ′ − ω ′ ) Q F † ∥ ≤ ∥ Q ( ω ′ − ω ′ ) Q ∥ ≤ ∥ ω ′ − ω ′ ∥ ≤ ϵ , where we used that the Frobenius norm is nonexpansive under isometries and projections, thus concluding the proof. □ \square □
Lemma 6.6 (Polynomial Optimization (essentially [4 Section 6] ).) Let E E E be a finite-dimensional real Hilbert space of dimension n n n and let K ⊂ B E \mathcal{K}\subset B_E K ⊂ B E be compact and convex. Let
p ( y ) = ∑ j = 0 D ⟨ T j , y ⊗ j ⟩ , p(y)=\sum_{j=0}^{D}\langle T_j,y^{\otimes j}\rangle, p ( y ) = j = 0 ∑ D ⟨ T j , y ⊗ j ⟩ , and ∑ j = 0 D ∥ T j ∥ ≤ 1 \sum_{j=0}^{D}\|T_j\|\le1 ∑ j = 0 D ∥ T j ∥ ≤ 1 , and ϕ : K → [ 0 , ∞ ) \phi:\mathcal{K}\to[0,\infty) ϕ : K → [ 0 , ∞ ) be convex and continuous. For every ϵ > 0 \epsilon>0 ϵ > 0 there exists an algorithm which returns y ^ ∈ K \widehat{y}\in\mathcal{K} y ∈ K such that, if Opt = max y ∈ K e − ϕ ( y ) p ( y ) ≥ ϵ \operatorname{Opt}=\max_{y\in\mathcal{K}}e^{-\phi(y)}p(y)\ge\epsilon Opt = max y ∈ K e − ϕ ( y ) p ( y ) ≥ ϵ then
e − ϕ ( y ^ ) p ( y ^ ) ≥ Opt − ϵ . e^{-\phi(\widehat{y})}p(\widehat{y})\ge\operatorname{Opt}-\epsilon. e − ϕ ( y ) p ( y ) ≥ Opt − ϵ . The algorithm runs in time poly D , ϵ ( n ) \operatorname{poly}_{D,\epsilon}(n) poly D , ϵ ( n ) .
Proof. Fix τ = O ( ϵ / D 2 ) \tau=O(\epsilon/D^{2}) τ = O ( ϵ / D 2 ) and γ = O ( ϵ / D ) \gamma=O(\epsilon/D) γ = O ( ϵ / D ) . For every j ∈ [ D ] j\in[D] j ∈ [ D ] , we flatten the tensor T j ∈ E ⊗ j T_j\in E^{\otimes j} T j ∈ E ⊗ j along the s ∈ [ j ] s\in[j] s ∈ [ j ] coordinate giving the linear map
A j , s : E → E ⊗ ( j − 1 ) , A_{j,s}:E\to E^{\otimes(j-1)}, A j , s : E → E ⊗ ( j − 1 ) , and let A = ⨁ j ∈ [ D ] ⨁ s ∈ [ j ] A j , s A=\bigoplus_{j\in[D]}\bigoplus_{s\in[j]}A_{j,s} A = ⨁ j ∈ [ D ] ⨁ s ∈ [ j ] A j , s , which is a linear map A : E → ⨁ j ∈ [ D ] ⨁ s ∈ [ j ] E ⊗ ( j − 1 ) A:E\to\bigoplus_{j\in[D]}\bigoplus_{s\in[j]}E^{\otimes(j-1)} A : E → ⨁ j ∈ [ D ] ⨁ s ∈ [ j ] E ⊗ ( j − 1 ) .
The Frobenius norm of A A A can be upper bounded as
∥ A ∥ 2 = ∑ j = 1 D ∑ s ∈ [ j ] ∥ A j , s ∥ 2 ≤ ∑ j = 1 D j ∥ T j ∥ 2 ≤ D . \lVert A\rVert^{2}=\sum_{j=1}^{D}\sum_{s\in[j]}\lVert A_{j,s}\rVert^{2}\leq\sum_{j=1}^{D}j\lVert T_j\rVert^{2}\leq D. ∥ A ∥ 2 = j = 1 ∑ D s ∈ [ j ] ∑ ∥ A j , s ∥ 2 ≤ j = 1 ∑ D j ∥ T j ∥ 2 ≤ D .
Now we can apply Lemma 3.2 with accuracy τ \tau τ that returns a subspace W ⊆ E W\subseteq E W ⊆ E such that dim ( W ) ≤ ( D / τ ) 2 \dim(W)\leq(D/\tau)^2 dim ( W ) ≤ ( D / τ ) 2 and ∥ A ( I − P W ) ∥ o p ≤ τ \lVert A(I-P_W)\rVert_{\mathrm{op}}\leq\tau ∥ A ( I − P W ) ∥ op ≤ τ . Now let Q j , s Q_{j,s} Q j , s be the orthogonal projection of A A A onto the ( j , s ) (j,s) ( j , s ) direct sum component of A A A , i.e., A j , s = Q j , s A A_{j,s}=Q_{j,s}A A j , s = Q j , s A . Then
∥ A j , s ( I − P W ) ∥ o p = ∥ Q j , s A ( I − P W ) ∥ o p ≤ ∥ A ( I − P W ) ∥ o p ≤ τ , \begin{aligned}
\lVert A_{j,s}(I-P_W)\rVert_{\mathrm{op}}&=\lVert Q_{j,s}A(I-P_W)\rVert_{\mathrm{op}}\\
&\leq\lVert A(I-P_W)\rVert_{\mathrm{op}}\\
&\leq\tau,
\end{aligned} ∥ A j , s ( I − P W ) ∥ op = ∥ Q j , s A ( I − P W ) ∥ op ≤ ∥ A ( I − P W ) ∥ op ≤ τ ,
since Q j , s Q_{j,s} Q j , s is a projection and thus ∥ Q j , s ∥ o p ≤ 1 \lVert Q_{j,s}\rVert_{\mathrm{op}}\leq1 ∥ Q j , s ∥ op ≤ 1 . Consequently y ↦ p ( y ) y\mapsto p(y) y ↦ p ( y ) is uniformly approximated by the uniform projection of y y y to W W W as
∣ p ( y ) − p ( P W y ) ∣ ≤ ∑ j = 0 D ∣ ⟨ T j , ( I − P W ⊗ j ) y ⊗ j ⟩ ∣ ≤ ∑ j = 0 D ∑ s = 1 j ∥ A j , s ( I − P W ) ∥ o p ≤ τ D 2 . (17) \begin{aligned}
|p(y)-p(P_Wy)|&\leq\sum_{j=0}^{D}|\langle T_j,(I-P_W^{\otimes j})y^{\otimes j}\rangle|\\
&\leq\sum_{j=0}^{D}\sum_{s=1}^{j}\lVert A_{j,s}(I-P_W)\rVert_{\mathrm{op}}\leq\tau D^2. \tag*{(17)}
\end{aligned} ∣ p ( y ) − p ( P W y ) ∣ ≤ j = 0 ∑ D ∣ ⟨ T j , ( I − P W ⊗ j ) y ⊗ j ⟩ ∣ ≤ j = 0 ∑ D s = 1 ∑ j ∥ A j , s ( I − P W ) ∥ op ≤ τ D 2 . (17)
Let y ∗ y^* y ∗ be the maximizer of e − ϕ ( y ) p ( y ) e^{-\phi(y)}p(y) e − ϕ ( y ) p ( y ) and let G \mathcal{G} G be a γ \gamma γ -net of B W B_W B W (in ℓ 2 \ell_2 ℓ 2 -norm). Since dim ( W ) ≤ ( D / τ ) 2 \dim(W)\leq(D/\tau)^2 dim ( W ) ≤ ( D / τ ) 2 , we know that ∣ G ∣ ≤ γ − O ( ( D / τ ) 2 ) |\mathcal{G}|\leq\gamma^{-O((D/\tau)^2)} ∣ G ∣ ≤ γ − O (( D / τ ) 2 ) . Thus there exists a g ∗ ∈ G g^*\in\mathcal{G} g ∗ ∈ G such that ∥ g ∗ − P W y ∗ ∥ ≤ γ \lVert g^*-P_Wy^*\rVert\leq\gamma ∥ g ∗ − P W y ∗ ∥ ≤ γ . For every g ∈ G g\in\mathcal{G} g ∈ G solve the following optimization problem
min ϕ ( y ) s.t. y ∈ K , ∥ P W y − g ∥ ≤ γ , \begin{aligned}
\min\ &\phi(y)\\
\text{s.t. }&y\in\mathcal{K},\ \lVert P_Wy-g\rVert\leq\gamma,
\end{aligned} min s.t. ϕ ( y ) y ∈ K , ∥ P W y − g ∥ ≤ γ ,
and obtain y g y_g y g if the problem is feasible. Observe that the problem is feasible for g = g ∗ g=g^* g = g ∗ (with feasible point y ∗ y^* y ∗ ) and ϕ ( y g ∗ ) ≤ ϕ ( y ∗ ) \phi(y_{g^*})\leq\phi(y^*) ϕ ( y g ∗ ) ≤ ϕ ( y ∗ ) . By the triangle inequality, we also have that
∥ P W y g ∗ − P W y ∗ ∥ ≤ ∥ P W y g ∗ − g ∗ ∥ + ∥ g ∗ − P W y ∗ ∥ ≤ 2 γ . (18) \lVert P_Wy_{g^*}-P_Wy^*\rVert\leq\lVert P_Wy_{g^*}-g^*\rVert+\lVert g^*-P_Wy^*\rVert\leq2\gamma. \tag*{(18)} ∥ P W y g ∗ − P W y ∗ ∥ ≤ ∥ P W y g ∗ − g ∗ ∥ + ∥ g ∗ − P W y ∗ ∥ ≤ 2 γ . (18)
Next we show that p p p is D D D -Lipschitz. Indeed, we can write
y ⊗ j − ( y ′ ) ⊗ j = ∑ s = 1 j y ⊗ ( s − 1 ) ⊗ ( y − y ′ ) ⊗ ( y ′ ) ⊗ ( j − s ) , y^{\otimes j}-(y')^{\otimes j}=\sum_{s=1}^{j}y^{\otimes(s-1)}\otimes(y-y')\otimes(y')^{\otimes(j-s)}, y ⊗ j − ( y ′ ) ⊗ j = s = 1 ∑ j y ⊗ ( s − 1 ) ⊗ ( y − y ′ ) ⊗ ( y ′ ) ⊗ ( j − s ) ,
and thus
∣ p ( y ) − p ( y ′ ) ∣ ≤ ∑ j = 0 D ∣ ⟨ T j , y ⊗ j − ( y ′ ) ⊗ j ⟩ ∣ ≤ ∑ j = 0 D ∑ s = 1 j ∥ T j ∥ ∥ y − y ′ ∥ ≤ ∑ j = 0 D j ∥ T j ∥ ∥ y − y ′ ∥ ≤ D ∥ y − y ′ ∥ . \begin{aligned}
|p(y)-p(y')|&\leq\sum_{j=0}^{D}|\langle T_j,y^{\otimes j}-(y')^{\otimes j}\rangle|\\
&\leq\sum_{j=0}^{D}\sum_{s=1}^{j}\lVert T_j\rVert\lVert y-y'\rVert\\
&\leq\sum_{j=0}^{D}j\lVert T_j\rVert\lVert y-y'\rVert\\
&\leq D\lVert y-y'\rVert.
\end{aligned} ∣ p ( y ) − p ( y ′ ) ∣ ≤ j = 0 ∑ D ∣ ⟨ T j , y ⊗ j − ( y ′ ) ⊗ j ⟩ ∣ ≤ j = 0 ∑ D s = 1 ∑ j ∥ T j ∥ ∥ y − y ′ ∥ ≤ j = 0 ∑ D j ∥ T j ∥ ∥ y − y ′ ∥ ≤ D ∥ y − y ′ ∥ .
This lets us conclude easily that p ( y g ∗ ) p(y_{g^*}) p ( y g ∗ ) is close to p ( y ∗ ) p(y^*) p ( y ∗ ) .
∣ p ( y g ∗ ) − p ( y ∗ ) ∣ ≤ ∣ p ( y g ∗ ) − p ( P W y g ∗ ) ∣ + ∣ p ( P W y g ∗ ) − p ( P W y ∗ ) ∣ + ∣ p ( P W y ∗ ) − p ( y ∗ ) ∣ ≤ τ D 2 + D ∥ P W ( y g ∗ − y ∗ ) ∥ + τ D 2 (19) \begin{aligned}
\left|p(y_{g^*})-p(y^*)\right| &\leq\left|p(y_{g^*})-p(P_Wy_{g^*})\right|+\left|p(P_Wy_{g^*})-p(P_Wy^*)\right|+\left|p(P_Wy^*)-p(y^*)\right| \\
&\leq\tau D^2+D\left\|P_W(y_{g^*}-y^*)\right\|+\tau D^2 \tag*{(19)}
\end{aligned} ∣ p ( y g ∗ ) − p ( y ∗ ) ∣ ≤ ∣ p ( y g ∗ ) − p ( P W y g ∗ ) ∣ + ∣ p ( P W y g ∗ ) − p ( P W y ∗ ) ∣ + ∣ p ( P W y ∗ ) − p ( y ∗ ) ∣ ≤ τ D 2 + D ∥ P W ( y g ∗ − y ∗ ) ∥ + τ D 2 (19)
≤ 2 τ D 2 + 2 D γ (20) \leq2\tau D^2+2D\gamma \tag*{(20)} ≤ 2 τ D 2 + 2 D γ (20)
≤ O ( ϵ ) (21) \leq O(\epsilon) \tag*{(21)} ≤ O ( ϵ ) (21)
Moreover, since Opt ≥ ϵ \operatorname{Opt}\geq\epsilon Opt ≥ ϵ and ϕ ( y ) ≥ 0 \phi(y)\geq0 ϕ ( y ) ≥ 0 we also obtain that p ( y ∗ ) ≥ ϵ p(y^*)\geq\epsilon p ( y ∗ ) ≥ ϵ , and Equation (21) implies that p ( y g ∗ ) ≥ p ( y ∗ ) − O ( ϵ ) > 0 p(y_{g^*})\geq p(y^*)-O(\epsilon)>0 p ( y g ∗ ) ≥ p ( y ∗ ) − O ( ϵ ) > 0 . We can combine this with the already observed fact that e − ϕ ( y g ∗ ) ≥ e − ϕ ( y ∗ ) e^{-\phi(y_{g^*})}\geq e^{-\phi(y^*)} e − ϕ ( y g ∗ ) ≥ e − ϕ ( y ∗ ) to conclude that
e − ϕ ( y g ∗ ) p ( y g ∗ ) ≥ e − ϕ ( y g ∗ ) p ( y ∗ ) − O ( ϵ ) ≥ Opt − O ( ϵ ) , e^{-\phi(y_{g^*})}p(y_{g^*})\geq e^{-\phi(y_{g^*})}p(y^*)-O(\epsilon)\geq\operatorname{Opt}-O(\epsilon), e − ϕ ( y g ∗ ) p ( y g ∗ ) ≥ e − ϕ ( y g ∗ ) p ( y ∗ ) − O ( ϵ ) ≥ Opt − O ( ϵ ) ,
showing that there is a g ∈ G g\in\mathcal{G} g ∈ G which returns a y g y_g y g with objective greater than Opt − O ( ϵ ) \operatorname{Opt}-O(\epsilon) Opt − O ( ϵ ) . The proof is concluded by showing that ∣ G ∣ ≤ ( ϵ / D ) − O ( D 3 / ϵ 2 ) = O ϵ , D ( 1 ) |\mathcal{G}|\leq(\epsilon/D)^{-O(D^3/\epsilon^2)}=O_{\epsilon,D}(1) ∣ G ∣ ≤ ( ϵ / D ) − O ( D 3 / ϵ 2 ) = O ϵ , D ( 1 ) and that every execution of the convex program is polynomial in the dimension of E E E . □
Lemma 6.4. For every δ > 0 \delta>0 δ > 0 , there exists a quantum algorithm (Algorithm 3) implementing LocalSearch α , ϵ ( ω , K , a ) \operatorname{LocalSearch}_{\alpha,\epsilon}(\omega,K,a) LocalSearch α , ϵ ( ω , K , a ) according to Definition 6.3 , with failure probability at most δ \delta δ using ( m q ) O ( log ( G / ( α ϵ ) ) ) log ( 1 / δ ) (mq)^{O(\log(G/(\alpha\epsilon)))}\log(1/\delta) ( m q ) O ( l o g ( G / ( α ϵ ))) log ( 1/ δ ) copies of ω \omega ω and total running time poly α , ϵ , G ( m , q , T , log ( 1 / δ ) ) \operatorname{poly}_{\alpha,\epsilon,G}(m,q,T,\log(1/\delta)) poly α , ϵ , G ( m , q , T , log ( 1/ δ )) , where G : = 1 + ∑ ℓ = 1 T ∣ c ℓ ∣ G:=1+\sum_{\ell=1}^{T}|c_\ell| G := 1 + ∑ ℓ = 1 T ∣ c ℓ ∣ .
Proof. We are going to divide the proof into several steps.
Then define G = 1 + ∑ ℓ = 1 T ∣ c ℓ ∣ G=1+\sum_{\ell=1}^{T}|c_\ell| G = 1 + ∑ ℓ = 1 T ∣ c ℓ ∣ and note that ∥ ω − K ∥ o p ≤ 1 + ∑ ℓ = 1 T ∣ c ℓ ∣ = : G \|\omega-K\|_{\mathrm{op}}\leq1+\sum_{\ell=1}^{T}|c_\ell|=:G ∥ ω − K ∥ op ≤ 1 + ∑ ℓ = 1 T ∣ c ℓ ∣ =: G .
Relevant x x x are Represented in K S \mathcal{K}_S K S . Let x = ⨂ i ∈ [ m ] x i ∈ R ( a , α ) x=\bigotimes_{i\in[m]}x_i\in R(a,\alpha) x = ⨂ i ∈ [ m ] x i ∈ R ( a , α ) and write it as
x i = a i + z i 1 + ∥ z i ∥ 2 , x_i=\frac{a_i+z_i}{\sqrt{1+\|z_i\|^2}}, x i = 1 + ∥ z i ∥ 2 a i + z i ,
for all i < m i<m i < m , where z i ∈ a i ⊥ z_i\in a_i^\perp z i ∈ a i ⊥ . The fact that x ∈ R ( a , α ) x\in R(a,\alpha) x ∈ R ( a , α ) means that it cannot be that some x i x_i x i is orthogonal to a i a_i a i , otherwise we would have that ⟨ a , x [ m − 1 ] ⟩ = 0 \langle a,x_{[m-1]}\rangle=0 ⟨ a , x [ m − 1 ] ⟩ = 0 contradicting that x ∈ R ( a , α ) x\in R(a,\alpha) x ∈ R ( a , α ) . Moreover, since x ∈ R ( a , α ) x\in R(a,\alpha) x ∈ R ( a , α ) , we get the following implications
∣ ⟨ a , x [ m − 1 ] ⟩ ∣ 2 = ∏ i < m ∣ ⟨ a i , x i ⟩ ∣ 2 = ∏ i < m 1 1 + ∥ z i ∥ 2 ≥ α , \begin{aligned}
\left|\langle a,x_{[m-1]}\rangle\right|^2=\prod_{i<m}\left|\langle a_i,x_i\rangle\right|^2 \\
&=\prod_{i<m}\frac{1}{1+\|z_i\|^2}\geq\alpha,
\end{aligned} ⟨ a , x [ m − 1 ] ⟩ 2 = i < m ∏ ∣ ⟨ a i , x i ⟩ ∣ 2 = i < m ∏ 1 + ∥ z i ∥ 2 1 ≥ α ,
and thus ∑ i < m log ( 1 + ∥ z i ∥ 2 ) ≤ log ( 1 / α ) \sum_{i<m}\log(1+\|z_i\|^2)\leq\log(1/\alpha) ∑ i < m log ( 1 + ∥ z i ∥ 2 ) ≤ log ( 1/ α ) . Define S = { i < m : ∥ z i ∥ > 1 } S=\{i<m:\|z_i\|>1\} S = { i < m : ∥ z i ∥ > 1 } . Every index i ∈ S i\in S i ∈ S contributes at least log ( 2 ) \log(2) log ( 2 ) and thus there can be at most log ( 1 / α ) / log ( 2 ) ≤ 2 log ( 1 / α ) \log(1/\alpha)/\log(2)\leq2\log(1/\alpha) log ( 1/ α ) / log ( 2 ) ≤ 2 log ( 1/ α ) .
On the other hand for all i ∈ [ m − 1 ] ∖ S i\in[m-1]\setminus S i ∈ [ m − 1 ] ∖ S we have ∥ z i ∥ ≤ 1 \|z_i\|\leq1 ∥ z i ∥ ≤ 1 and thus
∑ i ∈ [ m − 1 ] ∖ S ∥ z i ∥ 2 ≤ 2 ∑ i ∈ [ m − 1 ] ∖ S log ( 1 + ∥ z i ∥ 2 ) ≤ 2 log ( 1 / α ) , \sum_{i\in[m-1]\setminus S}\|z_i\|^2\leq2\sum_{i\in[m-1]\setminus S}\log(1+\|z_i\|^2)\leq2\log(1/\alpha), i ∈ [ m − 1 ] ∖ S ∑ ∥ z i ∥ 2 ≤ 2 i ∈ [ m − 1 ] ∖ S ∑ log ( 1 + ∥ z i ∥ 2 ) ≤ 2 log ( 1/ α ) ,
and thus, setting u i = x i u_i=x_i u i = x i for all i ∈ S ∪ { m } i\in S\cup\{m\} i ∈ S ∪ { m } we have that ( z , u ) ∈ K S (z,u)\in\mathcal{K}_S ( z , u ) ∈ K S for some S ⊆ [ m − 1 ] S\subseteq[m-1] S ⊆ [ m − 1 ] and ∣ S ∣ ≤ 2 log ( 1 / α ) |S|\leq2\log(1/\alpha) ∣ S ∣ ≤ 2 log ( 1/ α ) .
Distance from the Subspace V S V_S V S Fix any S S S and let ( z , u ) ∈ K S (z,u)\in\mathcal{K}_S ( z , u ) ∈ K S with ∥ u i ∥ = 1 \lVert u_i\rVert=1 ∥ u i ∥ = 1 , and consider the normalized product vector
x ( z , u ) = ⨂ i ∈ [ m − 1 ] ∖ S a i + z i 1 + ∥ z i ∥ 2 ⊗ ⨂ i ∈ S ∪ { m } u i . x(z,u)=\bigotimes_{i\in[m-1]\setminus S}\frac{a_i+z_i}{\sqrt{1+\lVert z_i\rVert^2}}\otimes\bigotimes_{i\in S\cup\{m\}}u_i. x ( z , u ) = i ∈ [ m − 1 ] ∖ S ⨂ 1 + ∥ z i ∥ 2 a i + z i ⊗ i ∈ S ∪ { m } ⨂ u i .
If we expand the first tensor product, we can write it as:
x ( z , u ) = 1 ∏ i ∈ [ m − 1 ] ∖ S 1 + ∥ z i ∥ 2 ∑ R ⊆ [ m − 1 ] ∖ S ( ⨂ i ∈ ( [ m − 1 ] ∖ S ) ∖ R a i ⊗ ⨂ i ∈ R z i ⊗ ⨂ i ∈ S ∪ { m } u i ) . x(z,u)=\frac{1}{\prod_{i\in[m-1]\setminus S}\sqrt{1+\lVert z_i\rVert^2}}\sum_{R\subseteq[m-1]\setminus S}\left(\bigotimes_{i\in([m-1]\setminus S)\setminus R}a_i\otimes\bigotimes_{i\in R}z_i\otimes\bigotimes_{i\in S\cup\{m\}}u_i\right). x ( z , u ) = ∏ i ∈ [ m − 1 ] ∖ S 1 + ∥ z i ∥ 2 1 R ⊆ [ m − 1 ] ∖ S ∑ i ∈ ([ m − 1 ] ∖ S ) ∖ R ⨂ a i ⊗ i ∈ R ⨂ z i ⊗ i ∈ S ∪ { m } ⨂ u i .
The projection P S P_S P S on the subspace V S h V_S^h V S h precisely keeps all the components with ∣ R ∣ ≤ h |R|\le h ∣ R ∣ ≤ h , and thus
∥ ( I − P S ) x ( z , u ) ∥ 2 = 1 ∏ i ∈ [ m − 1 ] ∖ S ( 1 + ∥ z i ∥ 2 ) ∑ t > h ∑ R ⊆ [ m − 1 ] ∖ S ∣ R ∣ = t ∏ i ∈ R ∥ z i ∥ 2 ≤ ∑ t > h ∑ R ⊆ [ m − 1 ] ∖ S ∣ R ∣ = t ∏ i ∈ R ∥ z i ∥ 2 . \lVert(I-P_S)x(z,u)\rVert^2=\frac{1}{\prod_{i\in[m-1]\setminus S}(1+\lVert z_i\rVert^2)}\sum_{t>h}\sum_{\substack{R\subseteq[m-1]\setminus S\\|R|=t}}\prod_{i\in R}\lVert z_i\rVert^2\le\sum_{t>h}\sum_{\substack{R\subseteq[m-1]\setminus S\\|R|=t}}\prod_{i\in R}\lVert z_i\rVert^2. ∥( I − P S ) x ( z , u ) ∥ 2 = ∏ i ∈ [ m − 1 ] ∖ S ( 1 + ∥ z i ∥ 2 ) 1 t > h ∑ R ⊆ [ m − 1 ] ∖ S ∣ R ∣ = t ∑ i ∈ R ∏ ∥ z i ∥ 2 ≤ t > h ∑ R ⊆ [ m − 1 ] ∖ S ∣ R ∣ = t ∑ i ∈ R ∏ ∥ z i ∥ 2 .
Now we can use the usual estimate ∑ R ⊆ [ n ] ∣ R ∣ = t ∏ i ∈ R s i ≤ ( ∑ i ∈ [ n ] s i ) t t ! \sum_{\substack{R\subseteq[n]\\|R|=t}}\prod_{i\in R}s_i\le\frac{\left(\sum_{i\in[n]}s_i\right)^t}{t!} ∑ R ⊆ [ n ] ∣ R ∣ = t ∏ i ∈ R s i ≤ t ! ( ∑ i ∈ [ n ] s i ) t , applied to s i = ∥ z i ∥ 2 s_i=\lVert z_i\rVert^2 s i = ∥ z i ∥ 2 on the set [ m − 1 ] ∖ S [m-1]\setminus S [ m − 1 ] ∖ S , and, recalling that ∑ i ∈ [ m − 1 ] ∖ S ∥ z i ∥ 2 ≤ 2 log ( 1 / α ) \sum_{i\in[m-1]\setminus S}\lVert z_i\rVert^2\le2\log(1/\alpha) ∑ i ∈ [ m − 1 ] ∖ S ∥ z i ∥ 2 ≤ 2 log ( 1/ α )
∥ ( I − P S ) x ( z , u ) ∥ 2 ≤ ∑ t > h ( 2 log ( 1 / α ) ) t t ! ≤ ∑ t > h ( 2 e log ( 1 / α ) t ) t ≤ ∑ t > h ( 1 2 ) t ( h ≥ 4 e log ( 1 / α ) ) \begin{aligned}
\lVert(I-P_S)x(z,u)\rVert^2\le\sum_{t>h}\frac{(2\log(1/\alpha))^t}{t!} \\
&\le\sum_{t>h}\left(\frac{2e\log(1/\alpha)}{t}\right)^t \\
&\le\sum_{t>h}\left(\frac{1}{2}\right)^t\qquad(h\ge4e\log(1/\alpha))
\end{aligned} ∥( I − P S ) x ( z , u ) ∥ 2 ≤ t > h ∑ t ! ( 2 log ( 1/ α ) ) t ≤ t > h ∑ ( t 2 e log ( 1/ α ) ) t ≤ t > h ∑ ( 2 1 ) t ( h ≥ 4 e log ( 1/ α ))
≤ 2 − h ≤ ( ϵ 32 G ) 2 ( h > 4 log ( 32 G / ϵ ) ) . \begin{aligned}
\le2^{-h} \\
&\le\left(\frac{\epsilon}{32G}\right)^2\qquad(h>4\log(32G/\epsilon)).
\end{aligned} ≤ 2 − h ≤ ( 32 G ϵ ) 2 ( h > 4 log ( 32 G / ϵ )) .
Classical Optimization Approximates Quantum Objective. We condition on the event that subspace tomography returns a ω ^ \widehat{\omega} ω such that
∥ ω ^ − P S ω P S ∥ o p ≤ ∥ ω ^ − P S ω P S ∥ ≤ ϵ / 16 , (22) \lVert\widehat{\omega}-P_S\omega P_S\rVert_{\mathrm{op}}\le\lVert\widehat{\omega}-P_S\omega P_S\rVert\le\epsilon/16, \tag*{(22)} ∥ ω − P S ω P S ∥ op ≤ ∥ ω − P S ω P S ∥ ≤ ϵ /16 , (22)
which holds with high-probability. We want to show that for all ( z , u ) ∈ K S (z,u)\in\mathcal{K}_S ( z , u ) ∈ K S with ∥ u i ∥ = 1 \lVert u_i\rVert=1 ∥ u i ∥ = 1 the value Tr ( ( ω − K ) ∣ x ⟩ ⟨ x ∣ ) \operatorname{Tr}((\omega-K)|x\rangle\langle x|) Tr (( ω − K ) ∣ x ⟩ ⟨ x ∣ ) , with x = x ( z , u ) x=x(z,u) x = x ( z , u ) , approximates F S ( z , u ) F_S(z,u) F S ( z , u ) :
∣ Tr ( ( ω − K ) ( ∣ P S x ⟩ ⟨ P S x ∣ − ∣ x ⟩ ⟨ x ∣ ) ) ∣ ≤ ∣ Tr ( ( ω − K ) ∣ ( P S − I ) x ⟩ ⟨ P S x ∣ ) ∣ + ∣ Tr ( ( ω − K ) ∣ x ⟩ ⟨ ( P S − I ) x ∣ ) ∣ \left|\operatorname{Tr}\left((\omega-K)\left(|P_Sx\rangle\langle P_Sx|-|x\rangle\langle x|\right)\right)\right|
\le\left|\operatorname{Tr}\left((\omega-K)|(P_S-I)x\rangle\langle P_Sx|\right)\right|+\left|\operatorname{Tr}\left((\omega-K)|x\rangle\langle(P_S-I)x|\right)\right| ∣ Tr ( ( ω − K ) ( ∣ P S x ⟩ ⟨ P S x ∣ − ∣ x ⟩ ⟨ x ∣ ) ) ∣ ≤ ∣ Tr ( ( ω − K ) ∣ ( P S − I ) x ⟩ ⟨ P S x ∣ ) ∣ + ∣ Tr ( ( ω − K ) ∣ x ⟩ ⟨( P S − I ) x ∣ ) ∣
≤ 2 ∥ ω − K ∥ o p ∥ ( P S − I ) x ∥ ∥ x ∥ \le2\lVert\omega-K\rVert_{\mathrm{op}}\lVert(P_S-I)x\rVert\lVert x\rVert ≤ 2 ∥ ω − K ∥ op ∥( P S − I ) x ∥ ∥ x ∥
≤ 2 G ∥ ( P S − I ) x ∥ ≤ ϵ 16 , \begin{aligned}
\le2G\lVert(P_S-I)x\rVert\\
&\le\frac{\epsilon}{16},
\end{aligned} ≤ 2 G ∥( P S − I ) x ∥ ≤ 16 ϵ ,
where in the first inequality we used that ∣ a ⟩ ⟨ a ∣ − ∣ b ⟩ ⟨ b ∣ = ∣ a − b ⟩ ⟨ a ∣ + ∣ b ⟩ ⟨ a − b ∣ |a\rangle\langle a|-|b\rangle\langle b|=|a-b\rangle\langle a|+|b\rangle\langle a-b| ∣ a ⟩ ⟨ a ∣ − ∣ b ⟩ ⟨ b ∣ = ∣ a − b ⟩ ⟨ a ∣ + ∣ b ⟩ ⟨ a − b ∣
Consider now F S ( z , u ) F_S(z,u) F S ( z , u ) . Recall that x ( z , u ) = e − Φ ( z ) / 2 [ ⨂ i ∈ [ m − 1 ] ∖ S ( a i + z i ) ⊗ ⨂ i ∈ S ∪ { m } u i ] x(z,u)=e^{-\Phi(z)/2}\left[\bigotimes_{i\in[m-1]\setminus S}(a_i+z_i)\otimes\bigotimes_{i\in S\cup\{m\}}u_i\right] x ( z , u ) = e − Φ ( z ) /2 [ ⨂ i ∈ [ m − 1 ] ∖ S ( a i + z i ) ⊗ ⨂ i ∈ S ∪ { m } u i ] since
e − Φ ( z ) / 2 = 1 ∏ i ∈ [ m − 1 ] ∖ S 1 + ∥ z i ∥ 2 e^{-\Phi(z)/2}=\frac{1}{\prod_{i\in[m-1]\setminus S}\sqrt{1+\lVert z_i\rVert^2}} e − Φ ( z ) /2 = ∏ i ∈ [ m − 1 ] ∖ S 1 + ∥ z i ∥ 2 1
and thus P S x ( z , u ) = e − Φ ( z ) / 2 P S w S ( z , u ) P_Sx(z,u)=e^{-\Phi(z)/2}P_Sw_S(z,u) P S x ( z , u ) = e − Φ ( z ) /2 P S w S ( z , u ) , whereas (recalling that H S = H_S= H S = ω ^ − P S K P S ) \widehat{\omega}-P_S K P_S) ω − P S K P S ) :
F S ( z , u ) = e − Φ ( z ) Tr ( H S ∣ w S ( z , u ) ⟩ ⟨ w S ( z , u ) ∣ ) = Tr ( H S ∣ e − Φ ( z ) / 2 w S ( z , u ) ⟩ ⟨ e − Φ ( z ) / 2 w S ( z , u ) ∣ ) = Tr ( H S ∣ P S x ( z , u ) ⟩ ⟨ P S x ( z , u ) ∣ ) . \begin{aligned}
F_S(z,u) &= e^{-\Phi(z)}\operatorname{Tr}(H_S\lvert w_S(z,u)\rangle\langle w_S(z,u)\rvert) \\
&= \operatorname{Tr}(H_S\lvert e^{-\Phi(z)/2}w_S(z,u)\rangle\langle e^{-\Phi(z)/2}w_S(z,u)\rvert) \\
&= \operatorname{Tr}(H_S\lvert P_Sx(z,u)\rangle\langle P_Sx(z,u)\rvert).
\end{aligned} F S ( z , u ) = e − Φ ( z ) Tr ( H S ∣ w S ( z , u )⟩ ⟨ w S ( z , u )∣) = Tr ( H S ∣ e − Φ ( z ) /2 w S ( z , u )⟩ ⟨ e − Φ ( z ) /2 w S ( z , u )∣) = Tr ( H S ∣ P S x ( z , u )⟩ ⟨ P S x ( z , u )∣) .
Finally,
∣ F S ( z , u ) − Tr ( ( ω − K ) ∣ x ⟩ ⟨ x ∣ ) ∣ ≤ ∣ F S ( z , u ) − Tr ( ( ω − K ) ∣ P S x ⟩ ⟨ P S x ∣ ) ∣ + ϵ 16 = ∣ Tr ( ( ω ^ − P S K P S − ( ω − K ) ) ∣ P S x ⟩ ⟨ P S x ∣ ) ∣ + ϵ 16 = ∣ Tr ( ( ω ^ − P S K P S − P S ( ω − K ) P S ) ∣ P S x ⟩ ⟨ P S x ∣ ) ∣ + ϵ 16 ≤ ∥ ω ^ − P S ω P S ∥ op ∥ P S x ∥ 2 + ϵ 16 ≤ ϵ 8 (23) \begin{aligned}
\lvert F_S(z,u)-\operatorname{Tr}((\omega-K)\lvert x\rangle\langle x\rvert)\rvert
&\leq\lvert F_S(z,u)-\operatorname{Tr}((\omega-K)\lvert P_Sx\rangle\langle P_Sx\rvert)\rvert+\frac{\epsilon}{16}\\
&=\lvert\operatorname{Tr}((\widehat{\omega}-P_SKP_S-(\omega-K))\lvert P_Sx\rangle\langle P_Sx\rvert)\rvert+\frac{\epsilon}{16}\\
&=\lvert\operatorname{Tr}((\widehat{\omega}-P_SKP_S-P_S(\omega-K)P_S)\lvert P_Sx\rangle\langle P_Sx\rvert)\rvert+\frac{\epsilon}{16}\\
&\leq\lVert\widehat{\omega}-P_S\omega P_S\rVert_{\operatorname{op}}\lVert P_Sx\rVert^2+\frac{\epsilon}{16}\\
&\leq\frac{\epsilon}{8} \tag*{(23)}
\end{aligned} ∣ F S ( z , u ) − Tr (( ω − K ) ∣ x ⟩ ⟨ x ∣)∣ ≤ ∣ F S ( z , u ) − Tr (( ω − K ) ∣ P S x ⟩ ⟨ P S x ∣)∣ + 16 ϵ = ∣ Tr (( ω − P S K P S − ( ω − K )) ∣ P S x ⟩ ⟨ P S x ∣)∣ + 16 ϵ = ∣ Tr (( ω − P S K P S − P S ( ω − K ) P S ) ∣ P S x ⟩ ⟨ P S x ∣)∣ + 16 ϵ ≤ ∥ ω − P S ω P S ∥ op ∥ P S x ∥ 2 + 16 ϵ ≤ 8 ϵ (23)
where in the last inequality we used Equation (22) .
Correctness. Let x ∗ ∈ R ( a , α ) x^* \in R(a,\alpha) x ∗ ∈ R ( a , α ) be a maximizer of Tr ( ( ω − K ) ∣ x ⟩ ⟨ x ∣ ) \operatorname{Tr}((\omega-K)\lvert x\rangle\langle x\rvert) Tr (( ω − K ) ∣ x ⟩ ⟨ x ∣) . For the representation above, we can say that there exists a set S ∗ S^* S ∗ and ( z ∗ , u ∗ ) ∈ K S ∗ (z^*,u^*)\in\mathcal{K}_{S^*} ( z ∗ , u ∗ ) ∈ K S ∗ such that x ∗ = x ( z ∗ , u ∗ ) x^*=x(z^*,u^*) x ∗ = x ( z ∗ , u ∗ ) .
Observe that we can apply Lemma 6.6 to F S F_S F S . We first rescale the variables ( z , u ) ∈ K S (z,u)\in\mathcal{K}_S ( z , u ) ∈ K S by R = 2 log ( 1 / α ) + ∣ S ∣ + 1 R=\sqrt{2\log(1/\alpha)+\lvert S\rvert+1} R = 2 log ( 1/ α ) + ∣ S ∣ + 1 , so that they are contained in the unit ball. The polynomial part of F S F_S F S has degree at most 2 ( h + ∣ S ∣ + 1 ) 2(h+\lvert S\rvert+1) 2 ( h + ∣ S ∣ + 1 ) . Moreover, using ∥ H S ∥ F ≤ O ( G ) \lVert H_S\rVert_F\leq O(G) ∥ H S ∥ F ≤ O ( G ) , the sum of the Frobenius norms of its coefficient tensors, after rescaling, is bounded by O α , ϵ , G ( 1 ) O_{\alpha,\epsilon,G}(1) O α , ϵ , G ( 1 ) . Dividing the polynomial and the desired accuracy by this bound gives the required normalization.
Let ( z ^ , u ^ ) ∈ K S ∗ (\hat z,\hat u)\in\mathcal{K}_{S^*} ( z ^ , u ^ ) ∈ K S ∗ be the values returned by the polynomial optimization subroutine of Lemma 6.6 and thus, using the previous steps of Equation (23) , we obtain
F S ∗ ( z ^ , u ^ ) ≥ F S ∗ ( z ∗ , u ∗ ) − ϵ 8 ≥ Tr ( ( ω − K ) ∣ x ∗ ⟩ ⟨ x ∗ ∣ ) − ϵ 4 . \begin{aligned}
F_{S^*}(\hat z,\hat u)&\geq F_{S^*}(z^*,u^*)-\frac{\epsilon}{8}\\
&\geq\operatorname{Tr}((\omega-K)\lvert x^*\rangle\langle x^*\rvert)-\frac{\epsilon}{4}.
\end{aligned} F S ∗ ( z ^ , u ^ ) ≥ F S ∗ ( z ∗ , u ∗ ) − 8 ϵ ≥ Tr (( ω − K ) ∣ x ∗ ⟩ ⟨ x ∗ ∣) − 4 ϵ .
Observe that by assumption Tr ( ( ω − K ) ∣ x ∗ ⟩ ⟨ x ∗ ∣ ) ≥ ϵ \operatorname{Tr}((\omega-K)\lvert x^*\rangle\langle x^*\rvert)\geq\epsilon Tr (( ω − K ) ∣ x ∗ ⟩ ⟨ x ∗ ∣) ≥ ϵ and thus F S ∗ ( z ^ , u ^ ) ≥ ϵ / 2 > 0 F_{S^*}(\hat z,\hat u)\geq\epsilon/2>0 F S ∗ ( z ^ , u ^ ) ≥ ϵ /2 > 0 . This means that the unnormalized value is itself strictly greater than zero, since e − Φ ( z ) > 0 e^{-\Phi(z)}>0 e − Φ ( z ) > 0 , i.e., Tr ( H S ∗ ∣ w S ∗ ( z ^ , u ^ ) ⟩ ⟨ w S ∗ ( z ^ , u ^ ) ∣ ) > 0 \operatorname{Tr}(H_{S^*}\lvert w_{S^*}(\hat z,\hat u)\rangle\langle w_{S^*}(\hat z,\hat u)\rvert)>0 Tr ( H S ∗ ∣ w S ∗ ( z ^ , u ^ )⟩ ⟨ w S ∗ ( z ^ , u ^ )∣) > 0 , but this implies that also all u ^ i \hat u_i u ^ i are nonzero. We then build the physical vector x ^ = x ( z ^ , u ~ ) \hat x=x(\hat z,\tilde u) x ^ = x ( z ^ , u ~ ) , where u ~ = ⨂ i ∈ S ∪ { m } u ^ i / ∥ u ^ i ∥ \tilde u=\bigotimes_{i\in S\cup\{m\}}\hat u_i/\lVert\hat u_i\rVert u ~ = ⨂ i ∈ S ∪ { m } u ^ i / ∥ u ^ i ∥ and, using again that the F S F_S F S approximates the true value, we get
Tr ( ( ω − K ) ∣ x ^ ⟩ ⟨ x ^ ∣ ) ≥ F S ∗ ( z ^ , u ~ ) − ϵ 8 ≥ F S ∗ ( z ^ , u ^ ) − ϵ 8 (Homogeneity and ∥ u ^ i ∥ ≤ 1 ) ≥ Tr ( ( ω − K ) ∣ x ∗ ⟩ ⟨ x ∗ ∣ ) − 3 ϵ 8 . \begin{aligned}
\operatorname{Tr}((\omega-K)\lvert\hat x\rangle\langle\hat x\rvert)&\geq F_{S^*}(\hat z,\tilde u)-\frac{\epsilon}{8}\\
&\geq F_{S^*}(\hat z,\hat u)-\frac{\epsilon}{8} && \text{(Homogeneity and }\lVert\hat u_i\rVert\leq1\text{)}\\
&\geq\operatorname{Tr}((\omega-K)\lvert x^*\rangle\langle x^*\rvert)-\frac{3\epsilon}{8}.
\end{aligned} Tr (( ω − K ) ∣ x ^ ⟩ ⟨ x ^ ∣) ≥ F S ∗ ( z ^ , u ~ ) − 8 ϵ ≥ F S ∗ ( z ^ , u ^ ) − 8 ϵ ≥ Tr (( ω − K ) ∣ x ∗ ⟩ ⟨ x ∗ ∣) − 8 3 ϵ . (Homogeneity and ∥ u ^ i ∥ ≤ 1 )
For each S S S , we compute F S ( z ^ , u ^ ) F_S(\hat z,\hat u) F S ( z ^ , u ^ ) , and if it exceeds ϵ / 2 \epsilon/2 ϵ /2 , we estimate it using copies of ω \omega ω with accuracy ϵ / 4 \epsilon/4 ϵ /4 . Then we return the one with the highest value (including the fallback option a ⊗ b a\otimes b a ⊗ b when all F S ( z ^ , u ^ ) F_S(\hat z,\hat u) F S ( z ^ , u ^ ) do not pass the ϵ / 2 \epsilon/2 ϵ /2 threshold).
Assuming that we are in the good event, the optimum is greater than ϵ \epsilon ϵ , and all estimates hold, i.e., ∣ Tr ( ( ω − K ) ∣ x ⟩ ⟨ x ∣ ) − v x ∣ ≤ ϵ / 4 |\operatorname{Tr}((\omega-K)|x\rangle\langle x|)-v_x|\le\epsilon/4 ∣ Tr (( ω − K ) ∣ x ⟩ ⟨ x ∣ ) − v x ∣ ≤ ϵ /4 for all x ∈ L x\in\mathcal{L} x ∈ L , then applying twice the fact that all estimates hold, we find that
Tr ( ( ω − K ) ∣ x ^ ⟩ ⟨ x ^ ∣ ) ≥ Tr ( ( ω − K ) ∣ x ∗ ⟩ ⟨ x ∗ ∣ ) − ϵ . \operatorname{Tr}((\omega-K)|\hat{x}\rangle\langle\hat{x}|)\ge\operatorname{Tr}((\omega-K)|x^*\rangle\langle x^*|)-\epsilon. Tr (( ω − K ) ∣ x ^ ⟩ ⟨ x ^ ∣ ) ≥ Tr (( ω − K ) ∣ x ∗ ⟩ ⟨ x ∗ ∣ ) − ϵ .
Probability and Resource Bounds. The number of possible sets S ⊆ [ m − 1 ] S\subseteq[m-1] S ⊆ [ m − 1 ] with ∣ S ∣ ≤ 2 log ( 1 / α ) |S|\le2\log(1/\alpha) ∣ S ∣ ≤ 2 log ( 1/ α ) is at most M = m O ( log ( 1 / α ) ) M=m^{O(\log(1/\alpha))} M = m O ( l o g ( 1/ α )) , and thus a union bound over all tomography events and all estimates gives a total success probability of at least 1 − O ( M δ ) 1-O(M\delta) 1 − O ( M δ ) .
On the other hand, the total number of copies required for tomography is O ( max S dim ( V S h ) 2 M log ( M / δ ) / ϵ 2 ) O(\max_{S}\dim(\mathcal{V}_{S}^{h})^2M\log(M/\delta)/\epsilon^2) O ( max S dim ( V S h ) 2 M log ( M / δ ) / ϵ 2 ) , and O ( M log ( M / δ ) / ϵ 2 ) O(M\log(M/\delta)/\epsilon^2) O ( M log ( M / δ ) / ϵ 2 ) for the estimation step. It is not difficult to upper bound max S dim ( V S h ) \max_{S}\dim(\mathcal{V}_{S}^{h}) max S dim ( V S h ) with O ( ( m q ) O ( log ( 2 G / ( α ϵ ) ) ) ) O((mq)^{O(\log(2G/(\alpha\epsilon)))}) O (( m q ) O ( l o g ( 2 G / ( α ϵ ))) ) . Thus the total number of copies is upper bounded by
O α , ϵ , G ( poly ( m q ) log ( 1 / δ ) ) . O_{\alpha,\epsilon,G}(\operatorname{poly}(mq)\log(1/\delta)). O α , ϵ , G ( poly ( m q ) log ( 1/ δ )) .
Lemma 6.7. Given θ > 0 \theta>0 θ > 0 , and ρ ∈ D ( ( C d ) ⊗ k ) \rho\in\mathcal{D}((\mathbb{C}^{d})^{\otimes k}) ρ ∈ D (( C d ) ⊗ k ) supplied by copies, Algorithm 4 returns a θ \theta θ -overlap cover for ρ \rho ρ with probability at least 1 − O ( k δ / θ 2 ) 1-O(k\delta/\theta^2) 1 − O ( k δ / θ 2 ) using at most O θ ( poly ( k d ) log 1 / δ ) O_{\theta}(\operatorname{poly}(kd)\log1/\delta) O θ ( poly ( k d ) log 1/ δ ) copies and time.
Proof. In the following, we assume that every call to LocalSearch gives the guarantees it can supply only with high probability. Each success has probability 1 − δ 1-\delta 1 − δ , and in the j j j -th loop of the algorithm we make at most O ( θ − 2 ) O(\theta^{-2}) O ( θ − 2 ) calls. So the following holds on a good event, which holds with probability at least 1 − O ( k δ θ − 2 ) 1-O(k\delta\theta^{-2}) 1 − O ( k δ θ − 2 ) .
Every Added c ∈ C j c\in C_j c ∈ C j has High Overlap. Suppose c c c was added to C j C_j C j . This was done since there was an a ∈ C j − 1 a\in C_{j-1} a ∈ C j − 1 such that v a ≥ 3 θ / 4 v_a\ge3\theta/4 v a ≥ 3 θ /4 and since, by definition of LocalSearch this was accurate up to θ / 16 \theta/16 θ /16 we get that
Tr ( ( ρ [ j ] − φ j ) ∣ c ⟩ ⟨ c ∣ ) ≥ v a − θ 16 ≥ θ 2 . (24) \operatorname{Tr}((\rho^{[j]}-\varphi_j)|c\rangle\langle c|)\ge v_a-\frac{\theta}{16}\ge\frac{\theta}{2}. \tag*{(24)} Tr (( ρ [ j ] − φ j ) ∣ c ⟩ ⟨ c ∣ ) ≥ v a − 16 θ ≥ 2 θ . (24)
which also implies that
Tr ( ρ [ j ] ∣ c ⟩ ⟨ c ∣ ) ≥ θ 2 , (25) \operatorname{Tr}(\rho^{[j]}|c\rangle\langle c|)\ge\frac{\theta}{2}, \tag*{(25)} Tr ( ρ [ j ] ∣ c ⟩ ⟨ c ∣ ) ≥ 2 θ , (25)
since Tr ( φ j ∣ c ⟩ ⟨ c ∣ ) ≥ 0 \operatorname{Tr}(\varphi_j|c\rangle\langle c|)\ge0 Tr ( φ j ∣ c ⟩ ⟨ c ∣ ) ≥ 0 .
Effect of the Regularizer φ j \varphi_j φ j . Now we show that φ j \varphi_j φ j pushes the element added to C j C_j C j to be nearly orthogonal. Using Equation (24) and the fact that ρ [ j ] \rho^{[j]} ρ [ j ] is a density matrix, we can conclude that
1 ≥ Tr ( ρ [ j ] ∣ c ⟩ ⟨ c ∣ ) ( ρ [ j ] ∈ D ( ( C d ) ⊗ j ) ) ≥ Tr ( φ j ∣ c ⟩ ⟨ c ∣ ) ( xref‘Equation (21) ) = λ ∑ c ′ ∈ C j Tr ( ∣ c ′ ⟩ ⟨ c ′ ∣ c ⟩ ⟨ c ∣ ) = λ ∑ c ′ ∈ C j ∣ ⟨ c ′ , c ⟩ ∣ 2 , \begin{aligned}
1 &\ge\operatorname{Tr}(\rho^{[j]}|c\rangle\langle c|) && (\rho^{[j]}\in\mathcal{D}((\mathbb{C}^{d})^{\otimes j})) \\
&\ge\operatorname{Tr}(\varphi_j|c\rangle\langle c|) && (\text{{xref}`Equation (21)}) \\
&= \lambda\sum_{c'\in C_j}\operatorname{Tr}(|c'\rangle\langle c'|c\rangle\langle c|) \\
&= \lambda\sum_{c'\in C_j}|\langle c',c\rangle|^2,
\end{aligned} 1 ≥ Tr ( ρ [ j ] ∣ c ⟩ ⟨ c ∣ ) ≥ Tr ( φ j ∣ c ⟩ ⟨ c ∣ ) = λ c ′ ∈ C j ∑ Tr ( ∣ c ′ ⟩ ⟨ c ′ ∣ c ⟩ ⟨ c ∣ ) = λ c ′ ∈ C j ∑ ∣ ⟨ c ′ , c ⟩ ∣ 2 , ( ρ [ j ] ∈ D (( C d ) ⊗ j )) ( xref ‘Equation (21) )
from which it follows that each c c c , when added to the set C j C_j C j we are building, satisfies that
∣ ⟨ c ′ , c ⟩ ∣ 2 ≤ ( θ / 8 ) 2 . (26) |\langle c',c\rangle|^2\le(\theta/8)^2. \tag*{(26)} ∣ ⟨ c ′ , c ⟩ ∣ 2 ≤ ( θ /8 ) 2 . (26)
Stopping Condition. We now show that the cap of t ≤ 8 / θ t \le8/\theta t ≤ 8/ θ added in the inner loop of Algorithm 4 is not reached on a good event and the j j j -th loop terminates because Stop = true. We prove this by contradiction. Suppose that for the first N N N iterations of the inner loop we always had max a ∈ C j − 1 v a ≥ 3 4 θ \max_{a\in C_{j-1}} v_a \ge\frac{3}{4}\theta max a ∈ C j − 1 v a ≥ 4 3 θ and let C j = { c 1 , … , c N } C_j = \{c_1,\ldots,c_N\} C j = { c 1 , … , c N } . From Equation (25) we get that
N θ 2 < ∑ t = 1 N Tr ( ρ [ j ] ∣ c t ⟩ ⟨ c t ∣ ) ≤ ∥ ∑ t = 1 N ∣ c t ⟩ ⟨ c t ∣ ∥ o p , \frac{N\theta}{2} < \sum_{t=1}^{N} \operatorname{Tr}(\rho^{[j]} \lvert c_t\rangle\langle c_t\rvert) \le\left\lVert\sum_{t=1}^{N} \lvert c_t\rangle\langle c_t\rvert\right\rVert_{\mathrm{op}}, 2 N θ < t = 1 ∑ N Tr ( ρ [ j ] ∣ c t ⟩ ⟨ c t ∣) ≤ t = 1 ∑ N ∣ c t ⟩ ⟨ c t ∣ op ,
We upper bound this by the standard fact that unit vectors with small overlap (Equation (26) ) have small Gram operator norm.
Define the Gram matrix G G G such that G s t = ⟨ c s , c t ⟩ G_{st} = \langle c_s,c_t\rangle G s t = ⟨ c s , c t ⟩ . Since c t c_t c t are unit vectors, G t t = 1 G_{tt}=1 G tt = 1 and Equation (26) shows that ∣ ⟨ c t , c s ⟩ ∣ ≤ θ / 8 \lvert\langle c_t,c_s\rangle\rvert\le\theta/8 ∣⟨ c t , c s ⟩∣ ≤ θ /8 for s ≠ t s\ne t s = t . Therefore, by the Gershgorin disk theorem (and since G G G is Hermitian and its eigenvalues are real), all eigenvalues lie within a radius of ∑ s : s ≠ t ∣ G t s ∣ ≤ θ ( N − 1 ) / 8 \sum_{s:s\ne t}\lvert G_{ts}\rvert\le\theta(N-1)/8 ∑ s : s = t ∣ G t s ∣ ≤ θ ( N − 1 ) /8 of G t t = 1 G_{tt}=1 G tt = 1 and thus the maximum eigenvalue of G G G is bounded by
1 + θ ( N − 1 ) / 8. 1+\theta(N-1)/8. 1 + θ ( N − 1 ) /8.
This is useful since ∑ t = 1 N ∣ c t ⟩ ⟨ c t ∣ \sum_{t=1}^{N}\lvert c_t\rangle\langle c_t\rvert ∑ t = 1 N ∣ c t ⟩ ⟨ c t ∣ and G G G have the same spectrum (in the support) and ∥ ⋅ ∥ o p \lVert\cdot\rVert_{\mathrm{op}} ∥ ⋅ ∥ op is just the norm of the largest eigenvalue since ∑ t = 1 N ∣ c t ⟩ ⟨ c t ∣ \sum_{t=1}^{N}\lvert c_t\rangle\langle c_t\rvert ∑ t = 1 N ∣ c t ⟩ ⟨ c t ∣ is Hermitian. This shows that
N θ 2 ≤ 1 + θ ( N − 1 ) / 8 , \frac{N\theta}{2}\le1+\theta(N-1)/8, 2 N θ ≤ 1 + θ ( N − 1 ) /8 ,
and rearranging we obtain N ≤ 8 / ( 3 θ ) < 8 / θ N\le8/(3\theta)<8/\theta N ≤ 8/ ( 3 θ ) < 8/ θ .
Coverage. Next we show that if x = ⨂ i ∈ [ j ] x i x=\bigotimes_{i\in[j]}x_i x = ⨂ i ∈ [ j ] x i is a j j j -partite pure product state (with Tr ( ρ [ j ] ∣ x ⟩ ⟨ x ∣ ) ≥ θ \operatorname{Tr}(\rho^{[j]}\lvert x\rangle\langle x\rvert)\ge\theta Tr ( ρ [ j ] ∣ x ⟩ ⟨ x ∣) ≥ θ ) that is not covered by C j C_j C j then the conditions for LocalSearch would have been satisfied and there would have been an x ^ a \hat{x}_a x ^ a such that v a ≥ 3 4 θ v_a\ge\frac{3}{4}\theta v a ≥ 4 3 θ contradicting the fact that (on a good event) the cap condition t ≤ 8 / θ t\le8/\theta t ≤ 8/ θ is not triggered. We do this by induction on j j j . The base case j = 0 j=0 j = 0 is trivial. First, we show that if x x x has non-negligible overlap with ρ [ j ] \rho^{[j]} ρ [ j ] then x [ j − 1 ] : = ⨂ i ∈ [ j − 1 ] x i x_{[j-1]}:=\bigotimes_{i\in[j-1]}x_i x [ j − 1 ] := ⨂ i ∈ [ j − 1 ] x i has non-negligible overlap with ρ [ j − 1 ] \rho^{[j-1]} ρ [ j − 1 ] . Indeed,
Tr ( ρ [ j − 1 ] ∣ x [ j − 1 ] ⟩ ⟨ x [ j − 1 ] ∣ ) = Tr ( ρ [ j ] ( ∣ x [ j − 1 ] ⟩ ⟨ x [ j − 1 ] ∣ ⊗ I ) ) \operatorname{Tr}\left(\rho^{[j-1]}\lvert x_{[j-1]}\rangle\langle x_{[j-1]}\rvert\right)=\operatorname{Tr}\left(\rho^{[j]}\left(\lvert x_{[j-1]}\rangle\langle x_{[j-1]}\rvert\otimes I\right)\right) Tr ( ρ [ j − 1 ] ∣ x [ j − 1 ] ⟩ ⟨ x [ j − 1 ] ∣ ) = Tr ( ρ [ j ] ( ∣ x [ j − 1 ] ⟩ ⟨ x [ j − 1 ] ∣ ⊗ I ) )
(By def. of partial trace)
≥ Tr ( ρ [ j ] ( ∣ x [ j − 1 ] ⟩ ⟨ x [ j − 1 ] ∣ ⊗ ∣ x j ⟩ ⟨ x j ∣ ) ) \ge\operatorname{Tr}\left(\rho^{[j]}\left(\lvert x_{[j-1]}\rangle\langle x_{[j-1]}\rvert\otimes\lvert x_j\rangle\langle x_j\rvert\right)\right) ≥ Tr ( ρ [ j ] ( ∣ x [ j − 1 ] ⟩ ⟨ x [ j − 1 ] ∣ ⊗ ∣ x j ⟩ ⟨ x j ∣ ) )
(I ⪰ ∣ x j ⟩ ⟨ x j ∣ I\succeq\lvert x_j\rangle\langle x_j\rvert I ⪰ ∣ x j ⟩ ⟨ x j ∣ )
= Tr ( ρ [ j ] ∣ x [ j ] ⟩ ⟨ x [ j ] ∣ ) ≥ θ . =\operatorname{Tr}\left(\rho^{[j]}\lvert x_{[j]}\rangle\langle x_{[j]}\rvert\right)\ge\theta. = Tr ( ρ [ j ] ∣ x [ j ] ⟩ ⟨ x [ j ] ∣ ) ≥ θ .
Then, by induction hypothesis, there exists a ∈ C j − 1 a\in C_{j-1} a ∈ C j − 1 such that ∣ ⟨ a , x [ j − 1 ] ⟩ ∣ 2 ≥ α \lvert\langle a,x_{[j-1]}\rangle\rvert^2\ge\alpha ∣⟨ a , x [ j − 1 ] ⟩ ∣ 2 ≥ α , which means that x ∈ R ( a , α ) x\in R(a,\alpha) x ∈ R ( a , α ) .
Next we show that if x x x is not covered by C j C_j C j , then the value is high. Indeed, if x x x is not covered by C j C_j C j , it means that ∣ ⟨ x , c ⟩ ∣ 2 ≤ α \lvert\langle x,c\rangle\rvert^2\le\alpha ∣⟨ x , c ⟩ ∣ 2 ≤ α for all c ∈ C j c\in C_j c ∈ C j and thus
Tr ( φ j ∣ x ⟩ ⟨ x ∣ ) = λ ∑ c ∈ C j ∣ ⟨ c , x ⟩ ∣ 2 ≤ λ ∣ C j ∣ α ≤ ( 8 θ ) 2 θ 8 ( θ 8 ) 4 = θ 8 , \operatorname{Tr}(\varphi_j\lvert x\rangle\langle x\rvert)=\lambda\sum_{c\in C_j}\lvert\langle c,x\rangle\rvert^2\le\lambda\lvert C_j\rvert\alpha\le\left(\frac{8}{\theta}\right)^2\frac{\theta}{8}\left(\frac{\theta}{8}\right)^4=\frac{\theta}{8}, Tr ( φ j ∣ x ⟩ ⟨ x ∣) = λ c ∈ C j ∑ ∣⟨ c , x ⟩ ∣ 2 ≤ λ ∣ C j ∣ α ≤ ( θ 8 ) 2 8 θ ( 8 θ ) 4 = 8 θ ,
and thus
Tr ( ( ρ [ j ] − φ j ) ∣ x ⟩ ⟨ x ∣ ) ≥ 7 8 θ . \operatorname{Tr}\left((\rho^{[j]}-\varphi_j)\lvert x\rangle\langle x\rvert\right)\ge\frac{7}{8}\theta. Tr ( ( ρ [ j ] − φ j ) ∣ x ⟩ ⟨ x ∣ ) ≥ 8 7 θ .
Together with x ∈ R ( a , α ) x\in R(a,\alpha) x ∈ R ( a , α ) this implies that
v a ≥ max x ∈ R ( a , α ) Tr ( ( ρ [ j ] − φ j ) ∣ x ⟩ ⟨ x ∣ ) − θ 8 ≥ 3 4 θ , v_a\ge\max_{x\in R(a,\alpha)}\operatorname{Tr}\left((\rho^{[j]}-\varphi_j)\lvert x\rangle\langle x\rvert\right)-\frac{\theta}{8}\ge\frac{3}{4}\theta, v a ≥ x ∈ R ( a , α ) max Tr ( ( ρ [ j ] − φ j ) ∣ x ⟩ ⟨ x ∣ ) − 8 θ ≥ 4 3 θ ,
contradicting the stopping condition that we proved in the previous step, which implies that v a < 3 4 θ v_a < \frac{3}{4}\theta v a < 4 3 θ for all a ∈ C j − 1 a \in C_{j-1} a ∈ C j − 1 .
Therefore, there must be a c ∈ C j c \in C_j c ∈ C j such that ∣ ⟨ x , c ⟩ ∣ 2 ≥ α |\langle x,c\rangle|^2 \ge\alpha ∣ ⟨ x , c ⟩ ∣ 2 ≥ α . In particular, this holds for j = k j=k j = k , so C k C_k C k is a θ \theta θ -overlap cover for ρ \rho ρ . On the other hand, if C j − 1 = ∅ C_{j-1} = \varnothing C j − 1 = ∅ , then by the induction hypothesis there are no high overlap ( j − 1 ) (j-1) ( j − 1 ) -partite product vectors and thus ∅ \varnothing ∅ is itself a valid θ \theta θ -cover.
Representation Theory
A unitary representation of a group G G G on a finite-dimensional complex space E E E is a homomorphism r : G → U ( E ) r:G \to U(E) r : G → U ( E ) . It is irreducible if E ≠ { 0 } E \ne\{0\} E = { 0 } and its only invariant subspaces are { 0 } \{0\} { 0 } and E E E . Representations r , s r,s r , s are equivalent if A r ( g ) = s ( g ) A Ar(g) = s(g)A A r ( g ) = s ( g ) A for all g g g and some invertible linear map A A A . We recall Schur’s lemma (see Etingof et al. [Eti+11, Proposition 2.3.9]).
Lemma B.1 (Schur’s lemma). Let r : G → U ( E ) r:G \to U(E) r : G → U ( E ) and s : G → U ( F ) s:G \to U(F) s : G → U ( F ) be irreducible representations. If A : E → F A:E \to F A : E → F satisfies A r ( g ) = s ( g ) A Ar(g) = s(g)A A r ( g ) = s ( g ) A for every g ∈ G g \in G g ∈ G , then A = 0 A=0 A = 0 when r , s r,s r , s are inequivalent, and A = c I E A=cI_E A = c I E for some c ∈ C c \in\mathbb{C} c ∈ C when E = F E=F E = F and r = s r=s r = s .
A partition λ ⊢ N \lambda\vdash N λ ⊢ N is a sequence λ 1 ≥ ⋯ ≥ λ s > 0 \lambda_1 \ge\cdots\ge\lambda_s > 0 λ 1 ≥ ⋯ ≥ λ s > 0 with ∑ i λ i = N \sum_i \lambda_i=N ∑ i λ i = N . Its Young diagram has λ i \lambda_i λ i boxes in row i i i , and ℓ ( λ ) = s \ell(\lambda)=s ℓ ( λ ) = s is its number of nonempty rows. A standard tableau fills these boxes with 1 , … , N 1,\ldots,N 1 , … , N , each once, strictly increasingly along rows and columns. A semistandard tableau with alphabet [ m ] [m] [ m ] fills them with entries in [ m ] [m] [ m ] , weakly increasing along rows and strictly increasing down columns.
Next we recall the Schur-Weyl decomposition as stated in [Bur+25, Sections 2.1-2.3] and [Eti+11, Corollary 5.19.2, Theorem 5.22.1].
Lemma B.2 (Schur–Weyl decomposition and bases). For m , N ≥ 1 m,N \ge1 m , N ≥ 1 , let W m ( π ) ( v 1 ⊗ ⋯ ⊗ v N ) = v π − 1 ( 1 ) ⊗ ⋯ ⊗ v π − 1 ( N ) W_m(\pi)(v_1 \otimes\cdots\otimes v_N) = v_{\pi^{-1}(1)} \otimes\cdots\otimes v_{\pi^{-1}(N)} W m ( π ) ( v 1 ⊗ ⋯ ⊗ v N ) = v π − 1 ( 1 ) ⊗ ⋯ ⊗ v π − 1 ( N ) for π \pi π in the symmetric group S N \mathfrak{S}_N S N . There is a unitary change of basis
Sch m : ( C m ) ⊗ N ⟶ ⨁ λ ⊢ N ℓ ( λ ) ≤ m Q λ ( m ) ⊗ P λ \operatorname{Sch}_m:(\mathbb{C}^m)^{\otimes N} \longrightarrow\bigoplus_{\substack{\lambda\vdash N \\ \ell(\lambda)\le m}} Q_\lambda^{(m)} \otimes P_\lambda Sch m : ( C m ) ⊗ N ⟶ λ ⊢ N ℓ ( λ ) ≤ m ⨁ Q λ ( m ) ⊗ P λ such that, for U ∈ U ( m ) U \in U(m) U ∈ U ( m ) and π ∈ S N \pi\in\mathfrak{S}_N π ∈ S N ,
Sch m U ⊗ N Sch m † = ⨁ λ u λ ( m ) ( U ) ⊗ I P λ , Sch m W m ( π ) Sch m † = ⨁ λ I Q λ ( m ) ⊗ p λ ( π ) . \operatorname{Sch}_m U^{\otimes N}\operatorname{Sch}_m^\dagger= \bigoplus_\lambda u_\lambda^{(m)}(U) \otimes I_{P_\lambda}, \qquad\operatorname{Sch}_m W_m(\pi)\operatorname{Sch}_m^\dagger= \bigoplus_\lambda I_{Q_\lambda^{(m)}} \otimes p_\lambda(\pi). Sch m U ⊗ N Sch m † = λ ⨁ u λ ( m ) ( U ) ⊗ I P λ , Sch m W m ( π ) Sch m † = λ ⨁ I Q λ ( m ) ⊗ p λ ( π ) . The u λ ( m ) u_\lambda^{(m)} u λ ( m ) are pairwise inequivalent irreducible representations of U ( m ) U(m) U ( m ) ; the p λ p_\lambda p λ are pairwise inequivalent irreducible representations of S N \mathfrak{S}_N S N , independent of m m m .
Let { ∣ ψ λ , a , b ( m ) ⟩ } \{|\psi_{\lambda,a,b}^{(m)}\rangle\} { ∣ ψ λ , a , b ( m ) ⟩} be the orthonormal basis of ( C m ) ⊗ N (\mathbb{C}^m)^{\otimes N} ( C m ) ⊗ N associated with the Schur–Weyl decomposition above, where a a a indexes the chosen basis of Q λ ( m ) Q_\lambda^{(m)} Q λ ( m ) and b b b indexes the chosen basis of P λ P_\lambda P λ . Define the Schur transform Sch m \operatorname{Sch}_m Sch m by
Sch m : = ∑ λ , a , b ∣ λ , a , b ⟩ ⟨ ψ λ , a , b ( m ) ∣ . \operatorname{Sch}_m := \sum_{\lambda,a,b} |\lambda,a,b\rangle\langle\psi_{\lambda,a,b}^{(m)}|. Sch m := λ , a , b ∑ ∣ λ , a , b ⟩ ⟨ ψ λ , a , b ( m ) ∣. For an operator X X X on ( C m ) ⊗ N ⊗ B (\mathbb{C}^m)^{\otimes N} \otimes B ( C m ) ⊗ N ⊗ B , define its diagonal block in these coordinates by
X λ λ : = ( ⟨ λ ∣ ⊗ I ) ( Sch m ⊗ I B ) X ( Sch m † ⊗ I B ) ( ∣ λ ⟩ ⊗ I ) . X_{\lambda\lambda} := (\langle\lambda| \otimes I)(\operatorname{Sch}_m \otimes I_B)X(\operatorname{Sch}_m^\dagger\otimes I_B)(|\lambda\rangle\otimes I). X λλ := (⟨ λ ∣ ⊗ I ) ( Sch m ⊗ I B ) X ( Sch m † ⊗ I B ) ( ∣ λ ⟩ ⊗ I ) . For a state X X X , the probability of outcome λ \lambda λ is Tr X λ λ \operatorname{Tr}X_{\lambda\lambda} Tr X λλ , and, when positive, the conditional state on Q λ ( m ) ⊗ P λ ⊗ B Q_\lambda^{(m)} \otimes P_\lambda\otimes B Q λ ( m ) ⊗ P λ ⊗ B is X λ λ / Tr X λ λ X_{\lambda\lambda}/\operatorname{Tr}X_{\lambda\lambda} X λλ / Tr X λλ . We recall the following fact about the Haar measure.
Lemma B.3 (Haar averaging [BRS07, Section II.C]). For every operator X X X on ( C m ) ⊗ N ⊗ B (\mathbb{C}^{m})^{\otimes N} \otimes B ( C m ) ⊗ N ⊗ B ,
( Sch m ⊗ I B ) [ ( T m ( N ) ⊗ I B ) ( X ) ] ( Sch m † ⊗ I B ) = ⨁ λ ⊢ N ℓ ( λ ) ≤ m I Q λ ( m ) dim Q λ ( m ) ⊗ Tr Q λ ( m ) X λ λ (\operatorname{Sch}_{m} \otimes I_{B}) \left[(\mathcal{T}_{m}^{(N)} \otimes I_{B})(X)\right](\operatorname{Sch}_{m}^{\dagger} \otimes I_{B}) = \bigoplus_{\substack{\lambda\vdash N \\ \ell(\lambda) \le m}} \frac{I_{Q_{\lambda}^{(m)}}}{\dim Q_{\lambda}^{(m)}} \otimes\operatorname{Tr}_{Q_{\lambda}^{(m)}} X_{\lambda\lambda} ( Sch m ⊗ I B ) [ ( T m ( N ) ⊗ I B ) ( X ) ] ( Sch m † ⊗ I B ) = λ ⊢ N ℓ ( λ ) ≤ m ⨁ dim Q λ ( m ) I Q λ ( m ) ⊗ Tr Q λ ( m ) X λλ where T m ( N ) ( X ) : = ∫ U ( m ) U ⊗ N X ( U † ) ⊗ N d U \mathcal{T}_{m}^{(N)}(X) := \int_{U(m)} U^{\otimes N}X(U^{\dagger})^{\otimes N}\,\mathrm{d}U T m ( N ) ( X ) := ∫ U ( m ) U ⊗ N X ( U † ) ⊗ N d U and d U \mathrm{d}U d U is the Haar measure.
Finally, Burchardt et al. [Bur+25] and Bacon et al. [6 ] show that the Schur transform can be implemented efficiently. The exact basis used for the transform is irrelevant for us, although we are going to use the fact that the basis used for the permutation matrix is independent of the local dimension m m m and the basis for Q λ ( m ) Q_{\lambda}^{(m)} Q λ ( m ) consists of semistandard tableaux.
Lemma B.4 (Schur circuits). For 0 < ϵ < 1 0 < \epsilon< 1 0 < ϵ < 1 and the common tableau bases above, Sch m \operatorname{Sch}_{m} Sch m and Sch m † \operatorname{Sch}_{m}^{\dagger} Sch m † admit circuits of size poly ( N , log m , log ( 1 / ϵ ) ) \operatorname{poly}(N,\log m,\log(1/\epsilon)) poly ( N , log m , log ( 1/ ϵ )) with operator-norm error at most ϵ \epsilon ϵ , on the valid input subspaces with auxiliary registers initialized to zero.
Implementation of the Quantum Channels from Section 7.1
Lemma 7.3 (Filtering). For j ∈ [ k ] j \in[k] j ∈ [ k ] , define the channel Φ j : L ( C d ) → L ( C d ⊕ Span { ∣ ⊥ ⟩ } ) \Phi_j : \mathcal{L}(\mathbb{C}^{d}) \to\mathcal{L}(\mathbb{C}^{d} \oplus\operatorname{Span}\{\lvert\perp\rangle\}) Φ j : L ( C d ) → L ( C d ⊕ Span {∣ ⊥ ⟩}) by
Φ j ( X ) = F j X F j + Tr [ ( I − F j 2 ) X ] ∣ ⊥ ⟩ ⟨ ⊥ ∣ . (27) \Phi_j(X) = F_j X F_j + \operatorname{Tr}\left[(I-F_j^2)X\right]\lvert\perp\rangle\langle\perp\rvert. \tag*{(27)} Φ j ( X ) = F j X F j + Tr [ ( I − F j 2 ) X ] ∣ ⊥ ⟩ ⟨ ⊥ ∣ . (27) For δ > 0 \delta> 0 δ > 0 , a routine implements Φ j \Phi_j Φ j with error at most δ \delta δ on a specified target register, using poly ( k , η − 1 , δ − 1 ) \operatorname{poly}(k,\eta^{-1},\delta^{-1}) poly ( k , η − 1 , δ − 1 ) auxiliary copies of ρ \rho ρ and poly ( k , η − 1 , δ − 1 , log d ) \operatorname{poly}(k,\eta^{-1},\delta^{-1},\log d) poly ( k , η − 1 , δ − 1 , log d ) total time.
Proof. Start with two copies of ρ \rho ρ , perform the standard swap test, and retain the control register and the j j j -th factor of the first copy. Then append a qubit prepared in ∣ 1 ⟩ \lvert1\rangle ∣ 1 ⟩ . This procedure prepares
1 2 ∑ b ∈ { 0 , 1 } ∣ b ⟩ ⟨ b ∣ ⊗ ∣ 1 ⟩ ⟨ 1 ∣ ⊗ Tr − j ( ρ + ( − 1 ) b ρ 2 ) . \frac{1}{2}\sum_{b\in\{0,1\}}\lvert b\rangle\langle b\rvert\otimes\lvert1\rangle\langle1\rvert\otimes\operatorname{Tr}_{-j}\left(\rho+(-1)^b\rho^2\right). 2 1 b ∈ { 0 , 1 } ∑ ∣ b ⟩ ⟨ b ∣ ⊗ ∣ 1 ⟩ ⟨ 1 ∣ ⊗ Tr − j ( ρ + ( − 1 ) b ρ 2 ) .
Observe that the difference between the two subnormalized blocks for b = 0 b=0 b = 0 and b = 1 b=1 b = 1 is ∣ 1 ⟩ ⟨ 1 ∣ ⊗ Tr − j ( ρ 2 ) = ∣ 1 ⟩ ⟨ 1 ∣ ⊗ A j \lvert1\rangle\langle1\rvert\otimes\operatorname{Tr}_{-j}(\rho^2)=\lvert1\rangle\langle1\rvert\otimes A_j ∣ 1 ⟩ ⟨ 1 ∣ ⊗ Tr − j ( ρ 2 ) = ∣ 1 ⟩ ⟨ 1 ∣ ⊗ A j .
This is convenient because we can use a result of Kimmel et al. [33 Lemma 12] which states that for a state ρ ′ ∈ D ( C 2 ⊗ ( C d ) ⊗ k ) \rho' \in\mathcal{D}(\mathbb{C}^{2} \otimes(\mathbb{C}^{d})^{\otimes k}) ρ ′ ∈ D ( C 2 ⊗ ( C d ) ⊗ k ) of the form ρ ′ = ∣ 0 ⟩ ⟨ 0 ∣ ρ + + ∣ 1 ⟩ ⟨ 1 ∣ ρ − \rho'=\lvert0\rangle\langle0\rvert\rho_{+}+\lvert1\rangle\langle1\rvert\rho_{-} ρ ′ = ∣ 0 ⟩ ⟨ 0 ∣ ρ + + ∣ 1 ⟩ ⟨ 1 ∣ ρ − , we can simulate the Hamiltonian H = ρ + − ρ − H=\rho_{+}-\rho_{-} H = ρ + − ρ − , with trace-norm error ϵ \epsilon ϵ , using O ( ϵ − 1 ) O(\epsilon^{-1}) O ( ϵ − 1 ) copies of ρ ′ \rho' ρ ′ . We apply this to the subnormalized states ρ + = 1 2 ∣ 1 ⟩ ⟨ 1 ∣ ⊗ Tr − j ( ρ + ρ 2 ) \rho_{+}=\frac{1}{2}\lvert1\rangle\langle1\rvert\otimes\operatorname{Tr}_{-j}(\rho+\rho^{2}) ρ + = 2 1 ∣ 1 ⟩ ⟨ 1 ∣ ⊗ Tr − j ( ρ + ρ 2 ) and ρ − = 1 2 ∣ 1 ⟩ ⟨ 1 ∣ ⊗ Tr − j ( ρ − ρ 2 ) \rho_{-}=\frac{1}{2}\lvert1\rangle\langle1\rvert\otimes\operatorname{Tr}_{-j}(\rho-\rho^{2}) ρ − = 2 1 ∣ 1 ⟩ ⟨ 1 ∣ ⊗ Tr − j ( ρ − ρ 2 ) which implements the two unitaries
e ± i H / 2 = e ± i ( ∣ 1 ⟩ ⟨ 1 ∣ ⊗ A j ) / 2 = ∣ 0 ⟩ ⟨ 0 ∣ ⊗ I + ∣ 1 ⟩ ⟨ 1 ∣ ⊗ e ± i A j / 2 , e^{\pm iH/2}=e^{\pm i(\lvert1\rangle\langle1\rvert\otimes A_j)/2}=\lvert0\rangle\langle0\rvert\otimes I+\lvert1\rangle\langle1\rvert\otimes e^{\pm iA_j/2}, e ± i H /2 = e ± i (∣ 1 ⟩ ⟨ 1 ∣ ⊗ A j ) /2 = ∣ 0 ⟩ ⟨ 0 ∣ ⊗ I + ∣ 1 ⟩ ⟨ 1 ∣ ⊗ e ± i A j /2 ,
up to error ϵ \epsilon ϵ using O ( ϵ − 1 ) O(\epsilon^{-1}) O ( ϵ − 1 ) copies in time poly ( ϵ − 1 k log d ) \operatorname{poly}(\epsilon^{-1}k\log d) poly ( ϵ − 1 k log d ) . So now we can assume that we have access to such transformations.
We describe the algorithm implementing Φ j \Phi_j Φ j next. Let L = O ( k 2 / η 4 ) L=O(k^2/\eta^4) L = O ( k 2 / η 4 ) be the Lipschitzness of f f f and let n = Θ ( L 2 / δ 2 ) n=\Theta(L^2/\delta^2) n = Θ ( L 2 / δ 2 ) . We then append m = O ( n log n ) m=O(n\log n) m = O ( n log n ) extra qubits: n n n work qubits, an M = O ( log n ) M=O(\log n) M = O ( log n ) -qubit count register, and an extra rotation qubit for a total of m = n + M + 1 m=n+M+1 m = n + M + 1 extra qubits.
To each of the n n n working qubits, apply the following transformations
Hadamard → ∣ 0 ⟩ ⟨ 0 ∣ ⊗ I + ∣ 1 ⟩ ⟨ 1 ∣ ⊗ e + i A j / 2 → diag ( 1 , i ) → Hadamard , \operatorname{Hadamard}\to\lvert0\rangle\langle0\rvert\otimes I+\lvert1\rangle\langle1\rvert\otimes e^{+iA_j/2}\to\operatorname{diag}(1,i)\to\operatorname{Hadamard}, Hadamard → ∣ 0 ⟩ ⟨ 0 ∣ ⊗ I + ∣ 1 ⟩ ⟨ 1 ∣ ⊗ e + i A j /2 → diag ( 1 , i ) → Hadamard ,
where, when we apply ∣ 0 ⟩ ⟨ 0 ∣ ⊗ I + ∣ 1 ⟩ ⟨ 1 ∣ ⊗ e ± i A j / 2 \lvert0\rangle\langle0\rvert\otimes I+\lvert1\rangle\langle1\rvert\otimes e^{\pm iA_j/2} ∣ 0 ⟩ ⟨ 0 ∣ ⊗ I + ∣ 1 ⟩ ⟨ 1 ∣ ⊗ e ± i A j /2 , we mean applying it to the work qubit we are considering, and the target register ≅ C d \cong\mathbb{C}^{d} ≅ C d on which we want Φ j \Phi_j Φ j to act;
Compute the Hamming weight of the work qubits and write it into the counter register. In terms of basis
∣ b 1 ⋯ b n ⟩ ∣ 0 ⟩ → ∣ b 1 ⋯ b n ⟩ ∣ b 1 + ⋯ + b n ⟩ ; \lvert b_1\cdots b_n\rangle\lvert0\rangle\to\lvert b_1\cdots b_n\rangle\lvert b_1+\cdots+b_n\rangle; ∣ b 1 ⋯ b n ⟩ ∣ 0 ⟩ → ∣ b 1 ⋯ b n ⟩ ∣ b 1 + ⋯ + b n ⟩ ;
For ℓ ∈ { 0 , … , n } \ell\in\{0,\ldots,n\} ℓ ∈ { 0 , … , n } define λ ^ ( ℓ ) = 2 arcsin ( [ 2 ℓ n − 1 ] 0 1 sin ( 1 2 ) ) \widehat{\lambda}(\ell)=2\arcsin\left(\left[\frac{2\ell}{n}-1\right]_0^1\sin\left(\frac{1}{2}\right)\right) λ ( ℓ ) = 2 arcsin ( [ n 2 ℓ − 1 ] 0 1 sin ( 2 1 ) ) , where [ ⋅ ] a b [\cdot]_a^b [ ⋅ ] a b is the capping between a a a and b b b . Then apply the following transformation to the counter register and rotation qubit as
∣ ℓ ⟩ ∣ 0 ⟩ → ∣ ℓ ⟩ ( f ( λ ^ ( ℓ ) ) ∣ 0 ⟩ + 1 − f ( λ ^ ( ℓ ) ) 2 ∣ 1 ⟩ ) ; \lvert\ell\rangle\lvert0\rangle\to\lvert\ell\rangle\left(f(\widehat{\lambda}(\ell))\lvert0\rangle+\sqrt{1-f(\widehat{\lambda}(\ell))^2}\lvert1\rangle\right); ∣ ℓ ⟩ ∣ 0 ⟩ → ∣ ℓ ⟩ ( f ( λ ( ℓ )) ∣ 0 ⟩ + 1 − f ( λ ( ℓ ) ) 2 ∣ 1 ⟩ ) ;
Now we clean all appended registers. First, for the work qubits and the counter register:
∣ b 1 ⋯ b n ⟩ ∣ b 1 + ⋯ + b n ⟩ → ∣ b 1 ⋯ b n ⟩ ∣ 0 ⟩ , \lvert b_1\cdots b_n\rangle\lvert b_1+\cdots+b_n\rangle\to\lvert b_1\cdots b_n\rangle\lvert0\rangle, ∣ b 1 ⋯ b n ⟩ ∣ b 1 + ⋯ + b n ⟩ → ∣ b 1 ⋯ b n ⟩ ∣ 0 ⟩ ,
and then reverse all the operations of Step 1 for each work qubit:
Hadamard → diag ( 1 , − i ) → ∣ 0 ⟩ ⟨ 0 ∣ ⊗ I + ∣ 1 ⟩ ⟨ 1 ∣ ⊗ e − i A j / 2 → \to\operatorname{diag}(1,-i)\to\lvert0\rangle\langle0\rvert\otimes I+\lvert1\rangle\langle1\rvert\otimes e^{-iA_j/2}\to → diag ( 1 , − i ) → ∣ 0 ⟩ ⟨ 0 ∣ ⊗ I + ∣ 1 ⟩ ⟨ 1 ∣ ⊗ e − i A j /2 → Hadamard.
The rotation qubit is left untouched.
Measure the appended registers with the projector { ∣ 0 ⟩ ⟨ 0 ∣ ⊗ m , I − ∣ 0 ⟩ ⟨ 0 ∣ ⊗ m } \{\lvert0\rangle\langle0\rvert^{\otimes m},I-\lvert0\rangle\langle0\rvert^{\otimes m}\} {∣ 0 ⟩ ⟨ 0 ∣ ⊗ m , I − ∣ 0 ⟩ ⟨ 0 ∣ ⊗ m } . If we measure ∣ 0 m ⟩ \lvert0^m\rangle ∣ 0 m ⟩ , then we retain the target register; otherwise, we output ∣ 1 ⟩ \lvert1\rangle ∣ 1 ⟩ .
Now we show that when the algorithm above is implemented with total error O ( δ ) O(\delta) O ( δ ) , the resulting channel Φ ^ j \widehat{\Phi}_j Φ j approximates the ideal channel Φ j \Phi_j Φ j up to error O ( δ ) O(\delta) O ( δ ) . Assume that all gates are implemented exactly and fix a unit eigenvector ∣ λ ⟩ ∈ C d \lvert\lambda\rangle\in\mathbb{C}^d ∣ λ ⟩ ∈ C d of A j A_j A j , i.e., A j ∣ λ ⟩ = λ ∣ λ ⟩ A_j\lvert\lambda\rangle=\lambda\lvert\lambda\rangle A j ∣ λ ⟩ = λ ∣ λ ⟩ . Next we compute, on input ∣ λ ⟩ \lvert\lambda\rangle ∣ λ ⟩ in the target register, the state of each of the n n n work qubits after Step 1. The joint state of the target register and a single work qubit is ∣ 0 ⟩ ∣ λ ⟩ \lvert0\rangle\lvert\lambda\rangle ∣ 0 ⟩ ∣ λ ⟩ , and after the Hadamard gate is 1 2 ( ∣ 0 ⟩ ∣ λ ⟩ + ∣ 1 ⟩ ∣ λ ⟩ ) \frac{1}{\sqrt{2}}(\lvert0\rangle\lvert\lambda\rangle+\lvert1\rangle\lvert\lambda\rangle) 2 1 (∣ 0 ⟩ ∣ λ ⟩ + ∣ 1 ⟩ ∣ λ ⟩) . Then we apply the evolution given by the Hamiltonian simulation ∣ 0 ⟩ ⟨ 0 ∣ ⊗ I + ∣ 1 ⟩ ⟨ 1 ∣ ⊗ e i A j / 2 \lvert0\rangle\langle0\rvert\otimes I+\lvert1\rangle\langle1\rvert\otimes e^{iA_j/2} ∣ 0 ⟩ ⟨ 0 ∣ ⊗ I + ∣ 1 ⟩ ⟨ 1 ∣ ⊗ e i A j /2 , and the resulting state is
1 2 ( ∣ 0 ⟩ + ∣ 1 ⟩ e i A j / 2 ) ∣ λ ⟩ = 1 2 ( ∣ 0 ⟩ + ∣ 1 ⟩ e i λ / 2 ) ∣ λ ⟩ , \frac{1}{\sqrt{2}}\left(\lvert0\rangle+\lvert1\rangle e^{iA_j/2}\right)\lvert\lambda\rangle=\frac{1}{\sqrt{2}}\left(\lvert0\rangle+\lvert1\rangle e^{i\lambda/2}\right)\lvert\lambda\rangle, 2 1 ( ∣ 0 ⟩ + ∣ 1 ⟩ e i A j /2 ) ∣ λ ⟩ = 2 1 ( ∣ 0 ⟩ + ∣ 1 ⟩ e iλ /2 ) ∣ λ ⟩ ,
and, after applying diag ( 1 , i ) \operatorname{diag}(1,i) diag ( 1 , i ) we obtain
1 2 ( ∣ 0 ⟩ + ∣ 1 ⟩ i e i λ / 2 ) ∣ λ ⟩ . \frac{1}{\sqrt{2}}\left(\lvert0\rangle+\lvert1\rangle i e^{i\lambda/2}\right)\lvert\lambda\rangle. 2 1 ( ∣ 0 ⟩ + ∣ 1 ⟩ i e iλ /2 ) ∣ λ ⟩ .
Finally, after the final Hadamard gate, we obtain a working qubit in state α λ ∣ 0 ⟩ + β λ ∣ 1 ⟩ \alpha_\lambda\lvert0\rangle+\beta_\lambda\lvert1\rangle α λ ∣ 0 ⟩ + β λ ∣ 1 ⟩ , where α λ = 1 + i e i λ / 2 2 \alpha_\lambda=\frac{1+ie^{i\lambda/2}}{2} α λ = 2 1 + i e iλ /2 and β λ = 1 − i e i λ / 2 2 \beta_\lambda=\frac{1-ie^{i\lambda/2}}{2} β λ = 2 1 − i e iλ /2 . After Step 2 and Step 3, the state over the target register and all ancillary qubits will be in state
∑ ℓ = 0 n ∑ b ∈ { 0 , 1 } n ∣ b ∣ = ℓ α λ n − ℓ β λ ℓ ∣ b 1 ⋯ b n ⟩ ∣ ℓ ⟩ ( f ( λ ^ ( ℓ ) ) ∣ 0 ⟩ + 1 − f ( λ ^ ( ℓ ) ) 2 ∣ 1 ⟩ ) ∣ λ ⟩ . \sum_{\ell=0}^{n}\sum_{\substack{b\in\{0,1\}^n\\ \lvert b\rvert=\ell}}\alpha_\lambda^{n-\ell}\beta_\lambda^\ell\lvert b_1\cdots b_n\rangle\lvert\ell\rangle\left(f(\widehat{\lambda}(\ell))\lvert0\rangle+\sqrt{1-f(\widehat{\lambda}(\ell))^2}\lvert1\rangle\right)\lvert\lambda\rangle. ℓ = 0 ∑ n b ∈ { 0 , 1 } n ∣ b ∣ = ℓ ∑ α λ n − ℓ β λ ℓ ∣ b 1 ⋯ b n ⟩ ∣ ℓ ⟩ ( f ( λ ( ℓ )) ∣ 0 ⟩ + 1 − f ( λ ( ℓ ) ) 2 ∣ 1 ⟩ ) ∣ λ ⟩ .
Now, we uncompute all the extra qubits but the rotation. Uncomputing the counter register is trivial. For each of the n n n work qubits, we define as U λ U_\lambda U λ the entire operator defined in Step 1. We proved that U λ ∣ 0 ⟩ = α λ ∣ 0 ⟩ + β λ ∣ 1 ⟩ U_\lambda\lvert0\rangle=\alpha_\lambda\lvert0\rangle+\beta_\lambda\lvert1\rangle U λ ∣ 0 ⟩ = α λ ∣ 0 ⟩ + β λ ∣ 1 ⟩ , so U λ † U_\lambda^\dagger U λ † maps ∣ 0 ⟩ \lvert0\rangle ∣ 0 ⟩ to ∣ 0 ⟩ \lvert0\rangle ∣ 0 ⟩ with amplitude α λ ‾ \overline{\alpha_\lambda} α λ and maps ∣ 1 ⟩ \lvert1\rangle ∣ 1 ⟩ to ∣ 0 ⟩ \lvert0\rangle ∣ 0 ⟩ with amplitude β λ ‾ \overline{\beta_\lambda} β λ . For a basis vector ∣ b 1 ⋯ b n ⟩ \lvert b_1\cdots b_n\rangle ∣ b 1 ⋯ b n ⟩ of Hamming weight T T T , the amplitude that all the work qubits are ∣ 0 ⟩ \lvert0\rangle ∣ 0 ⟩ is
α λ ‾ n − T β λ ‾ T . \overline{\alpha_\lambda}^{\,n-T}\overline{\beta_\lambda}^{\,T}. α λ n − T β λ T .
And similarly, the contribution of the same basis vector from Step 1 is α λ n − T β λ T \alpha_\lambda^{n-T}\beta_\lambda^T α λ n − T β λ T and f ( λ ^ T ) f(\widehat{\lambda}_T) f ( λ T ) from Step 3. Thus the contribution of each basis vector of Hamming weight T T T is
α λ n − T β λ T f ( λ ^ T ) α λ ‾ n − T β λ ‾ T = f ( λ ^ T ) ∣ α λ ∣ 2 ( n − T ) ∣ β λ ∣ 2 T . \alpha_\lambda^{n-T}\beta_\lambda^T f(\widehat{\lambda}_T)\overline{\alpha_\lambda}^{n-T}\overline{\beta_\lambda}^T = f(\widehat{\lambda}_T)|\alpha_\lambda|^{2(n-T)}|\beta_\lambda|^{2T}. α λ n − T β λ T f ( λ T ) α λ n − T β λ T = f ( λ T ) ∣ α λ ∣ 2 ( n − T ) ∣ β λ ∣ 2 T .
Therefore, the total successful amplitude is
g ( λ ) = ∑ T = 0 n ( n T ) f ( λ ^ T ) ∣ α λ ∣ 2 ( n − T ) ∣ β λ ∣ 2 T = ∑ T = 0 n ( n T ) f ( λ ^ T ) ( 1 − p λ ) ( n − T ) p λ T ( p λ : = 1 2 ( 1 + sin ( λ / 2 ) ) ) = E T [ f ( λ ^ T ) ] . ( T ∼ Bin ( n , p λ ) ) \begin{aligned}
g(\lambda) &= \sum_{T=0}^{n} \binom{n}{T} f(\widehat{\lambda}_T)|\alpha_\lambda|^{2(n-T)}|\beta_\lambda|^{2T} \\
&= \sum_{T=0}^{n} \binom{n}{T} f(\widehat{\lambda}_T)(1-p_\lambda)^{(n-T)}p_\lambda^T && \left(p_\lambda:= \tfrac{1}{2}(1+\sin(\lambda/2))\right) \\
&= \mathbb{E}_T[f(\widehat{\lambda}_T)]. && (T \sim\operatorname{Bin}(n,p_\lambda))
\end{aligned} g ( λ ) = T = 0 ∑ n ( T n ) f ( λ T ) ∣ α λ ∣ 2 ( n − T ) ∣ β λ ∣ 2 T = T = 0 ∑ n ( T n ) f ( λ T ) ( 1 − p λ ) ( n − T ) p λ T = E T [ f ( λ T )] . ( p λ := 2 1 ( 1 + sin ( λ /2 )) ) ( T ∼ Bin ( n , p λ ))
Now we show that g ( λ ) g(\lambda) g ( λ ) approximates f ( λ ) f(\lambda) f ( λ ) . First, note that by Lipschitzness of f f f we have:
∣ f ( λ ^ T ) − f ( λ ) ∣ ≤ L ∣ λ ^ T − λ ∣ ≤ O ( L ) ∣ T n − p λ ∣ , |f(\widehat{\lambda}_T)-f(\lambda)| \le L|\widehat{\lambda}_T-\lambda| \le O(L)\left|\frac{T}{n}-p_\lambda\right|, ∣ f ( λ T ) − f ( λ ) ∣ ≤ L ∣ λ T − λ ∣ ≤ O ( L ) n T − p λ ,
where the second inequality comes from the O ( 1 ) O(1) O ( 1 ) -Lipschitzness of the clipping function and the arcsin function. Thus
∣ g ( λ ) − f ( λ ) ∣ = ∣ E T [ f ( λ ^ T ) ] − f ( λ ) ∣ ≤ E T [ ∣ f ( λ ^ T ) − f ( λ ) ∣ ] ≤ O ( L ) E T [ ∣ T n − p λ ∣ ] ≤ O ( L ) E T [ ( T n − p λ ) 2 ] ≤ O ( L ) 1 − sin ( λ / 2 ) n = O ( L / n ) = O ( δ ) . \begin{aligned}
|g(\lambda)-f(\lambda)| &= |\mathbb{E}_T[f(\widehat{\lambda}_T)]-f(\lambda)| \\
&\le\mathbb{E}_T[|f(\widehat{\lambda}_T)-f(\lambda)|] \\
&\le O(L)\mathbb{E}_T\left[\left|\frac{T}{n}-p_\lambda\right|\right] \\
&\le O(L)\sqrt{\mathbb{E}_T\left[\left(\frac{T}{n}-p_\lambda\right)^2\right]} \\
&\le O(L)\sqrt{\frac{1-\sin(\lambda/2)}{n}} = O(L/\sqrt{n}) = O(\delta).
\end{aligned} ∣ g ( λ ) − f ( λ ) ∣ = ∣ E T [ f ( λ T )] − f ( λ ) ∣ ≤ E T [ ∣ f ( λ T ) − f ( λ ) ∣ ] ≤ O ( L ) E T [ n T − p λ ] ≤ O ( L ) E T [ ( n T − p λ ) 2 ] ≤ O ( L ) n 1 − sin ( λ /2 ) = O ( L / n ) = O ( δ ) .
Now instead of focusing on an input state which is an eigenvector of A j A_j A j , write it according to its spectral decomposition A j = ∑ λ λ ∣ λ ⟩ ⟨ λ ∣ A_j=\sum_\lambda\lambda|\lambda\rangle\langle\lambda| A j = ∑ λ λ ∣ λ ⟩ ⟨ λ ∣ . We proved that on every eigenvector ∣ g ( λ ) − f ( λ ) ∣ = O ( δ ) |g(\lambda)-f(\lambda)|=O(\delta) ∣ g ( λ ) − f ( λ ) ∣ = O ( δ ) . Now let G : = g ( A j ) = ∑ λ g ( λ ) ∣ λ ⟩ ⟨ λ ∣ G:=g(A_j)=\sum_\lambda g(\lambda)|\lambda\rangle\langle\lambda| G := g ( A j ) = ∑ λ g ( λ ) ∣ λ ⟩ ⟨ λ ∣ . Since g ( λ ) ∈ [ 0 , 1 ] g(\lambda)\in[0,1] g ( λ ) ∈ [ 0 , 1 ] then 0 ⪯ G ⪯ I 0\preceq G\preceq I 0 ⪯ G ⪯ I . Moreover recall that F j = f ( A j ) = ∑ λ f ( λ ) ∣ λ ⟩ ⟨ λ ∣ F_j=f(A_j)=\sum_\lambda f(\lambda)|\lambda\rangle\langle\lambda| F j = f ( A j ) = ∑ λ f ( λ ) ∣ λ ⟩ ⟨ λ ∣ and thus
∥ G − F j ∥ o p ≤ max λ ∣ g ( λ ) − f ( λ ) ∣ = O ( δ ) . \|G-F_j\|_{op}\le\max_\lambda|g(\lambda)-f(\lambda)|=O(\delta). ∥ G − F j ∥ o p ≤ λ max ∣ g ( λ ) − f ( λ ) ∣ = O ( δ ) .
This proves that with exact gates, the channel implements Φ j \Phi_j Φ j with error at most O ( δ ) O(\delta) O ( δ ) . For the final error bound, observe that there are O ( n ) O(n) O ( n ) Hamiltonian-simulation calls, each implemented to error O ( δ / n ) O(\delta/n) O ( δ / n ) , giving total error O ( δ ) O(\delta) O ( δ ) , and the remaining gates contribute at most another O ( δ ) O(\delta) O ( δ ) . Therefore, the full implementation error is at most O ( δ ) O(\delta) O ( δ ) . The algorithm uses at most 2 n ⋅ O ( n / δ ) = O ( n 2 / δ ) = poly ( k , η − 1 , δ − 1 ) 2n\cdot O(n/\delta)=O(n^2/\delta)=\operatorname{poly}(k,\eta^{-1},\delta^{-1}) 2 n ⋅ O ( n / δ ) = O ( n 2 / δ ) = poly ( k , η − 1 , δ − 1 ) auxiliary copies and its time is bounded by poly ( k , η − 1 , δ − 1 , log d ) \operatorname{poly}(k,\eta^{-1},\delta^{-1},\log d) poly ( k , η − 1 , δ − 1 , log d ) .
Lemma 7.4 (Estimation). Let e j e_j e j be defined as in Equation (10) . Given copies of ρ \rho ρ , ϵ > 0 \epsilon>0 ϵ > 0 , and a probability p > 0 p>0 p > 0 , there is a routine that returns classical estimates satisfying
max j ∈ [ k ] ∣ e ^ j − e j ∣ ≤ ϵ , \max_{j\in[k]}|\widehat{e}_j-e_j|\le\epsilon, j ∈ [ k ] max ∣ e j − e j ∣ ≤ ϵ , with probability at least 1 − p 1-p 1 − p . It uses poly ( k , η − 1 , ϵ − 1 , log 1 / p ) \operatorname{poly}(k,\eta^{-1},\epsilon^{-1},\log1/p) poly ( k , η − 1 , ϵ − 1 , log 1/ p ) copies and this bound times poly ( log d ) \operatorname{poly}(\log d) poly ( log d ) total time.
Proof. Start with two copies of ρ \rho ρ and prepare a control qubit in state ∣ + ⟩ |+\rangle ∣ + ⟩ . Let S S S be the swap operator and apply ∣ 0 ⟩ ⟨ 0 ∣ ⊗ I + ∣ 1 ⟩ ⟨ 1 ∣ ⊗ S |0\rangle\langle0| \otimes I + |1\rangle\langle1| \otimes S ∣0 ⟩ ⟨ 0∣ ⊗ I + ∣1 ⟩ ⟨ 1∣ ⊗ S to the joint states ∣ + ⟩ ⟨ + ∣ ⊗ ρ ⊗ ρ |+\rangle\langle+| \otimes\rho\otimes\rho ∣ + ⟩ ⟨ + ∣ ⊗ ρ ⊗ ρ . Then apply the filtering algorithm of Lemma 7.3 to the j j j -th factor of the first copy with accuracy δ = O ( ϵ ) \delta= O(\epsilon) δ = O ( ϵ ) . Then measure the control qubit in the Hadamard basis and check whether the filtered output gets sent to ∣ ⊥ ⟩ |\perp\rangle ∣ ⊥ ⟩ . So there are effectively 4 outcomes
( + , ⊥ ) , ( − , ⊥ ) , ( + , ¬ ⊥ ) , and ( − , ¬ ⊥ ) . (+, \perp), \quad(-, \perp), \quad(+, \neg\perp), \quad\text{and} \quad(-, \neg\perp). ( + , ⊥ ) , ( − , ⊥ ) , ( + , ¬ ⊥ ) , and ( − , ¬ ⊥ ) .
Define
Z = { + 1 if ( + , ⊥ ) − 1 if ( − , ⊥ ) , 0 otherwise Z =
\begin{cases}
+1 & \text{if } (+,\perp) \\
-1 & \text{if } (-,\perp), \\
0 & \text{otherwise}
\end{cases} Z = ⎩ ⎨ ⎧ + 1 − 1 0 if ( + , ⊥ ) if ( − , ⊥ ) , otherwise
so that E [ Z ] = Pr ( + , ⊥ ) − Pr ( − , ⊥ ) \mathbb{E}[Z] = \Pr(+, \perp) - \Pr(-, \perp) E [ Z ] = Pr ( + , ⊥ ) − Pr ( − , ⊥ ) . Run this procedure m m m times and return e ^ j = 1 m ∑ r ∈ [ m ] Z r \hat e_j = \frac{1}{m}\sum_{r\in[m]} Z_r e ^ j = m 1 ∑ r ∈ [ m ] Z r . We will prove that E [ Z ] \mathbb{E}[Z] E [ Z ] approximates e j e_j e j , and thus by standard concentration that so does e ^ j \hat e_j e ^ j .
Assume that the filter Φ j \Phi_j Φ j is ideal. Before filtering, the joint state is
ω : = 1 2 ( ∣ 0 ⟩ ⟨ 0 ∣ ⊗ ( ρ ⊗ ρ ) + ∣ 0 ⟩ ⟨ 1 ∣ ⊗ ( ρ ⊗ ρ ) S + ∣ 1 ⟩ ⟨ 0 ∣ ⊗ S ( ρ ⊗ ρ ) + ∣ 1 ⟩ ⟨ 1 ∣ ⊗ ( ρ ⊗ ρ ) ) . \omega:= \frac{1}{2}\left(|0\rangle\langle0| \otimes(\rho\otimes\rho) + |0\rangle\langle1| \otimes(\rho\otimes\rho)S + |1\rangle\langle0| \otimes S(\rho\otimes\rho) + |1\rangle\langle1| \otimes(\rho\otimes\rho)\right). ω := 2 1 ( ∣0 ⟩ ⟨ 0∣ ⊗ ( ρ ⊗ ρ ) + ∣0 ⟩ ⟨ 1∣ ⊗ ( ρ ⊗ ρ ) S + ∣1 ⟩ ⟨ 0∣ ⊗ S ( ρ ⊗ ρ ) + ∣1 ⟩ ⟨ 1∣ ⊗ ( ρ ⊗ ρ ) ) .
By definition of the ideal channel Φ j \Phi_j Φ j , the probability of measuring ⊥ \perp ⊥ on input X X X is Tr ( ( I − F j 2 ) X ) \operatorname{Tr}((I-F_j^2)X) Tr (( I − F j 2 ) X ) . Since ∣ + ⟩ ⟨ + ∣ − ∣ − ⟩ ⟨ − ∣ = ∣ 0 ⟩ ⟨ 1 ∣ + ∣ 1 ⟩ ⟨ 0 ∣ |+\rangle\langle+| - |-\rangle\langle-| = |0\rangle\langle1| + |1\rangle\langle0| ∣ + ⟩ ⟨ + ∣ − ∣ − ⟩ ⟨ − ∣ = ∣0 ⟩ ⟨ 1∣ + ∣1 ⟩ ⟨ 0∣ , we get
E [ Z ] = Tr [ ( ( ∣ + ⟩ ⟨ + ∣ − ∣ − ⟩ ⟨ − ∣ ) ⊗ ( ( I − F j 2 ) ⊗ I − j ⊗ I ) ) ω ] = 1 2 Tr [ ( ( I − F j 2 ) ⊗ I − j ⊗ I ) ( ( ρ ⊗ ρ ) S + S ( ρ ⊗ ρ ) ) ] = Tr [ ( ( I − F j 2 ) ⊗ I − j ⊗ I ) S ( ρ ⊗ ρ ) ] . (by cyclicity of the trace) \begin{aligned}
\mathbb{E}[Z] = \operatorname{Tr}\left[((|+\rangle\langle+| - |-\rangle\langle-|) \otimes((I-F_j^2)\otimes I_{-j}\otimes I))\omega\right] \\
&= \frac{1}{2}\operatorname{Tr}\left[((I-F_j^2)\otimes I_{-j}\otimes I)((\rho\otimes\rho)S + S(\rho\otimes\rho))\right] \\
&= \operatorname{Tr}\left[((I-F_j^2)\otimes I_{-j}\otimes I)S(\rho\otimes\rho)\right]. \qquad\text{(by cyclicity of the trace)}
\end{aligned} E [ Z ] = Tr [ (( ∣ + ⟩ ⟨ + ∣ − ∣ − ⟩ ⟨ − ∣ ) ⊗ (( I − F j 2 ) ⊗ I − j ⊗ I )) ω ] = 2 1 Tr [ (( I − F j 2 ) ⊗ I − j ⊗ I ) (( ρ ⊗ ρ ) S + S ( ρ ⊗ ρ )) ] = Tr [ (( I − F j 2 ) ⊗ I − j ⊗ I ) S ( ρ ⊗ ρ ) ] . (by cyclicity of the trace)
Now it is easy to check that Tr [ ( Y ⊗ I ) S ( ρ ⊗ ρ ) ] = Tr ( Y ρ 2 ) \operatorname{Tr}[(Y\otimes I)S(\rho\otimes\rho)] = \operatorname{Tr}(Y\rho^2) Tr [( Y ⊗ I ) S ( ρ ⊗ ρ )] = Tr ( Y ρ 2 ) and thus, for Y = ( I − F j 2 ) ⊗ I − j Y = (I-F_j^2)\otimes I_{-j} Y = ( I − F j 2 ) ⊗ I − j , we get
E [ Z ] = Tr [ ( I − F j 2 ) ⊗ I − j ) ρ 2 ] = Tr [ ( I − F j 2 ) Tr − j ( ρ 2 ) ] = e j . \mathbb{E}[Z] = \operatorname{Tr}[(I-F_j^2)\otimes I_{-j})\rho^2] = \operatorname{Tr}[(I-F_j^2)\operatorname{Tr}_{-j}(\rho^2)] = e_j. E [ Z ] = Tr [( I − F j 2 ) ⊗ I − j ) ρ 2 ] = Tr [( I − F j 2 ) Tr − j ( ρ 2 )] = e j .
Since Z r ∈ [ − 1 , 1 ] Z_r\in[-1,1] Z r ∈ [ − 1 , 1 ] , by taking m = Θ ( ϵ − 2 log ( k / p ) ) m=\Theta(\epsilon^{-2}\log(k/p)) m = Θ ( ϵ − 2 log ( k / p )) we get that ∣ e ^ j − e j ∣ = ∣ e ^ j − E [ Z ] ∣ |\hat e_j-e_j|=|\hat e_j-\mathbb{E}[Z]| ∣ e ^ j − e j ∣ = ∣ e ^ j − E [ Z ] ∣ is larger than ϵ \epsilon ϵ with probability at most p / k p/k p / k . A union bound shows uniformity over all j ∈ [ k ] j\in[k] j ∈ [ k ] .
Each repetition uses two target copies and poly ( k , η − 1 , ϵ − 1 ) \operatorname{poly}(k,\eta^{-1},\epsilon^{-1}) poly ( k , η − 1 , ϵ − 1 ) auxiliary copies. The controlled swap costs O ( k log d ) O(k\log d) O ( k log d ) gates, and the filtering time is polynomial in k k k , η − 1 \eta^{-1} η − 1 , ϵ − 1 \epsilon^{-1} ϵ − 1 and log d \log d log d . Multiplying by the number of repetitions and parties gives the claimed copy and time bounds. Since the implemented channel is δ \delta δ -close in trace norm even with references, the final measurement distribution changes by total variation at most O ( δ ) O(\delta) O ( δ ) .
Lemma 7.5 (Schur compression). For integers D ≥ q D\ge q D ≥ q and N N N , there is a channel
C D → q ( N ) : D ( ( C D ) ⊗ N ) ⟶ D ( ( C q ) ⊗ N ) \mathcal{C}_{D\to q}^{(N)}:\mathcal{D}((\mathbb{C}^{D})^{\otimes N}) \longrightarrow\mathcal{D}((\mathbb{C}^{q})^{\otimes N}) C D → q ( N ) : D (( C D ) ⊗ N ) ⟶ D (( C q ) ⊗ N ) such that, for every reference system B B B , every isometry V : C q → C D V:\mathbb{C}^{q}\to\mathbb{C}^{D} V : C q → C D and state $X\in\mathcal{D}((\mathbb{C}^{q})^{\otimes N}\otimes B),
( ( T q ( N ) ∘ C D → q ( N ) ) ⊗ I B ) ( ( V ⊗ N ⊗ I B ) X ( ( V † ) ⊗ N ⊗ I B ) ) = ( T q ( N ) ⊗ I B ) ( X ) , (28) \left((\mathcal{T}_{q}^{(N)}\circ\mathcal{C}_{D\to q}^{(N)})\otimes I_B\right)\left((V^{\otimes N}\otimes I_B)X((V^\dagger)^{\otimes N}\otimes I_B)\right) = (\mathcal{T}_{q}^{(N)}\otimes I_B)(X), \tag*{(28)} ( ( T q ( N ) ∘ C D → q ( N ) ) ⊗ I B ) ( ( V ⊗ N ⊗ I B ) X (( V † ) ⊗ N ⊗ I B ) ) = ( T q ( N ) ⊗ I B ) ( X ) , (28) where, with d U dU d U the Haar measure of U ( q ) U(q) U ( q ) , we let
T q ( N ) ( X ) : = ∫ U ( q ) U ⊗ N X ( U † ) ⊗ N d U . \mathcal{T}_{q}^{(N)}(X) := \int_{U(q)} U^{\otimes N}X(U^\dagger)^{\otimes N}\,dU. T q ( N ) ( X ) := ∫ U ( q ) U ⊗ N X ( U † ) ⊗ N d U . The channel depends only on D , q , N D,q,N D , q , N and uses no additional input copies. For δ > 0 \delta>0 δ > 0 , it can be implemented with error at most δ \delta δ in time poly ( N , q , log D , log ( 1 / δ ) ) \operatorname{poly}(N,q,\log D,\log(1/\delta)) poly ( N , q , log D , log ( 1/ δ )) .
Proof. Recall that the Schur-Weyl decomposition prescribes the existence of a unitary change of basis
Sch q : ( C q ) ⊗ N → ⨁ λ ⊢ N ℓ ( λ ) ≤ q Q λ ( q ) ⊗ P λ . \operatorname{Sch}_{q} : (\mathbb{C}^{q})^{\otimes N} \to\bigoplus_{\substack{\lambda\vdash N \\ \ell(\lambda)\leq q}} Q_{\lambda}^{(q)} \otimes P_{\lambda}. Sch q : ( C q ) ⊗ N → λ ⊢ N ℓ ( λ ) ≤ q ⨁ Q λ ( q ) ⊗ P λ .
Fix some unit vector ∣ t λ ⟩ ∈ Q λ ( q ) |t_{\lambda}\rangle\in Q_{\lambda}^{(q)} ∣ t λ ⟩ ∈ Q λ ( q ) . We define C D → q ( N ) C_{D\to q}^{(N)} C D → q ( N ) by the following procedure:
Apply Sch D \operatorname{Sch}_{D} Sch D and measure the λ \lambda λ register;
If ℓ ( λ ) > q \ell(\lambda)>q ℓ ( λ ) > q , discard the Schur registers, output any state in ( C q ) ⊗ N (\mathbb{C}^{q})^{\otimes N} ( C q ) ⊗ N ;
Otherwise retain λ \lambda λ and P λ P_{\lambda} P λ , discard Q λ ( D ) Q_{\lambda}^{(D)} Q λ ( D ) , and prepare the unit basis vector ∣ t λ ⟩ ∈ Q λ ( q ) |t_{\lambda}\rangle\in Q_{\lambda}^{(q)} ∣ t λ ⟩ ∈ Q λ ( q ) ;
Apply Sch q † \operatorname{Sch}_{q}^{\dagger} Sch q † .
Note that V ⊗ N V^{\otimes N} V ⊗ N commutes with permutations W D ( π ) W_{D}(\pi) W D ( π ) for every π ∈ S N \pi\in\mathfrak{S}_{N} π ∈ S N :
W D ( π ) V ⊗ N = V ⊗ N W q ( π ) . W_{D}(\pi)V^{\otimes N}=V^{\otimes N}W_{q}(\pi). W D ( π ) V ⊗ N = V ⊗ N W q ( π ) .
Applying Lemma B.1 to the P P P factors in Lemma B.2 gives
Sch D V ⊗ N Sch q † = ⨁ λ ⊢ N ℓ ( λ ) ≤ q V λ ⊗ I P λ , V λ : Q λ ( q ) → Q λ ( D ) , V λ † V λ = I , \operatorname{Sch}_{D}V^{\otimes N}\operatorname{Sch}_{q}^{\dagger}
=\bigoplus_{\substack{\lambda\vdash N\\\ell(\lambda)\leq q}}V_{\lambda}\otimes I_{P_{\lambda}},
\qquad
V_{\lambda}:Q_{\lambda}^{(q)}\to Q_{\lambda}^{(D)},
\qquad
V_{\lambda}^{\dagger}V_{\lambda}=I, Sch D V ⊗ N Sch q † = λ ⊢ N ℓ ( λ ) ≤ q ⨁ V λ ⊗ I P λ , V λ : Q λ ( q ) → Q λ ( D ) , V λ † V λ = I ,
where V λ † V λ = I V_{\lambda}^{\dagger}V_{\lambda}=I V λ † V λ = I follows from V ⊗ N V^{\otimes N} V ⊗ N being an isometry. Moreover, no Schur label with ℓ ( λ ) > q \ell(\lambda)>q ℓ ( λ ) > q occurs, since such labels are absent from the Schur decomposition of ( C q ) ⊗ N (\mathbb{C}^{q})^{\otimes N} ( C q ) ⊗ N . Let X λ λ X_{\lambda\lambda} X λλ denote the unnormalized diagonal blocks of ( Sch q ⊗ I B ) X ( Sch q † ⊗ I B ) (\operatorname{Sch}_{q}\otimes I_{B})X(\operatorname{Sch}_{q}^{\dagger}\otimes I_{B}) ( Sch q ⊗ I B ) X ( Sch q † ⊗ I B ) . Note that after measuring λ \lambda λ of the embedded state, the corresponding λ \lambda λ diagonal block becomes ( V λ ⊗ I P λ ⊗ B ) X λ λ ( V λ † ⊗ I P λ ⊗ B ) (V_{\lambda}\otimes I_{P_{\lambda}\otimes B})X_{\lambda\lambda}(V_{\lambda}^{\dagger}\otimes I_{P_{\lambda}\otimes B}) ( V λ ⊗ I P λ ⊗ B ) X λλ ( V λ † ⊗ I P λ ⊗ B ) and
Tr Q λ ( D ) [ ( V λ ⊗ I P λ ⊗ B ) X λ λ ( V λ † ⊗ I P λ ⊗ B ) ] = Tr Q λ ( q ) [ X λ λ ] , \operatorname{Tr}_{Q_{\lambda}^{(D)}}\left[(V_{\lambda}\otimes I_{P_{\lambda}\otimes B})X_{\lambda\lambda}(V_{\lambda}^{\dagger}\otimes I_{P_{\lambda}\otimes B})\right]
=\operatorname{Tr}_{Q_{\lambda}^{(q)}}[X_{\lambda\lambda}], Tr Q λ ( D ) [ ( V λ ⊗ I P λ ⊗ B ) X λλ ( V λ † ⊗ I P λ ⊗ B ) ] = Tr Q λ ( q ) [ X λλ ] ,
since V λ † V λ = I V_{\lambda}^{\dagger}V_{\lambda}=I V λ † V λ = I . This indicates that after disregarding the unknown Q λ ( D ) Q_{\lambda}^{(D)} Q λ ( D ) space, we exactly preserved the marginal on P λ ⊗ B P_{\lambda}\otimes B P λ ⊗ B . Then we insert an arbitrary fixed ∣ t λ ⟩ |t_{\lambda}\rangle ∣ t λ ⟩ into the Q λ ( q ) Q_{\lambda}^{(q)} Q λ ( q ) registers, and thus, at the end of Step 3 we have the state
⨁ λ ⊢ N ℓ ( λ ) ≤ q ∣ t λ ⟩ ⟨ t λ ∣ ⊗ Tr Q λ ( q ) ( X λ λ ) , \bigoplus_{\substack{\lambda\vdash N\\\ell(\lambda)\leq q}}
|t_{\lambda}\rangle\langle t_{\lambda}|\otimes\operatorname{Tr}_{Q_{\lambda}^{(q)}}(X_{\lambda\lambda}), λ ⊢ N ℓ ( λ ) ≤ q ⨁ ∣ t λ ⟩ ⟨ t λ ∣ ⊗ Tr Q λ ( q ) ( X λλ ) ,
and thus, for Y = ( V ⊗ N ⊗ I B ) X ( ( V † ) ⊗ N ⊗ I B ) Y=(V^{\otimes N}\otimes I_{B})X((V^{\dagger})^{\otimes N}\otimes I_{B}) Y = ( V ⊗ N ⊗ I B ) X (( V † ) ⊗ N ⊗ I B ) :
( C D → q ( N ) ⊗ I B ) ( Y ) = ( Sch q † ⊗ I B ) [ ⨁ λ ⊢ N ℓ ( λ ) ≤ q ∣ t λ ⟩ ⟨ t λ ∣ ⊗ Tr Q λ ( q ) ( X λ λ ) ] ( Sch q ⊗ I B ) (C_{D\to q}^{(N)}\otimes I_{B})(Y)
=(\operatorname{Sch}_{q}^{\dagger}\otimes I_{B})
\left[
\bigoplus_{\substack{\lambda\vdash N\\\ell(\lambda)\leq q}}
|t_{\lambda}\rangle\langle t_{\lambda}|\otimes\operatorname{Tr}_{Q_{\lambda}^{(q)}}(X_{\lambda\lambda})
\right]
(\operatorname{Sch}_{q}\otimes I_{B}) ( C D → q ( N ) ⊗ I B ) ( Y ) = ( Sch q † ⊗ I B ) λ ⊢ N ℓ ( λ ) ≤ q ⨁ ∣ t λ ⟩ ⟨ t λ ∣ ⊗ Tr Q λ ( q ) ( X λλ ) ( Sch q ⊗ I B )
Now we use Lemma B.3 after applying T q ( N ) ⊗ I B \mathcal{T}_{q}^{(N)} \otimes I_{B} T q ( N ) ⊗ I B to ( C D → q ( N ) ⊗ I B ) ( Y ) (\mathcal{C}_{D\to q}^{(N)} \otimes I_{B})(Y) ( C D → q ( N ) ⊗ I B ) ( Y ) . Indeed:
( T q ( N ) ⊗ I B ) ( ( C D → q ( N ) ⊗ I B ) ( Y ) ) = ( T q ( N ) ⊗ I B ) ( ( Sch q † ⊗ I B ) ( ⨁ λ ⊢ N ℓ ( λ ) ≤ q ∣ t λ ⟩ ⟨ t λ ∣ ⊗ Tr Q λ ( q ) ( X λ λ ) ) ( Sch q ⊗ I B ) ) = ( Sch q † ⊗ I B ) ( ⨁ λ ⊢ N ℓ ( λ ) ≤ q I Q λ ( q ) dim Q λ ( q ) ⊗ Tr Q λ ( q ) ( ∣ t λ ⟩ ⟨ t λ ∣ ⊗ Tr Q λ ( q ) ( X λ λ ) ) ) ( Sch q ⊗ I B ) = ( Sch q † ⊗ I B ) ( ⨁ λ ⊢ N ℓ ( λ ) ≤ q I Q λ ( q ) dim Q λ ( q ) ⊗ Tr Q λ ( q ) ( X λ λ ) ) ( Sch q ⊗ I B ) = ( T q ( N ) ⊗ I B ) ( X ) , \begin{aligned}
(\mathcal{T}_{q}^{(N)} \otimes I_{B})\bigl((\mathcal{C}_{D\to q}^{(N)} \otimes I_{B})(Y)\bigr)
&= (\mathcal{T}_{q}^{(N)} \otimes I_{B})\left((\operatorname{Sch}_{q}^{\dagger} \otimes I_{B})\left(\bigoplus_{\substack{\lambda\vdash N\\\ell(\lambda)\le q}} |t_{\lambda}\rangle\langle t_{\lambda}| \otimes\operatorname{Tr}_{Q_{\lambda}^{(q)}}(X_{\lambda\lambda})\right)(\operatorname{Sch}_{q} \otimes I_{B})\right)\\
&= (\operatorname{Sch}_{q}^{\dagger} \otimes I_{B})\left(\bigoplus_{\substack{\lambda\vdash N\\\ell(\lambda)\le q}} \frac{I_{Q_{\lambda}^{(q)}}}{\dim Q_{\lambda}^{(q)}} \otimes\operatorname{Tr}_{Q_{\lambda}^{(q)}}\left(|t_{\lambda}\rangle\langle t_{\lambda}| \otimes\operatorname{Tr}_{Q_{\lambda}^{(q)}}(X_{\lambda\lambda})\right)\right)(\operatorname{Sch}_{q} \otimes I_{B})\\
&= (\operatorname{Sch}_{q}^{\dagger} \otimes I_{B})\left(\bigoplus_{\substack{\lambda\vdash N\\\ell(\lambda)\le q}} \frac{I_{Q_{\lambda}^{(q)}}}{\dim Q_{\lambda}^{(q)}} \otimes\operatorname{Tr}_{Q_{\lambda}^{(q)}}(X_{\lambda\lambda})\right)(\operatorname{Sch}_{q} \otimes I_{B})\\
&= (\mathcal{T}_{q}^{(N)} \otimes I_{B})(X),
\end{aligned} ( T q ( N ) ⊗ I B ) ( ( C D → q ( N ) ⊗ I B ) ( Y ) ) = ( T q ( N ) ⊗ I B ) ( Sch q † ⊗ I B ) λ ⊢ N ℓ ( λ ) ≤ q ⨁ ∣ t λ ⟩ ⟨ t λ ∣ ⊗ Tr Q λ ( q ) ( X λλ ) ( Sch q ⊗ I B ) = ( Sch q † ⊗ I B ) λ ⊢ N ℓ ( λ ) ≤ q ⨁ dim Q λ ( q ) I Q λ ( q ) ⊗ Tr Q λ ( q ) ( ∣ t λ ⟩ ⟨ t λ ∣ ⊗ Tr Q λ ( q ) ( X λλ ) ) ( Sch q ⊗ I B ) = ( Sch q † ⊗ I B ) λ ⊢ N ℓ ( λ ) ≤ q ⨁ dim Q λ ( q ) I Q λ ( q ) ⊗ Tr Q λ ( q ) ( X λλ ) ( Sch q ⊗ I B ) = ( T q ( N ) ⊗ I B ) ( X ) ,
where the second equality comes from Lemma B.3 under the Schur-Weyl basis, the third equality follows from Tr ( ∣ t λ ⟩ ⟨ t λ ∣ ) = 1 \operatorname{Tr}(|t_{\lambda}\rangle\langle t_{\lambda}|)=1 Tr ( ∣ t λ ⟩ ⟨ t λ ∣ ) = 1 , and the last equality is again Lemma B.3, this time applied directly. □ \square □