Quantum and CircuitsReading edition

Qudit SUM gates and ring-valued linear logic

Reading tools
Reading libraryFind statementsInspect Lean
Switch work

Saved reading

Read side by side

Start reading

Resources & source

Original TeX with line links · Download TeX

The wording and mathematics follow the retained manuscript. This reading format does not add a proof review or extend Lean coverage.

Skip contents and start reading

Quantum and reversible gate families

10.1 Qudit SUM gates and ring-valued linear logic

10.1.1 From transvections to quantum gates

Let \(d\ge2\). On \(n\) qudits with computational basis labeled by \({\mathbb Z}_d^n\), define the scaled SUM gate

\[ {\operatorname{SUM}}^{(a)}_{s\to t} {\lvert x_0,\ldots,x_{n-1}\rangle} = {\lvert x_0,\ldots,x_t+a x_s,\ldots,x_{n-1}\rangle}, \qquad a\in{\mathbb Z}_d. \]

It is a permutation unitary. Its action on basis labels is the row transvection

\[ I+aE_{t,s}. \]

For \(d=2\) and \(a=1\), it is CNOT. For prime \(d\), these gates lie in the standard qudit Clifford group. For composite \(d\), they remain exact reversible modular-addition gates.

Proved statement

The universal six-row atom in the core chapter is valid over every nonzero commutative ring with identity. Taking \(R={\mathbb Z}_d\) gives a six-qudit target with restricted directed-SUM length seven and ambient all-direction SUM length six for every \(d\ge2\).

10.1.2 The universal six-qudit circuit

Use the coordinate names

\[ x,p,q,t_0,t_1,t_2. \]

The target acts on basis labels by

\[\begin{aligned} p&\mapsto p+x,\\ t_0&\mapsto t_0+p+q,\\ t_1&\mapsto t_1+x+p+q,\\ t_2&\mapsto t_2+x+p+q, \end{aligned}\]

with \(x\) and \(q\) unchanged. An ambient word is

\[ {\operatorname{SUM}}_{q\to p}, \quad {\operatorname{SUM}}_{p\to t_0}, \quad {\operatorname{SUM}}_{x\to p}, \quad {\operatorname{SUM}}_{p\to t_1}, \quad {\operatorname{SUM}}_{p\to t_2}, \quad {\operatorname{SUM}}^{(-1)}_{q\to p}. \]

The first gate adds the dirty \(q\) component to \(p\). The middle gates export two different carrier states. The final inverse gate restores \(p\).

The universal six-qudit catalytic circuit. Coefficients are interpreted modulo d.
Figure 10.1. The universal six-qudit catalytic circuit. Coefficients are interpreted modulo \(d\).

View full-size figure (new tab)

A lower-only word needs seven gates. The exact proof is coefficient-domain independent because it uses pivot support and the number of distinct carrier states rather than division.

10.1.3 Connected higher-dimensional qudit families

The snapshot target \(A(u;s_1,\ldots,s_v)\) from the core chapter is defined over any coefficient ring for which the displayed additions make sense. Over \({\mathbb Z}_d\), it becomes a modular SUM circuit. Its explicit ambient word uses exactly two reverse-directed SUM gates and has length

\[ u+v+2. \]

The interval-tree proof of exact restricted length is most transparent over fields, but the displayed upper-bound and resource-amortization mechanism remain valid over every \({\mathbb Z}_d\).

For a field \({\mathbb F}_q\), the exact formula is

\[ {\ell_{\downarrow}}(A)=u+2v, \qquad {\ell_{*}}(A)\le u+v+2, \]

so

\[ \Delta(A)\ge v-2. \]

The connected family has asymptotic ratio approaching \(3/2\).

10.1.4 Weighted physical costs

Suppose forward SUM gates cost one and reverse-directed SUM gates cost \(\lambda\). The displayed word has weighted cost

\[ u+v+2\lambda, \]

while the restricted construction costs \(u+2v\). Hence the gain is at least

\[ v-2\lambda. \]

This formula can be combined with hardware calibration. If reverse orientation requires echo pulses or routing, the catalyst remains useful when the number of exported snapshots exceeds twice the effective penalty.

Scope boundary

A gate-count saving does not imply a lower physical error or depth. Device-specific conclusions require a cost vector containing duration, infidelity, crosstalk, and routing. The algebraic theorem identifies candidate rewrites and the exact break-even inequality.

10.1.5 Pauli action for prime qudits

For odd prime \(d\), let \(X\) and \(Z\) denote generalized Pauli operators. The SUM gate acts by

\[\begin{aligned} X_s&\mapsto X_sX_t^a, & X_t&\mapsto X_t,\\ Z_s&\mapsto Z_s, & Z_t&\mapsto Z_s^{-a}Z_t. \end{aligned}\]

Thus the modular linear action embeds into a symplectic transformation. The catalytic row excursion has a dual Pauli interpretation: a temporary reverse dependency changes both \(X\) propagation and the contragredient \(Z\) propagation, then restores them.

This makes the SUM family a bridge between the transvection paper and the Clifford chapter. It is the only quantum extension in this monograph that follows directly from the ring-universal theorem without a new finite search.

10.1.6 Continuous-variable shear analogue

On continuous variables, a linear coordinate map \(A\) embeds symplectically as

\[ A\longmapsto \begin{pmatrix} A&0\\ 0&A^{-T} \end{pmatrix}. \]

A row shear therefore gives a Gaussian SUM transformation. The six-row word identity remains a matrix identity in the corresponding shear subgroup.

Research template

To claim an advantage in a full Gaussian gate library, one must compare against rotations, squeezers, beam splitters, and general symplectic decompositions. The current theorem proves a defect only inside the directed-shear versus all-shear comparison.

10.1.7 Compiler primitive

A compiler can search for a carrier row \(p\), a temporary source \(q\), and output rows requiring several successive states of \(p\). The symbolic pattern is:

  1. add \(q\) into \(p\) in the disallowed direction,

  2. update \(p\) through a sequence of allowed additions,

  3. copy selected intermediate states of \(p\) into outputs,

  4. subtract \(q\) from \(p\),

  5. verify that the outputs contain the intended modular combinations.

The Python function snapshot_target constructs the target and snapshot_ambient_word emits the word.

Constructing a modular snapshot family.

from catalytic_gate_atlas.linear import (
    snapshot_target,
    snapshot_ambient_word,
    apply_row_word,
)

u = 4
phases = [0, 2, 4]
modulus = 5
A = snapshot_target(u, phases, modulus)
word = snapshot_ambient_word(u, phases, modulus)
assert apply_row_word(len(A), word, modulus) == A

10.1.8 Open qudit questions

Question 10.1

Does the first defective dimension remain six for every finite field and every modular ring \({\mathbb Z}_d\) under the directed-SUM metric?

Question 10.2

Can qudit Clifford gates outside the SUM subgroup produce a larger defect for a SUM target under total, entangling, or depth cost?

Question 10.3

Do composite dimensions admit characteristic-dependent catalytic motifs unavailable over fields?

Source and conversion record

Source SHA-256: 22629d44826f9a8ddfbcf801409aaf7974ed9dc899ff39ee67da0ed7fc4e6f60

Unsupported prose commands stop the build. The mathematical expression sequence is checked against the source, with manuscript macros expanded for display.

Conversion records

Notation in Quantum and Circuits

Look up a symbol without leaving this chapter. Select text before opening help to search for it.

Search this work’s notation.

    Symbols can have different meanings in different passages. Read each result in its own context.

    Open the full notation index