Clifford hierarchy
A recursively defined family of gate classes based on how conjugation maps Pauli operators into lower levels.
On this page
Definition, purpose and input assumptions
The Clifford hierarchy organizes gates relevant to teleportation-based and fault-tolerant constructions. Level1 is the Pauli group, and level2 is the Clifford group. Higher levels contain operations whose conjugation of Paulis yields lower-level operations. The hierarchy is a structural classification, not a universal ranking of hardware difficulty.
Mathematical mechanism
Define C1 as Pauli operators and C_(k+1)={U: UPU dagger lies in Ck for every Pauli P}, with appropriate phase conventions. For k above 2, the level is generally not a group under arbitrary multiplication. Therefore composing two level-k gates need not remain in that same level.
Fully solved reference example
For T=diag(1,exp(i pi/4)), TZT dagger=Z and TXT dagger=(X+Y)/sqrt(2). The latter operator is Clifford: conjugating X by A=(X+Y)/sqrt(2) yields Y, conjugating Y yields X, and conjugating Z yields-Z. Thus T maps Pauli generators into Clifford operations and belongs to level3.
T is not level2 because TXT dagger is not itself a Pauli. This calculation distinguishes hierarchy membership from a visual impression that T is only a simple diagonal phase.
Limitations and classical comparison
The hierarchy does not directly determine a unique implementation cost. Codes, allowed measurements and resource-state preparation change the tradeoff. A higher-level gate is not automatically a useful algorithmic primitive or an experimentally available protected operation.
Scientific relationships
The hierarchy generalizes the Clifford group and explains the role of T gates in teleportation-based constructions. It is related to fault-tolerant correction rules but distinct from a hardware gate catalog.
Dyadic phase gates and a recursive conjugation identity
Define P_k=diag(1,e^{iπ/2^{k-1}}). The first examples are Z at k=1, S at k=2, T at k=3, and the π/8 phase gate at k=4. If θ=π/2^{k-1}, then P_k X P_k†=cos θ X+sin θ Y=e^{-iθ}P_{k-1}X. The phase angle doubles in the lower-level factor, while Z remains unchanged under conjugation.
Multiplication by a Pauli preserves a hierarchy level under the usual phase convention. Conjugating another Pauli through VP changes only a Pauli sign before V acts, and left multiplication by a Pauli conjugates the result within the same level. This provides the inductive structure behind the dyadic phase family. On one qubit, the remaining Y case can also be checked explicitly from its sine and cosine expression, rather than assuming closure that may fail at higher levels.
For P4, the image of X is A=cos(π/8)X+sin(π/8)Y. It belongs to level three because it is, up to phase, TX. But A is not Clifford: conjugating X by A gives (X+Y)/√2, which is not a Pauli. Therefore P4 belongs to level four and not level three. This calculation fixes the hierarchy indexing and prevents confusing a phase angle with its doubled rotation convention.
An explicit failure of closure at the third level
Both T and HT belong to the third level: T does by its Pauli conjugation rule, and a Clifford factor preserves that membership. Their product is U=THT. Conjugating X gives A=(1/2)X-(1/2)Y+(1/√2)Z. This is a Hermitian unitary because its Pauli coefficient vector has unit length, but it is not Clifford.
To check that last statement, conjugate X by A. The result is -(1/2)X-(1/2)Y+(1/√2)Z, again a nontrivial combination of Pauli axes rather than a single signed Pauli. Hence UXU† is not a Clifford operator, so U is outside the third hierarchy level. Two third-level gates have produced a unitary outside that same level.
The example explains why assigning a circuit the maximum level of its gates is invalid. It also clarifies a subtle verification rule. To prove third-level membership, checking Pauli generators can suffice because their images lie in the Clifford group, which is closed under multiplication. For higher levels, the target level may not be a group, so generator checks alone need an additional argument covering products or the full required Pauli set.
A multiqubit diagonal example and correction descent
CCZ multiplies |abc> by (-1)^{abc}. Conjugating X on the first qubit compares the phase before and after flipping a, leaving the factor (-1)^{bc}. Thus CCZ X0 CCZ†=X0 CZ12. The analogous formulas hold for X1 and X2, and every Z operator commutes with CCZ. The correction images are Clifford, establishing that CCZ lies at the third level.
The phase-polynomial derivation and this conjugation derivation answer different questions. A decomposition into T-type phases gives an implementation upper bound, while the hierarchy calculation classifies how Pauli corrections transform. Neither alone supplies a fault-tolerant resource estimate. Ancillary states, code choice, measurement availability, routing, and synthesis accuracy determine the actual implementation cost.
In gate teleportation, a Pauli byproduct P becomes UPU† when the target gate is moved through the correction. A level-k gate therefore produces a correction in level k-1. For a third-level target, the correction is Clifford; for the π/8 phase example, it can be third level. This descent organizes a recursive correction strategy but still requires the resource state and conditional correction operations.
What hierarchy membership does and does not measure
A hierarchy level is an exact algebraic property under a chosen phase convention. It is not a continuous measure of distance from a Clifford gate. A small arbitrary-angle rotation can be close to identity yet fail to belong to a particular finite level exactly. Approximate synthesis into a finite library is a separate question with its own error tolerance.
The hierarchy also does not classify every possible unitary into one finite level. Its usefulness comes from structured families and their correction behavior. Universal computation can use compositions whose individual gates belong to familiar levels, even though the full circuit does not remain at a fixed low level. The closure counterexample is consistent with that broader expressive power.
For a concrete classical check, one-qubit conjugation can be verified through two-by-two matrices or Bloch-axis transformations, while the CCZ identities can be checked on all eight basis states. These checks establish the stated finite examples without assuming a large-scale compiler or an error-corrected device.
Sources
Verification scope
Recorded source check ·
Full primary text indexed, 6 pages, 663 lines; recursive conjugation hierarchy and teleportation correction context inspected.
Source-access record and selected assumptions only; no exhaustive external review, new hardware run, or generalized empirical-advantage claim.
Verification scope
Selected source text checked ·
Source anchors gate-decomposition conventions. New worked instances are independent mathematical constructions, not reported experiments.