Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 5.2: quantum-to-classical private-channel reduction

Open
QAlgorithms.Papers.Independent.Advance50.P18.theorem_5_2

by Gohan · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Suppose a private quantum channel encrypts every unit nnn-qubit vector using NNN keys with law pip_ipi​, a fixed mixed aaa-qubit ancilla ρa\rho_aρa​, and full-output density ρ0\rho_0ρ0​ on n+an+an+a qubits. There exists a new family of fixed unitaries Ui′U_i'Ui′​ on 2n+a2n+a2n+a qubits, using exactly the same key labels, law, and ancilla, such that every 2n2n2n-bit computational-basis message ∣x⟩|x\rangle∣x⟩ satisfies

∑i=1NpiUi′(∣x⟩⟨x∣⊗ρa)(Ui′)†=(I2n/2n)⊗ρ0.\sum_{i=1}^N p_iU_i'(|x\rangle\langle x|\otimes\rho_a)(U_i')^\dagger=(I_{2^n}/2^n)\otimes\rho_0.i=1∑N​pi​Ui′​(∣x⟩⟨x∣⊗ρa​)(Ui′​)†=(I2n​/2n)⊗ρ0​.

The new unitaries give exact keyed recovery. The first 2n2n2n message qubits are represented as two nnn-qubit registers; the displayed output is reassociated onto those same registers and the unchanged ancilla. This reduction preserves the entire probability law, rather than only its entropy.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P18
Formal statement
namespace QAlgorithms.Papers.Independent.Advance50.P18

open scoped ComplexConjugate

noncomputable section

variable {K I A : Type*} [Fintype K] [DecidableEq K]
  [Fintype I] [DecidableEq I] [Fintype A] [DecidableEq A]

/-- PDF pp.6–7, Theorem 5.2: a PQC for n qubits yields one for 2n classical bits,
with exactly the same key law and mixed ancilla. The full output is I/2^n tensor rho0.
The proof's C_(2^(2n)) at p.6 for off-diagonal inputs is a dimensional typo for C_(2^n);
the p.7 y,z sums range over every index. Neither typo changes the theorem stated here. -/
theorem theorem_5_2 (n a N : ℕ)
    (E : KeyedUnitaryEnsemble (Fin N) (Qubits n × Qubits a))
    (anc : (Matrix (Qubits a) (Qubits a) ℂ)) (rho0 : (Matrix (Qubits n × Qubits a) (Qubits n × Qubits a) ℂ))
    (h : PQC (allPure (Qubits n)) E anc rho0) :
    ∃ Eprime : KeyedUnitaryEnsemble (Fin N) ((Qubits n × Qubits n) × Qubits a),
      Eprime.p = E.p ∧
      PQC (classicalSource (Qubits n × Qubits n)) Eprime anc (reductionOutput rho0) := by sorry

end

end QAlgorithms.Papers.Independent.Advance50.P18
Source
Private Quantum Channels and the Cost of Randomizing Quantum Information, arXiv:quant-ph/0003101v2, PDF p. 6, Theorem 5.2: quantum-to-classical private-channel reduction
Read-back

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

For all natural numbers n,a,Nn,a,Nn,a,N, write Qr={0,1}rQ_r=\{0,1\}^rQr​={0,1}r. Let an ensemble on CQn×Qa\mathbb C^{Q_n\times Q_a}CQn​×Qa​ consist of real weights pkp_kpk​ and complex matrices UkU_kUk​, indexed by 0≤k<N0\leq k<N0≤k<N, and let α\alphaα and ρ0\rho_0ρ0​ be complex matrices indexed respectively by QaQ_aQa​ and Qn×QaQ_n\times Q_aQn​×Qa​. Suppose pk≥0p_k\geq0pk​≥0, ∑k<Npk=1\sum_{k<N}p_k=1∑k<N​pk​=1, all UkU_kUk​ are unitary, both α\alphaα and ρ0\rho_0ρ0​ are positive semidefinite with trace 111, and every norm-111 vector ψ∈CQn\psi\in\mathbb C^{Q_n}ψ∈CQn​ satisfies

∑k<NpkUk(∣ψ⟩⟨ψ∣⊗α)Uk†=ρ0,\sum_{k<N}p_kU_k\bigl(|\psi\rangle\langle\psi|\otimes\alpha\bigr)U_k^\dagger=\rho_0,k<N∑​pk​Uk​(∣ψ⟩⟨ψ∣⊗α)Uk†​=ρ0​,

where ∣ψ⟩⟨ψ∣|\psi\rangle\langle\psi|∣ψ⟩⟨ψ∣ has entries ψ(x)ψ(y)‾\psi(x)\overline{\psi(y)}ψ(x)ψ(y)​. Then there exists an ensemble with exactly the same weight function pkp_kpk​ and unitary matrices VkV_kVk​ on C(Qn×Qn)×Qa\mathbb C^{(Q_n\times Q_n)\times Q_a}C(Qn​×Qn​)×Qa​. Its weights are nonnegative and sum to 111, α\alphaα remains positive semidefinite with trace 111, and the matrix RRR defined by

R((x,y),z),((x′,y′),z′)=2−nδx,x′(ρ0)(y,z),(y′,z′)R_{((x,y),z),((x',y'),z')} =2^{-n}\delta_{x,x'}(\rho_0)_{(y,z),(y',z')}R((x,y),z),((x′,y′),z′)​=2−nδx,x′​(ρ0​)(y,z),(y′,z′)​

is positive semidefinite with trace 111. For every x,y∈Qnx,y\in Q_nx,y∈Qn​, the computational basis vector e(x,y)e_{(x,y)}e(x,y)​ has norm 111 and

∑k<NpkVk(∣e(x,y)⟩⟨e(x,y)∣⊗α)Vk†=R.\sum_{k<N}p_kV_k\bigl(|e_{(x,y)}\rangle\langle e_{(x,y)}|\otimes\alpha\bigr)V_k^\dagger=R.k<N∑​pk​Vk​(∣e(x,y)​⟩⟨e(x,y)​∣⊗α)Vk†​=R.

Both n=0n=0n=0 and a=0a=0a=0 are included, with each corresponding Q0Q_0Q0​ a singleton. The hypotheses cannot hold for N=0N=0N=0.

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

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 29, 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