OctoInform Beta

the paper · §I. Single-qubit gates, XY interaction, and iSWAP · §I

Equality up to global phase: Matrix equality up to a scalar c∈ℂc \in \mathbb{C} with |c|=1|c| = 1 is reflexive, symmetric, and transitive

Equality up to global phase is an equivalence relation.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The setting

In quantum circuits and gate synthesis, two unitary operators that differ only by an overall unit-modulus complex factor produce the same physical evolution and measurement statistics. Identifying matrices that differ by such a global phase factor allows gate identities and circuit decompositions to be chained across consecutive steps.

For arbitrary index sets mm and nn, let ℂm×n\mathbb{C}^{m \times n} denote the set of complex matrices with rows indexed by mm and columns indexed by nn. Two matrices U,V∈ℂm×nU, V \in \mathbb{C}^{m \times n} are equal up to global phase, written U∼VU \sim V, if there exists a complex scalar c∈ℂc \in \mathbb{C} with |c|=1|c| = 1 satisfying (1): U=cV.U = c V.(1)✦

The claim

Lemma. For any index sets mm and nn, equality up to global phase is an equivalence relation on ℂm×n\mathbb{C}^{m \times n}: for all U,V,W∈ℂm×nU, V, W \in \mathbb{C}^{m \times n}, U∼U,U∼V⟹V∼U,U∼V and V∼W⟹U∼W.\begin{aligned} U &\sim U, \\ U \sim V &\implies V \sim U, \\ U \sim V \text{ and } V \sim W &\implies U \sim W. \end{aligned}(2)✦

What is checked

The Lean library states the equivalence relation (2) for equality up to global phase (1) on complex matrices ℂm×n\mathbb{C}^{m \times n} over arbitrary index sets mm and nn.