Example 14: three-input qubit positive map, Eq.(58)
OpenQAlgorithms.Papers.Independent.Extend50.P12.example14_threeToOneFor four qubit registers let be the physical permutation action, and define the following operators, with identity on unused sites:
For arbitrary complex matrices , the unnormalized partial-trace map has the exact evaluation
Moreover, this matrix is PSD whenever are PSD. Transpose is ordinary transpose in the fixed basis; the input traces need not be one.
This is the three-input, one-output positive map for , , , , and , with its kernel constructed by the first line of Eq. (56).
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P12
noncomputable section
open scoped BigOperators Matrix ComplexOrder
namespace QAlgorithms.Papers.Independent.Extend50.P12
attribute [local instance] Classical.propDecidable
/-- Example 14, PDF p.9, Eq.(58), with F constructed by the first line of
Eq.(56) and Eq.(55). The evaluation holds on arbitrary complex matrices;
positivity holds on all PSD matrices without trace-one restrictions.
Both orientations of each cycle occur with equal coefficients in F. -/
theorem example14_threeToOne :
(∀ A B C : LocalMatrix 2, example14Map A B C = example14Formula A B C) ∧
(∀ A B C : LocalMatrix 2, A.PosSemidef → B.PosSemidef → C.PosSemidef →
(example14Map A B C).PosSemidef) := by sorry
end QAlgorithms.Papers.Independent.Extend50.P12
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
On four-register words in , let if , and otherwise, for each permutation of the register positions; write . Let exchange the row and column coordinates at position , and define
For arbitrary complex matrices , define the complex matrix
The assertion is the conjunction of two statements: for every ,
where is transpose without conjugation; and, for every , if all three are positive semidefinite, then is positive semidefinite. The first equality holds without positivity assumptions, and the second statement requires no trace normalization.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.