Exact universality of symmetric quantum circuits
for arbitrary permutation actions
Abstract
We prove exact universality of symmetric quantum circuits for every finite permutation action on qubits. In the model of arbitrary one-qubit gates and reversible unbounded-fan-in threshold gates, a unitary has a symmetric circuit with clean workspace if and only if it commutes with the given action. Symmetry is required at every layer: each permutation in the given action must admit an extension to all wires that preserves every layer as a set of commuting gates. This answers the arbitrary-group universality question of Castro-Silva, Gur, and Strelchuk (ITCS 2026). For active qubits, the nonuniform construction uses gates and workspace qubits. The main difficulty is that equivariance of a Pauli expansion makes its coefficients constant on orbits, but does not make its individual terms equivariant. We assign a selector wire to each Pauli word and let the group act on these wires. Symmetric preparation and commuting incidence layers then give a block encoding of the target unitary. Exact oblivious amplification removes the normalization using reflections that tolerate permuted workspace, returning all ancillary qubits to their initial zero state and retaining the target global phase.
Note. This paper was generated entirely by AI, including MiMo, using an automated research pipeline developed by Chenghua Liu and Hanyu Li.
1 Introduction
A unitary can respect a permutation of its qubits while its elementary gate decomposition distinguishes them. The swap of two qubits is a basic example: it commutes with interchanging the two wires, but its usual three-CNOT realization starts with a gate whose control and target are exchanged by that permutation. The first layer is therefore not preserved. Operator equivariance alone does not guarantee the wire automorphisms required of a symmetric circuit.
Castro-Silva, Gur, and Strelchuk formalize this requirement using circuits of arbitrary one-qubit gates and reversible threshold gates, organized into layers of pairwise commuting gates [1]. Every permutation of the active wires in the prescribed group must extend to a permutation of all circuit wires preserving each layer. Workspace qubits may be permuted among themselves. Their universality theorem handles partition groups , acting on disjoint blocks, and they leave universality for arbitrary permutation actions open [1, Theorem 12 and Section 1.5]. We prove that commutation with the action is sufficient in every case, with exact implementation on the full Hilbert space and workspace returned to zero.
The partition-group proof combines simple equivariant unitaries by a symmetric linear-combination construction [1, Lemma 10]. A Pauli expansion supplies simple unitaries for an arbitrary action, but loses the hypothesis that each summand is equivariant. Taking orbit sums does not repair this: even for two interchangeable qubits, the exchanged words and have a sum with a nontrivial kernel. Orbit sums supply equivariant operators but do not give the unitary summands required by the linear-combination lemma.
We retain the individual Pauli words and give each one a selector wire. Under an active-wire permutation, the selector wires are permuted by the induced action on Pauli words. Equal coefficients on each orbit then allow a symmetric superposition of one-hot selector states. Selection respects the joint action on the active and selector wires, although selecting an individual word need not respect the active action alone. This is the role of permutable workspace in the proof: it carries the labels needed to apply the individual summands without choosing an orbit representative.
There are two further circuit constraints. First, controlled Pauli words can fail to commute when several selector bits are one. Their behavior on those inputs matters even though the prepared selector is one-hot, because commutation within a layer is an operator identity on the full Hilbert space. We split selection according to the three nonidentity Pauli symbols; each stage uses a commuting CNOT incidence layer between uniform local basis changes. Second, preparation and selection produce a normalized block of the target unitary, rather than the unitary itself. Its normalization is independent of the active input, so exact oblivious amplification applies. The required all-zero workspace test is preserved by every workspace permutation, allowing amplification to use the same wire action as selection.
1.1 Main result
Let be a finite set of active wires, let , and write . The symmetric group on is denoted by . Its tensor-factor permutation representation is
We call a unitary -equivariant if for all .
A clean implementation returns every workspace qubit to for every active input, with the target global phase retained. We count each one-qubit or unbounded-fan-in threshold gate once, and write and for the number of gates and workspace qubits. Section 2 gives the precise circuit conventions.
We use the phase-free Hermitian Pauli basis , where
Theorem 1.1 (Universality for finite permutation actions).
Let be finite and . A unitary on has an exact clean-workspace -symmetric circuit if and only if it commutes with .
For , write , and put
If is -equivariant, a realizing circuit can be chosen with
| (1) |
In particular, since , the gate count is and hence . These bounds hold both when equality gates are counted as single gates and when they are expanded into threshold and one-qubit gates. If , one fixed clean workspace qubit and one one-qubit gate suffice.
The theorem is nonuniform: the one-qubit parameters depend on the exact Pauli coefficients, and the size bound does not include their classical computation or representation. In the worst case the circuit has exponential size. The gate model also counts an unbounded-fan-in threshold test as one gate, independently of its number of control wires. These are the resources under which the universality statement holds.
Several related notions of symmetry impose different constraints. Representation-adapted layers and their learning-theoretic properties are studied in equivariant quantum neural networks [4, 5]. Symmetry-adapted projections for many-body simulation are studied by Bastidas et al. [6]. Our concern is the realizability of an arbitrary equivariant unitary by elementary gates whose individual layers admit the required wire automorphisms, rather than the construction of symmetry-adapted operators alone.
Universality also depends on the available interactions. Kazi, Larocca, and Cerezo identify relative-phase restrictions for fully permutation-equivariant generators of bounded bodyness [7]. Deliyannis and Marvian prove realizability of all fully permutation-invariant unitaries, up to global phase, using global fields and a Tavis–Cummings interaction with a bosonic mode returned to its initial state [8, Theorem 1]. Local symmetric-gate models can exhibit both nonuniversality and its removal by ancillary resources [9]. In our model, symmetry may permute the elementary gates within a commuting layer, with the ancillary wires participating in the same action. The proof below constructs those layer automorphisms explicitly. Numbered citations to [1] refer to its full arXiv version 2.
2 Circuit symmetry and selector preparation
We first fix the circuit conventions, then construct the selector state used in the Pauli expansion. Besides arbitrary gates in , the elementary gates are reversible threshold gates , where the control set does not contain the head wire . On a computational-basis state, this gate toggles if and only if , leaving all other bits unchanged. We also write for the corresponding equality test . For ,
| (2) |
where is the one-qubit bit flip and . Thus an equality gate abbreviates at most two allowed gates and uses no additional qubit. The control sets are unbounded in size; the gate count does not count control incidences separately. Throughout, operator products act from right to left.
Definition 2.1 (Symmetric circuits and clean implementation).
A circuit on disjoint active and workspace wire sets and is a sequence of layers, each consisting of pairwise commuting elementary gates. It is -symmetric if, for every , there is a permutation whose restriction to is , such that relabeling wires by maps each layer to itself as a set of labeled gates. In particular, gate parameters, control sets, and head wires are respected under this relabeling.
The circuit exactly implements with clean workspace if
| (3) |
Its size is its number of gates, and its workspace size is .
The symmetry condition is Definition 12 of [1]; cleanliness is the additional implementation requirement in (3). A lift necessarily preserves setwise, but it need not fix its wires individually. The definition asks for a lift separately for each , without requiring a homomorphism. Our construction supplies a single explicit group action on all wires. This also ensures that the same lifts work for every subcircuit we concatenate.
Lemma 2.2.
Every unitary implemented by a clean -symmetric circuit is -equivariant.
Proof.
Fix and an associated lift . Relabeling permutes the gates in each layer, and these gates commute. Hence the circuit unitary commutes with . Since the lift preserves and separately and fixes , applying this commutation identity to and using (3) gives . ∎
For the converse, the Pauli coefficients determine both the selector amplitudes and the phases to be applied during selection. Assume . Orthogonality of the Hermitian Pauli basis gives
| (4) |
For , define . This action only permutes tensor factors; it introduces no signs.
Lemma 2.3.
If is -equivariant, then for every and . Moreover, .
Proof.
Cyclicity of trace and commutation with give
Since , expanding in this basis yields . ∎
It follows that is -stable and
| (5) |
Indeed, the lower bound is , and the upper bound is Cauchy–Schwarz on the nonzero coefficients. Define
Both parameters are constant on each orbit, and .
Introduce selector wires , with group action . Let be the computational-basis state whose only nonzero bit is on . We will prepare
| (6) |
Each distinct Pauli word has one selector wire, irrespective of its stabilizer. Thus there is no multiplicity from indexing by group elements.
The amplitudes in (6) have no preferred order within an orbit, so we prepare them through simultaneous local rotations and a Hamming-weight test. A product of one-qubit states with amplitude ratios already has the desired relative amplitudes on weight one. The probability of that subspace lies between and , regardless of . We lower it to with one auxiliary rotation, making two amplification steps exact. We record the reflection identity first; its isometry formulation will later amplify every active input at once.
Lemma 2.4 (Two-reflection identity).
Let be an orthogonal projector on a finite-dimensional Hilbert space, and let be isometries into that space from the same Hilbert space . Suppose that , where . Put
Then is an isometry orthogonal to , and for every integer ,
| (7) |
Proof.
Applying again gives . Hence , and substitution into the definition of gives , , and . In the orthogonal coordinates given by and , the starting isometry is represented by , and
on their joint range. Multiplying this matrix sends to . Iteration proves (7). ∎
We use the rotation convention
In particular, and . A reversible predicate test with head in leaves that head unchanged and contributes a minus sign exactly when the predicate holds. We use this phase-kickback implementation for all reflections below.
Lemma 2.5 (Symmetric one-hot preparation).
There is a circuit on and three additional wires such that
Every permutation of the selector wires within each -orbit, extended by fixing the three additional wires, preserves every layer of .
Proof.
Apply to each , and denote the resulting one-layer circuit by . Then
Let project onto the weight-one subspace of . We have , so the success probability is . The inequalities
give .
The weight-one probability need not correspond to an exact integer number of Grover rotations. The adjustment wire corrects this, while stores a predicate and supplies phase kickback. Set , and choose by
| (8) |
This is possible because . Let apply on and on , acting trivially on . On , define
The projector onto weight one on , zero on , and one on sends to .
Here are explicit gates for the two required reflections. Put
| (9) |
On the subspace where and , the rightmost computes the weight-one predicate into , the middle gate contributes a minus sign precisely when this predicate and both hold, and the leftmost returns to zero. Thus is the good reflection on this invariant subspace. With , the gate reflects about ; consequently, reflects about . Both reflections preserve the subspace .
Lemma 2.4, applied within that subspace with , now gives
since and . In particular, an explicit preparation circuit is
| (10) |
The final bit flip resets , the rotation resets , and the computed predicate on has already been uncomputed. Since the two reflection steps contribute phase , this is the exact preparation identity, including its phase.
To verify the circuit symmetry, implement the rotations on as one layer, each fixed-wire rotation as its own layer, and each equality gate in (9) as its own layer. The parameters are equal within each orbit, so the layers of and are preserved under all orbitwise selector permutations. Every equality control set either contains all of and some fixed wires or consists entirely of fixed wires. Its head is fixed. These permutations therefore preserve every layer of (10). There are five occurrences of or and only a constant number of other gates, giving . Expanding the equality gates by (2), using a separate layer for each factor, preserves the same symmetries and count up to a constant factor. ∎
3 A symmetric Pauli block encoding
A prepared one-hot selector asks for exactly one Pauli word to be applied. The circuit implementing this request must still be a unitary on every selector input. In particular, controlled Pauli words cannot all be put in one commuting layer: two anticommuting words still anticommute on the branch where both of their controls are one. Ordering these whole-word gates arbitrarily would distinguish labels that the group may exchange. We instead order the three Pauli symbols, which are fixed by wire permutations, and put every incidence of a given symbol in the same commuting stage.
For , let be the unitary of the incidence layer
| (11) |
Here denotes the factor of at wire . All controls lie in and all targets in , so no target is a control of another gate. Gates with a common target apply the same bit flip, and gates with distinct targets also commute. Thus is a legal layer. Each CNOT is a threshold gate with one control.
Let be the Hadamard gate and . The identities and give controlled-symbol stages
Each uniform tensor product is a layer of identical one-qubit gates on . Define the selector phase layer and the selection circuit by
| (12) |
For a one-hot selector, only the incidences belonging to its selected word are active. The three stages then act on disjoint positions in that word, so their order introduces no Pauli phase. It follows that
| (13) |
Equation (13) specifies the action needed for the block encoding. The same elementary circuit defines a unitary on all other selector inputs, and every incidence layer remains a legal commuting layer.
For every , use the lift
| (14) |
The phase layer is preserved because . The identity shows that each incidence layer is preserved. The uniform basis-change layers are preserved as well. Lemma 2.5 supplies precisely the same lift for , and also for . More generally, a lift preserving a circuit’s layers preserves its inverse layers: taking adjoints preserves commutativity and reverses only the order of the layers.
Let contain the selectors and the three preparation wires. Extend trivially to the latter wires, and put
| (15) |
This is a -symmetric circuit under (14), which in fact defines a homomorphism on all its wires. Its all-zero workspace block is
| (16) |
The first equality only uses the action of on the all-zero state and its adjoint. Thus the unspecified action of the preparation circuit on other inputs does not enter the block identity. The normalization leaves a nonzero-workspace component when ; its norm is determined by unitarity, as follows.
In that case, with , unitarity of and gives, for each unit vector ,
| (17) |
where
is a unit vector in . In particular, the success probability is independent of the input.
There are at most CNOT incidences across the three symbol stages, selector phases, and basis-change gates. Together with Lemma 2.5, this yields
| (18) |
4 From block encoding to exact universality
The block encoding succeeds with the same probability on every active input. This allows amplification without a reflection about the unknown input state. This is the input-independent setting of oblivious amplitude amplification used for linear combinations of unitaries [3, Section I]. The symmetric oblivious-amplification statement in [1, Lemma 7] assumes workspace fixed pointwise, whereas our selector wires are permuted. The proof only needs a reflection about the whole zero-workspace subspace. Its equality test uses the workspace as an unordered control set, so it remains symmetric under precisely those permutations. We give the construction with its exact phase to obtain literal equality with the target unitary.
Lemma 4.1 (Exact symmetric oblivious amplification).
Let be a -symmetric circuit on active wires and workspace , and let be a unitary on . Suppose that, for a specified ,
| (19) |
Then has an exact clean-workspace -symmetric circuit using workspace qubits and gates. Every lift witnessing the symmetry of extends to a lift for this circuit by fixing the two new wires.
Proof.
Add an adjustment wire and a phase-kickback wire , both fixed under every lift. Set
| (20) |
The angle exists uniquely because
Let apply on and on , and act trivially on . For the moment omit the last wire, and define the zero-workspace embedding
Put , , and . The maps and are isometries because and are unitary. The block identity (19) gives
The scalar is the same on all of . Consequently the two isometric copies of rotate through a common angle, and Lemma 2.4 applies simultaneously to every input, with domain .
Initialize in and set
| (21) |
On this invariant -subspace, implements , while implements . Consequently, (7) and imply
where the unchanged factor is suppressed. The good output has and exactly zero. Apply to to return it to zero as well. Finally, let be the identity if is even and the one-qubit gate on if is odd. An explicit circuit for literal , including its global phase, is therefore
| (22) |
The scalar correction does not disturb a clean qubit and uses no additional wire. No unknown input-dependent reflection is required.
It remains to check the syntax. Fix a lift for . Its restriction to is a permutation, so it preserves the whole control set in (21); the head is fixed. Every fixed-wire gate and every layer of or is also preserved. Implement by the layers of , followed by a separate layer for its rotation on . The circuit in (22) then has the asserted layer automorphisms. The same check applies to each factor when is expanded using (2).
There are calls to or , together with other gates. Since , this gives the claimed size. Only and have been added to . ∎
Applying the lemma to the Pauli block encoding completes the construction. The unit-normalization case can be handled directly, so no singular amplification parameters are needed.
Proof of Theorem 1.1.
Necessity is Lemma 2.2. For sufficiency, first assume and use the block circuit from (15). If , apply Lemma 4.1 with and . Its hypotheses follow from (16), and the lifts (14) fix the two new wires. The resulting circuit exactly implements and returns all workspace to zero, including the selector and both sets of amplification wires.
If , amplification is unnecessary. For a unit vector , the zero-workspace component of is , already of norm one. As is unitary, its orthogonal component has norm zero. Thus itself is a clean implementation. In this case, the identity
also shows that ; the target is a scalar of modulus one times a single Pauli word.
For , the amplification count is . Combining (18) with Lemma 4.1, and using , gives . The same bound holds when . There are block-encoding workspace qubits and at most two more for outer amplification. Equation (5) and now give every bound in (1). All equality gates used here occur in separate layers. Their threshold expansions retain these symmetries and add no workspace, so the bounds apply to the stated elementary gate set.
Finally, if , then and for some . The allowed one-qubit gate , applied to one fixed workspace wire in , implements this scalar exactly and leaves that wire clean. ∎
Corollary 4.2.
Let a finite group act on through a homomorphism , not necessarily injectively. Every unitary commuting with has an exact clean circuit symmetric under this action, with the bounds of Theorem 1.1.
Proof.
Apply the theorem to , and compose its explicit action on the circuit wires with . The kernel of acts trivially on every wire. ∎
The selector cost is controlled by the number of Pauli words, not the number of their orbits. Replacing an orbit by a single selector label would no longer specify which of its individual words should be applied; the corresponding orbit sum need not be unitary. Thus orbit-constant coefficients explain symmetry of the construction but do not, by themselves, compress it. Appendix A records a different route through symmetric Choi-state preparation, with that preparation made an explicit hypothesis.
Appendix A A conditional construction from a Choi state
An exact symmetric preparation of the Choi state of would also suffice for exact symmetric synthesis of . The reduction below records the required workspace action and normalization. It is conditional on that state-preparation circuit and independent of the Pauli construction.
Let , let , and let be three copies of the wire set . Define
The diagonal action of on fixes : it permutes the summation labels in both factors in the same way. Since commutes with this action on , the diagonal action also fixes .
Suppose a circuit , symmetric under that diagonal action, prepares from zero using additional workspace , returned to zero. Each of its chosen lifts is assumed to restrict to the prescribed action on both and . Let be Bell preparation on corresponding pairs: a uniform Hadamard layer on , followed by the layer of CNOTs from to . Then . Define
with every factor extended by the identity on unused wires. The register swap is three layers of CNOTs on corresponding pairs. Extending each lift of by the same action on preserves every Bell-unpreparation and swap layer. Thus is symmetric with active register and workspace .
For , direct contraction gives
| (23) |
Before the swap, the all-zero component on is therefore ; is already zero. The swap moves the output to , so
Lemma 4.1 applies with . The resulting resource estimates depend on and . An independently efficient symmetric Choi-state preparation would therefore give an alternative synthesis route; the bounds in (1) follow from the explicit Pauli selector instead.
References
- [1] D. Castro-Silva, T. Gur, and S. Strelchuk. Symmetric quantum computation. In 17th Innovations in Theoretical Computer Science Conference (ITCS 2026), volume 362 of LIPIcs, article 35, 2026. doi:10.4230/LIPIcs.ITCS.2026.35. Full version: arXiv:2501.01214v2, 2025.
- [2] G. Brassard, P. Høyer, M. Mosca, and A. Tapp. Quantum amplitude amplification and estimation. Contemporary Mathematics, 305:53–74, 2002. doi:10.1090/conm/305/05215.
- [3] D. W. Berry, A. M. Childs, R. Cleve, R. Kothari, and R. D. Somma. Simulating Hamiltonian dynamics with a truncated Taylor series. Physical Review Letters, 114:090502, 2015. doi:10.1103/PhysRevLett.114.090502.
- [4] Q. T. Nguyen, L. Schatzki, P. Braccia, M. Ragone, P. J. Coles, F. Sauvage, M. Larocca, and M. Cerezo. Theory for equivariant quantum neural networks. PRX Quantum, 5:020328, 2024. doi:10.1103/PRXQuantum.5.020328.
- [5] L. Schatzki, M. Larocca, Q. T. Nguyen, F. Sauvage, and M. Cerezo. Theoretical guarantees for permutation-equivariant quantum neural networks. npj Quantum Information, 10:12, 2024. doi:10.1038/s41534-024-00804-1.
- [6] V. M. Bastidas, N. Fitzpatrick, K. J. Joven, Z. M. Rossi, S. Islam, T. Van Voorhis, I. L. Chuang, and Y. Liu. Unification of finite symmetries in the simulation of many-body systems on quantum computers. Physical Review A, 111:052433, 2025. doi:10.1103/PhysRevA.111.052433.
- [7] S. Kazi, M. Larocca, and M. Cerezo. On the universality of -equivariant -body gates. New Journal of Physics, 26:053030, 2024. doi:10.1088/1367-2630/ad4819.
- [8] P. Deliyannis and I. Marvian. Permutation-invariant -body gates via the Tavis–Cummings interaction. arXiv:2506.03453, 2025; version 3, 2026.
- [9] I. Marvian. Restrictions on realizable unitary operations imposed by symmetry and locality. Nature Physics, 18:283–289, 2022. doi:10.1038/s41567-021-01464-0.