Strong Refutation for Random Quantum 3-SAT at Constant Density
Siu On Chan, Jeff Xu
Abstract
We give a classical polynomial-time algorithm that strongly refutes random quantum 3-SAT at sufficiently large constant constraint density, thereby disproving the quantum analogue of Feige's random 3-SAT hypothesis. This stands in sharp contrast to classical random 3-SAT, for which polynomial-time strong refutation is known only at constraint density Δ≳n1/2. Although quantum 3-SAT shares the pairwise-independence barrier of its classical counterpart, our SDP-based refutation overcomes this barrier by exploiting the noncommutativity of quantum constraints.
AI Disclosure: The authors formulated the two key ingredients of the refutation algorithm: the reduction to pairwise-independent states through the classical analogue, and the strong refutation of pairwise-uniform states using bow-tie structures. AI assistance was used to work out the technical details, with the specific contributions highlighted in a later section. The authors verified the correctness and originality of all content, including the references.
1 Introduction 1
1.1 Proof Overview 2
2 Preliminaries 5
2.1 Pauli Operator 5
2.2 Pseudo-Expectation 6
2.3 t-Wise Independent 6
2.4 Random Model 6
3 Proof of Main Theorem 7
3.1 ϵ-Net of Constraints 9
3.2 Biased Marginal 10
3.3 Wrapping Up 12
4 Almost t-Wise Independent 13
5 Strong Refutation from Bow-Ties 16
5.1 Refutation for Rank-One Bow-Ties 16
5.2 Finding Useful Bow-Ties 17
5.3 Strong Refutation Near Pairwise Uniformity 20
6 Conditioning 20
7 Concentration 23
Acknowledgments 26
References 27
A Deferred Lemmas 30
B Pseudo-Expectation 30
C Pairwise-Uniform Avoidance for Three Qubits 32
1 Introduction
Quantum k-SAT, or k-QSAT, is the quantum analogue of classical k-SAT, introduced by Bravyi [Bra11]. For any k variables, a classical k-SAT clause selects one of the 2k sign patterns and thereby forbids a single assignment in {0,1}k, equivalently, one of the 2k computational-basis directions. A k-QSAT clause is the continuous analogue: instead of forbidding a basis direction, it forbids an arbitrary one-dimensional subspace of the local Hilbert space (C2)⊗k; in the random model, this forbidden direction is sampled from the Haar measure. Thus, for k=3, the eight discrete forbidden directions of classical 3-SAT are replaced by a continuum of directions in an eight-dimensional Hilbert space.
In the same work, Bravyi gave a classical polynomial-time algorithm for 2-QSAT and proved that k-QSAT is QMA1-complete for k≥4. Gosset and Nagaj later closed the remaining gap by proving QMA1-completeness of 3-QSAT [GN16]. The complexity class QMA1 was introduced in [Bra11] as a quantum analogue of NP, consisting of problems in QMA whose Yes instances can be accepted by a quantum verifier with probability 1. QMA1 was recently shown to be the same as QMA, concurrently by Grewal and Rudolph [GR26] and by Liu and Vidick [LV26]. So the complexity of k-QSAT seems to nicely mirror that of k-SAT, when the complexity classes are appropriately quantized.
Much like the classical counterpart (e.g. [DSS15]), the satisfiability threshold of random k-QSAT has also been studied. Ravelomanana [Rav26] upper bounded the random 3-QSAT threshold by 1.947 and the k-QSAT threshold by O(2k/k), improving on previous works of Laumann, Läuchli, Moessner, Scardicchio, and Sondhi [LLM +10, LMSS10] and Bravyi, Moore, and Russell [BMR10]. On the other hand, Ambainis, Kempe, and Sattath [AKS12] lower bounded the random k-QSAT threshold by Ω(2k/k2) using the quantum Lovász local lemma.
Several recent works study algorithmic variants of Hamiltonian satisfiability and optimization. Montanaro, Shao, and Verdon [MSV25] gave a randomized polynomial-time property tester for quantum k-SAT. Hastings and O'Donnell [HO22] obtained efficient classical constant-factor upper certificates for the dense degree-4 fermionic Sachdev–Ye–Kitaev model, while Kocurek [Koc26] gave a classical spectral algorithm for strongly refuting semirandom Hamiltonian k-XOR. Chen, Dalzell, Berta, Brandão, and Tropp [CDB +24] showed that quantum phase estimation efficiently prepares near-ground-energy states of certain sparse random but generally nonlocal Hamiltonians. These and many other results reveal the diverse algorithmic phenomena exhibited by random and structured Hamiltonian models.
In this work, we study the average-case task of strong refutation, motivated by its classical counterpart. A central conjecture in average-case complexity, Feige's hypothesis [Fei02, Hypothesis 2], posits the hardness of strongly refuting random classical 3-SAT:
For every ϵ>0, and for sufficiently large Δ, there is no polynomial-time algorithm that certifies that most random 3-SAT instances on n variables and Δn constraints have value at most 1−ϵ.
This naturally suggests a quantum analogue. Following [LLM+10,LMSS10], we consider random quantum k-SAT instances generated in direct analogy with classical random k-SAT:
The underlying hypergraph is sampled exactly as in the binomial/Erdős–Rényi model for classical random k-SAT.
In classical k-SAT, each clause forbids a uniformly random computational-basis direction, equivalently one of the 2k assignments in {0,1}k. In quantum k-SAT, this discrete random choice is replaced by a Haar-random one-dimensional subspace of the local Hilbert space (C2)⊗k.
Thus, the random hypergraph structure is unchanged, while the discrete randomness in the clause signings is replaced by continuous Haar randomness. In the worst-case setting, hardness of quantum k-SAT follows immediately from that of classical k-SAT, since classical clauses correspond to computational-basis directions. The average-case setting, however, is substantially less clear: under the Haar measure, the probability that a randomly chosen forbidden direction coincides with any computational-basis direction is 0.
Perhaps surprisingly, and in sharp contrast with the intuition suggested by classical CSPs, we show that the natural quantum analogue of Feige’s hypothesis fails dramatically:
Theorem 1.1. There is δ>0 and a classical deterministic polynomial-time algorithm that, for every sufficiently large constant Δ, certifies that a random 3-QSAT instance on n variables with Δn constraints in expectation has value at most 1−δ, with high probability over the instance.
This behavior stands in stark contrast with classical random 3-SAT. Currently, polynomial-time strong refutation of random 3-SAT requires Δ≳n1/2 [AOW15, dT23]. The relevant classical refutation algorithms are based on spectral methods or, more generally, Sum-of-Squares hierarchy. The emergence of the n1/2 threshold has a structural explanation: every 3-SAT clause supports a pairwise independent distribution over its satisfying assignments. More generally, for classical random k-CSPs, the spectral/SDP refutation threshold is governed by the amount of local independence supported by the predicate. If t is the largest integer for which the satisfying assignments support a t-wise independent distribution, then polynomial-time spectral or SDP refutation requires clause density Δ≥Ω(n(t−1)/2), and this threshold is tight [BCK15, KMOW17, CdX26].
Our theorem therefore reveals a qualitative separation between the classical and quantum settings: although, as in classical 3-SAT, each random quantum constraint supports a pairwise-uniform solution in the appropriate sense (see Proposition C.1), pairwise independence [BGMT12, TW13, BCK15, KMOW17] is no longer a barrier, and Haar-random quantum constraints can nevertheless be strongly refuted at constant clause density.
1.1 Proof Overview
Due to the superficial similarities with classical 3-SAT, it is tempting to try to refute random quantum 3-SAT by the approach of Allen, O'Donnell, and Witmer [AOW15]. However, this approach does not work for 3-QSAT for two reasons. [AOW15] considered the following induced distribution of a classical 3-SAT instance I=(V,C) and assignment x:V→{0,1}: Ec∈C(xS⊕b), where S∈V3 is the scope of the constraint c and b∈{0,1}3 are the literal negations of c. In words, their induced distribution is the average, over the constraints c of I, of the local assignment xS to c, shifted by the negations b. [AOW15] proved that the induced distribution is close to 3-wise uniform whp when Δ≥Ω~(n1/2), by bounding its Fourier coefficients.
By contrast, quantum 3-SAT does not have negations, so the above induced distribution does not apply. One may naively think that the forbidden pure state ψ in a 3-QSAT plays the same role as the negations b in 3-SAT, but in fact the literals b contains more information than ψ: Given any 3-SAT constraint with negations b, one can turn it into the unnegated constraint (that forbids the assignment 000) in a unique way by adding b entrywise, as in the above definition of induced distribution. On the other hand, given any 3-QSAT constraint that forbids the pure state ψ, there are multiple ways to rotate this constraint into the standard constraint (that forbids ∣000⟩). The non-uniqueness hinders generalizing the above induced distribution definition to 3-QSAT. Another issue is that we want a strong refutation at Δ=O(1), an unrechable regime to the classical 3-SAT.
Reduction to Pairwise Independent States For this reason, we instead consider the induced distribution from [CdX26] and its quantum analog. Given 3-QSAT instance I=(V,E) and an n-qubit state ρ, the induced state E(ρ)=Ee∈Eρe is the average, over the constraints e, of the reduced state ρe on e. This induced state is well defined for any degree-3 pseudo-state ρ, not just a genuine state.
In Section 7, we quantize the concentration arguments of [CdX26], and prove that in our setting, the pairwise marginals E(ρ)ij are close to E(i,j)∈(2V)ρij. Then we use a quantum variant of the global correlation rounding argument [BRS11] to deduce that the conditional pairwise marginals E(ρ∣b)ij are close to the product state E(ρ∣b)i⊗E(ρ∣b)j≈ν(ρ∣b)⊗2, upon appropriately chosen conditions b. A similar quantum variant appeared in [BH13, Theorem 14], but we cannot use it as is, for its lack of the law of total probability EbE(ρ∣b)=E(ρ), due to its use of classical conditioning [BH13, Step 4 of Algorithm 24]. Our Theorem 6.2 instead works directly with quantum conditioning, and recovers an approximate law of total probability.
The previous paragraph shows that E(ρ∣b) is almost pairwise ν-independent. Our next step shows that E(ρ∣b) is close to some state pairwise ν-independent state τ. Similar statements have been shown for classical distributions in [CdX26, ACLM26], generalizing previous results for the special case when ν is the uniform distribution on the boolean domain [AGM03, OZ18] or is somewhat unbiased on a general finite domain [RX13]. We prove the first quantum analog of this result in Theorem 4.1. Working with quantum states is more challenging than with classical distributions, when non-negativity constraints are replaced with positive-semidefiniteness constraints, and due to non-commutivity and quantum coherence. Because of the usefulness of this result in the classical setting, our quantum version is of independent interest.
From Pairwise Independence to Pairwise Uniformity It remains to understand which one-qubit marginals ν can support a high-value pairwise ν-independent state. For classical CSPs with uniformly random signings, symmetry makes the answer immediate: it suffices to consider the uniform marginal. In the absence of random signings, however, there is no a priori reason for ν to be uniform. A key observation in our setting is that the rotational symmetry of the Haar measure plays an analogous role. We show that any non-uniform marginal necessarily leaves a constant amount of room for strong refutation. Consequently, it suffices to consider SDP solutions whose local marginals are close to uniform, reducing pairwise independence to pairwise uniformity. This is formalized in Lemma 3.8, which shows that every sufficiently biased marginal admits a strong refutation.
Refutation for Pairwise-Uniform States Finally, by the standard global-correlation argument, we may reduce to the case where any high-value SDP solution is close to pairwise uniform. This is well aligned with the intuition from classical CSPs: pairwise-uniform solutions are precisely the genuine obstruction to strong refutation, and indeed underlie lower bounds that persist all the way up to clause density Δ≲n. Thus, in retrospect, the main challenge is naturally expected to lie in refuting pairwise-uniform states.
Simultaneously Satisfiable iff Commutative
Figure 1: A bow-tie formed by two 3-local clauses on {a,b,c} and {c,d,e}.
To overcome this obstacle, we exploit a simple local structure formed by two adjacent clauses, which we call a bow-tie: a pair of 3-QSAT constraints whose supports overlap in exactly one qubit; see Fig. 1. We begin with the special case in which the forbidden directions are rank one. Namely, suppose ψe=ua⊗vb⊗wc∈C8, for ua,vb,wc∈C2, and similarly for the neighboring clause ψf=wc′⊗vd⊗ue. This may be viewed as a mild generalization of a classical clause: the local factors are no longer restricted to computational-basis vectors. Already in this restricted setting, however, the behavior is qualitatively different from its classical analogue.
In particular, we show that unless wc and wc′ are co-linear, for two constraints sharing exactly one qubit, with rank-one forbidden directions ψe and ψf, any state ρ that is sufficiently close to pairwise uniform must incur a nontrivial amount of violated mass:
⟨Πψe+Πψf,ρ⟩≥Ω(1).
where we let Π be the projection matrix to the one-dimensional forbidden subspace. Equivalently, a pairwise-uniform state cannot simultaneously achieve value arbitrarily close to one on both clauses. Thus, unlike in the classical setting, pairwise uniformity itself creates a local obstruction once two suitably positioned quantum constraints overlap.
At first sight, the rank-1 assumption of the forbidden direction appears too restrictive for the Haar-random model as this occurs with probability zero. The key point is that the argument is robust: the same local obstruction continues to hold whenever the forbidden directions are sufficiently close to rank-one states. Since the local Hilbert space C8 has fixed dimension, independent of n, a Haar-random forbidden direction has a constant probability of lying within a fixed neighborhood of the rank-one locus. Consequently, with constant probability, a random clause is sufficiently close to rank one for the bow-tie argument to apply.
Finally, Lemma 5.4 shows that the random constraint hypergraph contains Ω(m) such usable bow-ties with high probability. Summing the resulting local violations yields an Ω(m) lower bound on the total violated mass, and hence a constant-gap strong refutation, as formalized in Claim 5.5.
Organization Section 2 fixes notation and introduces pseudo-states and the normalized objective. Section 3 proves Theorem 1.1 by reducing to pairwise-independent clause states and separating biased from near-uniform marginals. Section 4 converts approximate independence into exact independence. Section 5 gives a refutation for close to pairwise uniform states. The supporting conditioning and concentration results appear in Sections 6 and 7.
2 Preliminaries
2.1 Pauli Operator
Definition 2.1 (Pauli operator). Recall standard Pauli matrices
X=[0110]Y=[0i−i0]Z=[100−1].
An n-qubit Pauli operator is a 2n-by- 2n matrix (⨂i∈[n]σi)∈{I,X,Y,Z}⊗n. The weight of such a Pauli operator is the number of non-identity components σi.
Even though this work focuses on qubits, many intermediate results can be generalized to q-ary qudits. Let L be the set of linear operators on Cq. For a system on n qudits, let Ldn:=spanC{LW⊗I[n]∖W∣W∈(≤d[n])} be the span of operators of degree at most d.
Definition 2.2 (Heisenberg—Weyl operator). For a q-ary qudit ( q≥2), recall the Heisenberg–Weyl operators [KW24, Definition 3.7]
Denote the set of these q2 operators by W. Denote by Wn:=W⊗n the set of Heisenberg—Weyl operators on n qudits, and Wdn those of weight at most d.
The matrices Wz,x form an orthogonal basis of L, each being unitary of Frobenius norm q. When q=2, W reduces to the Pauli matrices.
2.2 Pseudo-Expectation
Given a genuine state ρ, its expectation Eρ[H]=Tr[ρH] is a linear functional that is normalized and positive. We call any similar functional on low-degree operators a pesudo-expectation:
Definition 2.3 (Pseudo-Expectation). A degree-2d q-ary n-qudit pseudo-expectation is a C-linear functional Eρ:L2dn→C such that:
(Normalized) Eρ[I]=1.
(Positive) Eρ[H†H]≥0 for every H∈Ldn.
Given such an operator Eρ, also say that ρ is a pseudo-state.
Remark 2.4. A pseudo-expectation operator can be represented as a Wdn-by- Wdn Hermitian matrix M such that M(σ,τ)=Eρ[σ†τ] for σ,τ∈Wdn. Positivity of Eρ implies M is positive semidefinite.
Definition 2.5 (Conditioning). Given any degree-2(d + s) pseudo-expectation Eρ, a POVM {Ex} for a subset T⊆[n] of s qudits (with Kraus operators Ex), the pseudo-expectation Eρ∣x conditioned on the outcome x is
Eρ∣x[H]:=Eρ[Ex]Eρ[ExHEx]forH∈L2dn.(1)
It is easy to show that Eρ∣x is indeed a pseudo-expectation operator of degree 2d (Lemma B.1), so ρ∣x is a pseudo-state.
Definition 2.6 (Reduced Pseudo-State). Given any degree-2d n-qudit pseudo-state ρ and any subset A⊆[n], the degree-2d reduced pseudo-state ρA on A has pseudo-expectation
EρA[H]:=Eρ[H⊗I[n]∖A]forH∈L2dA.(2)
2.3 t-Wise Independent
Next, we generalize the classical definition of t-wise independence to quantum states.
Definition 2.7. A quantum state on k qudits is t-wise ν-independent if its reduced state on every subset S of at most t qubits is ν⊗∣S∣.
2-wise ν-independent is also known as pairwise ν-independent.
2.4 Random Model
Throughout the work, we consider the binomial random graph model as in [CdX26] and view each k-SAT clause as a directed hyperedge. A directed k-uniform hypergraph H=(V,E) has hyperedges e∈E that are (ordered) k-tuples of distinct vertices. Precisely, each potential undirected k-uniform hyperedge e^∈(kV) appears independently with probability p, as in the Erdős–Rényi model of undirected hypergraphs. Then each realized undirected hyperedge e^ will have its k vertices ordered uniformly at random, from among the k! ordering. This yields a directed hyperedge e∈Vk, where Vk denotes the collection of k-tuples of distinct vertices. (The ordering of the vertices in e will be useful for the analysis of our algorithm.) Therefore H has p(k∣V∣) hyperedges in expectation. Each directed hyperedge e∈Vk comes with a projector constraint Πe=∣ψe⟩⟨ψe∣, where ψe is a uniformly random pure state on the k qubits of e.
For a quantum k-SAT instance I=([n],E) with m=∣E∣ and forbidden projectors {Πe}e∈E, define the normalized value of a collection of clause states {ϕe}e∈E by
Thus val is a satisfaction objective: larger values are better, and strong refutation means certifying val ≤ 1 - δ for some constant δ > 0. Similarly, given a degree-2d pseudo-state φ with 2d ≥ k, define val(I, φ) = val(I, {φ_e}), where {φ_e} is the collection of reduced states φ_e on clauses e.
3 Proof of Main Theorem
We prove the main theorem in this section, using some intermediate results that will be proved in later sections.
Given an n-qubit pseudo-state ρ of degree (at least) 1, its marginal ν(ρ) is the average of the reduced state ρu over all qubits u∈[n]. Given an n-qubit degree-k pseudo-state ρ and a directed k-uniform hypergraph H=([n],E), the induced state E(ρ) is the average of the reduced state ρe over all directed hyperedges e∈E.
The certification below only requires pair-marginal concentration at degree 2. Restricting to two positions is important: a degree-2 certificate controls the two-qubit marginals of the induced state, not its full k-qubit density matrix. The next definition is (the t=2 special case of) [CdX26, Definition 4.2], quantized. Below Vk denotes the collection of k-tuples of distinct elements from V.
Here a degree-2 pseudo-state is understood in the quantum-SoS sense: its normalized Pauli moment functional satisfies Eρ[L†L]≥0 for every degree-1 global Pauli polynomial L, in addition to the usual local Pauli relations and cross-site commutation. Equivalently, the global degree-1 Pauli moment matrix is positive semidefinite. Every actual global state has this property; positivity of an unrelated collection of two-qubit density matrices alone would not suffice for the spectral certificate below.
The previous definition of pair-marginal concentration is all we need for our applications to 3-QSAT.
Definition 3.1 (Concentrated). For any η>0, natural numbers t and q, a k-uniform hypergraph H=(V,E) or a k-uniform hyperedge set E is (η,q,d,t)-concentrated if
∥Ee∈E(ρe)W−Ee∈Vk(ρe)W∥F≤η
for any degree-d q-ary n-qudit pseudo-state ρ and any W∈(t[k]).
The next result is [CdX26, Theorem H.15] quantized and will be proved in Section 7.
Theorem 3.2. Fix even t≤k. For any η>0, any q>0, there is C=C(η,q,t,k) such that for m≥Cnt/2, except with probability on(1), a random directed k-uniform hypergraph H=([n],E) with m expected hyperedges is (η,q,t,t)-concentrated.
By [BH13, Lemma 16], for any positive integer q, there is a quantum-classical channel
Λ(σ)=x∈[q′]∑Tr[σEx]∣x⟩⟨x∣(3)
on a q-ary qudit σ with q′≤q8 outcomes, given by a rank-1 POVM {Ex} and an orthonormal basis {∣x⟩}. This channel satisfies for any positive integer s and traceless operator ξ,
∥ξ∥1≤(18q)s/2Λ⊗s(ξ)1.(4)
Given any q-ary n-qudit degree-d pseudo-state ρ, any subset T⊆[n] of size at most d, since ρT is a genuine state (Lemmas B.2 and B.3), there is a probability distribution μT:=Λ⊗T(ρT) of assignments b∈[q′]T. Let T be the distribution of picking a uniformly random s∈{0,…,κ} and a uniformly random subset T⊆[n] of size s. Given b∈supp(μT), we consider the conditioned pseudo-state ρ∣b.
Our conditioning set T={i1,…,is} has size exactly s, or equivalently its elements i1,…,is are chosen without replacement. This differs from [BRS11, Algorithm 5.5] and [BH13, Algorithm 24] whose elements are chosen with replacement. We do so to avoid complications of remeasuring the same qudits twice and getting different outcomes.
Given an n-qudit pseudo-state ρ, let ν(ρ):=Ei∈[n]ρi be its average 1-wise marginal. The next theorem is (the t=2 case of) [CdX26, Theorem 4.3] quantized and will be proved in Section 6 as Theorem 6.1.
Theorem 3.3. For any η>0, there are κ=poly(q/η) and a distribution T over (≤κ[n]), such that if a directed k-uniform hypergraph H=([n],E) is (η/(2q),q,2,2)-concentrated and n≥poly(q/η), then every degree- 2(κ+k) q-ary n-qudit pseudo-state ρ and distinct i,j∈[k] satisfy
ET∼TEb∼μTE(ρ∣b)ij−ν(ρ∣b)⊗21≤η.
That is, in expectation over subset T∼T and outcome b∼μT=Λ⊗T(ρT), the ij-marginal of the conditional induced state E(ρ∣b) is close to ν(ρ∣b)⊗2. Further, for every subset S of size k≥2,
∥ET,b(ρ∣b)S−ρS∥1≤κk/n.
The next result is the quantum version of [CdX26, Theorem 4.11] and [ACLM26, Theorem B.15], which generalize [AGM03, Theorem 2.1]. It will be proved in Section 4 as Theorem 4.1. Recall the trace distance between two states ρ and τ is
D(ρ,τ)=21∥ρ−τ∥1.
Theorem 3.4. Consider q-ary qudit systems. Let ν be a single-qudit state ν and ρ a k-qudit state. Consider
ϵ:=W∈(≤t[k])∑(q2−1)∣W∣ρW−ν⊗W1.(5)
Then there is a t-wise ν-independent state τ such that
D(ρ,τ)≲k,qϵ1/(2k+2).
Corollary 3.5. For any η>0, there are d=poly(q/η) and a distribution T over (≤d[n]), such that if a directed k-uniform hypergraph H=([n],E) is (Ω(η/q)2k+2,q,2,2)-concentrated and n≥poly(q/η), then for every degree- 2(d+k) q-ary n-qudit pseudo-state ρ,
ET∼TEb∼Λ⊗T(ρT)∥E(ρ∣b)−ϕb∥1≤η,
where ϕb is a ν(ρ∣b)-independent state for every subset T∈supp(T) and outcome b∈supp(Λ⊗T(ρT)). Further, for every subset S of size k≥2,
∥ET,b(ρ∣b)S−ρS∥1≤dk/n.
Proof. We will apply Theorem 4.1. Note that ϵ∅=0 and we may assume ϵU≤ϵW for U⊆W. It suffices to bound ϵW for subsets W of size exactly 2. Theorem 6.1 implies
For T∈supp(T),b∈supp(Λ⊗T(ρT)), let ϕb be the pairwise ν(ρ∣b)-independent distribution closest to E(ρ∣b). The result follows by Theorem 4.1.
3.1 ϵ-Net of Constraints
The induced state E(ρ) considered in the previous subsection is an average over all constraints in E. For our proof, it is helpful to split the constraints into groups, where all constraints in the same group forbids pure states that are close to each other. For this reason, we will consider an ϵ-net over pure product states on k qubits, because our refutation are based on such constraints. In fact, a constraint forbids a pure product states with probability 0. So we will also consider pure states that are δ-close to a pure product state. We will then consider the induced state Eψ~(ρ) that is the average over all constraints forbidding a state close to ψ~. Doing so will help us strongly refute pseudo-states whose marginal ν is biased in Section 3.2.
Given k≥1 and ϵ>0, let Nϵ be an ϵ-net of the pure states on k qubits of cardinality O(1/ϵ)2k+1, obtained by taking any maximal set whose points have pairwise distance at least ϵ. The upper bound on cardinality is due to pure states lying in the unit sphere of C2k, which is isometric to the unit sphere of R2k+1. Given a pure state ψ on k qubits, let Nϵ(ψ) be the pure state in Nϵ closest to ψ, breaking ties arbitrarily.
Definition 3.6. Given a k-QSAT instance I and an ϵ-net Nϵ as above, denote by I~ the instance obtained from I by replacing the forbidden state ψ of every constraint with the closest state ψ~:=Nϵ(ψ) in the ϵ-net. Denote by Ψ~ the multiset of forbidden states of the constraints in I~. Given ψ~∈Ψ~, let Eψ~ be the collection of constraints in I~ whose forbidden state is ψ~. The instance I is η-concentrated if the directed multihypergraph of scopes Eψ~ is η-concentrated for every ψ~∈Ψ~.
Lemma 3.7. For any η>0, there are d>0 and a distribution T over (≤d[n]), such that for any k-QSAT instance I=([n],C), if Eψ~ is (Ω(η/q)2k+2,2,2,2)-concentrated for ψ~∈Ψ~, then for every degree- 2(d+k)n-qubit pseudo-state ρ,
where ϕb,ψ~ is a pairwise ν(ρ∣b)-independent state for subset T∈supp(T), outcome b∈supp(Λ⊗T(ρT)), constraint type ψ~∈Nϵ. Further, for every subset S of size k≥2,
∥ET,b(ρ∣b)S−ρS∥1≤dk/n.(6)
Proof. Apply Corollary 3.5 to each Eψ~.
Crucially, the states ϕb,ψ~ from the previous lemma are pairwise ν-independent, where ν=ν(ρ∣b) is unrelated to ψ~. This fact will be useful for the strong refutation for biased ν in Lemma 3.8.
3.2 Biased Marginal
The next lemma shows that if the induced states {ϕψ} are ν-independent for some γ-biased ν, then they Ω(γ)-violate the constraints in I~, provided the forbidden states Ψ of I are approximately evenly distributed (Definition 3.10):
Lemma 3.8. For any γ>0, there is β3.8>0 such that for any collection {ϕψ~∣ψ~∈Nϵ} of pairwise ν-independent states on 3 qubits, if ν−2IF≥γ and Ψ is τ-smooth,
val(I~,{ϕψ~})≤1−β3.8+oγ;τ,ϵ(1).1
Proof. Expand ν=λ∣θ⟩⟨θ∣+(1−λ)∣θ⊥⟩⟨θ⊥∣ in its orthonormal eigenbasis, where λ>21. Consider the pure product state θ3. Lemma 3.9 implies any pairwise ν-independent state ϕ satisfies ⟨θ3∣ϕ∣θ3⟩≥4cγ for some c>0. The spherical cap C(θ3,t)⊂S2k−1(C) of pure states χ such that ∥θ3−χ∥≤cγ has measure α>0 under the uniform distribution of S2k−1(C). Since Ψ is τ-smooth, Prψ∈Ψ[ψ∈C(θ3,t)]≥α−τ. For ψ∈C(θ3,t), Lemma A.1 implies ⟨ψ~∣ϕψ~∣ψ~⟩≥2cγ−2ϵ, where ψ~:=Nϵ(ψ). Therefore
Lemma 3.9. Let ν be a state on a single qubit such that ν−2IF≥γ>0, and θ be the maximum eigenvector of ν. Any pairwise ν-independent state ϕ on 3 qubits satisfies ⟨θ3∣ϕ∣θ3⟩≥γ/2.
Proof. Without loss of generality, assume ∣0⟩ and ∣1⟩ are the largest and smallest eigenvectors of ν, by redefining ∣0⟩ and ∣1⟩ as such for the rest of this proof. Also let λ be the largest eigenvalue of ν. Then γ2≤ν−2IF2=2(λ−21)2, i.e. λ≥21+2γ.
For b∈{0,1}3, let eb:=⟨b∣ϕ∣b⟩. Each eb≥0 because ϕ is PSD. Since ϕ is pairwise ν-independent, tracing out qubit 3 yields
λ2=⟨00∣ν⊗2∣00⟩=⟨00∣Tr3(ϕ)∣00⟩=e000+e001.
Similarly, tracing out qubit 1 and qubit 2 respectively,
λ2=e000+e001=e000+e010=e000+e100.
In particular, e001=e010=e100. Again tracing out qubit 3,
λ(1−λ)=⟨01∣ν⊗2∣01⟩=⟨01∣Tr3(ϕ)∣01⟩=e010+e011.
Similarly, rotating the roles of the three qubits in a cycle,
λ(1−λ)=e010+e011=e001+e101=e100+e110.(7)
This further implies e011=e101=e110. Therefore eb only depends on the Hamming weight of b. Tracing out qubit 3 once more,
Spherical caps of Sd(C) therefore have the same VC dimension of 2d+3 as those of S2d+1(R) [BL15, Proposition 5.12].
For any fixed dimension d, the VC inequality ([SSBD14, Proof of Theorem 6.7] or [DL01, p. 31]) implies m random points Y in Sd is om(1)-smooth except with probability om(1).
3.3 Wrapping Up
Theorem 1.1. There is δ>0 and a classical deterministic polynomial-time algorithm that, for every sufficiently large constant Δ, certifies that a random 3-QSAT instance on n variables with Δn constraints in expectation has value at most 1−δ, with high probability over the instance.
Proof. Fix γ>0 sufficiently small for Claim 5.5, and let βbias>0 be the constant supplied by Lemma 3.8 with parameter γ/2. Set β∗:=min{βbias,βunif(γ)}, choose ϵ,η,τ>0 below, and take D large enough to apply Corollary 3.5 classwise while retaining degree 4. Work on the simultaneous high-probability event of Claim 5.5, Ψ is τ-smooth, and each Eψ~ is (Ω(η8),2,2,2)-concentrated.
which is at most η in expectation over T∼T,b∼Λ⊗T(ρT). The previous four display equations and triangle inequality imply
val(I,ρ)−ET,bval(I~,{ϕb,ψ~})≤2ϵ+on(1)+η.
If ν(ρ∣b)−2IF≥γ/2, then Lemma 3.8 implies val(I~,{ϕb,ψ~})≤1−βbias+oγ;τ,ϵ(1). If ν(ρ∣b)−2IF≤γ/2, then Claim 5.5 implies val(I~,{ϕb,ψ~})≤1−βunif(γ)+2ϵ.
Choose Δ sufficiently large, then ϵ,τ,η sufficiently small, and finally n sufficiently large. Thus, taking δ=β∗/2, every feasible degree- D pseudo-state has value at most 1−δ. Since D is constant for fixed Δ, the degree- D quantum-SoS relaxation can be solved in polynomial time, and its optimum upper bounds the value of every genuine quantum state. Solving this relaxation therefore gives the claimed deterministic strong-refutation algorithm.
4 Almost t-Wise Independent
Theorem 4.1. Consider q-ary qudit systems. Let ν be a single-qudit state ν and ρ a k-qudit state. Consider
ϵ:=W∈(≤t[k])∑(q2−1)∣W∣ρW−ν⊗W1.(10)
Then there is a t-wise ν-independent state τ such that
D(ρ,τ)≲k,qϵ1/(2k+2).
Following [CdX26, Theorem 4.11] and [ACLM26, Theorem B.15], we first prove Theorem 4.1 for the special case when ν is somewhat unbiased, by quantizing the short proof of [ACLM26, Lemma B.16].
Lemma 4.2. In the context of Theorem 4.1, suppose λmin(ν)≥γ/q. Then there is a t-wise ν-independent state τ such that D(ρ,τ)≤2γ−kϵ.
Proof. Let Δ=ρ−ν⊗k. Expand Δ in the Heisenberg—Weyl basis Wk on k qudits,
Δ=qk1G∈Wk∑Tr[ΔG†]G.
For any Heisenberg–Weyl operator G=⨂i∈[k]σi∈Wk whose non-identity components {i∈[k]∣σi=I} are precisely W, we have ∣TrΔG†∣≤∥Tr[k]∖WΔ∥1∥G∥∞=∥ρW−ν⊗W∥1.
Construct τ by removing from ρ all terms of degree at most t, and rescaling to ensure positivity:
τ:=ν⊗k+qk1−δG∈Wk\Wtk∑Tr[ΔG†]G,
(11) where δ:=ϵγ−k.
Then Trτ=Trν⊗k=1 because non-identity Heisenberg–Weyl operators are traceless. Also τ†=τ because Wk∖Wtk is invariant under taking adjoint. Rewriting
where we have used λmin(ν)≥γ/q, δ=ϵγ−k, and Eq. (10). Therefore τ is a density matrix.
For any subset W∈(≤t[k]) and any Heisenberg–Weyl G∈Wk∖Wtk, the partial trace TrWG over the complement W=[k]∖W is zero. Eq. (11) implies TrWτ=PrWν⊗k=ν⊗W, so τ is t-wise ν-independent.
Finally,
ρ−τ=δΔ+qk1−δG∈Wtk∑Tr[ΔG†]G.
In terms of Schatten 1-norm, the first term on the right is at most 2δ, and the second is at most ϵ. Therefore D(ρ,τ)≤(2δ+ϵ)/2≤2γ−kϵ because γ≤1.
We now prove Theorem 4.1 without assuming the bias of ν, by first massaging ν into a somewhat unbiased ν~ so that Lemma 4.2 applies. Our proof is a quantized variant of [CdX26, Theorem 4.11] and [ACLM26, Theorem B.15] that fuse light probability masses into heavy ones. To redistribute the mass, our proof uses quantum channels Φ⊗k and Ψ⊗k, whose design and analysis are more delicate than the classical setting.
Proof of Theorem 4.1. Let γ:=ϵ1/(k+1). We will assume t≥1, because the theorem is vacuous for t=0. Let H be the span of the eigenvectors of ν with eigenvalue at least γ, L=H⊥, dH:=dimH, and ΠH,ΠL the projections to H,L respectively. We will also assume Tr[νΠL]>0, for otherwise the theorem follows from Lemma 4.2.
Consider the single-qudit channel
Φ(σ):=ΠHσΠH+dHΠHTr[σΠL],
which keeps the heavy part of σ — including all heavy-heavy coherence — and sweeps the light mass Tr[ΠLσ] evenly onto H. Φ preserves trace because TrΦ(σ)=Tr[σΠH]+Tr[σΠL]=Trσ. Φ is also completely propositive, hence a channel. We set ν~:=Φ(ν) and ρ~:=Φ⊗k(ρ).
The first inequality is due to I−ΠH⊗k≼∑i=1kΠL(i) and ρ≽0; the middle inequality is because the i-coordinate heavy projection ΠH(i)∈L1k (and hence Eq. (10) applies); the last inequality uses the fact that every light eigenvalue of ν is less than γ and there are at most q of them. The all-heavy Kraus operator of Φ⊗k is ΠH⊗k, and Claim 4.3 yields
D(ρ,ρ~)≤1−(1−α⊥)2≤2α⊥≤2(kqγ+ϵ)≲k,qγ.
Next, we show ρ~ is almost t-wise ν~-independent. Using Φ⊗k(ν⊗k)=ν~⊗k, for every W⊆[k], Lemma B.4 implies
We have ν~=ΠHνΠH+dHTr[ΠLν]ΠH≽γΠH, so ν~ has minimum eigenvalue at least γ on its support H. Both ρ~ and ν~⊗k are supported on H⊗k, so Lemma 4.2 restricted to the subspace H⊗k produces a t-wise ν~-independent state τ~ with D(ρ~,τ~)≤2γ−kϵ~≤2γ.
To recover ν-independence, we now undo the mass transfer of Φ with a channel Ψ satisfying Ψ(ν~)=ν, and show that it moves τ~ by only Ok,q(γ). Write α:=Tr[ΠLν], νH:=ΠHνΠH, and νL:=ΠLνΠL, so that ν=νH+νL and ν~=νH+dHαΠH. Define the single-qudit channel
Ψ(σ):=AHσAH†+TrνLνLTr[σ(I−AH2)],
where AH:=νHν~−1=νν~−1/2ΠH is the “heavy” Kraus operator, which is positive semidefinite by commutivity of νH and ν~. Ψ preserves trace because TrΨ(σ)=Tr[σAH2]+Tr[σ(I−AH2)]=Trσ. Ψ is also completely positive, hence a channel. Also, Ψ(ν~)=νH+νL=ν.
Now τ:=Ψ⊗k(τ~) is t-wise ν-independent: For any W∈(≤t[k]), its marginal on W is TrWτ=Ψ⊗W(TrWτ~)=Ψ⊗W(ν~⊗W)=Ψ(ν~)⊗W=ν⊗W, where the first equality uses Lemma B.4 and trace-preservation of Ψ, and the second equality uses t-wise ν~-independence of τ~.
It remains to show that τ is close to τ~; this mirrors the bound on D(ρ,ρ~) above. Since νH and ν~ commute and ν~≽νH, we have νHν~≽νH. Hence
Tr[ν~(I−AH)]=1−TrνHν~≤1−TrνH=α≤qγ.
Denote by (I−AH)(i)=I⊗(i−1)⊗(I−AH)⊗I⊗(k−i). Then
where the first inequality uses I−AH⊗k≼∑i∈[k](I−AH)(i) and τ~≽0, and the equality uses t-wise ν~-independence of τ~. Therefore
D(τ~,τ)≤1−(1−kα)2≤2kα≲k,qγ.
Combining,
D(ρ,τ)≤D(ρ,ρ~)+D(ρ~,τ~)+D(τ~,τ)≲k,qγ+γ+γ≲γ.
Claim 4.3. For any state ρ and quantum channel Φ with Kraus operators Kj,
D(ρ,Φ(ρ))≤1−j∑∣Tr[Kjρ]∣2.
Proof. Let ψ be a purification of ρ on a reference system R, and σRA=(IR⊗Φ)(∣ψ⟩⟨ψ∣) be the joint output state. Since ψ is pure, its Uhlmann fidelity F(∣ψ⟩⟨ψ∣,σRA) with σRA equals the overlap ⟨ψ∣σRA∣ψ⟩. The last expression is Schumacher entanglement fidelity and equals ∑j∣Tr[Kjρ]∣2 [Sch96, Eq. (10)], where Kj are the Kraus operators of Φ. Monotonicity of trace distance and Fuchs–van de Graaf inequality imply
In this section, we formalize the observation that a suitable bow-tie—a pair of quantum 3-SAT clauses whose scopes intersect in exactly one qubit—forces a local violation for pairwise-uniform states. The argument has three parts:
In Section 5.1, we adapt the dominating-polynomial viewpoint from classical CSPs to a bow-tie whose forbidden projectors are rank-one products. The sum of the two clause projectors dominates an explicit degree-2 operator. Noncommutation on the shared qubit makes its constant term strictly positive, so every state on the union whose within-clause one- and two-qubit marginals are maximally mixed incurs positive violation on the pair.
In Section 5.2, we transfer this inequality to rank-one forbidden projectors that are close to product projectors and prove that a random instance contains many such useful bowties. Although a Haar-random forbidden state is exactly product with probability zero, any fixed neighborhood of the product locus has positive probability in fixed dimension.
In Section 5.3, we place the useful bow-ties in a fractional matching and aggregate their local inequalities. This gives a constant violation for states close to pairwise uniform, yielding a strong refutation.
5.1 Refutation for Rank-One Bow-Ties
Lemma 5.1 (Exact product bow-tie bound). Let e,f be two quantum 3-SAT clauses on variables Ie,If⊆[n] with Ie∩If={i} and rank-one product forbidden projectors
The shared-qubit reflections satisfy {Ue,i,Uf,i}=Tr(Ue,iUf,i)I, and the product of the remaining four reflections is again a reflection because they act on distinct qubits. Consequently,
Thus the sum of the two cubic terms is at least −2+∣Tr(Ue,iUf,i)∣I. Substituting this bound into the expansion above proves the lemma.
With this expansion, we are ready to introduce our key observation - this provides a non-trivial lower bound for the violation mass if the two constraints do not commute on the shared qubit! Before we elaborate on this, we first show that in a random instance, it suffices for us to consider these clean local structures.
5.2 Finding Useful Bow-Ties
Random model and parameters. Throughout this subsection, fix an integer k≥2 and a density Δ>0, both independent of n. For every sufficiently large n, sample the instance I by including each unordered scope e∈(k[n]) independently with probability p:=(kn)Δn. For every included scope, independently choose a uniformly random ordering and a forbidden projector Πe=∣ψe⟩⟨ψe∣, where ∣ψe⟩ is Haar-random in (C2)⊗k; let E denote the resulting set of ordered constraints. Thus ∣E∣∼Bin((kn),p) and E∣E∣=Δn. All probabilities below are over the random scopes, their orderings, and their forbidden projectors. Fix constants B>1 and c,ξ>0, independent of n, satisfying
2ξ<c<82−2.
The choices B=100, c=1/20, and ξ=1/1000 satisfy these requirements.
Definition 5.2 (Useful). A pair of constraints (e,f) of I sharing exactly one vertex i is a useful bow-tie if there are rank-one product projectors
Πg=j∈Ig⨂Pg,j,Ug,j=2Pg,j−I,g∈{e,f},
satisfying:
Πg−Πgop≤ξfor g∈{e,f}.
(2−2+∣Tr(Ue,iUf,i)∣)/8≥c.
Every vertex v∈Ie∪If belongs to at most BkΔ constraints in E∖{e,f}.
For each useful bow-tie, fix one such pair of product witnesses.
Lemma 5.3 (Useful bow-tie domination). Let (e,f) be a useful bow-tie in a quantum 3-SAT instance. Then, as operators on Ie∪If,
Proof. The operator-norm bounds in Definition 5.2 imply Πg⪰Πg−ξI for g∈{e,f}. Applying Lemma 5.1 to the two witnesses and using condition 2 of Definition 5.2 therefore gives
Lemma 5.4. With high probability over the random instance, I contains Ω(Δ2k2n) useful bow-ties.
Proof. Let X be the number of ordered pairs of constraints (e,f) of I that are useful bow-ties. We prove concentration of X using the second moment method.
We first compute the expectation
EX=(e,f)∑Pr[(e,f)useful],
where the sum is over all potential bow-ties (e,f). There are (kn)∼nk/k! choices for e,k choices for the common vertex, and then (k−1n−k)∼nk−1/(k−1)! choices for the remaining vertices of f. Each constraint appears with probability p. Consider two product projectors whose reflections on the shared qubit are orthogonal in the Hilbert–Schmidt inner product. For this pair, the left-hand side of condition 2 in Definition 5.2 equals (2−2)/8>c. By continuity, conditions 1 and 2 hold throughout an open neighborhood of this pair, and the full support of Haar measure implies that they therefore hold jointly with probability r=r(k,c,ξ)>0, independent of n and Δ. Standard joint factorial moment calculations and [JLR00, Theorem 6.10] show that the degrees of the 2k−1 vertices in e∪f (excluding the contribution of e and f) converge to independent Poisson random variables Poi(kΔ) with parameter kΔ. Therefore condition 3 in Definition 5.2 holds with probability (1+o(1))u2k−1, where u=Pr[Poi(kΔ)≤BkΔ]>0. Since B>1, a Poisson Chernoff bound also gives u≥1/2 for every sufficiently large Δ. Thus
where the sum is over all potential bow-ties (e,f),(e′,f′), and Ydisj denotes the contribution by (e,f) and (e′,f′) on disjoint vertices. We first compute Ydisj. There are (kn)(kn−k) choices for e,e′,k choices for the common vertex of (e,f), k choices for the common vertices of (e′,f′). There are (k−1n−2k)(k−1n−3k+1) choices for the remaining vertices of f and f′. As before, conditions 1 and 2 in Definition 5.2 hold for (e,f) with probability r, and also for (e′,f′) with probability r. The degrees of the 4k−2 vertices in e∪f∪e′∪f′ (excluding e,f,e′,f′) converge to independent Poisson's with parameter kΔ, and condition 3 in Definition 5.2 holds with probability (1+o(1))u4k−2. Altogether, such vertex-disjoint (e,f) and (e′,f′) contribute
We now loosely upper bound the contribution Ynon-disj to E[X2] by (e,f),(e′,f′) that are not vertex-disjoint. If (e,f),(e′,f′) share exactly ℓ vertices, the number Nℓ of choices of (e,f),(e′,f′) is at most Ok(1)ℓ/(n−3k)ℓ times the number N0 of choices for vertex-disjoint (e,f),(e′,f′). When (e,f),(e′,f′) share ℓ≥1 vertices but not hyperedges, they contribute at most
Nℓp4r2≲Δ,kYdisj/n.
When (e,f),(e′,f′) share exactly one hyperedge, ℓ≥k. They contribute at most
Nℓp3≲Δ,kYdisj/n.
When (e,f),(e′,f′) share both hyperedges, then they contribute at most 2EX (the factor 2 accounts for swapping the roles of (e′,f′)). Summing the contributions of these cases,
Therefore E[X2]∼(EX)2. Chebyshev inequality implies X=Ω(Δ2k2n) with high probability. Dividing by two to forget the ordering of (e,f) proves the claim.
5.3 Strong Refutation Near Pairwise Uniformity
We wrap up this section by combining the above into a strong refutation for states that are close to pairwise uniform. Recall I~ and Ψ~ from Definition 3.6.
Claim 5.5 (Strong refutation near pairwise uniformity). For every sufficiently small constant γ>0 and every sufficiently large constant Δ, there is a constant βunif(γ)>0 such that, with high probability over a random quantum 3-SAT instance I=([n],E) of expected density Δ, for any collection of pairwise ν-independent clause states {ρψ~}ψ~∈Ψ~ with ∥ν−I/2∥1≤γ,
val(I~,{ρψ~})≤1−βunif(γ)+2ϵ.
Proof. For sufficiently small γ,
c−2ξ−43(γ+γ2)>0;
for the numerical choices in Section 5.2, γ=1/100 suffices. By Lemma 5.4 and a Chernoff bound, with high probability the instance contains a collection B of Ω(Δ2k2n) useful bow-ties and has m=∣E∣=Θ(Δn). Fix an instance in this event.
For any {e,f}∈B, applying (12) to the 3-qubit states ρe,ρf and using pairwise ν-independence gives
Tr(Πeρe)+Tr(Πfρf)≥c−2ξ−43(γ+γ2).
The degree condition in Definition 5.2 implies that each clause belongs to at most k(ΔkB+2) useful bow-ties. Nonnegativity of the clause violations therefore gives
The final ratio is Ω(1) by Lemma 5.4. Taking βunif(γ) to be the corresponding constant proves 1−val(I,{ρψ~})≥Ω(1)=:βunif(γ). The bound on val(I~,{ρψ~}) follows by Lemma A.1. □
6 Conditioning
Theorem 6.1. For any η>0, there are κ=poly(q/η) and a distribution T over (≤κ[n]), such that if a directed k-uniform hypergraph H=([n],E) is (η/(2q),q,2,2)-concentrated and n≥poly(q/η), then every degree- 2(κ+k) q-ary n-qudit pseudo-state ρ and distinct i,j∈[k] satisfy
ET∼TEb∼μTE(ρ∣b)ij−ν(ρ∣b)⊗21≤η.
That is, in expectation over subset T∼T and outcome b∼μT=Λ⊗T(ρT), the ij-marginal of the conditional induced state E(ρ∣b) is close to ν(ρ∣b)⊗2. Further, for every subset S of size k≥2,
∥ET,b(ρ∣b)S−ρS∥1≤κk/n.
Proof. Since E is (η/(2q),q,2,2)-concentrated, for every distinct i,j∈[k],
Let R=RT,b be the operator in the above Frobenius norm. The Frobenius norm of a Hermitian operator R on two q-ary qudits upper bounds its Schatten 1-norm by
∥R∥1≤r∑∣λr(R)∣≤r∑λr(R)2r∑12≤q∥R∥F,
where λr(R) are the eigenvalues of R. Let (μ∣b)S:=Λ⊗S((ρ∣b)S). Eq. (4) implies
The result now follows from Theorem 6.2 below (with its ϵ=η/(36q)).
The next theorem is inspired by [RT12] and [BH13] and is a quantum variant of [BRS11, Theorem 5.6]. [BH13, Theorem 14] is another quantum variant of [BRS11, Theorem 5.6] that does not work for our application, because we need Eb(ρ∣b)S≈ρS on a 3-QSAT constraint with scope S. For this reason, our conditioning differs from the conditioning of local classical distributions of [BH13, Theorem 14]. Unlike the classical case, note that Eb(ρ∣b)S is only approximately but not exactly ρS, due to the measurement for the conditioning.
Theorem 6.2. Given the complete graph G=(V,E) on n vertices, there is κ=O(ϵ−2logq) such that, for every n≥4κ/ϵ, every degree 2(κ+k) q-ary pseudo-state ρ satisfies
where (μ∣b)S:=Λ⊗S((ρ∣b)S). Further, for every subset S of size k≥2,
∥ET,b(ρ∣b)S−ρS∥1≤κk/n.(14)
Proof. Our proof is a variant of [BH13, Theorem 14]. Instead of their classical conditioning, we consider the post-measurement pseudo-state ρ∣b, in order to approximately recover the law of total probability. We also use the (classical) mutual-information analysis from [RT12]. Let d:=κ+k. The pseudo-state ρ has degree 2d. Therefore ρ∣b is a pseudo-state of degree 2k (Lemma B.1).
Claim 6.3. The approximate law of total probability Eq. (14) holds.
Proof. Given any subset T⊆[n] of size at most d, the channel Λ⊗T has POVM {Eb} with Kraus operators Eb, where Eb=I[n]∖T⊗⨂t∈TEt,b(t), and {Et,x} is the POVM for the single-qudit channel Λ for t∈T. For any operator Y of degree ≤2(d−s),
The final sum remains unchanged if b runs over all of [q′]T, because for b∈[q′]T∖supp(μT), we have EρEb=μT(b)=0, so
EρEbYEb≤EρEbEρEbY†YEb=0,
by pseudo-expectation Cauchy–Schwarz (Lemma B.5). Therefore
Eb∼μTEY=Eρb∈[q′]T∑EbYEb=EρΛ⊗T(Y).
In particular, if Y=IT⊗X for some operator X on T=[n]∖T of degree ≤2(d−s), then Eb∼μTEρ∣bIT⊗X=EρIT⊗X, because Λ⊗T is unital. Thus Eb∼μT(ρ∣b)T=ρT as reduced pseudo-states, and Eb∼μT(ρ∣b)S=ρS for any S⊆T. Then
∥ET,b(ρ∣b)S−ρS∥1≤T∼TPr[T∩S=∅]⋅2,
since Eb(ρ∣b)S and ρS are equal unless T meets S, and otherwise both are normalized k-qudit density matrices whose trace-norm difference is at most 2. As s is uniform on {0,…,κ}, E[s]=κ/2, and each of the s entries hits S with probability k/n, so PrT∼T[T∩S=∅]≤nkE[s]=2nκk, giving the bound nκk in Eq. (14).
To bound the average 1-norm distance in Eq. (13), we first show the distributions in Eq. (13) from quantum conditioning (μ∣b)S=Λ⊗S((ρ∣b)S) coincide with those from classical conditioning μ(⋅∣b)S=(Λ⊗S∪T(ρS∪T)∣b)S, provided S is disjoint from T and ∣S∪T∣≤d.
Claim 6.4. For any disjoint subsets S and T of [n] satisfying ∣S∪T∣≤d, any b∈supp(Λ⊗T(ρT)), we have Λ⊗S((ρ∣b)S)=(Λ⊗S∪T(ρS∪T)∣b)S.
Proof. b∈supp(Λ⊗T(ρT)) is equivalent to Eρ[Eb]>0. For the distribution μS∪T=Λ⊗S∪T(ρS∪T), classically conditioning on xT=b yields a distribution on the free sites S
Indeed, Claim 6.4 implies μ(⋅∣b)ij=(μ∣b)ij whenever {i,j} is disjoint from T, and similarly μ(⋅∣b)i=(μ∣b)i. Also, Pr[{i,j}∩T=∅]≤κ/n, and the 1-norm difference in Eq. (13) is at most 2 for each (T,b,i,j).
Pinsker's and Cauchy–Schwarz inequalities imply the LHS of Eq. (15) is at most
where (xT,xi,xj) jointly distributes as the classical distribution μT∪{i,j}. When i∈T or j∈T, I(xi;xj∣xT)=0. Therefore the only contribution to the conditional mutual-information comes from i,j∈T:=[n]∖T. Thus
We bound the conditional mutual-information following [RT12, Lemma 4.5], whose analysis applies because the local distributions {μT} are consistent under projection, forming a level-d Sherali–Adams solution (Lemma B.4). Since I(xi;xj∣xT)=H(xi∣xT)−H(xi∣xT,xj),
because conditional entropy is non-negative. The RHS is O(logq)/(κ+1), as H(xi)≤logq′=O(logq). This proves Eq. (15) whenever κ≥Ω(ϵ−2logq).
7 Concentration
Theorem 3.2. Fix even t≤k. For any η>0, any q>0, there is C=C(η,q,t,k) such that for m≥Cnt/2, except with probability on(1), a random directed k-uniform hypergraph H=([n],E) with m expected hyperedges is (η,q,t,t)-concentrated.
Proof. As mentioned in Remark 2.4, the pseudo-expectation Eρ of a pseudo-state ρ corresponds to a positive semidefinite matrix M. Let d=t/2. If ρ has degree t=2d, then M is Wdn-by- Wdn, where Wdn is the set of q-ary n-qudit Heisenberg–Weyl operators of weight at most d.
Fix W∈(t[k]) and let χ:=Ee∈E(ρe)W−Ee∈Vk(ρe)W. Our goal is to bound ∥χ∥F2. Expand ∥χ∥F2=qt1∑γ∈Wt∣Trχγ∣2, because Heisenberg–Weyl operators Wt on t qudits are orthogonal and have Frobenius norm qt. We will first bound ∣Trχγ∣ for γ∈Wt. Given e∈[n]k, let eW∈[n]t be the t-tuple such that (eW)i=e(Wi) for i∈[t], where W1<⋯<Wt are the elements of W. Note that Tr[(ρe)Wγ]=Tr[ρ(eW∘γ)], where eW∘γ is the Heisenberg–Weyl operator whose (eW)i-component is γi for i∈[t] (and is the identity outside of eW). Thus
for σ,τ∈Wdn, where Wleft=(W1,…,Wd) and Wright=(Wd+1,…,Wt) are the first and second halves of W, and similarly γ=γleft⊗γright is decomposed into Heisenberg–Weyl operators on the first and second d qudits.
For any γ∈Wt, Lemma 7.1 implies ∣Trχγ∣≤η/qt except with probability on(1). Then (η,q,t,t)-concentration follows by a union bound over all γ and W.
Lemma 7.1. Fix even t≤k, q-ary γ∈Wt, W∈(t[k]). For any η>0, there is C=C(η,q,t) such that for m≥Cnt/2, except with probability on(1) over a directed k-uniform hypergraph H=([n],E) with m expected hyperedges, the matrix Lγ,W from Eq. (17) satisfies
MsupTr[(Lγ,W)†M]≤η,(18)
where the supremum is over all matrices M of a degree-t q-ary n-qudit pseudo state ρ.
Proof. Since M is positive semidefinite and with diagonal entries 1 (because matrices in Wdn are unitary), M is the Gram matrix of some unit vectors {vσ}. Therefore the supremum in Eq. (18) is at most
supσ,τ∑Lστγ,Wuσ†vτ(19)
over unit vectors uσ,vτ∈CD of arbitrary dimension D. The complex Grothendieck inequality implies that the latter supremum is at most the complex Grothendieck constant KGC times Eq. (19) over unit magnitude complex numbers uσ,vτ∈C (e.g. [FLZ18]).
Let N⊂S be a finite ϵ-net of the complex unit sphere S={z∈C∣∣z∣=1}. For any u∈SWdn, round u coordinate-wise to obtain u~, so that u~σ is the closest point in N to uσ∈S for σ∈Wdn. Likewise round v∈SWdn coordinate-wise to obtain v~. Then
σ,τ∑Lστγ,Wuσ†vτ−σ,τ∑Lστγ,Wu~σ†v~τ≤4ϵ,
because ∑σ,τLστγ,W≤2 by Eq. (17) and uσ†vτ−u~σ†v~τ≤2ϵ by triangle inequality. That means to bound Eq. (19), we can first bound the supremum over a finite set of vectors u,v∈NWdn by η/2KGC, and then the supremum over u,v∈SWdn will be at most η/KGC, whenever ϵ=η/8KGC.
Fix any u,v∈NWdn. Recall that each undirected e^∈(k[n]) appears in H independently with probability p, and each realized e^ is uniformly ordered as an ordered k-tuple e∈[n]k. For each e^∈(k[n]), define the random variable
Xe^=[[e^∈H]]uσ(e)†vτ(e),
where σ(e):=eWleft∘(γleft)† and τ(e):=eWright∘γright. Then random sum
Suv:=e^∈(k[n])∑Xe^
has expectation
EHSuv=mEe∈Vkuσ(e)†vτ(e),
and we have used m=p(kn). Then the mean-0 random variables Ye^:=Xe^−EXe^ satisfy
Bernstein inequality (Lemma 7.2) applied to the real and imaginary parts implies
HPr[∣Suv−EHSuv∣≥ηm/2KGC]≤exp(−Ω(η2m)).
Provided m≥C(η,q,t)nd, taking a union bound over all ∣NWdn∣2=exp(Oη(n)d) choices of (u,v), whp ∣Suv−EHSuv∣<ηm/2KGC simultaneously for all u,v∈NWdn. This implies Eq. (19) is at most η/2KGC over u,v∈NWdn.
Lemma 7.2 (Bernstein Inequality). Let Y1,…,Yℓ be independent 0-mean random variables such that ∣Ye∣≤B for e∈[ℓ]. Then for any a>0,
We thank Tomasso d'Orsi for discussion on an initial stage of this research. This question was first communicated to J.X. by Xinyu Wu in 2020. J.X. also thanks Pravesh K. Kothari, Tselil Schramm, Aaron Potechin, and Neng Huang for many helpful discussions at various points over the years.
AI Disclosure: The authors formulated the two key ingredients of the refutation algorithm: the reduction to pairwise-independent states through the classical analogue, and the strong refutation of pairwise-uniform states using bow-tie structures. AI assistance was used to work out the technical details. We used AI models GPT Pro, Laguna S 2.1, Ornith 1.5 35B A3B, Qwen 3.8 27B to assist with
• The quantum channels Φ⊗k, Ψ⊗k and their analysis in the proof Theorem 4.1 were found after discussing with Ornith 1.5 and Qwen 3.8 over multiple days, together with our simplification.
• It is folklore that a quantum k-SAT clause whose forbidden vector is a product state admits a satisfying pairwise-uniform state, by extending the classical construction for a forbidden computational-basis assignment. Through conversations with GPT Pro 5.5, we learned that, for k = 3, the same conclusion holds for an arbitrary, possibly entangled, forbidden vector; see Appendix C. Although this observation is not used in our refutation algorithm, we include an independently verified proof because it may be of independent interest.
• Our quantum analogue of [BRS11, Theorem 5.6] (Theorem 6.2) was found by suggesting our high-level proof approach to Ornith 1.5 and discussing for multiple days, together with our simplification.
The authors verified the correctness and originality of all content including references.
References
[ACLM26] Dionysis Arvanitakis, Vaggos Chatziafratis, Yiyuan Luo, and Konstantin Makarychev. Strong refutation of ordering, phylogenetic, and ordinary CSPs, and new satisfiability and refutation thresholds for triplet and quartet reconstruction, 2026.
[AGM03] Noga Alon, Oded Goldreich, and Yishay Mansour. Almost k-wise Independence versus k-wise Independence. Information Processing Letters, 88:107–110, 2003.
[AKS12] Andris Ambainis, Julia Kempe, and Or Sattath. A quantum Lovázs local lemma. J. ACM, 59(5), November 2012.
[AOW15] S. R. Allen, R. O'Donnell, and D. Witmer. How to refute a random CSP. In 2015 IEEE 56th Annual Symposium on Foundations of Computer Science (FOCS), pages 689–708, Los Alamitos, CA, USA, oct 2015. IEEE Computer Society.
[BBH +12] Boaz Barak, Fernando G.S.L. Brandao, Aram W. Harrow, Jonathan Kelner, David Steurer, and Yuan Zhou. Hypercontractivity, sum-of-squares proofs, and their applications. In Proceedings of the Forty-Fourth Annual ACM Symposium on Theory of Computing, STOC '12, page 307–326. Association for Computing Machinery, 2012. https://arxiv.org/abs/1205.4484.
[BCK15] Boaz Barak, Siu On Chan, and Pravesh K. Kothari. Sum of Squares Lower Bounds from Pairwise Independence. In Proceedings of the Forty-Seventh Annual ACM on Symposium on Theory of Computing, STOC 2015, Portland, OR, USA, June 14-17, 2015, pages 97–106, 2015.
[BGMT12] Siavosh Benabbas, Konstantinos Georgiou, Avner Magen, and Madhur Tulsiani. SDP gaps from pairwise independence. Theory of Computing, 8(12):269–289, 2012.
[BH13] Fernando G.S.L. Brandao and Aram W. Harrow. Product-state approximations to quantum ground states. In Proceedings of the Forty-Fifth Annual ACM Symposium on Theory of Computing, STOC '13, page 871–880. Association for Computing Machinery, 2013. https://arxiv.org/abs/1310.0017.
[BL15] Dmitriy Bilyk and Michael T. Lacey. Random tessellations, restricted isometric embeddings, and one bit sensing, 2015.
[BMR10] Sergey Bravyi, Cristopher Moore, and Alexander Russell. Bounds on the quantum satisfiability threshold. In Proceedings of the 1st Innovations in Computer Science (ICS 2010), pages 482–489. Tsinghua University Press, 2010.
[Bra11] Sergey Bravyi. Efficient algorithm for a quantum analogue of 2-SAT. Cross Disciplinary Advances in Quantum Computing, pages 33–48, 2011. https://arxiv.org/abs/quant-ph/0602108.
[BRS11] Boaz Barak, Prasad Raghavendra, and David Steurer. Rounding semidefinite programming hierarchies via global correlation. In FOCS 2011, pages 472–481, 2011.
[CDB +24] Chi-Fang Chen, Alexander M. Dalzell, Mario Berta, Fernando G. S. L. Brandão, and Joel A. Tropp. Sparse random Hamiltonians are quantumly easy. Phys. Rev. X, 14:011014, Feb 2024.
[CdX26] Siu On Chan, Tommaso d'Orsi, and Jeff Xu. Strongly refuting random CSP without literals, 2026. FOCS 2026, to appear. https://arxiv.org/abs/2604.27336.
[DL01] Luc Devroye and Gábor Lugosi. Combinatorial Methods in Density Estimation. Springer Series in Statistics. Springer-Verlag, New York, NY, 2001.
[DSS15] Jian Ding, Allan Sly, and Nike Sun. Proof of the satisfiability conjecture for large k. In Proceedings of the Forty-Seventh Annual ACM Symposium on Theory of Computing, STOC '15, page 59–68. Association for Computing Machinery, 2015.
[dT23] Tommaso d'Orsi and Luca Trevisan. A Ihara-Bass formula for non-boolean matrices and strong refutations of random CSPs. In Amnon Ta-Shma, editor, 38th Computational Complexity Conference (CCC 2023), volume 264 of Leibniz International Proceedings in Informatics (LIPics), pages 27:1–27:16, Dagstuhl, Germany, 2023. Schloss Dagstuhl – Leibniz-Zentrum für Informatik.
[Fei02] Uriel Feige. Relations between average case complexity and approximation complexity. In Proceedings of the Thirty-fourth Annual ACM Symposium on Theory of Computing, STOC '02, pages 534–543, New York, NY, USA, 2002. ACM.
[FLZ18] Shmuel Friedland, Lek-Heng Lim, and Jinjie Zhang. An elementary and unified proof of Grothendieck's inequality. L'Enseignement Mathématique, 64(3):327–351, 2018.
[GN16] David Gosset and Daniel Nagaj. Quantum 3-SAT is QMA 1-complete. SIAM Journal on Computing, 45(3):1080–1128, 2016.
[GR26] Sabee Grewal and Dorian Rudolph. QMA has perfect completeness, 2026.
[HO22] Matthew B. Hastings and Ryan O'Donnell. Optimizing strongly interacting fermionic Hamiltonians. In Proceedings of the 54th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2022, page 776–789. Association for Computing Machinery, 2022.
[JLR00] Svante Janson, Tomasz Łuczak, and Andrzej Rucinski. Random graphs. Wiley-Interscience Series in Discrete Mathematics and Optimization. Wiley-Interscience, New York, 2000.
[KMOW17] Pravesh Kothari, Ryuhei Mori, Ryan O'Donnell, and David Witmer. Sum of squares lower bounds for refuting any CSP. In STOC 2017, 2017.
[Koc26] Nicholas Kocurek. Spectral certificates and sum-of-squares lower bounds for semirandom hamiltonians, 2026.
[KW24] Sumeet Khatri and Mark M. Wilde. Principles of quantum communication theory: A modern approach, 2024.
[LLM +10] C. R. Laumann, A. M. Läuchli, R. Moessner, A. Scardicchio, and S. L. Sondhi. Product, generic, and random generic quantum satisfiability. Phys. Rev. A, 81:062345, Jun 2010.
[LMSS10] C. R. Laumann, R. Moessner, A. Scardicchio, and S. L. Sondhi. Random quantum satisfiability. Quantum Info. Comput., 10(1):1–15, January 2010.
[LV26] Yupan Liu and Thomas Vidick. Achieving perfect completeness for one- and two-message quantum proof systems, 2026.
[MSV25] Ashley Montanaro, Changpeng Shao, and Dominic Verdon. Testing quantum satisfiability. Communications in Mathematical Physics, 406(241), 2025. arXiv:2301.10699.
[OZ18] Ryan O'Donnell and Yu Zhao. On Closeness to k-Wise Uniformity. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques (APPROX/RANDOM 2018), volume 116 of Leibniz International Proceedings in Informatics (LIPics), pages 54:1–54:19. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2018.
[Rav26] Jean Bernoulli Ravelomanana. A slice-rank drift bound for random quantum k-SAT, 2026.
[RT12] Prasad Raghavendra and Ning Tan. Approximating CSPs with global cardinality constraints using SDP hierarchies. SODA 2012, pages 373–387, 2012.
[RX13] Ronitt Rubinfeld and Ning Xie. Robust Characterizations of k-wise Independence over Product Spaces and Related Testing Results. Random Structures and Algorithms, 43:265–312, 2013.
[Sch96] Benjamin Schumacher. Sending entanglement through noisy quantum channels. Phys. Rev. A, 54:2614–2628, Oct 1996.
by Cauchy–Schwarz. We also bound the second factor
∣∣⟨σ∣ψ⟩∣−∣⟨σ∣ϕ⟩∣∣≤∣⟨σ∣ψ⟩−⟨σ∣ϕ⟩∣≤∥σ∥∥ψ−ϕ∥
by triangle inequality and then Cauchy–Schwarz. Plugging the previous two equations into Eq. (20),
∣Tr(∣σ⟩⟨σ∣(∣ψ⟩⟨ψ∣−∣ϕ⟩⟨ϕ∣))∣≤2∥ψ−ϕ∥.
The supremum over σ of the left-hand-side equals ∥∣ψ⟩⟨ψ∣−∣ϕ⟩⟨ϕ∣∥∞ by the spectral theorem.
B Pseudo-Expectation
Lemma B.1. Given any degree-2(d + s) pseudo-expectation Eρ, the conditional pseudo-expectation Eρ∣x in Definition 2.5 is a pseudo-expectation of degree 2d, whenever Eρ[Ex]>0.
Proof. Eρ∣x[I]=Eρ[ExEx]/Eρ[Ex]=1. Given any H∈Ldn, ExH†HEx=G†G with G=HEx∈Ld+sn, so Eρ∣x[H†H]=Eρ[G†G]/Eρ[Ex]≥0.
Lemma B.2. Given any degree-2d n-qudit pseudo-expectation Eρ, any T⊆[n], the reduced pseudo-expectation EρT is a pseudo-expectation of degree 2d.
Proof. For every operator H∈LdT, G:=H⊗I[n]∖T∈Ldn and (H†H)⊗I[n]∖T=G†G, so EρT inherits positivity from Eρ. Finally, EρT[IT]=Eρ[IT⊗I[n]∖T]=1 by normalization of Eρ.
Lemma B.3. Given an n-qudit pseudo-expectation operator Eρ of degree 2n, there is a unique genuine quantum state ρ^ such that Eρ[H]=Tr[ρ^H] for every operator H.
Proof. Note that EρP≥0 for every positive semi-definite operator P in Lnn, because P=P†P with P∈Lnn, and Eρ is positive. Then EρH is real for every Hermitian H, because H=P−N for some positive-semidefinite P and N. Therefore Eρ[X]†=Eρ[X†] for every operator X, by expanding X=A+iB for Hermitian A and B and linearity of Eρ.
Define
ρ^:=qn1G∈Wn∑Eρ[G†]G.
Then
ρ^†=qn1G∈Wn∑Eρ[G†]†G†=qn1G∈Wn∑Eρ[G]G†=ρ^
where the middle equality uses Eρ[G†]†=EρG and G†∈Wn for G∈Wn. For any H∈Wn,
Tr[ρ^H]=qn1G∈Wn∑Eρ[G†]Tr[GH]=Eρ[H],
because Wn is an orthogonal basis of Ln, each of Frobenius norm qn. In particular, Tr[ρ^]=Eρ[I]=1, since Eρ is normalized. Also, Tr[ρ^H]=Eρ[H] for every operator H by linearity. Finally, for any operator H (necessarily of degree at most n), Tr[ρ^H†H]=Eρ[H†H]≥0 since Eρ is positive, implying ρ^ is positive semidefinite. Uniqueness follows from ∥ρ^−σ^∥F2=qn1∑G∈Wn∣Tr[ρ^G]−Tr[σ^G]∣2.
Lemma B.4. For any operator ρ on a set S of qudits, any single-qudit trace-preserving linear map Λ, any R⊆S, we have TrRΛ⊗S(ρ)=Λ⊗(S∖R)(TrRρ).
Proof. Let T=S∖R. Expand ρ=∑iAi⊗Bi, where Ai acts on T and Bi acts on R.
where (*) is the trace-preservation of Λ⊗R. The result follows by summing over all i and the linearity of the partial trace and Λ.
Lemma B.5 (Pseudo-expectation Cauchy–Schwarz). For any P,Q∈Ldn, any degree-2d pseudo-expectation Eρ,
EρP†Q≤EρP†PEρQ†Q.
Proof. Let β:=EρP†Q. WLOG β=∣β∣, because β=γ∣β∣ for some ∣γ∣=1, and the special case (of β=∣β∣) implies the general inequality by multiplying γ to P.
The rest of the proof follows [BBH +12, Lemma 3.5]. Suppose EρP†P>0 and EρQ†Q>0. By linearity of the inequality, WLOG EρP†P=EρQ†Q=1. Expand Eρ(P−Q)†(P−Q)≥0, we get 2=EρP†P+EρQ†Q≥EP†Q+EQ†P=2EP†Q.
Suppose EρP†P=0. Let α>0. Expand Eρ(P−αQ)†(P−αQ)≥0, we get α2EρQ†Q≥αEρP†Q+αEρQ†P=2α∣EρP†Q∣. Therefore ∣EρP†Q∣=0 by taking α→0.
C Pairwise-Uniform Avoidance for Three Qubits
Let A=B=C∈C2. A state ρ on A⊗B⊗C is pairwise uniform if its two-qubit marginals satisfy
TrA(ρ)=4IBC,TrB(ρ)=4IAC,TrC(ρ)=4IAB.
Proposition C.1. For every unit vector w∈A⊗B⊗C, there exists a pairwise-uniform state ρ such that ρw=0. In particular, Tr(ρ∣w⟩⟨w∣)=0.
Proof. Identify B⊗C with M2(C) by vectorization and consider the real subspace
F={(a−bba):a,b∈C}.
A direct calculation shows that the Hilbert–Schmidt inner product is real on F, that M2(C)=F⊕iF over R, and that
XX†=X†X=2∥X∥F2I2(X∈F).
Thus every real orthonormal basis of F is a complex orthonormal basis of B⊗C consisting of maximally entangled vectors.
Fix such a basis f1,…,f4 and write w=∑kak⊗fk. Regard A as the real inner-product space AR with ⟨x,y⟩R=Re⟨x,y⟩. A real singular-value decomposition of x↦∑kxkak gives real orthonormal bases {oj} of R4 and {uj} of AR such that ∑k(oj)kak=sjuj for some sj≥0. Setting βj=∑k(oj)kfk gives