Abstract and §7: optimal private quantum one-time pad
OpenQAlgorithms.Papers.Independent.Advance50.P18.optimal_private_quantum_channelFor every nonnegative integer , the quantum one-time pad encrypts every -qubit state using a shared classical key of entropy exactly bits. Its encoder is chosen independently of the message: select uniformly and conjugate by . There is no ancilla, and for every density matrix ,
Conversely, let a private quantum channel for all unit -qubit vectors use keys with probabilities , input-independent full-space unitaries, an arbitrary fixed mixed -qubit ancilla, and any fixed full-output density. Then
Here , with . The ancilla is independent of both input and key and is included in the transmitted system. Unitary inversion gives exact recovery. This combines the paper’s achieving scheme and its unrestricted lower bound.
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P18
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]
/-- Abstract (PDF p.1), §7 (p.9), Theorem 4.1 (p.5) and Corollary 5.4 (p.8):
full tensor-Pauli encryption attains 2n bits without ancilla, including mixed inputs;
every exact PQC, with any finite mixed ancilla, requires at least 2n bits. -/
theorem optimal_private_quantum_channel (n : ℕ) :
(∃ E : KeyedUnitaryEnsemble (Fin n → Fin 4) (Qubits n), E = fullPauli n ∧
BarePQC (allPure (Qubits n)) E (sourceMixedIdentity (Qubits n)) ∧
keyEntropy E.p = 2 * (n : ℝ) ∧
∀ rho : (Matrix (Qubits n) (Qubits n) ℂ), IsDensityMatrix rho →
encrypt E rho = sourceMixedIdentity (Qubits 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) ℂ)),
PQC (allPure (Qubits n)) E anc rho0 →
2 * (n : ℝ) ≤ keyEntropy E.p ∧ 2 ^ (2 * n) ≤ N) := by sorry
end
end QAlgorithms.Papers.Independent.Advance50.P18
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every natural number , the following two assertions hold. First, there exists an ensemble , indexed by and acting on Boolean strings of length , that equals the explicitly specified ensemble
where the single-bit order is . Its weights are nonnegative and sum to , every is unitary, the matrix is positive semidefinite with trace , and every complex vector on the -bit strings with Euclidean norm satisfies
Here , and a star on a matrix denotes conjugate transpose. Moreover, the key entropy is , and every positive semidefinite matrix of trace satisfies . Second, for every pair of natural numbers , every ensemble acting on pairs of an -bit string and an -bit string, and all complex matrices on the -bit strings and on those pairs, assume that the are nonnegative and sum to , all are unitary, both and are positive semidefinite with trace , and every norm-one on the -bit strings satisfies
Then and , where in both assertions
The quantifiers include zero-length registers and ; for , the assumed weight sum cannot equal . For , the explicit ensemble has one key of weight , its matrix is , and the entropy and key-count bounds are and .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.