We present a complete set of rewrite rules for n-qutrit Clifford circuits where n is any non-negative integer.This is the first completeness result for any fragment of quantum circuits in odd prime dimensions.We first generalize Selinger's normal form for n-qubit Clifford circuits to the qutrit setting.Then, we present a rewrite system by which any Clifford circuit can be reduced to this normal form.We then simplify the rewrite rules in this procedure to a small natural set of rules, giving a clean presentation of the group of qutrit Clifford unitaries in terms of generators and relations.
We propose a normal form for single-qudit gates composed of Clifford and
T-gates for qudits of odd prime dimension
p≥5. We prove that any single-qudit Clifford+
T operator can be re-expressed in this normal form in polynomial time. We also provide strong numerical evidence that this normal form is unique. Assuming uniqueness, we are able to use this normal form to provide an algorithm for exact synthesis of any single-qudit Clifford+
T operator with minimal
T-count.
We propose a normal form for single-qudit gates composed of Clifford and
T-gates for qudits of odd prime dimension
p≥5. We prove that any single-qudit Clifford+
T operator can be re-expressed in this normal form in polynomial time. We also provide strong numerical evidence that this normal form is unique. Assuming uniqueness, we are able to use this normal form to provide an algorithm for exact synthesis of any single-qudit Clifford+
T operator with minimal
T-count.
The Clifford group plays a central role in quantum information science. It is the building block for many error-correcting schemes and matches the first three moments of the Haar measure over the unitary group-a property that is essential for a broad range of quantum algorithms, with applications in pseudorandomness, learning theory, benchmarking, and entanglement distillation. At the heart of understanding many properties of the Clifford group lies the Clifford commutant: the set of operators that commute with k -fold tensor powers of Clifford unitaries. Previous understanding of this commutant has been limited to relatively small values of k , constrained by the number of qubits n . In this work, we develop a complete theory of the Clifford commutant. Our first result provides an explicit orthogonal basis for the commutant and computes its dimension for arbitrary n and k . We also introduce an alternative and easy-to-manipulate basis formed by isotropic sums of Pauli operators. We show that this basis is generated by products of permutations, which generate the unitary group commutant, and at most three other operators. Additionally, we develop a graphical calculus allowing a diagrammatic manipulation of elements of this basis. These results enable a wealth of applications: among others, we characterize all measurable magic measures and identify optimal strategies for stabilizer property testing, whose success probability also offers an operational interpretation to stabilizer entropies. Finally, we show that these results also generalize to multi-qudit systems with prime local dimension.
We prove the first completeness theorem for a multi-qubit fragment of the third Clifford level (
C3). Let
F be the single-phase 3-qubit fragment: the 42 states of the form
Ti(±)⋅Bk⋅∣+++⟩, where
Bkk=06 are the seven CZ-type base circuits of the Origami ISA and
Ti(±)∈Ti,Ti† applies a single T gate to qubit
i. We define a rewrite system
R=R3,R4 on
F: R3 (T-absorption):
Ti⋅Bk⋅∣+++⟩→Bk⋅∣+++⟩ when the T gate acts trivially on the reduced state of qubit
i in
Bk∣+++⟩. R4 (SWAP normalisation): reorder qubits into lexicographically smallest equivalent representative. Theorem 1 (Completeness). Two states
ψ1,ψ2∈F satisfy
ψ1=eiθψ2 for some
θ∈R if and only if
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 (
N=0,
TV<1), and 2 genuine magic (
N>0) — where
TV(ψ)=∑u∣Wψ(u)∣ is the total variation of the discrete Wigner function. A key corollary: the magic class of any state in
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
C3 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
We prove the first completeness theorem for a multi-qubit fragment of the third Clifford level (
C3). Let
F be the single-phase 3-qubit fragment: the 42 states of the form
Ti(±)⋅Bk⋅∣+++⟩, where
Bkk=06 are the seven CZ-type base circuits of the Origami ISA and
Ti(±)∈Ti,Ti† applies a single T gate to qubit
i. We define a rewrite system
R=R3,R4 on
F: R3 (T-absorption):
Ti⋅Bk⋅∣+++⟩→Bk⋅∣+++⟩ when the T gate acts trivially on the reduced state of qubit
i in
Bk∣+++⟩. R4 (SWAP normalisation): reorder qubits into lexicographically smallest equivalent representative. Theorem 1 (Completeness). Two states
ψ1,ψ2∈F satisfy
ψ1=eiθψ2 for some
θ∈R if and only if
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 (
N=0,
TV<1), and 2 genuine magic (
N>0) — where
TV(ψ)=∑u∣Wψ(u)∣ is the total variation of the discrete Wigner function. A key corollary: the magic class of any state in
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
C3 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