Improved Approximation Algorithms for the EPR Hamiltonian
Abstract
The EPR Hamiltonian is a family of 2-local quantum Hamiltonians introduced by King [18]. We introduce a polynomial time -approximation algorithm for the problem of computing the ground energy of the EPR Hamiltonian, improving upon the previous state of the art of [17].
Keywords and phrases:
Approximation Algorithms, Quantum Local HamiltonianCategory:
APPROXCopyright and License:
2012 ACM Subject Classification:
Theory of computation Approximation algorithms analysisSupplementary Material:
Software (Source code): https://github.com/anshnagda/EPR-algorithmarchived at
swh:1:dir:0c84d61b32f7cc919be9311c24e8136b0e3412f1
Editors:
Alina Ene and Eshan ChattopadhyaySeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
Constraint Satisfaction Problems (CSPs) are a central class of computational problems in NP, capturing a wide range of decision problems where the goal is to determine whether there exists an assignment to variables that satisfies a given set of constraints. In the quantum setting, the analogous problem is known as the local Hamiltonian problem which is the central computational problem for the complexity class QMA. In this problem, one is given a local Hamiltonian of the form
where each term is a Hermitian matrix over qubits that only acts nontrivially on qubits. Given a (mixed) quantum state , we say that the energy of is . In the maximization version of the problem, the objective is to compute the maximum possible energy achieved by any state, which we call the ground state energy111This is a slight deviation from the usual notion of the ground state being the minimum energy state. We remark that both the notions are equivalent up to replacing by ; we use the maximization notion because it is notationally convenient.. Note that the ground state energy coincides with the maximum eigenvalue of :
We remark that max-CSPs can be thought of as a special case of the local Hamiltonian problem where is a diagonal matrix whose entry indicates whether or not a particular predicate is satisfied by viewed as an assignment of Boolean variables. In this case, it is immediate that the ground state energy is equal to the maximum number of clauses that can be satisfied by any assignment, and is achieved by the product state where is the optimal assignment.
Computing the ground state energy of a generic local Hamiltonians is computationally infeasible (QMA-hard), so we focus on approximating it in this work. Let be a family of local Hamiltonians. For , an -approximation algorithm for is a classical algorithm222For the purposes of this paper we only consider classical algorithms, but one can also consider quantum algorithms. that, upon input , outputs a description of a (mixed) state achieving energy
In this work, we consider the EPR Hamiltonian family which was formally introduced by King [18]. A Hamiltonian is parametrized by a weighted graph given as a symmetric matrix , and is defined as
where is a projection onto the EPR state on qubits and tensored with identity on the rest.
These Hamiltonians naturally arise in the study of quantum systems such as the antiferromagnetic Heisenberg model on lattices and the XXZ model, which have been extensively studied in the physics literature (e.g. [25, 7, 21, 5]).
From the point of view of computational complexity, the EPR Hamiltonian provides perhaps the simplest example of a local Hamiltonian that exhibits new challenges beyond traditional CSP theory. To illustrate this, one can show that among all product states, the one achieving maximal energy is always the trivial state . This is in contrast to the “diagonal” case of CSPs in which the optimal state is equivalent to the optimal product state. As a result, the main challenge with the EPR Hamiltonian reduces to understanding the entanglement structure of the ground state.
Prior to our work, King [18] obtained a -approximation for the EPR Hamiltonian, which was later slightly improved to [17]. Our main result is an improved approximation algorithm for EPR.
Theorem 1.
There is a polynomial time -approximation algorithm for the EPR problem.
Remark 2.
In concurrent work, Apte et al. [3] achieved the same approximation ratio of for the EPR Hamiltonian using a different algorithm and analysis.
1.1 Related work
The study of approximation algorithms for local Hamiltonian problems was initiated by Bravyi, Bansal, and Terhal [4] and Gharibian and Kempe [11] which have since been followed by a sequence of works (e.g. [9, 8, 14, 6]).
A line of work initiated by Gharibian and Parekh [12] studies approximation algorithms for a closely related problem to the EPR Hamiltonian, called Quantum Max Cut [23, 1, 24, 19, 18, 15, 28, 26]. The best known results in the literature are an algorithm showing an approximation ratio of [3] and a (conditional) hardness result ruling out approximation ratios beyond [16]. This leaves a large range of possible values for the optimal approximability by polynomial time algorithms.
2 Algorithm
2.1 An upper bound on
We will begin by describing an efficiently computable upper bound on . Let us denote by the optimal value of the following linear program, known as the fractional matching LP:
Let be an optimal solution to the above LP. We say that the LP energy on edge is .
The star bound, proved by Anshu-Gosset-Morenz [1], gives a way to bound the ground state energy in terms of the above linear program. We will need a version of this bound that applies to the EPR Hamiltonian (appearing in [18, Lemma 7] for example).
Lemma 3.
For any -qubit state and ,
As a consequence, always gives a feasible solution to the LP, implying that . This implies the upper bound
| (1) |
All the algorithms we present in this paper involve computing an optimal solution to , and applying a rounding algorithm to to compute the description of a state achieving energy
| (2) |
on every edge for some . By Equation 1, we have
so this results in an -approximation algorithm.
Let us describe the rough plan for our presentation of this rounding algorithm. First, in Section 2.2, we describe how to use a rounding strategy used in the work of Lee and Parekh [20] to achieve in the special case that the interaction matrix is bipartite, that is, it is the adjacency matrix of a bipartite weighted graph. Next, in Section 2.3 we give an improved rounding algorithm achieving for bipartite instances. Finally, in Section 2.4 we show how to achieve the same approximation ratio for general non-bipartite instances, proving Theorem 1.
2.2 A -approximation in the bipartite case
Here we focus on the case that is the adjacency matrix of a weighted bipartite graph. For bipartite graphs, it was proved by Edmonds that the fractional matching LP is integral, i.e., its vertices are indicator vectors of matchings.
Lemma 4 ([10]).
For any weighted bipartite graph with adjacency matrix , , where is the maximum weight matching of the graph. That is, the optimal solution to is achieved by an integer vector .
We can find such an optimal solution using an algorithm for maximum weighted matching. Let be the set of vertices that do not appear in the matching . Consider the two states
The rounding algorithm will output a random choice between and . In particular, we output the state for some choice of .
Claim 5.
The energy attained on edge is
On the other hand, the LP energy on edge is
If we set , then one can check that for each edge ,
proving Equation 2 for .
2.3 An improvement in the bipartite case
Our improvement to this algorithm is simple to state – we interpolate between and using quantum superposition rather than in probability. Concretely, let be the maximum matching and be the unmatched vertices as in Section 2.2. Define the tilted EPR state . We will output the state
| (3) |
Claim 6.
The energy attained on edge is
where .
Comparing Claim 6 to Claim 5, one can readily see that this algorithm performs strictly better; for instance, set . Our new rounding scheme achieves strictly better energy on edges outside and identical energy on edges inside .
It remains to prove Claim 6, and then to analyze the approximation ratio of this rounding algorithm. We will repeatedly use the following simple properties of .
Claim 7.
Let . The following are true.
-
1.
.
-
2.
.
-
3.
.
Now, one can compute all the 2-qubit marginals:
where for the second case we used that the -qubit marginals are all equal to . By Claim 7, the energy achieved by each term is determined by
and Claim 6 follows immediately. Now let us analyze the approximation ratio. Similarly to Section 2.2, we have the LP energy
| (4) |
Setting , one can check using Equation 4 and Claim 6 that
for each edge . Thus, we have shown Equation 2 with as desired.
2.4 General Case
In the general non-bipartite case, we cannot apply Lemma 4; the fractional matching LP is not necessarily integral. Previous works proceeded by bounding the integrality gap of this LP, which is quite lossy. Our main idea is to take advantage of the fact that the fractional matching LP is half-integral.
Lemma 8 ([22, Theorem 7.5.1]).
For any weighted -vertex graph with adjacency matrix , there is a vertex-disjoint collection of edges and cycles such that . That is, the optimal solution to is achieved by the half-integer vector .
In particular, (e.g. using the algorithm of Anstee [2]), one can efficiently find such a solution , i.e. a vertex-disjoint collection of edges and odd length cycles such that the LP energies can be written as
| (5) |
Let be the set of vertices absent from and . The algorithm in the bipartite case (Equation 3) already suggests what quantum state we will output on the qubits involved in and . On the qubits in for some odd cycle of length , we will output a high energy state for the EPR Hamiltonian on the length cycle, i.e. , subject to the constraint that all -qubit marginals are equal to . The following lemma (which we prove in Appendix A) shows that there is a way to achieve sufficiently large energy on the cycle edges.
Lemma 9.
For any integer , there is an efficient algorithm to compute the description of a -qubit state satisfying the following, where and is the solution to .
-
1.
For all , .
-
2.
For all , the -qubit marginal equals .
-
3.
For all , .
Remark 10.
The main idea behind the proof is that Items 1, 2, and 3 are all linear constraints in the positive semidefinite variable , and hence the Lemma reduces to solving a semidefinite program of size . This can be verified numerically for small enough. When is large, we instead choose to be a tensor product of states on a disjoint collection of short paths; here the states on short paths are again found by numerically solving an appropriate semidefinite program.
Our algorithm will output the state
| (6) |
where is the set of qubits in the cycle and is the state guaranteed by Lemma 9. Similarly to Section 2.3, we set and such that . Let us analyze the energy achieved by this algorithm. We have
To elaborate on the last case, we note that it must be that either qubits and are nonadjacent vertices in the same cycle , or they are in tensor product. If the former is true, we use the guarantee of Lemma 9, Item 3. Otherwise, we use the fact that all the -qubit marginals are equal to along with the calculations from Section 2.3 to conclude that the energy is .
Comparing with Equation 5, we immediately get that for every edge ,
proving Equation 2 with . As a result, we obtain an approximation algorithm for the EPR Hamiltonian with approximation ratio , proving Theorem 1.
References
- [1] Anurag Anshu, David Gosset, and Karen Morenz. Beyond product state approximations for a quantum analogue of max cut. arXiv preprint, 2020. arXiv:2003.14394.
- [2] Richard P Anstee. A polynomial algorithm for b-matchings: an alternative approach. Information Processing Letters, 24(3):153–157, 1987. doi:10.1016/0020-0190(87)90178-5.
- [3] Anuj Apte, Eunou Lee, Kunal Marwaha, Ojas Parekh, and James Sud. Improved algorithms for quantum maxcut via partially entangled matchings. arXiv preprint, 2025. arXiv:2504.15276.
- [4] Nikhil Bansal, Sergey Bravyi, and Barbara M Terhal. Classical approximation schemes for the ground-state energy of quantum and classical ising spin hamiltonians on planar graphs. arXiv preprint, 2007. arXiv:0705.1115.
- [5] Rodney J Baxter. Partition function of the eight-vertex lattice model. Annals of Physics, 70(1):193–228, 1972.
- [6] Thiago Bergamaschi. Improved product-state approximation algorithms for quantum local hamiltonians. arXiv preprint, 2022. arXiv:2210.08680.
- [7] Hans Bethe. Zur theorie der metalle: I. eigenwerte und eigenfunktionen der linearen atomkette. Zeitschrift für Physik, 71(3):205–226, 1931.
- [8] Fernando GSL Brandao and Aram W Harrow. Product-state approximations to quantum states. Communications in Mathematical Physics, 342:47–80, 2016.
- [9] Sergey Bravyi, David Gosset, Robert König, and Kristan Temme. Approximation algorithms for quantum many-body problems. Journal of Mathematical Physics, 60(3), 2019.
- [10] Jack Edmonds. Maximum matching and a polyhedron with 0, 1-vertices. Journal of research of the National Bureau of Standards B, 69(125-130):55–56, 1965.
- [11] Sevag Gharibian and Julia Kempe. Approximation algorithms for qma-complete problems. SIAM Journal on Computing, 41(4):1028–1050, 2012. doi:10.1137/110842272.
- [12] Sevag Gharibian and Ojas Parekh. Almost optimal classical approximation algorithms for a quantum generalization of max-cut. arXiv preprint, 2019. arXiv:1909.08846.
- [13] Sander Gribling, Lennart Sinjorgo, and Renata Sotirov. Improved approximation ratios for the quantum max-cut problem on general, triangle-free and bipartite graphs. arXiv preprint, 2025. arXiv:2504.11120.
- [14] Aram W Harrow and Ashley Montanaro. Extremal eigenvalues of local hamiltonians. Quantum, 1:6, 2017. doi:10.22331/Q-2017-04-25-6.
- [15] Felix Huber, Kevin Thompson, Ojas Parekh, and Sevag Gharibian. Second order cone relaxations for quantum max cut, 2024. arXiv:2411.04120.
- [16] Yeongwoo Hwang, Joe Neeman, Ojas Parekh, Kevin Thompson, and John Wright. Unique games hardness of quantum max-cut, and a conjectured vector-valued borell’s inequality. In Proceedings of the 2023 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1319–1384. SIAM, 2023. doi:10.1137/1.9781611977554.CH48.
- [17] Zackary Jorquera, Alexandra Kolla, Steven Kordonowy, Juspreet Singh Sandhu, and Stuart Wayland. Monogamy of entanglement bounds and improved approximation algorithms for qudit hamiltonians. arXiv preprint, 2024. arXiv:2410.15544.
- [18] Robbie King. An improved approximation algorithm for quantum max-cut on triangle-free graphs. Quantum, 7:1180, 2023. doi:10.22331/Q-2023-11-09-1180.
- [19] Eunou Lee. Optimizing quantum circuit parameters via sdp, 2022. arXiv:2209.00789.
- [20] Eunou Lee and Ojas Parekh. An Improved Quantum Max Cut Approximation via Maximum Matching. In Karl Bringmann, Martin Grohe, Gabriele Puppis, and Ola Svensson, editors, 51st International Colloquium on Automata, Languages, and Programming (ICALP 2024), volume 297 of Leibniz International Proceedings in Informatics (LIPIcs), pages 105:1–105:11, Dagstuhl, Germany, 2024. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.ICALP.2024.105.
- [21] Elliott Lieb, Theodore Schultz, and Daniel Mattis. Two soluble models of an antiferromagnetic chain. Annals of Physics, 16(3):407–466, 1961.
- [22] László Lovász and Michael D Plummer. Matching theory, volume 367. American Mathematical Soc., 2009.
- [23] Ojas Parekh and Kevin Thompson. Application of the Level-2 Quantum Lasserre Hierarchy in Quantum Approximation Algorithms. In Nikhil Bansal, Emanuela Merelli, and James Worrell, editors, 48th International Colloquium on Automata, Languages, and Programming (ICALP 2021), volume 198 of Leibniz International Proceedings in Informatics (LIPIcs), pages 102:1–102:20, Dagstuhl, Germany, 2021. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.ICALP.2021.102.
- [24] Ojas Parekh and Kevin Thompson. An optimal product-state approximation for 2-local quantum hamiltonians with positive terms. arXiv preprint, 2022. doi:10.48550/arXiv.2206.08342.
- [25] Anders W Sandvik. Computational studies of quantum spin systems. In AIP Conference Proceedings, volume 1297, pages 135–338. American Institute of Physics, 2010.
- [26] Jun Takahashi, Chaithanya Rayudu, Cunlu Zhou, Robbie King, Kevin Thompson, and Ojas Parekh. An SU(2)-symmetric semidefinite programming hierarchy for quantum max cut, 2023. arXiv:2307.15688.
- [27] Jun Takahashi, Sam Slezak, and Elizabeth Crosson. Rapidly mixing loop representation quantum monte carlo for heisenberg models on star-like bipartite graphs, 2024. doi:10.48550/arXiv.2411.01452.
- [28] Adam Bene Watts, Anirban Chowdhury, Aidan Epperly, J. William Helton, and Igor Klep. Relaxations and exact solutions to quantum max cut via the algebraic structure of swap operators. Quantum, 8:1352, May 2024. doi:10.22331/Q-2024-05-22-1352.
Appendix A Proof of Lemma 9
For the reader’s convenience we restate Lemma 9 below. The code for verifying the numerical claims made in the below proof is available at https://github.com/anshnagda/EPR-algorithm.
Lemma 11 (Restatement of Lemma 9).
For any integer , there is an efficient algorithm to compute the description of a -qubit state satisfying the following, where and is the solution to .
-
1.
For all , .
-
2.
For all , the -qubit marginal equals .
-
3.
For all , .
Proof.
For , we numerically verify the claim by explicitly solving a semidefinite program.
Similarly, one can verify by solving a semidefinite program that there exists a -qubit state satisfying the following:
-
1.
.
-
2.
For all , .
-
3.
For all , the -qubit marginal equals .
Now assume . Define the state
Let be the unitary that shifts qubits in the -cycle spots. We will set to be the shift-invariant state
We will verify that satisfies the three requirements.
-
1.
Let . We can write the energy as the average energy of a random edge under . By definition of , one can compute
For the cases , the assumption on allows us to bound the energy as
Therefore
One can verify that , implying
-
2.
It suffices to prove that the -qubit marginals of are equal to . For qubits , this follows from Claim 7, and for , this follows by definition of .
- 3.
