Documentation

LeanPool.MicrowaveNetworks.PhaseShifters

Computing with phase shifters #

A network made of phase shifters, interconnected through interconnections and permutation networks, and connected in series and in parallel, is represented by its transmission scattering matrix (Network n).

Main definitions #

Main results #

Characterization of implementable networks #

noncomputable def MiLAC.PhaseShifters.permutedPhaseDiagonal {n : ℕ} (φ : Fin n → ℝ) (σ : Equiv.Perm (Fin n)) :

The permuted diagonal matrix P_σ diag(exp(j φ₁), …, exp(j φₙ)).

Equations
Instances For
    @[simp]
    theorem MiLAC.PhaseShifters.permutedPhaseDiagonal_apply {n : ℕ} (φ : Fin n → ℝ) (σ : Equiv.Perm (Fin n)) (i j : Fin n) :
    permutedPhaseDiagonal φ σ i j = if σ i = j then Complex.exp (↑(φ (σ i)) * Complex.I) else 0

    An entry of a permuted phase diagonal has at most one nonzero value per row.

    Sufficiency #

    A permuted diagonal matrix of phases is implementable (sufficient condition).

    Necessity #

    theorem MiLAC.PhaseShifters.series_permutedPhaseDiagonal {n : ℕ} (φ ψ : Fin n → ℝ) (σ τ : Equiv.Perm (Fin n)) :

    The series of two permuted diagonal matrices is a permuted diagonal matrix.

    theorem MiLAC.PhaseShifters.parallel_permutedPhaseDiagonal {n m : ℕ} (φ : Fin n → ℝ) (ψ : Fin m → ℝ) (σ : Equiv.Perm (Fin n)) (τ : Equiv.Perm (Fin m)) :
    ∃ (χ : Fin (n + m) → ℝ) (ρ : Equiv.Perm (Fin (n + m))), parallel (permutedPhaseDiagonal φ σ) (permutedPhaseDiagonal ψ τ) = permutedPhaseDiagonal χ ρ

    The parallel of two permuted diagonal matrices is a permuted diagonal matrix.

    An implementable network is a permuted diagonal matrix of phases (necessary condition).

    Main theorem #

    A network is implementable if and only if it is a permuted diagonal matrix of phases.