betaFeedback

WorksPhysics and Astronomy

Polynomial-Time Algorithms for Nuclear Tensor Norms and Multipartite Quantum Separability

Abstract

We study a multilinear optimization problem for tensors with bounded Frobenius norm, where each of the kk local factors of dimension dd is chosen from a convex set. We give a deterministic algorithm running in time dO(k)d^{O(k)} for constant additive approximations. As applications, we obtain the first polynomial-time algorithms at constant accuracy for weak membership in the nuclear-norm unit ball of high-order tensors and for multipartite quantum separability in Frobenius norm. Our approach views tensor optimization as a cooperative multiprover game and combines this perspective with a recursive spectral compression procedure. We then show that related ideas admit a quantum implementation when the input state is given through copies, rather than an explicit classical description. In this setting, we obtain an algorithm to solve Frobenius-norm separability testing using poly(k)\text{poly}(k) copies and poly(klog⁡d)\text{poly}(k\log d) time.

Introduction

Let H1,…,Hk\mathcal{H}_1,\ldots,\mathcal{H}_k be finite-dimensional real Hilbert spaces, each of dimension at most dd. For each j∈[k]j \in[k] let Kj⊆BHj\mathcal{K}_j \subseteq B_{\mathcal{H}_j} be a convex set which admits a poly⁡(d)\operatorname{poly}(d) linear optimization algorithm and let

C=conv⁡{x1⊗⋯⊗xk:xj∈Kj}.\mathcal{C}=\operatorname{conv}\{x_1\otimes\cdots\otimes x_k:x_j\in\mathcal{K}_j\}.

We are interested in the following weak membership problem: given M∈H1⊗⋯⊗HkM\in\mathcal{H}_1\otimes\cdots\otimes\mathcal{H}_k decide whether

M∈C,ordist⁡(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,

where ∥⋅∥\lVert\cdot\rVert is the norm induced by the inner product in H1⊗⋯⊗Hk\mathcal{H}_1\otimes\cdots\otimes\mathcal{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 Kj\mathcal{K}_j is the unit ball of Rd\mathbb{R}^d, then the convex hull of unit-norm rank-one tensors C\mathcal{C} corresponds to all tensors with (real) nuclear norm at most 11 [FL18], where the nuclear norm of a tensor ∥⋅∥∗\lVert\cdot\rVert_* is defined as

∥M∥∗=inf⁡{∑i=1r∣λi∣:M=∑i∈[r]λi(x1,i⊗⋯⊗xk,i), ∥xj,i∥=1, xj,i∈Rd, 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\}.

Note that linear optimization over v∈Rdv\in\mathbb{R}^d reduces to computing ∥v∥\lVert v\rVert, 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≥3k\geq3 and complex tensors of order k≥4k\geq4. 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=3k=3 over both fields. On the other hand, for fixed kk and ϵ>0\epsilon>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 Kj=Dd\mathcal{K}_j=\mathcal{D}_d is the set of density matrices in dimension dd and Hj=Herm⁡(Cd)\mathcal{H}_j=\operatorname{Herm}(\mathbb{C}^d):

C=Sep⁡(d,k):=conv⁡{ρ1⊗⋯⊗ρk:ρ1,…,ρk∈Dd},\mathcal{C}=\operatorname{Sep}(d,k):=\operatorname{conv}\{\rho_1\otimes\cdots\otimes\rho_k:\rho_1,\ldots,\rho_k\in\mathcal{D}_d\},

is the set of separable kk-partite states. Since linear optimization over Dd\mathcal{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)) [Gur03] and even ϵ=1/poly⁡(d)\epsilon=1/\operatorname{poly}(d) [Gha10], already for k=2k=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(npolylog⁡n))\exp(O(\sqrt{n}\operatorname{polylog}n)). On the positive side Brandão, Christandl, and Yard [7] (see also [43]) gave a quasi-polynomial algorithm, exp⁡(O(η−2log⁡2d))\exp(O(\eta^{-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 kk parties, in time exp⁡(O(k4η−2log⁡22d))\exp(O(k^{4}\eta^{-2}\log_{2}^{2}d)), for the one-way LOCC norm and a multipartite variant of the Frobenius norm in time exp⁡(O(18k/2kη−2log⁡22d))\exp(O(18^{k/2}k\eta^{-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 and distance in Frobenius norm [37, 32]. While these results plausibly generalize to a constant kk, independent of dd, 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 kk and dd, 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, dkd^{k}.

Theorem 1.1 (Nuclear Norm; Informal). Let K∗={M∈(Rd)⊗k:∥M∥∗≤1}K_* = \{M \in(\mathbb{R}^{d})^{\otimes k} : \lVert M\rVert_* \le1\}. For every ϵ>0\epsilon> 0 there is a deterministic algorithm that, given M∈(Rd)⊗kM \in(\mathbb{R}^{d})^{\otimes k}, decides whether M∈K∗M \in K_* or dist⁡(M,K∗)≥ϵ\operatorname{dist}(M,K_*) \ge\epsilon in time dOϵ(k)d^{O_{\epsilon}(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=2k = 2. Here the input size is an explicit dk×dkd^{k} \times d^{k} density matrix.

Theorem 1.2 (Quantum Separability; Informal). For every ϵ>0\epsilon> 0 there is a deterministic algorithm that, given ρ∈Herm⁡((Cd)⊗k)\rho\in\operatorname{Herm}((\mathbb{C}^{d})^{\otimes k}), decides whether ρ∈Sep⁡(d,k)\rho\in\operatorname{Sep}(d,k) or dist⁡(ρ,Sep⁡(d,k))≥ϵ\operatorname{dist}(\rho,\operatorname{Sep}(d,k)) \ge\epsilon in time dOϵ(k)d^{O_{\epsilon}(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 jj 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((Cd)⊗k)\rho\in\mathcal{D}((\mathbb{C}^{d})^{\otimes 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 dd and whose runtime is polynomial in klog⁡dk\log d, rather than kdkd. 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 there is a quantum algorithm that, given copies of an unknown ρ∈D((Cd)⊗k)\rho\in\mathcal{D}((\mathbb{C}^{d})^{\otimes k}), distinguishes ρ∈Sep⁡(d,k)\rho\in\operatorname{Sep}(d,k) from dist⁡(ρ,Sep⁡(d,k))≥ϵ\operatorname{dist}(\rho,\operatorname{Sep}(d,k)) \ge\epsilon with high probability, using kOϵ(1)k^{O_{\epsilon}(1)} copies of ρ\rho and total time kOϵ(1)polylog⁡(d)k^{O_{\epsilon}(1)}\operatorname{polylog}(d).

We highlight that for the analogous problem with the trace norm there is a lower bound of Ω(d2)\Omega(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) 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 dd to local dimension O(k2/ϵ4)O(k^2/\epsilon^4) at a cost of polylog⁡(d)\operatorname{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∈K1,…,ρk∈Kk⟨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)}

where each Kj⊆BHj\mathcal{K}_j\subseteq B_{\mathcal{H}_j} is a convex set of dimension dd, 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 jj chooses a strategy ρj∈Kj\rho_j\in\mathcal{K}_j, and the players jointly maximize the payoff in (1).

The Bipartite Case. Consider first k=2k=2, viewing M∈H1⊗H2M\in\mathcal{H}_1\otimes\mathcal{H}_2 as a linear map from H1\mathcal{H}_1 to H2\mathcal{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, and let U:Rr→H1U:\mathbb{R}^r\to\mathcal{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, there are at most r≤η−2r\le\eta^{-2} such directions. The discarded part has operator norm at most η\eta, so

∣⟨M,x⊗y⟩−⟨M,UU†x⊗y⟩∣≤η∥x∥∥y∥,∀x∈H1,y∈H2.(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)}

Thus, up to error η\eta, the payoff is ⟨M,Up⊗ρ2⟩\langle M,Up\otimes\rho_2\rangle, where the message p=U†ρ1p=U^\dagger\rho_1 has norm at most 1. Player 1’s strategy therefore matters only through a vector in dimension r≤η−2r\le\eta^{-2}.

This gives an algorithm by discretizing the message. For a net radius δ>0\delta>0, enumerate a δ\delta-net of the unit ball of Rr\mathbb{R}^r. For each net point gg, use convex optimization to find ρ1∈K1\rho_1\in\mathcal{K}_1 with ∥U†ρ1−g∥≤δ\lVert U^\dagger\rho_1-g\rVert\le\delta, if one exists. Then maximize ⟨M,Ug⊗ρ2⟩\langle M,Ug\otimes\rho_2\rangle over ρ2∈K2\rho_2\in\mathcal{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). Taking δ=η\delta=\eta gives running time poly⁡(d)⋅exp⁡(O(η−2log⁡(1/η)))\operatorname{poly}(d)\cdot\exp(O(\eta^{-2}\log(1/\eta))).

References

  1. [4]Ainesh Bakshi, John Bostanci, William Kretschmer, Zeph Landau, Jerry Li, Allen Liu, Ryan O’Donnell, and Ewin Tang. “Learning the closest product state”. In: Proceedings of the 57th Annual ACM Symposium on Theory of Computing. 2025, pp. 1212–1221.DOI
  2. [5]Siddharth Barman. “Approximating Nash equilibria and dense subgraphs via an approximate version of Carathéodory’s theorem”. In: SIAM Journal on Computing 47.3 (2018), pp. 960–981.
  3. [6]Dave Bacon, Isaac L Chuang, and Aram W Harrow. “The quantum Schur transform: I. efficient qudit circuits”. In: arXiv preprint quant-ph/0601001 (2005).arxiv.org/abs/quant-ph/0601001
  4. [7]Fernando G. S. L. Brandão, Matthias Christandl, and Jon Yard. “A quasipolynomial-time algorithm for the quantum separability problem”. In: Proceedings of the 43rd Annual ACM Symposium on Theory of Computing (STOC). 2011, pp. 343–352.DOI
  5. [9]Martino Bernasconi, Matteo Castiglioni, Andrea Celli, and Gabriele Farina. “A Unifying Framework for Quasi-Polynomial Optimization of Fixed-degree Polynomials”. In: arXiv preprint arXiv:2607.25693 (2026).
  6. [10]Fernando GSL Brandao and Aram W Harrow. “Estimating operator norms using covering nets”. In: arXiv preprint arXiv:1509.05065 (2015).arxiv.org/abs/1509.05065
  7. [11]Fernando G. S. L. Brandão and Aram W. Harrow. “Quantum de Finetti theorems under local measurements with applications”. In: Communications in Mathematical Physics 353 (2017). Preliminary version in STOC 2013, pp. 469–506.
  8. [12]Jacob Beckey, Fernando Granha Jeronimo, and Pei Wu. “An Optimal Analysis of the Product Test”. In: arXiv preprint arXiv:2607.21477 (2026).arxiv.org/abs/2607.21477
  9. [13]Costin Bădescu and Ryan O’Donnell. “Lower bounds for testing complete positivity and quantum separability”. In: LATIN 2020: Theoretical Informatics. Vol. 12118. Lecture Notes in Computer Science. Springer, 2020, pp. 375–386.arxiv.org/abs/1905.01542
  10. [29]Christopher J. Hillar and Lek-Heng Lim. “Most tensor problems are NP-hard”. In: Journal of the ACM 60.6 (2013), 45:1–45:39.arxiv.org/abs/0911.1393
  11. [30]Aram W. Harrow and Ashley Montanaro. “Testing product states, quantum Merlin–Arthur games and tensor optimization”. In: Journal of the ACM 60.1 (2013), 3:1–3:43.DOI
  12. [31]Shenglong Hu. “Relations of the Nuclear Norm of a Tensor and Its Matrix Flattenings”. In: Linear Algebra and its Applications 478 (2015), pp. 188–199. DOI: 10.1016/j.laa.2015.04.003.
  13. [32]Fernando Granha Jeronimo, Pei Wu, and Haochen Xu. “Optimal Quantum de Finetti Theorems via Argmax Rounding”. In: arXiv preprint arXiv:2608.02590 (2026).
  14. [33]Shelby Kimmel, Cedric Yen-Yu Lin, Guang Hao Low, Maris Ozols, and Theodore J Yoder. “Hamiltonian simulation with optimal sample complexity”. In: npj Quantum Information 3.1 (2017), p. 13.DOI
  15. [34]Zhening Li. “Bounds on the Spectral Norm and the Nuclear Norm of a Tensor Based on Tensor Partitions”. In: SIAM Journal on Matrix Analysis and Applications 37.4 (2016), pp. 1440–1452. DOI: 10.1137/15M1028777.
  16. [35]Yi-Kai Liu. “The Complexity of the Consistency and N-representability Problems for Quantum States”. PhD thesis, University of California, San Diego, 2007. arXiv: 0712.3041. URL: https://arxiv.org/abs/0712.3041.
  17. [36]Richard J Lipton, Evangelos Markakis, and Aranyak Mehta. “Playing large games using simple strategies”. In: Proceedings of the 4th ACM Conference on Electronic Commerce. 2003, pp. 36–41.
  18. [37]Giulio Malavolta. “Quantum Separability in Polynomial Time”. In: arXiv preprint arXiv:2607.23773 (2026).arxiv.org/abs/2607.23773
  19. [38]Francesco Mezzadri. “How to generate random matrices from the classical compact groups”. In: arXiv preprint math-ph/0609050 (2006).
  20. [39]Pasin Manurangsi and Dana Moshkovitz. “Approximating dense max 2-CSPs”. In: arXiv preprint arXiv:1507.08348 (2015).
  21. [40]Liqun Qi, Shenglong Hu, and Yanwei Xu. “Spectral Norm and Nuclear Norm of a Third Order Tensor”. In: Journal of Industrial and Management Optimization 18.2 (2022), pp. 1101–1113. DOI: 10.3934/jimo.2021010.
  22. [41]Aviad Rubinstein. “Settling the complexity of computing approximate two-player Nash equilibria”. In: ACM SIGecom Exchanges 15.2 (2017), pp. 45–49.
  23. [42]Robert Schatten. A Theory of Cross-Spaces. Annals of Mathematics Studies 26. Princeton University Press, 1950. DOI: 10.1515/9781400881963.
  24. [43]Yaoyun Shi and Xiaodi Wu. “Epsilon-net method for optimizations over separable states”. In: Theoretical Computer Science 598 (2015). Preliminary version in ICALP 2012, pp. 51–63.
  25. [44]Mehdi Soleimanifar and John Wright. “Testing matrix product states”. In: Proceedings of the 2022 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA). SIAM. 2022, pp. 1679–1701.arxiv.org/abs/2201.01824
  26. [45]Mark Wilde. Quantum information theory. Vol. 2. Cambridge university press Cambridge, UK, 2013.

Paper details

vlnc:W_j5n63qhf
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

ChatGPT

View statement
Looking for related papers…
Contents