Nine Normal Forms: A Complete Rewrite System for the Single-Phase Three-Qubit Fragment of the Clifford Hierarchy
Ian Richard C Buckley
Abstract
We prove the first completeness theorem for a multi-qubit fragment of the third Clifford level ($\mathsf{C}3$). Let $\mathcal{F}$ be the single-phase 3-qubit fragment: the 42 states of the form $T_i^{(\pm)} \cdot B_k \cdot |{+}{+}{+}\rangle$, where ${B_k}{k=0}^{6}$ are the seven CZ-type base circuits of the Origami ISA and $T_i^{(\pm)} \in {T_i, T_i^\dagger}$ applies a single T gate to qubit $i$. We define a rewrite system $\mathcal{R} = {R3, R4}$ on $\mathcal{F}$: R3 (T-absorption): $T_i \cdot B_k \cdot |{+}{+}{+}\rangle \to B_k \cdot |{+}{+}{+}\rangle$ when the T gate acts trivially on the reduced state of qubit $i$ in $B_k |{+}{+}{+}\rangle$. R4 (SWAP normalisation): reorder qubits into lexicographically smallest equivalent representative. Theorem 1 (Completeness). Two states $\psi_1, \psi_2 \in \mathcal{F}$ satisfy $\psi_1 = e^{i\theta}\psi_2$ for some $\theta \in \mathbb{R}$ if and only if $\mathcal{R}$ reduces both to the same SWAP-normal form. There are exactly 9 normal forms. The proof follows the standard term-rewriting route: (i) termination via a two-component measure (C$_3$-gate count, lexicographic qubit order); (ii) local confluence by explicit critical-pair analysis; (iii) global confluence by Newman's lemma; (iv) faithfulness by exact state-vector comparison. The 9 normal forms partition into three resource tiers — 1 stabiliser, 6 dark magic ($\mathcal{N} = 0$, $\mathrm{TV} < 1$), and 2 genuine magic ($\mathcal{N} > 0$) — where $\mathrm{TV}(\psi) = \sum_u |W_\psi(u)|$ is the total variation of the discrete Wigner function. A key corollary: the magic class of any state in $\mathcal{F}$ is decidable at compile time by a single rule application of R3, with no state tomography required. This is the first completeness result for any multi-qubit $\mathsf{C}_3$ rewrite system. Prior completeness results (Hadzihasanovic–Ng–Wang 2018; Jeandel–Perdrix–Vilmart 2018) covered single-qubit Clifford+T; this result covers the 3-qubit single-phase case. Part of the Origami ISA series. Companion papers: 466 (CZ-type bases) · 467 (magic orbits) · 468 (ISA as coloured PROP) · 470 (three-tier resource theory) Keywords: quantum resource theory, magic states, Clifford hierarchy, rewrite systems, confluence, normal forms, dark magic, Wigner function, total variation, stabiliser states, T gate, Origami ISA, categorical quantum mechanics, PROP, term rewriting