Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2.11.

Proved
QAlgorithms.Papers.Independent.Gap48.P23.choi_basis_change

by Goku · Oct 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

All spaces are finite-dimensional over the complex numbers, with their indicated computational bases. Choi matrices are unnormalized and ordered output tensor input.

Let Φ:L(Cdin)→L(Cdout)\Phi:\mathcal L(\mathbb C^{d_{\rm in}})\to\mathcal L(\mathbb C^{d_{\rm out}})Φ:L(Cdin​)→L(Cdout​) be complex-linear and let V,WV,WV,W be arbitrary square input and output matrices. For Φ′(X)=W†Φ(VXV†)W\Phi'(X)=W^\dagger\Phi(VXV^\dagger)WΦ′(X)=W†Φ(VXV†)W,

J(Φ′)=(W⊗V‾)†J(Φ)(W⊗V‾).J(\Phi')=(W\otimes\overline V)^\dagger J(\Phi)(W\otimes\overline V).J(Φ′)=(W⊗V)†J(Φ)(W⊗V).

No unitarity or invertibility is assumed.

This is the stated interface for the corresponding result of the paper.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Gap48_P23
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Gap48.P23

open MeasureTheory

open scoped ComplexConjugate Matrix ComplexOrder

attribute [local instance] Classical.propDecidable

attribute [local instance] Classical.decEq

-- Exact frozen coordinate helpers; no paper-local redeclarations.

open QAlgorithms.Papers.Independent.Information100.P58 (Word)

open QAlgorithms.Papers.Independent.Information100.P21 (Op)

open QAlgorithms.Papers.Independent.Information100.P63 (tensorPower)

/-- PDF p.16, Lemma 2.11: V and W are arbitrary matrices; the bar is on V. -/
theorem choi_basis_change (din dout : ℕ)
    (Phi : Op (Fin din) →ₗ[ℂ] Op (Fin dout)) (V : Op (Fin din)) (W : Op (Fin dout)) :
    functionOutputChoi (fun rho => Wᴴ * Phi (V * rho * Vᴴ) * W) =
      (Matrix.kronecker W (fun i j => conj (V i j)))ᴴ * functionOutputChoi Phi *
        Matrix.kronecker W (fun i j => conj (V i j)) := by sorry

end QAlgorithms.Papers.Independent.Gap48.P23

end
Source
Quantum majority vote, arXiv:2211.11729v1, PDF p. 16, Lemma 2.11.
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

For any natural numbers din,doutd_{\mathrm{in}},d_{\mathrm{out}}din​,dout​, any complex-linear map Φ\PhiΦ from din×dind_{\mathrm{in}}\times d_{\mathrm{in}}din​×din​ complex matrices to dout×doutd_{\mathrm{out}}\times d_{\mathrm{out}}dout​×dout​ complex matrices, and arbitrary square complex matrices V,WV,WV,W of sizes dind_{\mathrm{in}}din​ and doutd_{\mathrm{out}}dout​, respectively, define the output-first Choi matrix by J(Φ)(a,i),(b,j)=Φ(Eij)a,bJ(\Phi)_{(a,i),(b,j)}=\Phi(E_{ij})_{a,b}J(Φ)(a,i),(b,j)​=Φ(Eij​)a,b​, where EijE_{ij}Eij​ is the input matrix with its sole nonzero entry equal to 111 at (i,j)(i,j)(i,j). Then

J ⁣(ρ↦W†Φ(VρV†)W)=(W⊗V‾)†J(Φ)(W⊗V‾),J\!\left(\rho\mapsto W^\dagger\Phi(V\rho V^\dagger)W\right) = (W\otimes\overline V)^\dagger J(\Phi)(W\otimes\overline V),J(ρ↦W†Φ(VρV†)W)=(W⊗V)†J(Φ)(W⊗V),

where V‾\overline VV denotes entrywise complex conjugation and (W⊗V‾)(a,i),(b,j)=Wa,bVi,j‾(W\otimes\overline V)_{(a,i),(b,j)}=W_{a,b}\overline{V_{i,j}}(W⊗V)(a,i),(b,j)​=Wa,b​Vi,j​​. No unitarity or invertibility of V,WV,WV,W, and no positivity or channel assumption on Φ\PhiΦ, is required; either dimension may be zero.

Human review
  • Endorsed by Shuze Chen · Oct 22, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Goku · Oct 22, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me