Proposition 12: ordered sequence of reshufflings, Eq.(46)
OpenQAlgorithms.Papers.Independent.Extend50.P12.ordered_reshuffling_evaluationLet , let be the number of output registers, and put . For arbitrary , with the fixed product-basis permutation action and ordinary partial transpose,
Each exchanges ket site with bra site . The displayed order is applied from down to , and the trace is unnormalized. This is the domain where the printed sequence has no site-zero endpoint.
The identity replaces the given contraction by a specified sequence of reshufflings. Appendix C's matrix-unit expansion agrees with Eq. (2); its orientation is unchanged.
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
/-- Proposition 12, PDF p.7, Eq.(46), and p.14, Eq.(C5). There are n=k-1>=2
outputs, the domain where the printed ordered reshuffling sequence is defined.
The partial transpose on the last input/output-kernel site is retained.
Appendix C's cycle expansion agrees with Eq.(2), contrary to the plan's audit. -/
theorem ordered_reshuffling_evaluation (d n : ℕ) (hd : 0 < d) (hn : 2 ≤ n)
(A : LocalMatrix d) :
productInputContraction (r := 1) (m := n)
(transposeRegisterSet {⟨n, by omega⟩} (permutation d (1 + n) (finRotate (1 + n))))
![A] =
orderedReshuffles n hn (leadingInput n (by omega) A) := by sorry
end QAlgorithms.Papers.Independent.Extend50.P12
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For all natural numbers satisfying and , and every complex matrix , put . Define on by when for every , and otherwise, and define by exchanging coordinate between the row and column arguments. Define matrices on by
Starting with , successively apply for , in that order, where , is with coordinate replaced by , and is with coordinate replaced by . The assertion is that the resulting matrix equals . For , the sequence consists of the single operation ; each is for equality and otherwise.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.