Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Simultaneous qubit and reverse cbit: criterion and optimal cost

Open
QAlgorithms.Papers.Independent.Intakethird100.P99.hybridCapability_cost

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

prove2quantum

For a two-qubit unitary UUU, let β\betaβ be an actual interaction-content witness: UUU is locally equivalent, up to global phase, to Uβ=exp⁡[−i∑k=13βkσk⊗σk]U_\beta=\exp[-i\sum_{k=1}^3\beta_k\sigma_k\otimes\sigma_k]Uβ​=exp[−i∑k=13​βk​σk​⊗σk​], where σ1,σ2,σ3\sigma_1,\sigma_2,\sigma_3σ1​,σ2​,σ3​ are the Pauli matrices X,Y,ZX,Y,ZX,Y,Z and π/4≥β1≥β2≥∣β3∣\pi/4\ge\beta_1\ge\beta_2\ge|\beta_3|π/4≥β1​≥β2​≥∣β3​∣. 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. A qubit A→BA\to BA→B and a cbit B→AB\to AB→A can be transmitted simultaneously exactly when β1=β2=π/4\beta_1=\beta_2=\pi/4β1​=β2​=π/4, and the same is true with the parties exchanged. 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. 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. For α1>0\alpha_1>0α1​>0,

CH(qubitA→B+cbitB→A)=π2(α1+α2),β∗=π4(1,1,2α3α1+α2).C_H(\mathrm{qubit}_{A\to B}+\mathrm{cbit}_{B\to A})=\frac{\pi}{2(\alpha_1+\alpha_2)},\qquad\beta_*=\frac{\pi}{4}\left(1,1,\frac{2\alpha_3}{\alpha_1+\alpha_2}\right).CH​(qubitA→B​+cbitB→A​)=2(α1​+α2​)π​,β∗​=4π​(1,1,α1​+α2​2α3​​).

The canonical gate with content β∗\beta_*β∗​ attains this cost in either orientation. Bob may use his own sent bit to select his recovery, which must then work for every unknown qubit.

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 pp.11–12, IV.B.3: a qubit plus reverse cbit has the same exact content criterion
and optimal cost. Recovery can depend on the receiver's own classical message. -/
theorem hybridCapability_cost (U H : TwoMatrix) (b a : Triple)
    (hU : HasContent U b) (hH : HasCanonicalHamiltonian H a) (ha : 0 < a 0) :
    (CanHybrid U ↔ b 0 = Real.pi / 4 ∧ b 1 = Real.pi / 4) ∧
    (CanHybrid (reverseParties U) ↔ b 0 = Real.pi / 4 ∧ b 1 = Real.pi / 4) ∧
    HasContent (contentGate (optimalTransmissionContent a)) (optimalTransmissionContent a) ∧
    OptimalTask H CanHybrid (contentGate (optimalTransmissionContent a))
      (Real.pi / (2 * (a 0 + a 1))) ∧
    OptimalTask H (fun V => CanHybrid (reverseParties V))
      (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, IV.B.3: simultaneous qubit and reverse cbit
Read-back

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

Let U,HU,HU,H be complex matrices on C2⊗C2\mathbb C^2\otimes\mathbb C^2C2⊗C2, and let b=(b0,b1,b2)b=(b_0,b_1,b_2)b=(b0​,b1​,b2​) and a=(a0,a1,a2)a=(a_0,a_1,a_2)a=(a0​,a1​,a2​) be real triples, indexed starting at 000. Write X=(0110)X=\left(\begin{smallmatrix}0&1\\1&0\end{smallmatrix}\right)X=(01​10​), Y=(0−ii0)Y=\left(\begin{smallmatrix}0&-i\\i&0\end{smallmatrix}\right)Y=(0i​−i0​), Z=(100−1)Z=\left(\begin{smallmatrix}1&0\\0&-1\end{smallmatrix}\right)Z=(10​0−1​), J(d)=d0X⊗X+d1Y⊗Y+d2Z⊗ZJ(d)=d_0X\otimes X+d_1Y\otimes Y+d_2Z\otimes ZJ(d)=d0​X⊗X+d1​Y⊗Y+d2​Z⊗Z, and G(d)=e−iJ(d)G(d)=e^{-iJ(d)}G(d)=e−iJ(d). Say that V∼WV\sim WV∼W when there exist one-qubit unitary matrices A,B,C,DA,B,C,DA,B,C,D such that V=(A⊗B)W(C⊗D)V=(A\otimes B)W(C\otimes D)V=(A⊗B)W(C⊗D). Assume that UUU is unitary, b1≤b0b_1\le b_0b1​≤b0​, ∣b2∣≤b1|b_2|\le b_1∣b2​∣≤b1​, b0≤π/4b_0\le\pi/4b0​≤π/4, and U∼G(b)U\sim G(b)U∼G(b). Assume also that HHH is Hermitian, a1≤a0a_1\le a_0a1​≤a0​, ∣a2∣≤a1|a_2|\le a_1∣a2​∣≤a1​, and there exist one-qubit unitaries A,BA,BA,B and Hermitian one-qubit matrices K,LK,LK,L with

(A⊗B)H(A⊗B)†=J(a)+K⊗I+I⊗L,(A\otimes B)H(A\otimes B)^\dagger =J(a)+K\otimes I+I\otimes L,(A⊗B)H(A⊗B)†=J(a)+K⊗I+I⊗L,

and assume a0>0a_0>0a0​>0. For a two-qubit matrix VVV, let H(V)\mathcal H(V)H(V) mean that VVV is unitary and there exist one-qubit unitaries E,F,R0,R1E,F,R_0,R_1E,F,R0​,R1​ and unit vectors u0,u1∈C2u_0,u_1\in\mathbb C^2u0​,u1​∈C2, with ⟨u0,u1⟩=0\langle u_0,u_1\rangle=0⟨u0​,u1​⟩=0, such that, for every j∈{0,1}j\in\{0,1\}j∈{0,1} and every unit vector q∈C2q\in\mathbb C^2q∈C2,

(I⊗Rj)V(Eq⊗F∣j⟩)=uj⊗q.(I\otimes R_j)V(Eq\otimes F|j\rangle)=u_j\otimes q.(I⊗Rj​)V(Eq⊗F∣j⟩)=uj​⊗q.

Let SSS be the swap matrix, S∣i,j⟩=∣j,i⟩S|i,j\rangle=|j,i\rangleS∣i,j⟩=∣j,i⟩. Then

H(U)  ⟺  b0=b1=π/4,H(SUS)  ⟺  b0=b1=π/4.\mathcal H(U)\iff b_0=b_1=\pi/4, \qquad \mathcal H(SUS)\iff b_0=b_1=\pi/4.H(U)⟺b0​=b1​=π/4,H(SUS)⟺b0​=b1​=π/4.

Set

c=(π4,π4,π4 2a2a0+a1),W=G(c),t∗=π2(a0+a1).c=\left(\frac\pi4,\frac\pi4,\frac\pi4\,\frac{2a_2}{a_0+a_1}\right), \qquad W=G(c), \qquad t_*=\frac{\pi}{2(a_0+a_1)}.c=(4π​,4π​,4π​a0​+a1​2a2​​),W=G(c),t∗​=2(a0​+a1​)π​.

The matrix WWW is unitary, c1≤c0c_1\le c_0c1​≤c0​, ∣c2∣≤c1|c_2|\le c_1∣c2​∣≤c1​, c0≤π/4c_0\le\pi/4c0​≤π/4, and W∼G(c)W\sim G(c)W∼G(c). Moreover, WWW has both properties H(W)\mathcal H(W)H(W) and H(SWS)\mathcal H(SWS)H(SWS), and is optimal at time t∗t_*t∗​ for each property in the following precise sense. Define CH(V)C_H(V)CH​(V) as the infimum, in [0,∞][0,\infty][0,∞], of nonnegative times ttt for which HHH is Hermitian, VVV is unitary, and for every ε>0\varepsilon>0ε>0 there exist a finite pulse protocol and z∈Cz\in\mathbb Cz∈C, ∣z∣=1|z|=1∣z∣=1, whose total interaction time is exactly ttt and whose resulting matrix differs from zVzVzV by operator norm less than ε\varepsilonε. Such a protocol starts at A0⊗B0A_0\otimes B_0A0​⊗B0​ and successively replaces its current matrix PPP by (Aj⊗Bj)e−itjHP(A_j\otimes B_j)e^{-it_jH}P(Aj​⊗Bj​)e−itj​HP, where all Aj,BjA_j,B_jAj​,Bj​ are one-qubit unitaries, all tj≥0t_j\ge0tj​≥0, and ∑jtj=t\sum_jt_j=t∑j​tj​=t; the pulse list may be empty, and the infimum of an empty set of admissible times is +∞+\infty+∞. The required approximating protocols for WWW exist at exactly t∗t_*t∗​, and, for each predicate P(V)=H(V)P(V)=\mathcal H(V)P(V)=H(V) and P(V)=H(SVS)P(V)=\mathcal H(SVS)P(V)=H(SVS),

CH(W)=t∗=inf⁡{V:P(V)}CH(V),∀V,P(V)⟹CH(W)≤CH(V).C_H(W)=t_*=\inf_{\{V:P(V)\}}C_H(V), \qquad \forall V,\quad P(V)\Longrightarrow C_H(W)\le C_H(V).CH​(W)=t∗​={V:P(V)}inf​CH​(V),∀V,P(V)⟹CH​(W)≤CH​(V).

The hypotheses imply a1≥0a_1\ge0a1​≥0 and a0+a1>0a_0+a_1>0a0​+a1​>0, so the displayed denominators are nonzero and t∗>0t_*>0t∗​>0.

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