Pure valid processes are unitary Choi projectors
OpenQAlgorithms.Papers.Independent.Intake100.P46.pureProcess_iff_unitaryProjectorAll systems have positive finite dimensions and fixed computational bases. Choi operators are unnormalized and input first. A valid process maps every pair of local CPTP maps, with arbitrary ancillary input and output wires, to a CPTP map. Purity tests every compatible pair of local unitaries with those same ancillary extensions.
For every valid bipartite process on ,
The displayed Choi projector is relabelled into the process wire order. The unitary satisfies both inverse equations. No equality between the total input and output dimensions is a hypothesis: existence of this unitary enforces it.
This characterizes reversible purity and includes the enlarged SWAP laboratories used in the source.
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P46
noncomputable section
open scoped Matrix ComplexConjugate ComplexOrder
attribute [local instance] Classical.decEq Classical.propDecidable
namespace QAlgorithms.Papers.Independent.Intake100.P46
/-- PDF pp.3–4, Theorem 2: purity iff a unitary CJ projector, for a valid process.
No global dimension equality is assumed: the existential unitary enforces it. -/
theorem pureProcess_iff_unitaryProjector {d : ProcessWireDimensions} (W : ProcessMatrix d)
(hW : IsValidProcess W) :
IsPureProcess W ↔ ∃ U : Matrix
(Fin (d 1 : ℕ) × Fin (d 3 : ℕ) × Fin (d 5 : ℕ))
(Fin (d 0 : ℕ) × Fin (d 2 : ℕ) × Fin (d 4 : ℕ)) ℂ,
IsReversibleMatrix U ∧ W = processProjector U := by sorry
end QAlgorithms.Papers.Independent.Intake100.P46
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be arbitrary positive integers, write , and let be a complex matrix indexed by . To specify the hypothesis and conclusion, for any four positive ancillary dimensions , use ancillary indices for the two inputs and for the two outputs. For matrices on and on the corresponding pair formed from , define a matrix from external input labels and output labels by
For any finite input and output sets, say that a matrix indexed by input-output pairs satisfies the channel conditions when it is positive semidefinite and for every pair of input indices. The hypothesis on is that, for every choice of the four positive ancillary dimensions and every satisfying their respective channel conditions, satisfies the channel conditions for the external input and output sets. For a complex matrix from an input set to an output set, write , and call reversible when and . Under the stated hypothesis on , the theorem asserts the following equivalence: for every choice of the four positive ancillary dimensions and every reversible local matrix and reversible local matrix , there exists a reversible matrix from the external input set to the external output set such that , if and only if there exists a complex matrix , with rows indexed by and columns indexed by , satisfying
All wire and ancillary dimensions may equal , but none may be zero. For an ancillary choice where a local input and output have unequal cardinalities, no reversible matrix for that laboratory exists, so the corresponding universally quantified implication on the left is vacuous.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.