Skip to main content
KetQat

Appearance

Proof · advanced

Proof of the phase-polynomial form

Track, gate by gate, the parity of the input carried by each wire and the phase accumulated so far; CNOTs update the parities linearly and each T power adds a multiple of one parity to the phase. A parity network realises any given form with one odd T power per odd term.

Established resultMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

(a) Invariant. After the first ss gates, claim that Cs∣x⟩=ωps(x)∣Lsx⟩C_s \ket{x} = \omega^{p_s(x)} \ket{L_s x} with LsL_s invertible over F2\F_2 and ps=∑aca(s)(a⋅x)p_s = \sum_a c^{(s)}_a (a \cdot x). Initially L0=IL_0 = I, p0=0p_0 = 0. Write ℓq\ell_q for row qq of LsL_s, so wire qq currently holds the parity ℓq⋅x\ell_q \cdot x; the rows are linearly independent and hence nonzero.

  • A CNOT with control qq and target rr replaces row rr by ℓr⊕ℓq\ell_r \oplus \ell_q. This is an invertible row operation, so Ls+1L_{s+1} is invertible; the phase is unchanged.
  • TcT^{c} on wire qq multiplies ∣Lsx⟩\ket{L_s x} by ωc (ℓq⋅x)\omega^{c\,(\ell_q \cdot x)}, so ps+1=ps+c (ℓq⋅x)p_{s+1} = p_s + c\,(\ell_q \cdot x), i.e. cℓq(s+1)=cℓq(s)+cc^{(s+1)}_{\ell_q} = c^{(s)}_{\ell_q} + c; LL is unchanged.

Induction over the gates gives (a), with the coefficients obtained by summing the powers applied whenever a wire carried each parity.

(b) Counting. By the construction in (a), the final coefficient cac_a is the sum of the powers cc of the gates applied while some wire carried parity aa. If cac_a is odd, at least one of those powers is odd. Distinct aa with odd cac_a therefore need distinct odd-power gates, so there are at most tt of them.

For the converse, let a(1),…,a(m)a^{(1)}, \dots, a^{(m)} be the parities with ca≠0c_a \ne 0, of which kk have odd coefficient. For each jj in turn: choose a wire qq such that a(j)a^{(j)} has a 1 in position qq; apply CNOTs from every other wire rr with ar(j)=1a^{(j)}_r = 1 onto qq, so wire qq holds a(j)⋅xa^{(j)} \cdot x; apply Tca(j)T^{c_{a^{(j)}}} to wire qq; then undo the CNOTs in reverse order. Each block contributes exactly ca(j)(a(j)⋅x)c_{a^{(j)}} (a^{(j)} \cdot x) to the phase and leaves the wires as they were. Finally apply a CNOT circuit implementing x↦Lxx \mapsto L x (any invertible matrix over F2\F_2 is a product of elementary row operations, each a CNOT, possibly after reordering wires, and a wire permutation is a product of SWAPs, each three CNOTs). The resulting circuit implements ∣x⟩↦ωp(x)∣Lx⟩\ket{x} \mapsto \omega^{p(x)} \ket{L x} with exactly one gate TcT^{c} for each nonzero cac_a, of which exactly kk have odd cc; the others are SS, ZZ or S†S\dagg, which are Clifford. This is the representation used by Amy, Maslov and Mosca.

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Matthew Amy, Dmitri Maslov, Michele Mosca (2014). Polynomial-time T-depth Optimization of Clifford+T circuits via Matroid Partitioning. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 33, 1476-1489. doi:10.1109/TCAD.2014.2341953arXiv:1303.2042

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Proof re-derived against theorem/phase-polynomial-form: the invariant C_s|x> = omega^{p_s(x)}|L_s x> under CNOT row operations and T^c phases, the odd-coefficient count, and the parity-network construction for the converse. Own simulation (n=3, 200 random CNOT+T^c circuits; 100 random coefficient vectors for the construction) confirmed the tracked (L, c_a) reproduce every circuit exactly and the constructed circuits realise the given phase polynomial. Compared with Amy, Maslov and Mosca, arXiv:1303.2042, Lemma 3 (CNOT+T circuits are exactly the maps |x> -> omega^{p(x)}|g(x)> with p a Z_8-weighted sum of linear Boolean functions); metadata matched Crossref.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
  2. 2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10

Current revision a2732f75693d9714. Source file knowledge/records/proof/phase-polynomial-form.md in the content repository (readable there once it is public).