Skip to main content
KetQat

Appearance

Proof · intermediate

Proof of weak duality and complementary slackness for semidefinite programs

Full proofs of weak duality and complementary slackness from the positivity of the trace of a product of positive semidefinite operators; Slater's theorem for semidefinite programs is cited, not proved.

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.

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.

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 (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)

    Proof of items 1-2 checked line by line against theorem/semidefinite-programming-duality (trace-positivity lemma via Hilbert-Schmidt norm, weak duality from Phi(X)=B and the adjoint, complementary slackness); standard form, Theorem 1.18 and Proposition 1.19 compared with Watrous, The Theory of Quantum Information, section 1.2.3 (author's open PDF from cs.uwaterloo.ca).

    The draft said Slater's theorem is proved in section 1.2 of Watrous (2018); the book states it there (Theorem 1.18) without proof. Corrected the sentence.

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 dbfe132ca4c78b04. Source file knowledge/records/proof/semidefinite-programming-duality.md in the content repository (readable there once it is public).