Documentation

CsdLean4.LF5.VonNeumannUnitary

LF5: the von Neumann measurement coupling unitary (LF5-A) #

Category: 3-Local (the first LF5 layer; opens CsdLean4/LF5/, namespace CSD.LF5).

This is LF5-A of specs/lf5-plan.md: the von Neumann measurement coupling unitary, the generalized-CNOT / "copy" interaction

  eⱼ ⊗ a₀  ↦  eⱼ ⊗ aⱼ        (ground apparatus a₀ = 0)

realised as the adder permutation σ(j,k) = (j, j + k) on Fin N × Fin N (system index × apparatus index, Fin N's Add being mod-N). At the ground apparatus state k = 0 this is σ(j,0) = (j,j): the system index is copied into the apparatus. Building the coupling as a permutation matrix makes unitarity manifest (vnUnitaryᴴ * vnUnitary = 1), sidestepping any extend-a-partial-isometry problem.

Index convention #

The dilated index is Fin N × Fin N, matching LF4/POVMDilation.lean's blockProj N i : Matrix (Fin N × ι) (Fin N × ι) ℂ with apparatus ι = Fin N: the first factor is the system, the second the apparatus / pointer.

Downstream #

LF5-A feeds:

NeZero N is assumed throughout: it gives Fin N its AddCommGroup structure, required for the adder permutation's inverse (j, m) ↦ (j, m − j). Every downstream system dimension is ≥ 1, so this costs nothing.

Reference: specs/lf5-plan.md (LF5-A).

The adder bijection (j, k) ↦ (j, j + k) on Fin N × Fin N, with Fin N's mod-N addition. The inverse is (j, m) ↦ (j, m − j). This is the von Neumann measurement coupling permutation: the system index j is unchanged, the apparatus index is shifted by j, so at the ground apparatus k = 0 the system index is copied ((j, 0) ↦ (j, j)).

Equations
Instances For
    @[simp]
    theorem CSD.LF5.vnPerm_apply {N : } [NeZero N] (j k : Fin N) :
    (vnPerm N) (j, k) = (j, j + k)
    @[simp]
    theorem CSD.LF5.vnPerm_symm_apply {N : } [NeZero N] (j m : Fin N) :
    (Equiv.symm (vnPerm N)) (j, m) = (j, m - j)
    theorem CSD.LF5.vnPerm_ground {N : } [NeZero N] (j : Fin N) :
    (vnPerm N) (j, 0) = (j, j)

    Ground-apparatus copy. At the apparatus ground state k = 0 the adder permutation copies the system index into the apparatus: σ(j, 0) = (j, j).

    noncomputable def CSD.LF5.vnUnitary (N : ) [NeZero N] :
    Matrix (Fin N × Fin N) (Fin N × Fin N)

    The von Neumann coupling unitary: the permutation matrix of the inverse adder permutation (vnPerm N).symm on the dilated index Fin N × Fin N. Manifestly unitary (vnUnitary_unitary).

    The inverse is taken because the permutation matrix realises a basis-index map by its symm: permMatrix σ *ᵥ e_a = e_{σ.symm a} (see vnUnitary_mulVec_single). Taking σ = (vnPerm N).symm makes the basis action equal vnPerm N itself, so the ground-apparatus column action is the intended copy e_{(j,0)} ↦ e_{(j,j)} (vnUnitary_mulVec_ground).

    Equations
    Instances For

      Entry formula. vnUnitary is the permutation matrix of (vnPerm N).symm.

      Unitarity (manifest). A permutation matrix P = permMatrix σ satisfies Pᴴ = permMatrix σ⁻¹, hence Pᴴ P = permMatrix σ⁻¹ · permMatrix σ = permMatrix (σ · σ⁻¹) = permMatrix 1 = 1 (note permMatrix_mul is contravariant).

      Membership in the unitary group U(Fin N × Fin N). This is what the LF5-B U(N)-action / projMap consumes.

      theorem CSD.LF5.vnUnitary_mulVec_single {N : } [NeZero N] (a : Fin N × Fin N) :

      Action on a computational basis vector. The permutation matrix permMatrix σ sends e_a to e_{σ.symm a}; with σ = (vnPerm N).symm this is e_a ↦ e_{vnPerm N a}. So vnUnitary realises the adder bijection on the computational basis.

      Ground-apparatus copy at the matrix level. Acting on the basis vector e_{(j,0)} (system j, apparatus ground), the coupling produces e_{(j,j)}: the system index has been copied into the apparatus. This is the LF5-C input vnUnitary *ᵥ (eⱼ ⊗ a₀) = eⱼ ⊗ aⱼ.