Skip to main content
KetQat

Appearance

Theorem · intermediate

Duality for semidefinite programs

The primal optimum of a semidefinite program never exceeds the dual optimum; optimal pairs satisfy complementary slackness; and strict feasibility of one side together with feasibility of the other gives equal optima, attained on the side opposite the strictly feasible one.

Established resultMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

  1. Weak duality. For every primal feasible XX and dual feasible YY, ⟨A,X⟩≤⟨B,Y⟩\langle A, X \rangle \le \langle B, Y \rangle; hence α≤β\alpha \le \beta.
  2. Complementary slackness. If XX and YY are feasible and ⟨A,X⟩=⟨B,Y⟩\langle A, X \rangle = \langle B, Y \rangle, then both are optimal and (Φ∗(Y)−A) X=0(\Phi^{*}(Y) - A)\, X = 0.
  3. Slater's theorem. If the primal problem is feasible and the dual problem is strictly feasible, then α=β\alpha = \beta and some primal feasible XX attains α\alpha. If the dual problem is feasible and the primal problem is strictly feasible, then α=β\alpha = \beta and some dual feasible YY attains β\beta.

Item 1 makes any dual feasible YY a certificate: it proves an upper bound on the primal value without solving the primal problem. In quantum information, upper bounds on a success probability or a winning probability are usually obtained this way. Item 3 is Theorem 1 of Watrous (2013) and Theorem 1.18 in section 1.2.3 of Watrous, where item 2 is Proposition 1.19; both are stated there without proof.

Holds when

  • A semidefinite program (Φ,A,B)(\Phi, A, B) in the standard form, with primal optimum α\alpha and dual optimum β\beta.

Proof

Proof of weak duality and complementary slackness for semidefinite programsMachine-checked

Items 1 and 2 are proved in full below. Item 3 (Slater's theorem) is not proved here; it is a separating-hyperplane argument in the space of Hermitian operators, analogous to the proof of strong duality under Slater's condition; it is stated without proof as Theorem 1.18 in section 1.2.3 of Watrous.

Lemma. If P,Q≥0P, Q \ge 0 then Tr⁡(PQ)≥0\tr(PQ) \ge 0, with equality only if PQ=0PQ = 0. Indeed Tr⁡(PQ)=Tr⁡(P1/2QP1/2)=Tr⁡((Q1/2P1/2)†(Q1/2P1/2))=∥Q1/2P1/2∥22\tr(PQ) = \tr(P^{1/2} Q P^{1/2}) = \tr\big( (Q^{1/2} P^{1/2})\dagg (Q^{1/2} P^{1/2}) \big) = \norm{Q^{1/2} P^{1/2}}_2^2, the squared Hilbert–Schmidt norm. If it vanishes, Q1/2P1/2=0Q^{1/2} P^{1/2} = 0, and then QP=Q1/2(Q1/2P1/2)P1/2=0QP = Q^{1/2}(Q^{1/2} P^{1/2}) P^{1/2} = 0 and PQ=(QP)†=0PQ = (QP)\dagg = 0.

Weak duality. Let XX be primal feasible and YY dual feasible. Then

⟨B,Y⟩−⟨A,X⟩=⟨Φ(X),Y⟩−⟨A,X⟩=⟨Φ∗(Y),X⟩−⟨A,X⟩=Tr⁡((Φ∗(Y)−A) X)  ≥  0,\langle B, Y \rangle - \langle A, X \rangle = \langle \Phi(X), Y \rangle - \langle A, X \rangle = \langle \Phi^{*}(Y), X \rangle - \langle A, X \rangle = \tr\big( (\Phi^{*}(Y) - A)\, X \big) \;\ge\; 0 ,

using B=Φ(X)B = \Phi(X), the definition of the adjoint (all quantities are real because the operators are Hermitian and Φ\Phi preserves Hermiticity), and the lemma with P=Φ∗(Y)−A≥0P = \Phi^{*}(Y) - A \ge 0 and Q=X≥0Q = X \ge 0. Taking the supremum over XX and the infimum over YY gives α≤β\alpha \le \beta.

Complementary slackness. If ⟨A,X⟩=⟨B,Y⟩\langle A, X \rangle = \langle B, Y \rangle then, by weak duality, ⟨A,X⟩≤α≤β≤⟨B,Y⟩=⟨A,X⟩\langle A, X \rangle \le \alpha \le \beta \le \langle B, Y \rangle = \langle A, X \rangle, so XX and YY are optimal. The displayed difference is zero, so Tr⁡((Φ∗(Y)−A)X)=0\tr\big((\Phi^{*}(Y) - A) X\big) = 0 and the lemma gives (Φ∗(Y)−A)X=0(\Phi^{*}(Y) - A) X = 0.

Builds on
Stated in

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. John Watrous (2013). Simpler semidefinite programs for completely bounded norms. Chicago Journal of Theoretical Computer Science 2013, article 8. doi:10.4086/cjtcs.2013.008arXiv:1207.5726
  2. John Watrous (2018). The Theory of Quantum Information. Cambridge University Press. doi:10.1017/9781316848142

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass with notes · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Compared with Watrous 2013, arXiv:1207.5726, Theorem 1 (both implications, with the same feasibility hypotheses) and with Watrous, The Theory of Quantum Information (author-hosted PDF), section 1.2.3: weak duality, Theorem 1.18 (Slater) and Proposition 1.19 (complementary slackness, Phi*(Y)X = AX). Weak duality re-derived from <A,X> <= <Phi*(Y),X> = <B,Y>.

    The record said the theorem appears with proof in section 1.2 of Watrous (2018); that section states Theorem 1.18 and Proposition 1.19 without proof. Replaced with the precise theorem and proposition numbers and noted they are stated without proof there.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e

Current revision 83e4a6c6a6dd7514. Source file knowledge/records/theorem/semidefinite-programming-duality.md in the content repository (readable there once it is public).