Equation (29): explicit qubit rate
OpenQAlgorithms.Papers.Independent.Extend50.P41.qubit_rate_formulaLet and be qubit density matrices, where is the standard Pauli triple and the Bloch vectors have lengths , . Put when , and put when . With von Neumann entropy in nats, the full rate is
For nonzero vectors . Zero weights annihilate infinite logarithms, so pure states and zero Bloch vectors remain included. The formula specializes the principal-minor rate to dimension two.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P41
noncomputable section
open MeasureTheory Filter
open scoped Matrix ComplexOrder ENNReal Topology Matrix.Norms.Frobenius
namespace QAlgorithms.Papers.Independent.Extend50.P41
open QAlgorithms.Tomography (DensityOutcome)
attribute [local instance] Classical.propDecidable Classical.decEq
/-- PDF p.9, (29): explicit qubit rate, including zero Bloch vectors and pure
states. Dot(x,y)/|y| is r cos(theta) when |y|>0; its zero-weight extension needs
no angle restriction at |y|=0. -/
theorem qubit_rate_formula (rho sigma : DensityOutcome 2) (x y : Fin 3 → ℝ)
(hx : blochLength x ≤ 1) (hy : blochLength y ≤ 1)
(hrho : rho.val = blochDensityMatrix x) (hsigma : sigma.val = blochDensityMatrix y) :
(fullRate rho sigma : EReal) =
(-(vnEntropy sigma.val * Real.log 2) : ℝ) +
weightedNegLog (blochLength y) ((1 + blochDirectionalComponent x y)/2) +
weightedNegLog ((1 - blochLength y)/2) ((1 - (blochLength x)^2)/4) := by sorry
end QAlgorithms.Papers.Independent.Extend50.P41
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be positive semidefinite complex matrices of trace , and let satisfy and , where . Assume
For a decreasing nonnegative pair with sum , put , and for a unitary let be the real part of the determinant of the leading submatrix of . Define if , if and , and otherwise. Let
where the bracket sends negative extended real values to and preserves nonnegative values, including . Then, as an equality of extended real numbers,
where , , with applied by continuous functional calculus. Real logarithms take value at , and real division by is ; in particular, when , the directional quotient is and the first -term is . The cases and are included, and the branch applies even when .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.