III.C: beamsplitter graph rule, Eqs. (3.10)–(3.12)
OpenQAlgorithms.Papers.Independent.Intake100.P30.beamsplitter_updateLet Z=\begin{psmallmatrix}T&R^T\\R&W\end{psmallmatrix} be valid with two active modes. For real , let O=\begin{psmallmatrix}\cos\theta&-\sin\theta\\\sin\theta&\cos\theta\end{psmallmatrix}. The source's beamsplitter has amplitude reflectivity , and gives
Writing , its active entries are , , and . The output remains valid, and the formula includes the 50:50 case .
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P30
noncomputable section
open MeasureTheory Filter
open scoped BigOperators ENNReal ComplexOrder Matrix.Norms.Frobenius Topology
open QAlgorithms.Papers.Independent.Dependency50.P10 (Phase complexify sigma)
namespace QAlgorithms.Papers.Independent.Intake100.P30
open QAlgorithms.Papers.Independent.Claimed50.P41
(Schrodinger gaussianWave IsCenteredGaussianFunction quadratureFunction waveMean waveCovariance displacedFunction IsImplementer)
/-- PDF pp.10,12–13, (3.10)–(3.12): beamsplitter with amplitude
reflectivity sin theta and the specified orientation, including the active entries. -/
theorem beamsplitter_update {J : Type*} [Fintype J] [DecidableEq J]
(T : Matrix (Fin 2) (Fin 2) ℂ) (R : Matrix J (Fin 2) ℂ) (W : Matrix J J ℂ)
(hZ : ValidGraph (Matrix.fromBlocks T R.transpose R W)) (theta : ℝ) :
let O := beamRotation theta
let H := complexify O * T * (complexify O).transpose
ValidGraph (graphLocalMobius O 0 0 O (Matrix.fromBlocks T R.transpose R W)) ∧
graphLocalMobius O 0 0 O (Matrix.fromBlocks T R.transpose R W) =
Matrix.fromBlocks H (complexify O * R.transpose) (R * (complexify O).transpose) W ∧
H 0 0 = T 0 0 * (Real.cos theta : ℂ)^2 + T 1 1 * (Real.sin theta : ℂ)^2 -
T 0 1 * (Real.sin (2 * theta) : ℂ) ∧
H 0 1 = T 0 1 * (Real.cos (2 * theta) : ℂ) +
(1 / 2 : ℂ) * (T 0 0 - T 1 1) * (Real.sin (2 * theta) : ℂ) ∧
H 1 1 = T 1 1 * (Real.cos theta : ℂ)^2 + T 0 0 * (Real.sin theta : ℂ)^2 +
T 0 1 * (Real.sin (2 * theta) : ℂ) := by sorry
end QAlgorithms.Papers.Independent.Intake100.P30
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every finite type with decidable equality, including the empty type, every complex matrix , complex matrix with rows indexed by and two columns, complex matrix indexed by , and real , suppose is symmetric with positive definite entrywise imaginary part. Define
viewing real matrices as complex matrices entrywise. Then is symmetric with positive definite entrywise imaginary part, and
With the two coordinates indexed by , the following three entry formulas hold:
All transposes are ordinary transposes, without complex conjugation.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.