Efficient determination of the Clifford-hierarchy level of bounded-degree permutation gates
- Field
- Topics
Problem
For each fixed degree bound \(d\geq2\), is there a deterministic polynomial-time algorithm that computes the Clifford-hierarchy level of an \(n\)-qubit permutation gate from degree-at-most-\(d\) algebraic normal forms of the permutation and its inverse, or reports that the gate lies outside the hierarchy? Let \(n\geq1\), and let \(\mathcal P_n\) be the \(n\)-qubit Pauli group, consisting of the operators \(\omega P_1\otimes\cdots\otimes P_n\) with \(\omega\in\{\pm1,\pm i\}\) and \(P_j\in\{I,X,Y,Z\}\). The Clifford hierarchy is defined by
and write \(\mathcal C_\infty(n):=\bigcup_{k\geq1}\mathcal C_k(n)\) and \(\ell_n(U):=\min\{k\geq1:U\in\mathcal C_k(n)\}\) for \(U\in\mathcal C_\infty(n)\).
For a bijection \(\pi:\mathbb F_2^n\to\mathbb F_2^n\), let \(U_\pi|x\rangle:=|\pi(x)\rangle\) be its permutation gate. Each coordinate \(\pi_i:\mathbb F_2^n\to\mathbb F_2\) has a unique algebraic normal form, a multilinear polynomial over \(\mathbb F_2\). Fix an integer \(d\geq2\). An input consists of the algebraic normal forms of all coordinates of both \(\pi\) and \(\pi^{-1}\), each of total degree at most \(d\), so it lists at most
monomials. The required output is \(\ell_n(U_\pi)\), for the levels of Eq. (1), if \(U_\pi\in\mathcal C_\infty(n)\), and a report that \(U_\pi\) lies outside the hierarchy otherwise. No ancillary qubits are allowed. For each fixed \(d\), in particular \(d=2\), is there a deterministic algorithm that produces this output in time polynomial in \(n\), and hence polynomial in the input length bounded by Eq. (2)?
Source
Xu and Wang pose the question explicitly as Open Problem 3 in Section 5, motivated by the quadratic coordinate maps of controlled Clifford permutations [XW26]. This record fixes the input as the degree-at-most-\(d\) normal forms of both \(\pi\) and \(\pi^{-1}\) and requires the algorithm to recognize permutation gates outside the hierarchy.
Progress
Levels up to three are decidable in polynomial time. He, Robitaille, and Tan show that a permutation gate is Clifford exactly when \(\pi\) is affine (Proposition 2.15 of the arXiv version, Proposition 19 of the proceedings version), and that a sign gate \(D_f:=\sum_x(-1)^{f(x)}|x\rangle\langle x|\) lies in \(\mathcal C_k(n)\) exactly when \(\deg f\leq k\) (Lemma 2.11, Lemma 15 of the proceedings version) [HRT26]. With \(e_i\) the \(i\)th standard basis vector,
\begin{equation} U_\pi Z_iU_\pi^\dagger=D_{(\pi^{-1})_i}, \qquad U_\pi X_iU_\pi^\dagger=U_{\tau_i}, \qquad \tau_i(y):=\pi\bigl(\pi^{-1}(y)+e_i\bigr). \tag{3} \end{equation}Since the Clifford group is a group, it suffices to test the conjugates in Eq. (3), as in the proof of their Proposition 4.3 (Proposition 35 of the proceedings version). Hence \(U_\pi\in\mathcal C_3(n)\) exactly when every coordinate of \(\pi^{-1}\) has degree at most two and every \(\tau_i\) is affine; \(U_\pi\in\mathcal C_2(n)\) exactly when \(\pi\) is affine; and \(U_\pi\in\mathcal C_1(n)\) exactly when \(\pi\) is a translation. For fixed \(d\), composing and expanding the given normal forms tests these conditions in time polynomial in \(n\). This criterion is a deduction from the cited results.
Low degree does not bound the level. Lemma 2.13 of He, Robitaille, and Tan (Lemma 17 of the proceedings version) gives only the necessary condition
\begin{equation} U_\pi\in\mathcal C_{k+1}(n) \quad\Longrightarrow\quad \deg(\pi^{-1})_i\leq k\ \text{for every}\ i \tag{4} \end{equation}[HRT26]. Conversely, Proposition 8 of Xu and Wang shows that controlled Clifford permutations have quadratic coordinates, and their inverses are of the same form [XW26]. For \(n\geq3\), the \((n-1)\)-qubit CNOT string whose linear part is a single Jordan block has Pauli periodicity \(\lceil\log_2(n-1)\rceil\), the least \(t\) for which its \(2^t\)th power is a Pauli operator (Corollary 2 of Xu and Wang). Their Theorem 3 then gives a permutation gate on \(n\) qubits with quadratic \(\pi\) and \(\pi^{-1}\) and exact level
\begin{equation} \ell_n(U_\pi)=\lceil\log_2(n-1)\rceil+2. \tag{5} \end{equation}Thus the output grows with \(n\) even for \(d=2\), and neither Eq. (4) nor a polynomial-time test for each fixed level answers the question.
Quadratic permutations can lie outside the hierarchy. On three bits \((c,a,b)\), consider
\begin{equation} \pi(c,a,b):=(c,\ a+cb,\ b+ca+cb), \qquad \pi^{-1}(c,a,b)=(c,\ a+ca+cb,\ b+ca). \tag{6} \end{equation}The permutation in Eq. (6) is the controlled version of the linear map \(V:(a,b)\mapsto(a+b,a)\), a product of two CNOT gates of order three. Every power \(V^{2^t}\) equals \(V\) or \(V^2\), and neither is a Pauli operator, so Corollary 2.4.1 of Anderson and Weippert excludes \(U_\pi\) from every level [AW24]. The gate \(U_\pi\) is the product \(\mathrm{TOF}_{1,2,3}\mathrm{TOF}_{1,3,2}\) of two Toffoli gates, which He, Robitaille, and Tan note lies outside the hierarchy (their footnote 1), citing Eq. (E.2) of Anderson [HRT26], [And24]. An algorithm must therefore also recognize non-membership.
General-purpose procedures are exponential. Appendix D of Anderson counts the conjugation checks implied by the recursive definition: a black-box membership test at level \(k\) uses \(4^{n(k-3)}\cdot2n\) queries in general and, because only Pauli \(X\) strings need to be checked for permutation gates, \(2^{n(k-3)}\cdot n\) queries for permutations, which he notes is still exponential. He also remarks that, because deciding whether a reversible circuit implements the identity is NP-hard, an efficient algorithm determining the level of a general permutation is highly unlikely [And24]. That remark concerns permutations specified by general reversible circuits; it gives no hardness result for bounded-degree algebraic normal forms.
Comment
This is Open Problem 3 of Xu and Wang [XW26]. The source assumes that “both \(\pi\) and/or \(\pi^{-1}\)” admit coordinatewise polynomial representations of total degree at most \(2\), or of a fixed degree, and asks for an efficient algorithm that computes the smallest \(k\) with \(U_\pi\in\mathcal C_k(n)\) from such a description of \(\pi\). This record supplies both descriptions, which gives an algorithm the most generous input, and requires efficiency uniformly in the output level, including recognition of non-membership. No such algorithm and no hardness result for bounded-degree descriptions was located. The polynomial-time criterion for levels at most three rests on the group property of the Clifford group, which fails at higher levels, and Eq. (5) shows that bounded degree does not bound the level. The question also differs from whether every \(n\)-qubit permutation gate in the hierarchy lies in \(\mathcal C_n(n)\): such a universal height bound would not yield an efficient algorithm, and an efficient algorithm would not by itself prove the bound. Open Problem 1 of the same paper is the record on the highest Clifford-hierarchy level of controlled gates with higher-level targets. Literature checked through 15 September 2026.
References
- [XW26]
- Y. Xu and X. Wang, “Controlled jump in the Clifford hierarchy,” arXiv:2602.22201 (2026).DOIarXiv
- [HRT26]
- Z. He, L. Robitaille, and X. Tan, “Characterization of Permutation Gates in the Third Level of the Clifford Hierarchy,” in 21st Conference on the Theory of Quantum Computation, Communication and Cryptography (TQC 2026), LIPIcs 389, 2:1–2:17 (2026).DOIarXiv