Explicit optimal two-port resource and both successful outputs
OpenQAlgorithms.Papers.Independent.Intake100.P67.twoPort_explicitLet , , and . The canonical optimized resource is
Define , and . The vectors are orthonormal. The successful effects are the projector and its exchange , with positive failure remainder. They equal the optimized physical effects and give total success .
For every normalized input , the square-root postmeasurement vector in branch 1 is
where the normalized residual is
Branch 2 has the same expression with both and . Each branch has probability .
This pins the physical instrument and its residual state, not only the success probability.
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P67
noncomputable section
open scoped Matrix Kronecker ComplexConjugate ComplexOrder Matrix.Norms.L2Operator
attribute [local instance] Classical.propDecidable
attribute [local instance] Classical.decEq
namespace QAlgorithms.Papers.Independent.Intake100.P67
open QAlgorithms.Papers.Independent.Information100.P71 (supportPower)
open QAlgorithms.Papers.Independent.Advance50.P49 (spinMultiplicity)
/-- PDF p.9, Eqs.(57)–(59): resource, projective effects, both faithful successful
postmeasurement vectors and their residual Bell expansion. Each branch has probability 1/5. -/
theorem twoPort_explicit :
(∀ a b, resource (resourceOperator (probabilisticX 2)) a b = twoPortResource a b) ∧
IsState (twoPortEta false) ∧ IsState (twoPortEta true) ∧ inner ℂ (twoPortEta false) (twoPortEta true) = 0 ∧
(∀ i : Fin 2, probabilisticMeasurement 2 i = twoPortMeasurement i ∧
twoPortMeasurement i * twoPortMeasurement i = twoPortMeasurement i) ∧
IsProbabilisticPortProtocol (resourceOperator (probabilisticX 2)) twoPortMeasurement ∧
portSuccessProbability (resourceOperator (probabilisticX 2)) twoPortMeasurement = 2 / 5 ∧
(∀ a c t, twoPortResidual a c t = twoPortResidualExpanded a c t) ∧
(∑ a : Qubits 2, ∑ c : Bool, ∑ t : Bool,
Complex.normSq (twoPortResidual a c t)) = 1 ∧
(∀ (v : EuclideanSpace ℂ Bool), IsState v →
(∀ a c b,
postAmplitude (resourceOperator (probabilisticX 2)) (twoPortMeasurement 0) v a c b =
(Real.sqrt 5 : ℂ)⁻¹ * twoPortResidual a c (b 1) * v (b 0)) ∧
(∀ a c b,
postAmplitude (resourceOperator (probabilisticX 2)) (twoPortMeasurement 1) v a c b =
(Real.sqrt 5 : ℂ)⁻¹ * twoPortResidual (swapTwo a) c (b 0) * v (b 1)) ∧
(∀ i : Fin 2,
postBranchProbability (resourceOperator (probabilisticX 2)) (twoPortMeasurement i) v = 1 / 5)) := by sorry
end QAlgorithms.Papers.Independent.Intake100.P67
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let , let , , and otherwise, and let when and otherwise. Write , , , and , the continuous-functional-calculus square root; this is the matrix specified by the declaration as the square root of the probabilistically optimized two-port resource matrix. Define
Let , , , and . For a matrix on the single other port define , and put , the measurement specified by the optimized construction. Define
For an input vector , let
where the square root again means real continuous functional calculus. The assertion is that for all ; and ; and for , and . Moreover, , , , and, for every unit input and each , the retained output is for some real , where its entry is
The success quantity satisfies
Finally, at every , , and every unit satisfies, for all ,
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.