AFTD Auto-Formalizing Theoretical Domains

pauliPhase

def

The coordinate-independent scalar κ(b) ∈ {1, −i} extracted from a single-qubit Pauli matrix entry: κ(Y) = −i and κ = 1 otherwise, so that σ_b(x,y) = κ(b)·[y = x + u_b]·(−1)^{z_b·x}.

Statement

noncomputable def pauliPhase : PauliBasis → ℂ
Source
step towards op_1254_cubic_hypergraph_fluctuation_mean_zero
Verified
06 Nov 2026
Axioms
none listed
Built on 1
  • PauliBasisThe four Pauli basis elements $\{I,X,Y,Z\}$, represented as an inductive type.
Used by 1

Lean source view module on GitHub

/-- Scalar phase in the single-qubit Pauli entry formula; |pauliPhase b| = 1. -/
noncomputable def pauliPhase : PauliBasis → ℂ := fun b => match b with | PauliBasis.I => 1 | PauliBasis.X => 1 | PauliBasis.Y => -Complex.I | PauliBasis.Z => 1
See it in the graphDiscuss this resultChallenge it