betaFeedback

WorksPhysics and Astronomy

A constructive solution to the nn-representability problem

Abstract

We present an instantiation of the constructive solution to the fermionic quantum marginal problem by building the complete family of two-body witnesses at each level of a weighted sum-of-squares hierarchy. Our construction combines positive-semidefinite Gram matrices with explicit linear nullspace constraints that exactly cancel all higher-body contributions following a similar idea to the existing solution but made explicit in open source software. We demonstrate the weighted sum-of-squares construction numerically by solving the associated semidefinite program and recovering the exact ground-state energy of a Richardson Hamiltonian in the three-fermion sector. We further prove that higher-degree particle-number multipliers are unnecessary when the full sum-of-squares generating algebra is used.

Introduction

The nn-representability problem aims to describe the space of fermionic two-particle reduced density matrices (2-RDM) that can be obtained from an ensemble state of nn fermions. This space is usually characterized by enumerating witnesses that verify membership in the valid set. The importance of the problem has been recognized since the 1960s [1] due to the fact that the 2-RDM provides a more compact representation of a quantum system than the full wavefunction and it contains all the necessary information for computation of a molecule’s energy and most equilibrium properties relevant to chemistry. In the quantum chemistry and math communities, progress was made formalizing partial solutions [2, 3, 4, 5, 6, 7, 8] and has since been largely organized around finding computationally efficient necessary conditions on the 2-RDM to ensure the marginal can be obtained from a valid nn-particle state. In 1995 the United States National Research Council deemed nn-representability as one of the ten most prominent research challenges in quantum chemistry [9].

In quantum information the nn-representability problem generalization from fermions to a broader set of quantum particles has played an important role in defining correlations and the structure of mixed states with respect to the spectrum of their marginals [10]. The quantum information community was able to provide a solution to the 1-RDM pure-state variant of the nn-representability problem [11] and various low-dimensional pure-state quantum marginal solutions [12, 13, 14] along with the identification of the nn-representability problem as QMA-complete [15]. Furthermore, proofs of a convergent approximation hierarchy for certifying quantum correlations (NPA hierarchy) [16] along with the connection to non-commutative polynomial optimization [17] fully provided the structure for an ensemble nn-representability solution.

In this work we demonstrate how to use the infrastructure of Ref. [17] to generate a complete solution of the nn-representability problem. We rigorously show that each level of the weighted sum-of-squares NPA hierarchy [16] can be used to generate all possible non-negative two-body witnesses and provide a simple linear algebra protocol, and software, to implement the solution. As discussed in Ref. [17] the hierarchy is finite, and we prove termination at the level equal to the number of particles in the fermionic system. Our construction establishes completeness in two stages: 1) we provide linear nullspace equations that capture every at-most-two-body witness admitting a degree-dd weighted SOS representation, including joint cancellations between the SOS and particle-number multiplier terms, 2) we prove that at d=nd=n this weighted SOS cone contains every Hermitian, particle-conserving, at-most-two-body operator that is nonnegative on the nn-particle subspace. We demonstrate the weighted SOS strategy recovers canonical v2RDM constraints like DQG conditions and DQGT1T2T_1T_2 [7] conditions as restricted, non-general, subsets.

Our proofs reinforce the solution to the nn-representability problem put forth independently by Mazziotti in 2012 [18], 2023 [19], and 2026 [20] and demonstrate the key ingredients of those works can be cast in terms of the weighted sum-of-squares positivity ansatze. Specifically, we demonstrate that: 1) all witnesses are generated by a weighted sum of squares using the nullspace condition, described by Mazziotti [19], that is needed to instantiate the dual formulation [21, 22]; and 2) the additional variance term of Ref. [20] is precisely the particle-number multiplier term in weighted sum-of-squares. Furthermore, we show how the nullspace condition of Mazziotti [19] impacts the space of feasible 2-RDMs in the primal problem. Using weighted SOS to tighten the existing nn-representability solution has also been demonstrated in recent work from Nakata [23] where they use the weighted sum-of-squares representation to prove that if a 2-RDM satisfies the (2,q)(2,q)-conditions it also satisfies the qq-positivity conditions. While the existing solution is complete, and recently proved sufficient, here we cast the general solution in a symbolic form amenable to computation to aid in the designing of efficient computational methods for lower bound certificates in chemistry and condensed matter simulation. While we suspect components of the nn-representability solution generated from wSOS ansatze are anticipated by Ref. [18, 19, 20, 24], we find it difficult to fully understand their solution. Thus we feel presenting a self-contained solution relying on the operator algebra approach of wSOS adds substantial expository benefit.

As a computational verification we use a Richardson-type pairing Hamiltonian in the We focus on this model because the approximate three-positivity does not improve the lower bound certificate substantially beyond 2-positivity, highlighting the gap of traditional v2RDM constraints. This result is expected, but we use approximate 3-positivity to highlight the complete degree-three weighted SOS formulation recovers the exact energy within solver accuracy. The results also afford the opportunity to derive how contraction relations between RDMs emerge from the multiplier polynomials in wSOS. Furthermore, we prove that degree-at-most-two particle-number multipliers suffice to preserve the supremal energy bound at every level d≥2d \ge2 of the complete fermionic SOS hierarchy. Higher-degree multiplier contributions can be absorbed into the SOS part and degree-at-most-two multipliers, with an arbitrarily small decrease in the lower-bound energy certificate.

Attendant to the theory, we provide the software we used to generate the degree-dd weighted SOS 2-particle witness as a component of the p†qp^\dagger q fermionic computer algebra library [25]. With minor modifications the code can be extended to arbitrary weighted SOS. The nullspace construction is not unique to fermions and applicable to other outer approximation methods.

SOS Witnesses and nn-representability

Prior to discussing the weighted SOS ansatz we first describe the protocol for constructing all 2-particle witnesses from a degree-dd SOS. After providing a proof of completeness we sketch the numerical protocol for generating a symbolic representation of all the witnesses. A normalized candidate set of low-order moments is nn-representable if and only if it is nonnegative with respect to every Hermitian, particle-conserving, at-most-two-body operator that is positive semidefinite on Hn\mathcal{H}_n [1, 2, 26]. For example, degree-6 operators that can be reconstructed exactly from 2-RDM information due to cancellation conditions of degree-6 terms by anticommutation relations constitute just one set of necessary conditions on the 2-RDM [4, 6, 7, 8]. Our goal is to construct all two-body witnesses admitting a degree-dd SOS representation. Throughout, “degree-dd SOS” refers to generators of ladder degree at most dd, whose products have ladder degree at most 2d2d. The nullspace conditions cancel all terms of ladder degree greater than four. We will show that the DQG, T1, T2′, and (2,4) conditions can be derived within this framework.

Constructing SOS two-body witnesses

To construct a 2-body witness we must parameterize a subset of the SOS operators that cancel terms of ladder degree greater than four. First, we define the operators used to form the sums of squares. Let LR\mathcal{L}_R denote the complex linear span of all finite products of a1,…,aR,a1†,…,aR†a_1,\ldots,a_R,a_1^\dagger,\ldots,a_R^\dagger, including the identity. These operators act on the RR-mode fermionic Fock space and satisfy the canonical anticommutation relations (CAR). Let o1,…,oLo_1,\ldots,o_L be the distinct normal-ordered monomials of degree at most dd, including 11, with a fixed ordering of the orbital indices. We define

Vd=Span⁡C{o1,…,oL}⊆LR(1)\mathcal{V}_d=\operatorname{Span}_{\mathbb{C}}\{o_1,\ldots,o_L\}\subseteq\mathcal{L}_R \tag*{(1)}

and collect the monomials into the vector

o⃗d=(o1o2⋮oL).(2)\vec{o}_d= \begin{pmatrix} o_1\\ o_2\\ \vdots\\ o_L \end{pmatrix}. \tag*{(2)}

Every Rk∈VdR_k\in\mathcal{V}_d can therefore be written as

Rk=c⃗k⋅o⃗d=∑i=1Lckioi,c⃗k∈C1×L.(3)R_k=\vec{c}_k\cdot\vec{o}_d=\sum_{i=1}^{L}c_{ki}o_i,\qquad\vec{c}_k\in\mathbb{C}^{1\times L}. \tag*{(3)}

The degree-dd SOS cone is

Σd={∑k=1rRk†Rk:r<∞, Rk∈Vd}.(4)\Sigma_d=\left\{\sum_{k=1}^{r}R_k^\dagger R_k:r<\infty,\ R_k\in\mathcal{V}_d\right\}. \tag*{(4)}

Every element of Σd\Sigma_d is a globally positive-semidefinite Hermitian operator on Fock space [27]. This definition has a Gram-matrix form. To see this, let W=∑k=1rRk†RkW=\sum_{k=1}^{r}R_k^\dagger R_k. Substitution of Rk=c⃗k⋅o⃗dR_k=\vec{c}_k\cdot\vec{o}_d gives

W=o⃗d†(∑k=1rc⃗k†c⃗k)o⃗d=o⃗d†Go⃗d,G=∑k=1rc⃗k†c⃗k⪰0.(5)\begin{aligned} W&=\vec{o}_d^\dagger\left(\sum_{k=1}^{r}\vec{c}_k^\dagger\vec{c}_k\right)\vec{o}_d\\ &=\vec{o}_d^\dagger G\vec{o}_d,\qquad G=\sum_{k=1}^{r}\vec{c}_k^\dagger\vec{c}_k\succeq0. \tag*{(5)} \end{aligned}

Conversely, any G⪰0G\succeq0 can be factored as G=C†CG=C^\dagger C. The rows of CC define operators Rk∈VdR_k\in\mathcal{V}_d, so every positive semidefinite Gram matrix also produces an element of Σd\Sigma_d. Thus, writing

Φd(G):=o⃗d†Go⃗d,(6)\Phi_d(G):=\vec{o}_d^\dagger G\vec{o}_d, \tag*{(6)}

we have the equivalent parameterization of Σd\Sigma_d

Σd={Φd(G):G⪰0}.(7)\Sigma_d=\{\Phi_d(G):G\succeq0\}. \tag*{(7)}

To determine the subset of Σd\Sigma_d that can be evaluated with just 2-RDM information we need to specify the structure of GG which satisfies the constraint. Because each oio_i has degree at most dd, the product oi†ojo_i^\dagger o_j can contain terms of degree up to 2d2d after normal ordering. The canonical anticommutation relations give an expansion of each product in a normal-ordered basis:

oi†oj=∑m=02d∑γ∈ImΓij(m,γ)Oγ(m),(8)o_i^\dagger o_j = \sum_{m=0}^{2d}\sum_{\gamma\in\mathcal{I}_m}\Gamma_{ij}^{(m,\gamma)} O_\gamma^{(m)}, \tag*{(8)}

where Im\mathcal{I}_m labels the distinct normal-ordered operators Oγ(m)O_\gamma^{(m)} of degree mm. The coefficients Γij(m,γ)\Gamma_{ij}^{(m,\gamma)} are determined by normal ordering oi†ojo_i^\dagger o_j under the application of Wick’s theorem with respect to the true vacuum ∣0⟩\lvert0\rangle. For W=Φd(G)W = \Phi_d(G), this gives

W=∑m=02d∑γ∈Im(∑i,j=1LGijΓij(m,γ))Oγ(m).(9)W = \sum_{m=0}^{2d}\sum_{\gamma\in\mathcal{I}_m}\left(\sum_{i,j=1}^{L}G_{ij}\Gamma_{ij}^{(m,\gamma)}\right)O_\gamma^{(m)}. \tag*{(9)}

All terms of degree greater than four vanish when

∑i,j=1LGijΓij(m,γ)=0for every m>4 and γ∈Im.(10)\sum_{i,j=1}^{L}G_{ij}\Gamma_{ij}^{(m,\gamma)} = 0 \qquad\text{for every }m>4\text{ and }\gamma\in\mathcal{I}_m. \tag*{(10)}

These are linear equations in the entries of GG. Writing g=vec⁡(G)g = \operatorname{vec}(G), we collect them as

Atrunc(d)g=0,(11)A_{\mathrm{trunc}}(d)g = 0, \tag*{(11)}

with one row for each high-degree operator Oγ(m)O_\gamma^{(m)}. The entries of that row are the corresponding coefficients Γij(m,γ)\Gamma_{ij}^{(m,\gamma)}, ordered consistently with vec⁡(G)\operatorname{vec}(G).

The nullspace of Atrunc(d)A_{\mathrm{trunc}}(d) therefore contains the Gram matrices whose terms of degree greater than four cancel. To obtain SOS operators, we also require G⪰0G \succeq0. If B1,…,BKB_1,\ldots,B_K form a real basis for the Hermitian matrices satisfying the nullspace equations, we can write

G=∑ℓ=1KxℓBℓ⪰0,xℓ∈R.(12)G = \sum_{\ell=1}^{K}x_\ell B_\ell\succeq0,\qquad x_\ell\in\mathbb{R}. \tag*{(12)}

The resulting operators W=Φd(G)W = \Phi_d(G) are degree-dd SOS operators with ladder degree at most four. Next we show that the nullspace conditions cover all possible witnesses generated from the cone Σd\Sigma_d.

Completeness of the two-body SOS nullspace construction

First, we define the normal-ordered basis O={Oα}\mathcal{O} = \{O_\alpha\} and partition it into two sets

References

  1. [1]A. J. Coleman, Structure of fermion density matrices, Rev. Mod. Phys. 35, 668 (1963).DOI
  2. [2]C. Garrod and J. K. Percus, Reduction of the n-particle variational problem, Journal of Mathematical Physics 5, 1756 (1964).DOI
  3. [3]A. Coleman, Reduced density operators and the n-particle problem, International Journal of Quantum Chemistry 13, 67 (1978).DOI
  4. [4]R. M. Erdahl, Representability, International Journal of Quantum Chemistry 13, 697 (1978).DOI
  5. [5]M. Nakata, H. Nakatsuji, M. Ehara, M. Fukuda, K. Nakata, and K. Fujisawa, Variational calculations of fermion second-order reduced density matrices by semidefinite programming algorithm, The Journal of Chemical Physics 114, 8282 (2001).
  6. [6]Z. Zhao, B. J. Braams, M. Fukuda, M. L. Overton, and J. K. Percus, The reduced density matrix method for electronic structure calculations and the role of three-index representability conditions, The Journal of chemical physics 120, 2095 (2004).pubmed.ncbi.nlm.nih.gov/15268347
  7. [7]M. Nakata, B. J. Braams, K. Fujisawa, M. Fukuda, J. K. Percus, M. Yamashita, and Z. Zhao, Variational calculation of second-order reduced density matrices by strong n-representability conditions and an accurate semidefinite programming solver, The Journal of chemical physics 128 (2008).DOI
  8. [8]D. A. Mazziotti, Variational reduced-density-matrix method using three-particle n-representability conditions with application to many-electron molecules, Phys. Rev. A 74, 032501 (2006).DOI
  9. [9]National Research Council and Division on Engineering and Physical Sciences and Commission on Physical Sciences and Mathematics and Applications and Committee on Mathematical Challenges from Computational Chemistry, Mathematical challenges from theoretical/computational chemistry, National Academies Press (1995).DOI
  10. [10]A. A. Klyachko, Quantum marginal problem and n-representability, in Journal of Physics: Conference Series, Vol. 36 (2006) pp. 72–86.DOI
  11. [11]M. Altunbulak and A. Klyachko, The pauli principle revisited, Communications in Mathematical Physics 282, 287 (2008).DOI
  12. [12]S. Bravyi, Requirements for compatibility between local and multipartite quantum states, arXiv preprint quant-ph/0301014 (2003).arxiv.org/abs/quant-ph/0301014
  13. [13]A. Higuchi, On the one-particle reduced density matrices of a pure three-qubit quantum state, arXiv preprint quant-ph/0309186 (2003).DOI
  14. [14]I. H. Kim, Entropy scaling law and the quantum marginal problem, Phys. Rev. X 11, 021039 (2021).
  15. [15]Y.-K. Liu, M. Christandl, and F. Verstraete, Quantum computational complexity of the n-representability problem: Qma complete, Phys. Rev. Lett. 98, 110503 (2007).pubmed.ncbi.nlm.nih.gov/17501036
  16. [16]M. Navascués, S. Pironio, and A. Acín, A convergent hierarchy of semidefinite programs characterizing the set of quantum correlations, New Journal of Physics 10, 073013 (2008).DOI
  17. [17]S. Pironio, M. Navascués, and A. Acín, Convergent relaxations of polynomial optimization problems with noncommuting variables, SIAM Journal on Optimization 20, 2157 (2010).DOI
  18. [18]D. A. Mazziotti, Structure of fermionic density matrices: Complete n-representability conditions, Phys. Rev. Lett. 108, 263002 (2012).pubmed.ncbi.nlm.nih.gov/23004973
  19. [19]D. A. Mazziotti, Quantum many-body theory from a solution of the n-representability problem, Phys. Rev. Lett. 130, 153001 (2023).DOI
  20. [20]D. A. Mazziotti, Representability for quantum theory beyond particle-number conservation, Phys. Rev. Lett. 136, 120202 (2026).DOI
  21. [21]R. Erdahl, Two algorithms for the lower bound method of reduced density matrix theory, Reports on Mathematical Physics 15, 147 (1979).DOI
  22. [22]E. Cances, G. Stoltz, and M. Lewin, The electronic ground-state energy problem: A new reduced density matrix approach, The Journal of chemical physics 125 (2006).
  23. [23]M. Nakata, Spurious zero-dispersion continua in full (2, q)-positivity: A linear hierarchy-depth lower bound from an exactly solvable counting operator, arXiv preprint arXiv:2610.09698 (2026).arxiv.org/abs/2610.09698
  24. [24]D. A. Mazziotti, Significant conditions for the two-electron reduced density matrix from the constructive solution of n representability, Phys. Rev. A 85, 062507 (2012).DOI
  25. [25]M. D. Liebenthal, S. H. Yuwono, L. N. Koulias, R. R. Li, N. C. Rubin, and A. E. DePrince III, Automated quantum chemistry code generation with the p† q package, The Journal of Physical Chemistry A 129, 6679 (2025).
  26. [26]D. Van Neck and P. W. Ayers, Necessary conditions for the n-representability of the second-order reduced density matrix: Upper bounds on the p and q matrices, Phys. Rev. A 75, 032502 (2007).DOI
  27. [27]J. W. Helton, “Positive” noncommutative polynomials are sums of squares, Annals of Mathematics , 675 (2002).DOI
  28. [28]N. C. Rubin, G. H. Low, and A. E. DePrince III, Near-frustration-free electronic structure hamiltonian representations and lower-bound certificates, Journal of Chemical Theory and Computation 22, 8751 (2026).DOI
  29. [29]J. Helton and S. McCullough, A positivstellensatz for non-commutative polynomials, Transactions of the American Mathematical Society 356, 3721 (2004).DOI

Paper details

vlnc:W_d3mb5b95
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

Astra-6 pro, Gemini 3.1 Pro (bare), Gemini 4

View statement
Looking for related papers…
Contents