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 give three finite presentations in terms of generators and relations for three groups of operators. The operators are frequently used in quantum computation. The result can potentially be used to optimize quantum circuits. Two of the three proofs use the Reidemeister-Schreier theorem. Both the Reidemeister-Schreier theorem and the two proofs using it have been formally verified in the proof assistant Agda. First, we give a finite presentation of the group of 2-qubit Clifford+T operators. The proof applies the Reidemeister-Schreier theorem to a finite presentation of a supergroup of the 2-qubit Clifford+T group that was given by Greylyn. The process generates hundreds of relations. We then simplify them to 20 relations using a Pauli rotation representation as an almost-normal form. Second, we give a finite presentation of U_n (Z[1/2, i]), the group of unitary n × n- matrices with entries in Z[1/2, i]. Amy, Glaudell, and Ross showed that this group is generated by a certain set of two-level matrices, and they also gave an exact synthesis algorithm that converts any element of U_n (Z[1/2, i]) to a word in these generators. We say that a word is in normal form if it is an output of the exact synthesis algorithm. Using what we call semantically guided rewriting, we show that each word in the two-level generators is equivalent to a normal form under the congruence generated by finitely many relations. Third, we give a finite presentation of the group of 3-qubit Clifford+CS operators. Amy, Glaudell, and Ross proved that up to a condition on the determinant, the n-qubit Clifford+CS group is exactly U_(2^n) (Z[1/2, i]). In particular, the 3-qubit Clifford+CS group is a subgroup of U_8 (Z[1/2, i]) of index 2. Using a similar technique as in our first result, we repeatedly apply the Reidemeister-Schreier theorem to the presentation of U_8 (Z[1/2, i]) (from our second result), and then simplify thousands of relations into 17 relations. To do the simplification, we devise an almost-normal form for Clifford+CS operators. We also show that the 3-qubit Clifford+CS group, which is of course infinite, is the amalgamated product of three finite subgroups.