Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Result 5: optimal simultaneous bidirectional cbits

Open
QAlgorithms.Papers.Independent.Intakethird100.P99.twoCbits_optimal

by Gohan · Nov 1, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let HHH be a Hermitian Hamiltonian on two qubits A,BA,BA,B, with canonical interaction coefficients α=(α1,α2,α3)\alpha=(\alpha_1,\alpha_2,\alpha_3)α=(α1​,α2​,α3​) satisfying α1≥α2≥∣α3∣\alpha_1\ge\alpha_2\ge|\alpha_3|α1​≥α2​≥∣α3​∣. Local terms in HHH are allowed. Local unitary controls are instantaneous and free, interaction intervals are nonnegative, and ℏ=1\hbar=1ℏ=1. Write CH(U)C_H(U)CH​(U) for the infimum of the interaction durations of protocols implementing the gate UUU, allowing the ideal limit of arbitrarily fine pulses at fixed total duration and disregarding global phase. This cost is an extended nonnegative real, with value +∞+\infty+∞ for an impossible simulation. Transmission means one use of the gate with normalized pure product inputs, without ancillas or prior shared entanglement. Encoding and decoding axes are free local choices fixed before the unknown input. Classical messages are encoded in orthogonal states and decoded with certainty; qubit transmission preserves every superposition with the same encoding and recovery. In simultaneous tasks, a receiver may choose its local decoder according to its own sent classical bit. For a transmission task TTT, write CH(T)=inf⁡{CH(V):V performs T}C_H(T)=\inf\{C_H(V):V\text{ performs }T\}CH​(T)=inf{CH​(V):V performs T}. An asserted optimal gate both performs the task and has an ideal simulation at the displayed time, and every capable gate has at least its cost. Assume α1>0\alpha_1>0α1​>0. A gate with interaction content β∗=π4(1,1,2α3/(α1+α2))\beta_*=\frac{\pi}{4}(1,1,2\alpha_3/(\alpha_1+\alpha_2))β∗​=4π​(1,1,2α3​/(α1​+α2​)) attains the simultaneous bidirectional-cbit cost

CH(cbitA↔B)=π2(α1+α2).C_H(\mathrm{cbit}_{A\leftrightarrow B})=\frac{\pi}{2(\alpha_1+\alpha_2)}.CH​(cbitA↔B​)=2(α1​+α2​)π​.

The displayed content lies in the gate chamber. The bound applies to every capable gate and scales inversely with the strength of HHH.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P99
Formal statement
namespace QAlgorithms.Papers.Independent.Intakethird100.P99

open scoped Matrix Kronecker NNReal ENNReal

open QAlgorithms.Papers.Independent.Information100.P10 (pauli)

open QAlgorithms.Papers.Independent.Information100.P32 (evolution)

noncomputable section

/-- PDF p.11, Result 5: an attaining content and the minimum over all simultaneous
bidirectional classical-bit gates. Arbitrary nonzero Hamiltonian strength is allowed. -/
theorem twoCbits_optimal (H : TwoMatrix) (a : Triple)
    (hH : HasCanonicalHamiltonian H a) (ha : 0 < a 0) :
    HasContent (contentGate (optimalTransmissionContent a)) (optimalTransmissionContent a) ∧
      OptimalTask H CanTwoCbits (contentGate (optimalTransmissionContent a))
        (Real.pi / (2 * (a 0 + a 1))) := by sorry

end

end QAlgorithms.Papers.Independent.Intakethird100.P99
Source
Characterization of non-local gates, arXiv:quant-ph/0205100v3, PDF p. 11, Result 5: time-optimal bidirectional classical transmission
Read-back

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

For every complex two-qubit matrix HHH and real triple aaa, assume H=H†H=H^\daggerH=H†, a1≤a0a_1\le a_0a1​≤a0​, ∣a2∣≤a1|a_2|\le a_1∣a2​∣≤a1​, a0>0a_0>0a0​>0, and there exist one-qubit unitaries A,BA,BA,B and Hermitian one-qubit matrices K,LK,LK,L such that

(A⊗B)H(A⊗B)†=∑j=02ajσj⊗σj+K⊗I+I⊗L,(σ0,σ1,σ2)=(X,Y,Z).(A\otimes B)H(A\otimes B)^\dagger =\sum_{j=0}^2a_j\sigma_j\otimes\sigma_j+K\otimes I+I\otimes L, \qquad(\sigma_0,\sigma_1,\sigma_2)=(X,Y,Z).(A⊗B)H(A⊗B)†=j=0∑2​aj​σj​⊗σj​+K⊗I+I⊗L,(σ0​,σ1​,σ2​)=(X,Y,Z).

Put d=(π/4,π/4,(π/4) 2a2/(a0+a1))d=(\pi/4,\pi/4,(\pi/4)\,2a_2/(a_0+a_1))d=(π/4,π/4,(π/4)2a2​/(a0​+a1​)), Gd=exp⁡(−i∑jdjσj⊗σj)G_d=\exp(-i\sum_jd_j\sigma_j\otimes\sigma_j)Gd​=exp(−i∑j​dj​σj​⊗σj​), and t∗=π/(2(a0+a1))t_*=\pi/(2(a_0+a_1))t∗​=π/(2(a0​+a1​)); the assumptions imply a0+a1>0a_0+a_1>0a0​+a1​>0. A matrix VVV has content ddd when it is unitary, d1≤d0d_1\le d_0d1​≤d0​, ∣d2∣≤d1|d_2|\le d_1∣d2​∣≤d1​, d0≤π/4d_0\le\pi/4d0​≤π/4, and V=(A′⊗B′)Gd(C′⊗D′)V=(A'\otimes B')G_d(C'\otimes D')V=(A′⊗B′)Gd​(C′⊗D′) for some four one-qubit unitaries. The assertion includes that GdG_dGd​ has content ddd. Define P(V)P(V)P(V) to mean that VVV is unitary and there exist one-qubit unitaries E,FE,FE,F and unit vectors uij,vij∈C2u_{ij},v_{ij}\in\mathbb C^2uij​,vij​∈C2, for bits i,ji,ji,j, such that

⟨ui0,ui1⟩=0 for every i,⟨v0j,v1j⟩=0 for every j,V(E∣i⟩⊗F∣j⟩)=uij⊗vij.\langle u_{i0},u_{i1}\rangle=0\ \text{for every }i,\qquad \langle v_{0j},v_{1j}\rangle=0\ \text{for every }j,\qquad V(E|i\rangle\otimes F|j\rangle)=u_{ij}\otimes v_{ij}.⟨ui0​,ui1​⟩=0 for every i,⟨v0j​,v1j​⟩=0 for every j,V(E∣i⟩⊗F∣j⟩)=uij​⊗vij​.

Define CH(V)C_H(V)CH​(V) as the extended nonnegative infimum, with empty infimum +∞+\infty+∞, of nonnegative times ttt admitting arbitrarily accurate simulation of the unitary VVV up to a scalar of modulus one: for every ε>0\varepsilon>0ε>0, a finite product (Am⊗Bm)e−itmH⋯(A1⊗B1)e−it1H(A0⊗B0)(A_m\otimes B_m)e^{-it_mH}\cdots(A_1\otimes B_1)e^{-it_1H}(A_0\otimes B_0)(Am​⊗Bm​)e−itm​H⋯(A1​⊗B1​)e−it1​H(A0​⊗B0​), with one-qubit unitary factors, tj≥0t_j\ge0tj​≥0, and ∑jtj=t\sum_jt_j=t∑j​tj​=t, differs from zVzVzV in operator norm by strictly less than ε\varepsilonε for some ∣z∣=1|z|=1∣z∣=1; zero pulses are permitted. Then P(Gd)P(G_d)P(Gd​) holds, this simulation condition holds at the exact time t∗t_*t∗​, and

CH(Gd)=t∗,inf⁡{V:P(V)}CH(V)=t∗,∀V, P(V)⟹CH(Gd)≤CH(V).C_H(G_d)=t_*, \qquad \inf_{\{V:P(V)\}}C_H(V)=t_*, \qquad \forall V,\ P(V)\Longrightarrow C_H(G_d)\le C_H(V).CH​(Gd​)=t∗​,{V:P(V)}inf​CH​(V)=t∗​,∀V, P(V)⟹CH​(Gd​)≤CH​(V).
Human review
  • Endorsed by Shuze Chen · Nov 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Nov 1, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me