Complex exponential and unit-circle helper lemmas (quantum-free) #
Generic identities used by the QSP development, factored out so they carry no
dependency on the quantum framework (gates, states): phase-factor scalars
e^{±iφ}, the special values e^{±iπ/2}, e^{±iπ/4}, the real-square-root
identity √(1-x²)² = 1-x², injectivity of t ↦ e^{it} on (0, π), and the
SU(2)/unit-circle parameterizations (mul_conj_eq_norm_sq, exists_unit_mul,
exists_real_unit, exists_cos_sin, exists_exp_sq_eq).
These are upstream candidates for Mathlib; nothing here mentions Gate/PureState.
theorem
QuantumAlg.exists_exp_sq_eq
{p q : ℂ}
(hq : q ≠ 0)
(hpq : p * (starRingEnd ℂ) p = q * (starRingEnd ℂ) q)
:
A phase factor solving the degree-reduction equation e^{2iφ} q = p,
available whenever |p| = |q| ≠ 0 [Lin22, hermfunc.tex:1226].
t ↦ e^{it} is injective on (0, π).
z·z* = ‖z‖² in ℂ.