Introduction
Motivation. Quantum computation turns the physical principles of quantum mechanics into computational models on which algorithms can be specified, composed, and compared to their classical counterparts. The quantum circuit model achieves this by decomposing quantum computations into elementary gates acting on finite registers of qubits. Gates acting on subregisters can be assembled into larger circuits by sequential and parallel composition. Each gate is interpreted as a unitary map, and this compositional structure is naturally captured by symmetric monoidal categories. This symmetric monoidal structure can be represented by string diagrams, with sequential and parallel composition encoded by graphical composition. Calculi such as the ZX-calculus [13 ] and the ZW-calculus [14 , 19 ] axiomatize such categories via complete equational theories [19 , 20 ] , allowing semantic equalities to be derived by diagrammatic rewriting.
Fermionic quantum computing provides a particularly instructive test of this compositional picture. In the local-fermionic-mode (LFM) model of Bravyi and Kitaev [5 ] , information is encoded in the occupation of fermionic modes and transformations are naturally described in the CAR algebra generated by fermionic creation and annihilation operators. After choosing an ordering of the modes, the Jordan–Wigner representation identifies the state space of m m m fermionic modes with that of m m m qubits. We argue that this vector-space coincidence, however, does not make the two compositional theories identical: fermionic exchange statistics remain visible when operations are applied to disjoint modes. The obstruction already appears for the one-mode flip gate F { i } = f i + f i † F\{i\}=f_i+f_i^\dagger F { i } = f i + f i † . For i ≠ j i \ne j i = j , then:
F { i } F { j } = − F { j } F { i } . F\{i\}F\{j\}=-F\{j\}F\{i\}. F { i } F { j } = − F { j } F { i } .
More generally, the algebraic formalism specifying how fermionic systems are embedded into larger registers induces a notion of parallel composition for which the ordinary interchange law fails in general. This failure matches the super-interchange law of monoidal supercategories [6 ] . We nevertheless describe it as a premonoidal structure, which is conceptually simpler and invites an operational interpretation of the gates responsible for this failure through comparison with computational effects [28 ] .
Diagrammatic approaches to fermionic computation already exist. In particular, de Felice, Hadzihasanovic and Ng introduced a fermionic fragment of the ZW-calculus (FZW) and proved it complete for homogeneous linear maps organized with the ordinary tensor product [15 ] . Its even fragment (EZW) was also given a complete axiomatization in [25 ] . Our aim is complementary: we first identify the premonoidal structure induced directly by the semantics underlying Bravyi and Kitaev’s LFM model [5 ] , and then relate it precisely to the monoidal presentation used for diagrammatic rewriting.
Contributions. Our first contribution is a categorical semantics for LFM circuits derived from their CAR-algebraic gate application. We show that CAR operators form a symmetric premonoidal category and that its centre is exactly the even subcategory. Via the Jordan–Wigner representation, this structure extends to homogeneous linear maps between registers of different sizes, including preparations and effects. On the same category of LFM maps, we identify two complementary presentations: with the ordinary tensor product the structure is monoidal but the fermionic permutation is natural only for even maps; with the CAR-induced premonoidal product the fermionic permutation is natural, while two odd maps on disjoint systems fail monoidal interchange by a sign. This makes explicit the relation between the operator-algebraic and diagrammatic viewpoints on fermionic locality.
Our second contribution is a diagrammatic framework adapted to the monoidal presentation with a non-natural fermionic permutation. We call the resulting categorical structures pronaps , for PROducts and Non-nAtural Permutations, which are a relaxation of props. Using the fermionic ZW-calculus as a starting point, we organize a hierarchy of fragments tailored to subsets of the Bravyi–Kitaev gate set. The even fragments EoW and EW of EZW , are props; adding the relevant odd generators yields the pronap fragments FoW and FW of FZW . The fragments EW and FoW are new, while FW is a new pronap presentation of the category previously axiomatized by the planar W calculus (pW )[8 ] . These fragments all are of interest to the study of fermionic circuits on a hierarchy of physically motivated gate-sets.
Our third contribution is to extend scalable graphical notation [7 ] from props to pronaps. The extension makes explicit which equations can be scaled in the presence of non-natural generators and provides compact syntactic constructions for the algebraic structures occurring in the completeness proofs. In particular, matrix arrows represent weighted bipartite graphs and encode all minors of their label matrices, so that determinant identities such as Cauchy–Binet, the cofactor formula, Sylvester’s identity, and Schur-complement identities become diagrammatic rewrites. Additionally, graph triangles labelled by antisymmetric matrices encode principal pfaffians and satisfy the corresponding pfaffian identities. Finally, these scalable constructions give canonical normal forms and completeness proofs for the four fragments EoW , FoW , EW , and FW . The EoW normal form is a single matrix arrow. The FoW normal form is controlled by a full-rank matrix in reduced column-echelon form. The EW and FW normal forms combine such a matrix with a graph-triangle component, labelled by an antisymmetric matrix. For FW , this yields a new normal form for the matchgate fragment, reminiscent of the AP normal form for Clifford ZX-calculus [7 ] , distinct from rWGS-X normal-form derived in the planar-W (pW ) presentation [8 ] . Together, these results connect fermionic circuit semantics, complete scalable diagrammatic rewriting, and the determinant/pfaffian algebra underlying fermionic Gaussian and matchgate computations.
Structure of the paper. Section 2 recalls the local-fermionic-mode model, introduces the CAR algebra and the Jordan–Wigner representation, and fixes the fermionic gate-set and the fermionic swap used throughout the paper. Section 3 develops the categorical semantics: we derive the premonoidal structure from CAR gate application and establish the trade-off between monoidality and naturality of the fermionic permutation. Section 4 introduces the diagrammatic languages, relates the existing fermionic ZW-calculus to our prop presentation, and defines the EoW , FoW , EW , and FW fragments. Section 5 extends scalable notation to pronaps, develops matrix arrows and graph triangles, and uses them to obtain the normal forms and completeness results. The appendices contain the proofs of the categorical statements, derived equations, and normal-form theorems.
Local Fermionic Mode based quantum computing
Local Fermionic Mode (LFM) based quantum computing can be traced back, at least in explicit form, to a talk delivered by Seth Lloyd in 1996 at the Santa Barbara workshop on Physics of Information. The idea is perhaps best described in Lloyd’s own words: “Perhaps the most obvious basis for an unconventional quantum computer is the use of particles with non-Boltzmann statistics in a regime where these statistics play a key role in the dynamics of the device. For example, [I have] proposed the use of fermions as the fundamental carriers of quantum information, so that a site or state occupied by a fermion represents a 1 and an unoccupied site or state represents a 0.” (S. Lloyd, Unconventional Quantum Computing Devices, [23 ] )
This idea was developed more systematically by Sergei Bravyi and Alexei Kitaev in their 2002 article Fermionic Quantum Computation [5 ] , which gives a precise gate-based formulation of quantum computation with local fermionic modes, closely resembling the usual quantum circuit model. Although their presentation is not phrased in these terms, Bravyi and Kitaev essentially equip this computational model with a denotational semantics expressed in the algebraic language of second quantization, using fermionic creation and annihilation operators. In § 2.1 , we first give a high-level conceptual discussion of what LFM-based quantum computation is, and of possible experimental realizations, with the aim of building operational intuition for what the execution of an LFM circuit amounts to. In § 2.2 , we then introduce the algebra of fermionic operators needed to describe local fermionic modes mathematically. Finally, in § 2.3 , we use this formalism to give a precise definition of the Bravyi–Kitaev computational model through its denotational semantics.
A Fermionic shell game
The computational degrees of freedom in Local Fermionic Mode (LFM) quantum computation are not individual fermions, but the modes they may occupy. This distinction is important because identical fermions cannot be individually labelled: they are fundamentally indistinguishable. Their fermionic statistics instead appear through the antisymmetry of exchange of the many-particle state. Such exchange effects can already be observed with a few particles, for instance with ultracold fermions in optical tweezers [1 ] or in electronic Hong–Ou–Mandel experiments [2 ] .
A useful operational picture for Local Fermionic Mode computation is that of a shell game. The shells are the fermionic modes: they are the individually addressable objects that can be moved, coupled, or measured. The balls underneath them are indistinguishable fermions: they are therefore only whether each mode is occupied with at most one fermion per mode by the Pauli exclusion principle. An LFM register is thus described by a binary occupation pattern,
Figure 1. What is a fermion? Illustration of a shell game with indistinguishable fermions.
possibly in a quantum superposition of several such patterns: this is where the analogy with a classical shell game stops. Coherent transformations of the modes retain information about fermionic statistics: in particular, exchanging occupied modes may introduce a sign in the corresponding amplitude, which can become observable through interference. Thus the modes provide an addressable computational interface, while the fermionic nature of the particles remains visible in the transformations acting on their occupation states.
Optical-tweezer platforms give a particularly concrete realization of this picture [24 , 30 , 31 , 36 ] . In this setting, a localized single-particle state of a tweezer acts as a fermionic mode: changing its phase, allowing tunnelling between modes, or coupling the occupations of several modes gives an operational interpretation to the elementary gates of an LFM circuit [18 , 27 ] . Such platforms normally conserve the total number of physical atoms, whereas the general LFM model only imposes the weaker parity superselection rule: fermionic systems do not admit coherent superpositions between states of even and odd total fermion number [16 , 33 , 34 ] . Consequently, some operations allowed by the abstract LFM formalism may require additional physical resources on a number-conserving platform. We return to this point when introducing our working fermionic gate-sets.
The following subsection introduces the algebraic formalism used to make these ideas precise and to give a denotational semantics to LFM computation.
Fermionic creation and annihilation operators
A system of m ∈ N m \in\mathbb{N} m ∈ N fermionic modes will be called a fermionic register of size m m m , where m m m counts modes rather than particles. We now introduce the ∗ * ∗ -algebraic formalism used to describe such registers.
Definition 2.2.1 (*-Algebra). A ∗ * ∗ -algebra ( A , ∗ ) (\mathcal{A}, *) ( A , ∗ ) over C \mathbb{C} C is an associative complex algebra A \mathcal{A} A equipped with a conjugate-linear involution ∗ : A → A *: \mathcal{A} \to\mathcal{A} ∗ : A → A satisfying
( a b ) ∗ = b ∗ a ∗ . (ab)^* = b^*a^*. ( ab ) ∗ = b ∗ a ∗ .
Fermionic registers are modeled using the abstract operator ∗ * ∗ -algebra with involution denoted ( − ) † (-)^\dagger ( − ) † generated by creation ( f ( − ) † ) (f^\dagger_{(-)}) ( f ( − ) † ) and annihilation ( f ( − ) ) (f_{(-)}) ( f ( − ) ) operators, which respectively create and annihilate particles in a given mode. These operators are subject to Canonical Anticommutation Relations (CAR), hence the name of the operator algebra.
Definition 2.2.2 (CAR Algebra). The CAR algebra for m m m modes A m \mathcal{A}_m A m , with involution denoted ( − ) † (-)^\dagger ( − ) † , is the unital ∗ * ∗ -algebra freely generated by operators ( f 1 , … , f m ) (f_1,\ldots,f_m) ( f 1 , … , f m ) , and subject to:
f i f j + f j f i = 0 f i † f j † + f j † f i † = 0 f i † f j + f j f i † = δ i j 1. f_i f_j + f_j f_i = 0 \qquad f_i^\dagger f_j^\dagger+ f_j^\dagger f_i^\dagger= 0 \qquad f_i^\dagger f_j + f_j f_i^\dagger= \delta_{ij}1. f i f j + f j f i = 0 f i † f j † + f j † f i † = 0 f i † f j + f j f i † = δ ij 1.
We denote elements of the algebra a ∈ A m a \in\mathcal{A}_m a ∈ A m as non-commutative polynomials in the creation and annihilation operators. This non-commutative polynomial is not unique. Indeed, using the CAR we can reorder the variables to rewrite uniquely any element of A m \mathcal{A}_m A m as:
a = ∑ I , J ⊆ { 1 , … , m } I , J = { i 1 , … , i k } , J = { j 1 , … , j l } a I , J f i 1 † ⋯ f i k † f j 1 ⋯ f j l . a = \sum_{\substack{I,J \subseteq\{1,\ldots,m\}\\ I,J=\{i_1,\ldots,i_k\},\,J=\{j_1,\ldots,j_l\}}} a_{I,J} f^\dagger_{i_1}\cdots f^\dagger_{i_k} f_{j_1}\cdots f_{j_l}. a = I , J ⊆ { 1 , … , m } I , J = { i 1 , … , i k } , J = { j 1 , … , j l } ∑ a I , J f i 1 † ⋯ f i k † f j 1 ⋯ f j l .
where I = { i 1 < ⋯ < i k } I = \{i_1 < \cdots< i_k\} I = { i 1 < ⋯ < i k } and J = { j 1 < ⋯ < j l } J = \{j_1 < \cdots< j_l\} J = { j 1 < ⋯ < j l } are subsets of { 1 , … , m } \{1,\ldots,m\} { 1 , … , m } , and a I , J ∈ C a_{I,J} \in\mathbb{C} a I , J ∈ C .
The CAR preserve the parity of the degree of the monomials, which justifies the following definitions:
Definition 2.2.3 (Even Operator, Odd Operator, Homogeneous Operator). An element a ∈ A m a \in\mathcal{A}_m a ∈ A m is said:
The preceding decomposition is precisely the canonical Z 2 \mathbb{Z}_2 Z 2 -grading of the CAR algebra:
A m = ( A m ) 0 ˉ ⊕ ( A m ) 1 ˉ , ( A m ) p ˉ ( A m ) q ˉ ⊆ ( A m ) p ˉ + q ˉ , \mathcal{A}_m = (\mathcal{A}_m)_{\bar{0}} \oplus(\mathcal{A}_m)_{\bar{1}}, \qquad(\mathcal{A}_m)_{\bar{p}}(\mathcal{A}_m)_{\bar{q}} \subseteq(\mathcal{A}_m)_{\bar{p}+\bar{q}}, A m = ( A m ) 0 ˉ ⊕ ( A m ) 1 ˉ , ( A m ) p ˉ ( A m ) q ˉ ⊆ ( A m ) p ˉ + q ˉ ,
where the degree is taken modulo 2 2 2 . In the usual terminology, A m \mathcal{A}_m A m is therefore a superalgebra [32 ] . It is important, however, that A m \mathcal{A}_m A m is not supercommutative in general: homogeneous elements a , b ∈ A m a,b \in\mathcal{A}_m a , b ∈ A m do not necessarily satisfy
a b = ( − 1 ) ∣ a ∣ ∣ b ∣ b a . ab = (-1)^{|a||b|}ba. ab = ( − 1 ) ∣ a ∣∣ b ∣ ba .
Such a graded commutation relation will hold below under additional conditions, in particular for homogeneous operators supported on disjoint sets of fermionic modes.
Beware that the creation and annihilation operators do not correspond to physical transformations that are expected to be implementable on a Fermionic computer. They should be understood as an intuitive way to decompose the actual physical processes. One of the advantages of this decomposition is that homogeneous operators correspond to processes complying with the Parity Superselection Rule . Indeed, as an odd number of creation or annihilation of particles changes the parity of a state, while an even number preserves the parity, non-homogeneous operators would introduce quantum superposition between even and odd states, which is forbidden.
Operators of the CAR algebra can thus be thought of as acting on states, which in the case of pure quantum mechanics are described as vectors of a Hilbert space [26 ] . To make this more formal, we will make use of the customary Dirac notations to denote vectors and matrices:
Definition 2.2.4 (Dirac Notations). We denote the standard basis of the Hilbert space C 2 \mathbb{C}^2 C 2 as kets:
∣ 0 ⟩ = [ 1 0 ] , ∣ 1 ⟩ = [ 0 1 ] . |0\rangle= \begin{bmatrix} 1 \\ 0 \end{bmatrix}, \qquad|1\rangle= \begin{bmatrix} 0 \\ 1 \end{bmatrix}. ∣0 ⟩ = [ 1 0 ] , ∣1 ⟩ = [ 0 1 ] . For binary words x , y ∈ { 0 , 1 } ∗ x,y \in\{0,1\}^* x , y ∈ { 0 , 1 } ∗ , the concatenated ket ∣ x y ⟩ |xy\rangle ∣ x y ⟩ denotes the Kronecker product of the corresponding vectors:
∣ x y ⟩ = ∣ x ⟩ ⊗ ∣ y ⟩ . |xy\rangle= |x\rangle\otimes|y\rangle. ∣ x y ⟩ = ∣ x ⟩ ⊗ ∣ y ⟩ . The bra ⟨ x ∣ \langle x| ⟨ x ∣ is the conjugate transpose of the ket ∣ x ⟩ |x\rangle ∣ x ⟩ :
⟨ x ∣ = ∣ x ⟩ † . \langle x| = |x\rangle^\dagger. ⟨ x ∣ = ∣ x ⟩ † . The inner product between a bra and a ket is given by:
⟨ i ∣ j ⟩ = ⟨ i ∣ j ⟩ = δ i j , \langle i|j\rangle= \langle i|j\rangle= \delta_{ij}, ⟨ i ∣ j ⟩ = ⟨ i ∣ j ⟩ = δ ij , where δ i j \delta_{ij} δ ij is the Kronecker delta.
The CAR algebra A m \mathcal{A}_m A m being a finite dimensional ∗ * ∗ -algebra, of dimension 2 2 m = 2 m × 2 m 2^{2m} = 2^m \times2^m 2 2 m = 2 m × 2 m , there is a straightforward way to provide a representation for it in the concrete ∗ * ∗ -algebra of endomorphisms of the Hilbert space C 2 m \mathbb{C}^{2^m} C 2 m .
Definition 2.2.5 (Jordan-Wigner representation). Let m ∈ N m \in\mathbb{N} m ∈ N . The Jordan-Wigner representation
J W m : A m → C 2 m × 2 m JW_m:\mathcal{A}_m \to\mathbb{C}^{2^m \times2^m} J W m : A m → C 2 m × 2 m is defined through its action on the computational basis of C 2 m \mathbb{C}^{2^m} C 2 m , where the binary string ( b 1 ⋯ b m ) (b_1 \cdots b_m) ( b 1 ⋯ b m ) in ∣ b 1 ⋯ b m ⟩ \lvert b_1 \cdots b_m\rangle ∣ b 1 ⋯ b m ⟩ is interpreted as the occupation-numbers of the state: mode i i i is occupied if and only if b i = 1 b_i=1 b i = 1 .
J W m JW_m J W m is the unique ∗ * ∗ -algebra morphism defined by:
J W m ( f k ) ∣ x 1 y ⟩ = ( − 1 ) ∣ x ∣ ∣ x 0 y ⟩ , J W m ( f k ) ∣ x 0 y ⟩ = 0 , JW_m(f_k)\lvert x1y\rangle=(-1)^{\lvert x\rvert}\lvert x0y\rangle,\qquad JW_m(f_k)\lvert x0y\rangle=0, J W m ( f k ) ∣ x 1 y ⟩ = ( − 1 ) ∣ x ∣ ∣ x 0 y ⟩ , J W m ( f k ) ∣ x 0 y ⟩ = 0 , and
J W m ( f k † ) ∣ x 0 y ⟩ = ( − 1 ) ∣ x ∣ ∣ x 1 y ⟩ , J W m ( f k † ) ∣ x 1 y ⟩ = 0 , JW_m(f_k^\dagger)\lvert x0y\rangle=(-1)^{\lvert x\rvert}\lvert x1y\rangle,\qquad JW_m(f_k^\dagger)\lvert x1y\rangle=0, J W m ( f k † ) ∣ x 0 y ⟩ = ( − 1 ) ∣ x ∣ ∣ x 1 y ⟩ , J W m ( f k † ) ∣ x 1 y ⟩ = 0 , where x ∈ { 0 , 1 } k − 1 x\in\{0,1\}^{k-1} x ∈ { 0 , 1 } k − 1 , y ∈ { 0 , 1 } m − k y\in\{0,1\}^{m-k} y ∈ { 0 , 1 } m − k , and ∣ x ∣ \lvert x\rvert ∣ x ∣ denotes the Hamming weight of x x x .
The Jordan-Wigner representation is often thought of as a way to encode fermionic systems into qubits. In this work, we merely see it as a way to recover a Hilbert space formalism for pure fermionic systems, in which a happy coincidence on dimension makes the state space of a register of m m m fermionic modes isomorphic to the state space of m m m qubits.
Above definitions of odd, even and homogeneous operators are easily extended to any linear maps, including state vectors.
Definition 2.2.6 (Even, Odd, Homogeneous linear map). Let
f = ∑ x ∈ { 0 , 1 } n , y ∈ { 0 , 1 } m f x y ∣ y ⟩ ⟨ x ∣ ∈ L ( C 2 n , C 2 m ) . f=\sum_{x\in\{0,1\}^n,y\in\{0,1\}^m}f_{xy}\lvert y\rangle\langle x\rvert\in\mathcal{L}(\mathbb{C}^{2^n},\mathbb{C}^{2^m}). f = x ∈ { 0 , 1 } n , y ∈ { 0 , 1 } m ∑ f x y ∣ y ⟩ ⟨ x ∣ ∈ L ( C 2 n , C 2 m ) . We say that f f f is:
Even when ∀ x y ∈ { 0 , 1 } n + m \forall x y\in\{0,1\}^{n+m} ∀ x y ∈ { 0 , 1 } n + m , f x y ≠ 0 ⇒ ∣ x ∣ + ∣ y ∣ ≡ 0 ( m o d 2 ) f_{xy}\ne0\Rightarrow\lvert x\rvert+\lvert y\rvert\equiv0\pmod2 f x y = 0 ⇒ ∣ x ∣ + ∣ y ∣ ≡ 0 ( mod 2 ) .
Odd when ∀ x y ∈ { 0 , 1 } n + m \forall x y\in\{0,1\}^{n+m} ∀ x y ∈ { 0 , 1 } n + m , f x y ≠ 0 ⇒ ∣ x ∣ + ∣ y ∣ ≡ 1 ( m o d 2 ) f_{xy}\ne0\Rightarrow\lvert x\rvert+\lvert y\rvert\equiv1\pmod2 f x y = 0 ⇒ ∣ x ∣ + ∣ y ∣ ≡ 1 ( mod 2 ) .
Homogeneous when it is either even or odd.
This is precisely the usual notion of even and odd morphisms between super vector spaces [6 ] . One can check that this definition is consistent with the Jordan-Wigner representation, in the sense that J W m JW_m J W m maps even operators to even linear maps, odd to odd, and homogeneous to homogeneous. The representation of a physical operator should therefore be an homogeneous linear map.
Given its Jordan-Wigner representation, the CAR algebra formalism may seem redundant. Indeed, one could try to define a LFM circuit model through a denotational semantics in the more usual framework of Hilbert spaces and linear maps. We argue that CAR algebras are central to Bravyi and Kitaev’s proposal of such a model [5 ] , and that ignoring it would lead to missing important subtleties in the compositionality of Fermionic circuits, which we expand on in § 3 . As a consequence, § 2.3 defines Fermionic circuits through an operator algebraic denotational semantics.
Bravyi–Kitaev’s computational model
As stated before, Bravyi and Kitaev’s LFM computational model is analogous to the quantum circuit model: computations are described by circuits whose gates are applied to finite tuples of modes. Defining the model essentially amounts to specifying what constitutes a fermionic gate and how such a gate is applied to a tuple of modes.
In this work, we restrict ourselves to pure Fermionic computations, whose evolution is described by unitary transformations, as opposed to general mixed quantum processes [26 ] . The Parity Superselection Rule further constrains the closed evolution of a Fermionic system: physical Hamiltonians, and therefore the unitaries they generate, preserve Fermionic parity [5 ] . We will nevertheless use a slightly broader notion of Fermionic gate, allowing effective parity-reversing transformations whose operational meaning will be discussed below.
Definition 2.3.1 (Fermionic gates). An element U ∈ A m \mathcal{U}\in\mathcal{A}_m U ∈ A m is unitary when
U U † = U † U = 1 A m . \mathcal{U}\mathcal{U}^{\dagger}=\mathcal{U}^{\dagger}\mathcal{U}=1_{\mathcal{A}_m}. U U † = U † U = 1 A m . A Fermionic gate is a homogeneous unitary G ∈ A m \mathcal{G}\in\mathcal{A}_m G ∈ A m . It is even, or parity-preserving, when G \mathcal{G} G is even, and odd, or parity-reversing, when G \mathcal{G} G is odd.
Originally, Bravyi and Kitaev only allow even gates. In particular, they provide a finite set of local Fermionic gates which is approximately universal for quantum computation [5 ] . Since A m \mathcal{A}_m A m is finite-dimensional, we use the usual exponential exp ( a ) = ∑ k ≥ 0 a k / k ! \exp(a)=\sum_{k\geq0}a^k/k! exp ( a ) = ∑ k ≥ 0 a k / k ! .
Definition 2.3.2 (Bravyi–Kitaev Fermionic gate set). We consider the following gates:
G 1 : = exp ( i π 4 f 1 † f 1 ) , \mathcal{G}_1:=\exp\left(\frac{i\pi}{4}f_1^\dagger f_1\right), G 1 := exp ( 4 iπ f 1 † f 1 ) , G 2 : = exp ( i π 4 ( f 1 † f 2 + f 2 † f 1 ) ) , \mathcal{G}_2:=\exp\left(\frac{i\pi}{4}(f_1^\dagger f_2+f_2^\dagger f_1)\right), G 2 := exp ( 4 iπ ( f 1 † f 2 + f 2 † f 1 ) ) , G 3 : = exp ( i π 4 ( f 2 f 1 + f 1 † f 2 † ) ) , \mathcal{G}_3:=\exp\left(\frac{i\pi}{4}(f_2f_1+f_1^\dagger f_2^\dagger)\right), G 3 := exp ( 4 iπ ( f 2 f 1 + f 1 † f 2 † ) ) , G 4 : = exp ( i π f 1 † f 1 f 2 † f 2 ) . \mathcal{G}_4:=\exp\left(i\pi f_1^\dagger f_1f_2^\dagger f_2\right). G 4 := exp ( iπ f 1 † f 1 f 2 † f 2 ) .
All four gates are even, that is to say parity preserving. Under the Jordan-Wigner representation, the four Bravyi–Kitaev gates take the following matrix forms:
J W ( G 1 ) = [ 1 0 0 e i π / 4 ] , J W ( G 2 ) = [ 1 0 0 0 0 1 2 i 2 0 0 i 2 1 2 0 0 0 0 1 ] , JW(\mathcal{G}_1)=
\begin{bmatrix}
1&0\\
0&e^{i\pi/4}
\end{bmatrix},
\qquad
JW(\mathcal{G}_2)=
\begin{bmatrix}
1&0&0&0\\
0&\frac{1}{\sqrt{2}}&\frac{i}{\sqrt{2}}&0\\
0&\frac{i}{\sqrt{2}}&\frac{1}{\sqrt{2}}&0\\
0&0&0&1
\end{bmatrix}, J W ( G 1 ) = [ 1 0 0 e iπ /4 ] , J W ( G 2 ) = 1 0 0 0 0 2 1 2 i 0 0 2 i 2 1 0 0 0 0 1 ,
J W ( G 3 ) = [ 1 2 0 0 i 2 0 1 0 0 0 0 1 0 i 2 0 0 1 2 ] , J W ( G 4 ) = [ 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 − 1 ] . JW(\mathcal{G}_3)=
\begin{bmatrix}
\frac{1}{\sqrt{2}}&0&0&\frac{i}{\sqrt{2}}\\
0&1&0&0\\
0&0&1&0\\
\frac{i}{\sqrt{2}}&0&0&\frac{1}{\sqrt{2}}
\end{bmatrix},
\qquad
JW(\mathcal{G}_4)=
\begin{bmatrix}
1&0&0&0\\
0&1&0&0\\
0&0&1&0\\
0&0&0&-1
\end{bmatrix}. J W ( G 3 ) = 2 1 0 0 2 i 0 1 0 0 0 0 1 0 2 i 0 0 2 1 , J W ( G 4 ) = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 − 1 .
The gates G 1 \mathcal{G}_1 G 1 , G 2 \mathcal{G}_2 G 2 and G 4 \mathcal{G}_4 G 4 also preserve the total particle number: they respectively describe an occupation-dependent phase, coherent tunnelling between two modes, and an interaction depending on their joint occupation. By contrast, G 3 \mathcal{G}_3 G 3 coherently couples states whose particle numbers differ by two. This distinction has a direct hardware interpretation. Number-conserving neutral-atom processors naturally provide operations of the G 1 \mathcal{G}_1 G 1 , G 2 \mathcal{G}_2 G 2 and G 4 \mathcal{G}_4 G 4 types, while pairing operations of the G 3 \mathcal{G}_3 G 3 type require an additional resource. Bravyi and Kitaev discuss such pairing terms in connection with an interaction with a superconductor [5 ] .
Among the gates considered in this work there is supplementary a simple odd operation, which exchanges the empty and occupied states of a single fermionic mode.
Definition 2.3.3 (Mode-flip gate). The mode-flip gate is
F : = f 1 + f 1 † ∈ A 1 . F := f_1 + f_1^\dagger\in\mathcal{A}_1. F := f 1 + f 1 † ∈ A 1 . By the CAR,
F † = F , F 2 = f 1 f 1 † + f 1 † f 1 = 1 , F^\dagger= F,\qquad F^2 = f_1 f_1^\dagger+ f_1^\dagger f_1 = 1, F † = F , F 2 = f 1 f 1 † + f 1 † f 1 = 1 , so F F F is an odd Hermitian unitary. Under the Jordan–Wigner representation,
J W 1 ( F ) = X = [ 0 1 1 0 ] . JW_1(F) = X = \begin{bmatrix}0 & 1 \\ 1 & 0\end{bmatrix}. J W 1 ( F ) = X = [ 0 1 1 0 ] . It is therefore the fermionic analogue of a Pauli-X X X gate on a single mode.
Although F F F reverses fermionic parity, it does not create a coherent superposition of the even and odd sectors. Indeed, F F F is homogeneous: it maps every even state to an odd state and every odd state to an even state. In this sense, the mode-flip is compatible with the parity superselection rule. This should be distinguished from parity conservation , which would forbid such a transformation on an isolated system.
We are not aware of a current fermionic platform in which F F F is directly available as a native operation. Its homogeneity nevertheless leaves open the possibility of an effective implementation in a setting where the addressed mode can exchange fermionic parity with additional physical degrees of freedom. From the viewpoint of the mode alone, such an interaction could realize F F F , while the complete physical system still preserves its total fermionic parity.
On platforms whose native dynamics preserve parity, additional resources are therefore required to realize the mode-flip. This is a fortiori the case for platforms that conserve the total particle number, such as fermionic neutral-atom tweezer arrays. A concrete example is provided by Ott et al. [27 ] . They introduce an ancillary fermionic reference and define a referenced mode for which
D ( θ ) : = exp ( i θ ( f 1 † + f 1 ) ) D(\theta) := \exp\left(i\theta(f_1^\dagger+ f_1)\right) D ( θ ) := exp ( i θ ( f 1 † + f 1 ) ) can be implemented using number-conserving operations on the physical atoms. At θ = π / 2 \theta= \pi/2 θ = π /2 ,
D ( π / 2 ) = i ( f 1 † + f 1 ) , D(\pi/2) = i(f_1^\dagger+ f_1), D ( π /2 ) = i ( f 1 † + f 1 ) , which is, up to a global phase, precisely a mode-flip on the referenced mode. The reference supplies the complementary change in particle number, so that the effective referenced mode may be flipped while the total number of physical atoms remains fixed.
Thus F F F is a legitimate homogeneous gate of the LFM formalism, while its physical realization depends on which conservation laws are imposed by the underlying platform.
Application of a gate to Fermionic modes. The main difference with the usual quantum circuit model lies in the application of a gate to a chosen tuple of modes. There, gate application is defined using tensor products of Hilbert spaces. For Fermionic modes, it is instead naturally expressed directly in the CAR algebras.
Definition 2.3.4 (Tuple of modes and application morphism). Let
t : { 1 , … , m } ↪ { 1 , … , m ′ } t : \{1,\ldots,m\} \hookrightarrow\{1,\ldots,m'\} t : { 1 , … , m } ↪ { 1 , … , m ′ } be an injection, which we equivalently regard as a tuple of m m m pairwise distinct modes of an m ′ m' m ′ -mode register. We denote by
ι t : A m ⟶ A m ′ \iota_t : \mathcal{A}_m \longrightarrow\mathcal{A}_{m'} ι t : A m ⟶ A m ′ the unique unital ∗ * ∗ -algebra morphism satisfying
ι t ( f i ) = f t ( i ) , ι t ( f i † ) = f t ( i ) † . \iota_t(f_i)=f_{t(i)},\qquad\iota_t(f_i^\dagger)=f_{t(i)}^\dagger. ι t ( f i ) = f t ( i ) , ι t ( f i † ) = f t ( i ) † .
Lemma 2.3.1. The morphism ι t \iota_t ι t is well defined and injective. Moreover, it preserves parity and maps unitary elements to unitary elements.
Definition 2.3.5 (Fermionic gate application [5 ] ). Let G ∈ A m \mathcal{G} \in\mathcal{A}_m G ∈ A m be a Fermionic gate and let t : { 1 , … , m } ↪ { 1 , … , m ′ } t : \{1,\ldots,m\} \hookrightarrow\{1,\ldots,m'\} t : { 1 , … , m } ↪ { 1 , … , m ′ } be a tuple of modes. The application of G \mathcal{G} G to t t t is
G { t } : = ι t ( G ) ∈ A m ′ . \mathcal{G}\{t\} := \iota_t(\mathcal{G}) \in\mathcal{A}_{m'}. G { t } := ι t ( G ) ∈ A m ′ .
Thus gate application amounts algebraically to relabelling the creation and annihilation operators occurring in the gate. This definition differs from ordinary qubit gate application, where the ambient tensor-product structure provides the embedding automatically.
Fermionic permutations. Bravyi and Kitaev introduce a Fermionic analogue of the swap gate, which implements permutations of modes while respecting their exchange statistics.
Definition 2.3.6 (Fermionic swap). The Fermionic swap on two modes is
π : = 1 − n 1 − n 2 + f 1 † f 1 + f 1 † f 2 ∈ A 2 . \pi:= 1-n_1-n_2+f_1^\dagger f_1+f_1^\dagger f_2 \in\mathcal{A}_2. π := 1 − n 1 − n 2 + f 1 † f 1 + f 1 † f 2 ∈ A 2 . For distinct i , j ∈ { 1 , … , m } i,j \in\{1,\ldots,m\} i , j ∈ { 1 , … , m } , we write π { i , j } \pi\{i,j\} π { i , j } for its application to the tuple ( i , j ) (i,j) ( i , j ) .
Under the Jordan–Wigner representation, the Fermionic swap is the usual two-qubit swap with an additional phase on the doubly occupied state:
J W 2 ( π ) = ∣ 00 ⟩ ⟨ 00 ∣ + ∣ 01 ⟩ ⟨ 10 ∣ + ∣ 10 ⟩ ⟨ 01 ∣ − ∣ 11 ⟩ ⟨ 11 ∣ . JW_2(\pi)=|00\rangle\langle00|+|01\rangle\langle10|+|10\rangle\langle01|-|11\rangle\langle11|. J W 2 ( π ) = ∣00 ⟩ ⟨ 00∣ + ∣01 ⟩ ⟨ 10∣ + ∣10 ⟩ ⟨ 01∣ − ∣11 ⟩ ⟨ 11∣. Thus π \pi π exchanges the two occupation modes while accounting for the minus sign arising from the exchange of two Fermions.
Lemma 2.3.2. The Fermionic swap is an even Hermitian unitary. Moreover, denoting τ i , j ∈ S m \tau_{i,j}\in\mathfrak{S}_m τ i , j ∈ S m the transposition of i ≠ j i\ne j i = j , we have for every k ∈ { 1 , … , m } k\in\{1,\ldots,m\} k ∈ { 1 , … , m } ,
π { i , j } f k π { i , j } − 1 = f τ i , j ( k ) , π { i , j } f k † π { i , j } − 1 = f τ i , j ( k ) † . \pi\{i,j\}f_k\pi\{i,j\}^{-1}=f_{\tau_{i,j}(k)},\qquad
\pi\{i,j\}f_k^\dagger\pi\{i,j\}^{-1}=f_{\tau_{i,j}(k)}^\dagger. π { i , j } f k π { i , j } − 1 = f τ i , j ( k ) , π { i , j } f k † π { i , j } − 1 = f τ i , j ( k ) † . The Fermionic swaps therefore implement ordinary permutations of the mode labels by conjugation.
Lemma 2.3.3 (Representation of the symmetric group). For r ∈ { 1 , … , m − 1 } r\in\{1,\ldots,m-1\} r ∈ { 1 , … , m − 1 } , let τ r ∈ S m \tau_r\in\mathfrak{S}_m τ r ∈ S m be the transposition exchanging r r r and r + 1 r+1 r + 1 . Let us denote:
π r : = π { r , r + 1 } . \pi_r:=\pi\{r,r+1\}. π r := π { r , r + 1 } . The operators π r \pi_r π r satisfy the Coxeter relations
π r 2 = 1 , π r π s = π s π r if ∣ r − s ∣ > 1 , π r π r + 1 π r = π r + 1 π r π r + 1 . \pi_r^2=1,\qquad\pi_r\pi_s=\pi_s\pi_r\quad\text{if }|r-s|>1,\qquad\pi_r\pi_{r+1}\pi_r=\pi_{r+1}\pi_r\pi_{r+1}. π r 2 = 1 , π r π s = π s π r if ∣ r − s ∣ > 1 , π r π r + 1 π r = π r + 1 π r π r + 1 . Consequently there is a unique group homomorphism
S m ⟶ A m × , σ ⟼ π σ , \mathfrak{S}_m\longrightarrow\mathcal{A}_m^\times,\qquad\sigma\longmapsto\pi_\sigma, S m ⟶ A m × , σ ⟼ π σ , sending τ r \tau_r τ r to $\pi_r.
For an arbitrary transposition τ i , j \tau_{i,j} τ i , j , the image π τ i , j \pi_{\tau_{i,j}} π τ i , j obtained from this representation agrees with the element π { i , j } \pi\{i,j\} π { i , j } defined above: both implement the same conjugation on all CAR generators and both fix the vacuum.
Definition 2.3.7 (Permutation action on the CAR algebra). The preceding representation induces an action
⋆ : S m × A m ⟶ A m , σ ⋆ a : = π σ a π σ − 1 . \star: \mathfrak{S}_m \times\mathcal{A}_m \longrightarrow\mathcal{A}_m,\qquad\sigma\star a := \pi_\sigma a \pi_\sigma^{-1}. ⋆ : S m × A m ⟶ A m , σ ⋆ a := π σ a π σ − 1 . Since π σ − 1 = π σ − 1 \pi_\sigma^{-1}=\pi_{\sigma^{-1}} π σ − 1 = π σ − 1 , equivalently
σ ⋆ a = π σ a π σ − 1 . \sigma\star a = \pi_\sigma a \pi_{\sigma^{-1}}. σ ⋆ a = π σ a π σ − 1 .
Lemma 2.3.4. Let
t : { 1 , … , m } ↪ { 1 , … , m ′ } t:\{1,\ldots,m\}\hookrightarrow\{1,\ldots,m'\} t : { 1 , … , m } ↪ { 1 , … , m ′ } be a tuple of modes and let σ ∈ S m ′ \sigma\in\mathfrak{S}_{m'} σ ∈ S m ′ . Then, for every G ∈ A m G\in\mathcal{A}_m G ∈ A m ,
σ ⋆ G { t } = G { σ ∘ t } . \sigma\star G\{t\}=G\{\sigma\circ t\}. σ ⋆ G { t } = G { σ ∘ t } .
The distinction between even and odd Fermionic gates introduced above will be crucial in the following section. Even operators supported on disjoint sets of modes commute, as expected of independent physical operations. Odd operators do not: for i ≠ j i\ne j i = j ,
F { i } F { j } = − F { j } F { i } . F\{i\}F\{j\}=-F\{j\}F\{i\}. F { i } F { j } = − F { j } F { i } .
Consequently, once effective odd transformations are included, application on disjoint modes does not satisfy the ordinary interchange law of a monoidal category. The following section studies the categorical structure induced by this obstruction.
Categorical denotational semantics
In the previous section, we described Fermionic computations algebraically: a computation on a fixed register is interpreted as an element of a CAR algebra, while the application of a gate to a chosen collection of modes is expressed through embeddings between CAR algebras. We now organize these ingredients into a categorical semantics.
Two features will guide the construction. First, although gates supported on disjoint sets of modes can be applied independently, odd Fermionic operations anticommute rather than commute. Their coexistence therefore prevents the usual tensorial interchange law and naturally leads to a premonoidal structure. Second, CAR algebras describe endomorphisms of fixed-size registers, but do not by themselves contain preparations, effects, or processes between registers of different sizes. After identifying the premonoidal structure already present in the CAR semantics, we will therefore use the Jordan–Wigner representation to extend it to a category of general pure Fermionic processes.
The CAR category
The CAR algebra A m \mathcal{A}_m A m may be regarded as a one-object category whose endomorphisms are the elements of A m \mathcal{A}_m A m , with composition given by the algebra product. Collecting these categories for all register sizes gives a first categorical semantics for Fermionic computations.
Definition 3.1.1 (The CAR category). The category C A R \mathbf{CAR} CAR has objects N \mathbb{N} N and hom-sets
C A R [ m , n ] : = { A m if m = n , ∅ otherwise . \mathbf{CAR}[m,n]:=
\begin{cases}
\mathcal{A}_m & \text{if }m=n,\\
\varnothing& \text{otherwise}.
\end{cases} CAR [ m , n ] := { A m ∅ if m = n , otherwise . Composition in C A R [ m , m ] \mathbf{CAR}[m,m] CAR [ m , m ] is multiplication in A m \mathcal{A}_m A m , and the identity on m m m is 1 A m 1_{\mathcal{A}_m} 1 A m . In particular, A 0 ≃ C \mathcal{A}_0\simeq\mathbb{C} A 0 ≃ C , so that C A R [ 0 , 0 ] ≃ C \mathbf{CAR}[0,0]\simeq\mathbb{C} CAR [ 0 , 0 ] ≃ C contains the scalar morphisms.
We denote by H o m C A R \mathbf{HomCAR} HomCAR the wide subcategory whose morphisms are homogeneous operators, and by E v e n C A R \mathbf{EvenCAR} EvenCAR the wide subcategory whose morphisms are even operators.
To compare this semantics with the usual Hilbert-space semantics, it is convenient to use the usual semantics category of qubit registers.
Definition 3.1.2 (The Qubit category). The category Q u b i t \mathbf{Qubit} Qubit has objects N \mathbb{N} N and
Q u b i t [ m , n ] : = L ( C 2 m , C 2 n ) . \mathbf{Qubit}[m,n]:=\mathcal{L}(\mathbb{C}^{2^m},\mathbb{C}^{2^n}). Qubit [ m , n ] := L ( C 2 m , C 2 n ) .
The Jordan–Wigner ∗ * ∗ -algebra isomorphisms naturally extend to a functor from C A R \mathbf{CAR} CAR to Q u b i t \mathbf{Qubit} Qubit .
Definition 3.1.3 (Jordan–Wigner functor). The Jordan–Wigner representation defines a functor
J W : C A R ⟶ Q u b i t JW:\mathbf{CAR}\longrightarrow\mathbf{Qubit} J W : CAR ⟶ Qubit by
J W ( m ) = m , J W ( P ) = J W m ( P ) for P ∈ A m . JW(m)=m,\qquad JW(P)=JW_m(P)\quad\text{for }P\in\mathcal{A}_m. J W ( m ) = m , J W ( P ) = J W m ( P ) for P ∈ A m .
Functoriality follows from the fact that each J W m JW_m J W m is a unital ∗ * ∗ -algebra morphism. Moreover, J W JW J W is faithful and, for every m ∈ N m\in\mathbb{N} m ∈ N , induces an isomorphism
C A R [ m , m ] ≃ Q u b i t [ m , m ] . \mathbf{CAR}[m,m]\simeq\mathbf{Qubit}[m,m]. CAR [ m , m ] ≃ Qubit [ m , m ] .
Thus every square linear map on an m m m -mode occupation space has a unique description as an element of the CAR algebra. The functor is not full, however, since C A R [ m , n ] = ∅ \mathbf{CAR}[m,n]=\varnothing CAR [ m , n ] = ∅ whenever m ≠ n m\ne n m = n . In particular, C A R \mathbf{CAR} CAR does not contain state preparations or effects. We return to this limitation in section 3.3.
Premonoidality and Non-natural symmetry
Bravyi and Kitaev’s notion of applying a gate to a tuple of modes provides more structure than the category C A R \mathbf{CAR} CAR alone. In particular, a register can be enlarged by idle modes on either side of an operation. These two extensions are functorial separately, but, in the presence of odd Fermionic operations, they do not jointly define a bifunctor. This is naturally captured by the notion of strict premonoidal category .
Definition 3.2.1 (Strict premonoidal category). A strict premonoidal category ( C , ∅ , I ) (\mathcal{C},\varnothing,I) ( C , ∅ , I ) is a category whose objects form a monoid ( Obj ( C ) , ∅ , I ) (\operatorname{Obj}(\mathcal{C}),\varnothing,I) ( Obj ( C ) , ∅ , I ) , together with, for every object A A A , two functors
A ∅ ( − ) , ( − ) ∅ A , A\varnothing(-),\qquad(-)\varnothing A, A ∅ ( − ) , ( − ) ∅ A , whose action on objects is given by ∅ \varnothing ∅ , and satisfying
I ∅ f = f = f ∅ I , I\varnothing f=f=f\varnothing I, I ∅ f = f = f ∅ I , A ∅ ( B ∅ f ) = ( A ∅ B ) ∅ f , A\varnothing(B\varnothing f)=(A\varnothing B)\varnothing f, A ∅ ( B ∅ f ) = ( A ∅ B ) ∅ f , A ∅ ( f ∅ B ) = ( A ∅ f ) ∅ B , A\varnothing(f\varnothing B)=(A\varnothing f)\varnothing B, A ∅ ( f ∅ B ) = ( A ∅ f ) ∅ B , ( f ∅ A ) ∅ B = f ∅ ( A ∅ B ) . (f\varnothing A)\varnothing B=f\varnothing(A\varnothing B). ( f ∅ A ) ∅ B = f ∅ ( A ∅ B ) .
Strict premonoidal categories admit a string-diagram notation similar to monoidal categories. Morphisms are represented by boxes and objects by wires. Consider a morphism f : B → C f:B\to C f : B → C . Its string diagram presentation is
The composition f ∘ g f\circ g f ∘ g for g : A → B g:A\to B g : A → B is pictured as
The functors A ∅ ( − ) A\varnothing(-) A ∅ ( − ) and ( − ) ∅ A (-)\varnothing A ( − ) ∅ A correspond respectively to adding an idle wire above and below its diagram:
A ⊗ f : = f ⊗ A A \otimes f := f \otimes A A ⊗ f := f ⊗ A
f ⊗ A : = A ⊗ f f \otimes A := A \otimes f f ⊗ A := A ⊗ f
Contrary to the monoidal case, however, two boxes on disjoint wires cannot in general be moved past one another: their relative order may carry information.
We use the convention encoded by these diagrams that the modes of a register are numbered from top to bottom. Adding modes underneath an operation therefore does not change its mode indices, whereas adding modes above it shifts them.
Definition 3.2.2 (Premonoidal product on CAR). On objects, define
m ⊗ n : = m + n . m \otimes n := m+n. m ⊗ n := m + n . For a ∈ A m a \in\mathcal{A}_m a ∈ A m and m ′ ∈ N m' \in\mathbb{N} m ′ ∈ N , define
a ⊗ m ′ : = a { 1 , … , m } , m ′ ⊗ a : = a { m ′ + 1 , … , m ′ + m } , a \otimes m' := a\{1,\ldots,m\}, \qquad m' \otimes a := a\{m'+1,\ldots,m'+m\}, a ⊗ m ′ := a { 1 , … , m } , m ′ ⊗ a := a { m ′ + 1 , … , m ′ + m } , as elements of A m + m ′ \mathcal{A}_{m+m'} A m + m ′ .
Proposition 3.2.1. ( C A R , ⊗ , 0 ) (\mathbf{CAR},\otimes,0) ( CAR , ⊗ , 0 ) is a strict premonoidal category.
The failure of the interchange law preventing ⊗ \otimes ⊗ from being a monoidal cannot be witnessed unless considering non-even morphisms, as even elements of the CAR algebras commute with every other element so long as they are supported on disjoint sets of fermionic modes.
Definition 3.2.3 (Commuting morphisms, central morphism, centre). Let ( C , ⊗ ) (\mathcal{C},\otimes) ( C , ⊗ ) be a strict premonoidal category. Two morphisms f : A → B f:A\to B f : A → B and g : C → D g:C\to D g : C → D commute when
( f ⊗ C ) ( A ⊗ g ) = ( A ⊗ g ) ( f ⊗ C ) (f\otimes C)(A\otimes g)=(A\otimes g)(f\otimes C) ( f ⊗ C ) ( A ⊗ g ) = ( A ⊗ g ) ( f ⊗ C ) and
( C ⊗ f ) ( g ⊗ A ) = ( g ⊗ A ) ( C ⊗ f ) . (C\otimes f)(g\otimes A)=(g\otimes A)(C\otimes f). ( C ⊗ f ) ( g ⊗ A ) = ( g ⊗ A ) ( C ⊗ f ) . A morphism is central when it commutes with every morphism. The wide subcategory consisting of central morphisms is called the centre of C \mathcal{C} C .
Proposition 3.2.2. The centre of ( C A R , ⊗ ) (\mathbf{CAR},\otimes) ( CAR , ⊗ ) is E v e n C A R \mathbf{EvenCAR} EvenCAR .
In the homogeneous subcategory of C A R \mathbf{CAR} CAR , the obstruction to monoidality is precisely the Fermionic sign.
Lemma 3.2.1 (Graded interchange). Let a ∈ A m a\in\mathcal{A}_m a ∈ A m and a ′ ∈ A n a'\in\mathcal{A}_n a ′ ∈ A n be homogeneous, with parities ∣ a ∣ , ∣ a ′ ∣ ∈ Z 2 |a|,|a'|\in\mathbb{Z}_2 ∣ a ∣ , ∣ a ′ ∣ ∈ Z 2 . Then
( a ⊗ n ) ( m ⊗ a ′ ) = ( − 1 ) ∣ a ∣ ∣ a ′ ∣ ( m ⊗ a ′ ) ( a ⊗ n ) . (a\otimes n)(m\otimes a')=(-1)^{|a||a'|}(m\otimes a')(a\otimes n). ( a ⊗ n ) ( m ⊗ a ′ ) = ( − 1 ) ∣ a ∣∣ a ′ ∣ ( m ⊗ a ′ ) ( a ⊗ n ) .
The graded interchange law above is the usual super-interchange law associated with the canonical Z 2 \mathbb{Z}_2 Z 2 -grading of the CAR algebra. In fact, our premonoidal structure satisfies the same signed interchange law as homogeneous morphisms in a monoidal supercategory in the sense of Brundan and Ellis [6 ] .
Fermionic permutations
The Fermionic swaps introduced in section 2.3 provide a symmetry for this premonoidal structure. Since we wish to distinguish the algebraic permutation equations from naturality, we introduce the following terminology.
Definition 3.2.4 (Presymmetric premonoidal category). A strict premonoidal category ( C , ⊗ ) (\mathcal{C},\otimes) ( C , ⊗ ) is presymmetric when it is equipped with central isomorphisms
π A , B : A ⊗ B ⟶ B ⊗ A , \pi_{A,B}:A\otimes B\longrightarrow B\otimes A, π A , B : A ⊗ B ⟶ B ⊗ A , denoted by the crossing diagram, satisfying the usual permutation coherence equations. In the one-generated strict setting considered here, these are generated by the involution and Yang–Baxter equations
π A , B − 1 = π B , A , \pi_{A,B}^{-1}=\pi_{B,A}, π A , B − 1 = π B , A , and
( π B , C ⊗ A ) ( B ⊗ π A , C ) ( π A , B ⊗ C ) = ( C ⊗ π A , B ) ( π A , C ⊗ B ) ( A ⊗ π B , C ) . (\pi_{B,C}\otimes A)(B\otimes\pi_{A,C})(\pi_{A,B}\otimes C)
=
(C\otimes\pi_{A,B})(\pi_{A,C}\otimes B)(A\otimes\pi_{B,C}). ( π B , C ⊗ A ) ( B ⊗ π A , C ) ( π A , B ⊗ C ) = ( C ⊗ π A , B ) ( π A , C ⊗ B ) ( A ⊗ π B , C ) .
We call the non-natural symmetry involved in the above definition presymmetry. A presymmetry is a symmetry when it defines a natural transformation. In the following we call natural with respect to a presymmetry the morphisms that are not obstacles to the naturality of the presymmetry.
Definition 3.2.5 (Natural morphism and nature). Let ( C , ⊗ , π ) (\mathcal{C},\otimes,\pi) ( C , ⊗ , π ) be presymmetric. A morphism f : A → B f:A\to B f : A → B is natural with respect to π \pi π when, for every object C C C ,
( f ⊗ C ) π A , C = π B , C ( C ⊗ f ) (f\otimes C)\,\pi_{A,C}=\pi_{B,C}\,(C\otimes f) ( f ⊗ C ) π A , C = π B , C ( C ⊗ f ) and
( C ⊗ f ) π C , A = π C , B ( f ⊗ C ) . (C\otimes f)\,\pi_{C,A}=\pi_{C,B}\,(f\otimes C). ( C ⊗ f ) π C , A = π C , B ( f ⊗ C ) .
The wide subcategory of natural morphisms is called the Nature of the presymmetry. We call a presymmetric premonoidal category symmetric when every morphism belongs to its Nature.
For m , n ∈ N m,n \in\mathbb{N} m , n ∈ N , let τ m , n ∈ S m + n \tau_{m,n} \in\mathfrak{S}_{m+n} τ m , n ∈ S m + n be the block permutation exchanging the first m m m modes with the following n n n modes while preserving the order inside each block, and define
π m , n : = π τ m , n ∈ A m + n . \pi_{m,n} := \pi_{\tau_{m,n}} \in\mathfrak{A}_{m+n}. π m , n := π τ m , n ∈ A m + n .
Proposition 3.2.3. The family ( π m , n ) (\pi_{m,n}) ( π m , n ) makes ( C A R , ⊗ , π ) (\mathbf{CAR}, \otimes, \pi) ( CAR , ⊗ , π ) into a strict symmetric premonoidal category.
The symmetric premonoidal category ( C A R , ⊗ , π ) (\mathbf{CAR}, \otimes, \pi) ( CAR , ⊗ , π ) therefore captures the endomorphism semantics of Fermionic circuits. It remains disconnected, however: it contains no morphisms between registers of different sizes and cannot directly express state preparations, effects, ancillae or postselection. We now enlarge the semantics while preserving the structure identified above, recovering a semantics in the category of Hilbert spaces and linear maps through the Jordan–Wigner functor.
Categorical aspects of the Hilbert space semantics
Let
Π m , n : = J W m + n ( π m , n ) . \Pi_{m,n} := JW_{m+n}(\pi_{m,n}). Π m , n := J W m + n ( π m , n ) .
Proposition 3.3.1 (Jordan–Wigner image of Fermionic permutations). For x ∈ { 0 , 1 } m x \in\{0,1\}^{m} x ∈ { 0 , 1 } m and y ∈ { 0 , 1 } n y \in\{0,1\}^{n} y ∈ { 0 , 1 } n
Π m , n ( ∣ x ⟩ ⊗ ∣ y ⟩ ) = ( − 1 ) ∣ x ∣ ∣ y ∣ ∣ y ⟩ ⊗ ∣ x ⟩ . \Pi_{m,n}(|x\rangle\otimes|y\rangle) = (-1)^{|x||y|}|y\rangle\otimes|x\rangle. Π m , n ( ∣ x ⟩ ⊗ ∣ y ⟩) = ( − 1 ) ∣ x ∣∣ y ∣ ∣ y ⟩ ⊗ ∣ x ⟩ . In particular,
Π 1 , 1 = ∣ 00 ⟩ ⟨ 00 ∣ + ∣ 01 ⟩ ⟨ 10 ∣ + ∣ 10 ⟩ ⟨ 01 ∣ − ∣ 11 ⟩ ⟨ 11 ∣ . \Pi_{1,1} = |00\rangle\langle00| + |01\rangle\langle10| + |10\rangle\langle01| - |11\rangle\langle11|. Π 1 , 1 = ∣00 ⟩ ⟨ 00∣ + ∣01 ⟩ ⟨ 10∣ + ∣10 ⟩ ⟨ 01∣ − ∣11 ⟩ ⟨ 11∣. Thus Π \Pi Π is the graded swap associated with the parity grading of the occupation basis.
Definition 3.3.1 (LFM and EvenLFM). The category L F M \mathbf{LFM} LFM has objects N \mathbb{N} N and homogeneous linear maps
L F M [ m , n ] ⊆ L ( C 2 m , C 2 n ) \mathbf{LFM}[m,n] \subseteq\mathcal{L}(\mathbb{C}^{2^m},\mathbb{C}^{2^n}) LFM [ m , n ] ⊆ L ( C 2 m , C 2 n ) as morphisms. Its wide subcategory of even linear maps is denoted E v e n L F M \mathbf{EvenLFM} EvenLFM .
By the results of section 2.2, the Jordan–Wigner representation maps homogeneous CAR operators to homogeneous linear maps and even CAR operators to even linear maps. Thus it restricts to functors
J W : H o m C A R ⟶ L F M , J W : E v e n C A R ⟶ E v e n L F M . JW : \mathbf{HomCAR} \longrightarrow\mathbf{LFM}, \qquad JW : \mathbf{EvenCAR} \longrightarrow\mathbf{EvenLFM}. J W : HomCAR ⟶ LFM , J W : EvenCAR ⟶ EvenLFM .
For each m m m , these restrictions are isomorphisms on the corresponding endomorphism sets.
Unlike H o m C A R \mathbf{HomCAR} HomCAR , however, L F M \mathbf{LFM} LFM also contains rectangular processes. In particular, morphisms 0 → m 0 \to m 0 → m are homogeneous state vectors and morphisms m → 0 m \to0 m → 0 are homogeneous effects. It can therefore describe ancilla preparation and postselection.
The monoidal/symmetric trade-off. The ordinary tensor product restricts to a monoidal product on L F M \mathbf{LFM} LFM . However, the Fermionic permutation is not natural with respect to every homogeneous linear map.
Proposition 3.3.2. The family ( Π m , n ) (\Pi_{m,n}) ( Π m , n ) defines a presymmetry on ( Q u b i t , ⊗ ) (\mathbf{Qubit},\otimes) ( Qubit , ⊗ ) . Its Nature is exactly E v e n L F M \mathbf{EvenLFM} EvenLFM .
Thus there is a trade-off: the ordinary tensor product is genuinely monoidal, but the Fermionic symmetry is natural only for even processes. The same data may instead be organized so as to make the Fermionic symmetry natural at the price of weakening monoidality.
Lemma 3.3.1 (Monoidal vs. symmetric trade-off). Let ( C , ⊗ , I , π ) (\mathcal{C},\otimes,I,\pi) ( C , ⊗ , I , π ) be a strict monoidal category equipped with a presymmetry. Define a product ◯ \mathbin{\bigcirc} ◯ on objects by
A ◯ B : = A ⊗ B , A \mathbin{\bigcirc} B := A \otimes B, A ◯ B := A ⊗ B , and define the functors A ◯ ( − ) A \mathbin{\bigcirc}(-) A ◯ ( − ) and ( − ) ◯ A (-) \mathbin{\bigcirc} A ( − ) ◯ A diagrammatically by
A ◯ f : = π C , A ∘ ( f ⊗ i d A ) ∘ π A , B , A \mathbin{\bigcirc} f := \pi_{C,A} \circ(f \otimes\mathrm{id}_A) \circ\pi_{A,B}, A ◯ f := π C , A ∘ ( f ⊗ id A ) ∘ π A , B , and
A ◯ f : = π C , A ∘ ( f ⊗ i d A ) ∘ π A , B . A \mathbin{\bigcirc} f := \pi_{C,A} \circ(f \otimes\mathrm{id}_A) \circ\pi_{A,B}. A ◯ f := π C , A ∘ ( f ⊗ id A ) ∘ π A , B . Where the white background depicts the ⊗ \otimes ⊗ structure while the gray background depicts the ◯ \bigcirc ◯ structure.
Equivalently, for f : B → C f:B \to C f : B → C and an object A A A ,
f ◯ A : = f ⊗ A , f \mathbin{\bigcirc} A := f \otimes A, f ◯ A := f ⊗ A , and
A ◯ f : = π C , A ∘ ( f ⊗ i d A ) ∘ π A , B . A \mathbin{\bigcirc} f := \pi_{C,A} \circ(f \otimes\mathrm{id}_A) \circ\pi_{A,B}. A ◯ f := π C , A ∘ ( f ⊗ id A ) ∘ π A , B . Then ( C , ◯ , π ) (\mathcal{C},\bigcirc,\pi) ( C , ◯ , π ) is a strict symmetric premonoidal category. Moreover, the Nature of ( C , ◯ , π ) (\mathcal{C},\bigcirc,\pi) ( C , ◯ , π ) is contained in the centre of ( C , ⊗ ) (\mathcal{C},\otimes) ( C , ⊗ ) .
Applying Lemma 3.3.1 to ( Q u b i t , ⊗ , Π ) (\mathbf{Qubit},\otimes,\Pi) ( Qubit , ⊗ , Π ) gives a premonoidal product, also denoted ◯ \bigcirc ◯ . Its action on homogeneous maps admits a particularly simple description. Define the parity operator
P k : = ∑ z ∈ { 0 , 1 } k ( − 1 ) ∣ z ∣ ∣ z ⟩ ⟨ z ∣ . P_k := \sum_{z \in\{0,1\}^{k}} (-1)^{|z|}|z\rangle\langle z|. P k := z ∈ { 0 , 1 } k ∑ ( − 1 ) ∣ z ∣ ∣ z ⟩ ⟨ z ∣.
Lemma 3.3.2. Let f : m → n f:m \to n f : m → n be homogeneous of parity ∣ f ∣ ∈ Z 2 |f| \in\mathbb{Z}_2 ∣ f ∣ ∈ Z 2 . Then
f ◯ k = f ⊗ i d k , k ◯ f = P k ∣ f ∣ ⊗ f . f \bigcirc k = f \otimes\mathrm{id}_k, \qquad k \bigcirc f = P_k^{|f|} \otimes f. f ◯ k = f ⊗ id k , k ◯ f = P k ∣ f ∣ ⊗ f . In particular, ◯ \bigcirc ◯ restricts to both L F M \mathbf{LFM} LFM and E v e n L F M \mathbf{EvenLFM} EvenLFM . The graphical interchange equations introduced above now acquire their characteristic Fermionic sign.
Proposition 3.3.3 (Graded interchange in LFM). Let f : m → m ′ f:m \to m' f : m → m ′ and g : n → n ′ g:n \to n' g : n → n ′ be homogeneous. Then
( f ◯ n ′ ) ∘ ( m ◯ g ) = ( − 1 ) ∣ f ∣ ∣ g ∣ ( m ′ ◯ g ) ∘ ( f ◯ n ) . (f \bigcirc n') \circ(m \bigcirc g) = (-1)^{|f||g|}(m' \bigcirc g) \circ(f \bigcirc n). ( f ◯ n ′ ) ∘ ( m ◯ g ) = ( − 1 ) ∣ f ∣∣ g ∣ ( m ′ ◯ g ) ∘ ( f ◯ n ) . Consequently, the centre of ( L F M , ◯ ) (\mathbf{LFM},\bigcirc) ( LFM , ◯ ) is E v e n L F M \mathbf{EvenLFM} EvenLFM .
We can now summarize the relation between the algebraic and Hilbert-space semantics.
Theorem 3.3.1 (Premonoidal Jordan–Wigner semantics). The category ( Q u b i t , ◯ , Π ) (\mathbf{Qubit},\bigcirc,\Pi) ( Qubit , ◯ , Π ) is a strict symmetric premonoidal category, and its subcategories ( L F M , ◯ , Π ) (\mathbf{LFM},\bigcirc,\Pi) ( LFM , ◯ , Π ) and ( E v e n L F M , ◯ , Π ) (\mathbf{EvenLFM},\bigcirc,\Pi) ( EvenLFM , ◯ , Π ) inherit this structure. Moreover,
Z ( L F M , ◯ ) = E v e n L F M , Z(\mathbf{LFM},\bigcirc) = \mathbf{EvenLFM}, Z ( LFM , ◯ ) = EvenLFM ,
and the Jordan–Wigner functor
J W : ( C A R , ⊗ , π ) ⟶ ( Q u b i t , ⊗ , Π ) JW : (CAR,\mathbin{\otimes},\pi) \longrightarrow(Qubit,\mathbin{\otimes},\Pi) J W : ( C A R , ⊗ , π ) ⟶ ( Q u bi t , ⊗ , Π )
is a strict symmetric premonoidal functor. It restricts to
J W : H o m C A R ⟶ L F M , J W : E v e n C A R ⟶ E v e n L F M . JW : \mathbf{HomCAR} \longrightarrow LFM,\qquad JW : \mathbf{EvenCAR} \longrightarrow\mathbf{EvenLFM}. J W : HomCAR ⟶ L F M , J W : EvenCAR ⟶ EvenLFM .
The same category LFM therefore carries two useful structures:
( L F M , ⊗ , Π ) and ( L F M , ⊗ , Π ) . (LFM,\mathbin{\otimes},\Pi)\qquad\text{and}\qquad(LFM,\mathbin{\otimes},\Pi). ( L F M , ⊗ , Π ) and ( L F M , ⊗ , Π ) .
With the ordinary tensor product, composition on independent systems is strictly monoidal, but the Fermionic symmetry is natural only for even maps. With the premonoidal product, the Fermionic symmetry becomes natural for all homogeneous processes, while two odd processes on disjoint systems fail interchange by a sign.
The second structure is the one directly induced by the CAR semantics and therefore provides our denotational semantics for Fermionic circuits. The first, however, is often more convenient for presenting and rewriting linear maps. In the following section, we develop a local syntax for these maps and study when its rewrites faithfully represent Fermionic circuits; the distinction between ⊗ \otimes ⊗ and ⊗ \mathbin{\otimes} ⊗ will allow us to keep track of precisely where Fermionic signs come into play.
Diagrammatic syntax of LFM-based quantum computing
In § 2 , we presented the Bravyi and Kitaev LFM circuit model, and in § 3 , we studied the categorical aspects of its two semantics, either in the symmetric premonoidal category ( L F M , ⊗ , Π ) (LFM,\mathbin{\otimes},\Pi) ( L F M , ⊗ , Π ) or in the presymmetric monoidal category ( L F M , ⊗ , Π ) (LFM,\otimes,\Pi) ( L F M , ⊗ , Π ) .
In order to be executed on a fermionic machine, it is necessary to know how to rewrite a logical LFM circuit C C C in an equivalent circuit C ′ C' C ′ whose gates are native on the target fermionic platform. Here, equivalent means that their denotations are the same.
C ⇝ ∗ C ′ with ⟦ C ⟧ = ⟦ C ′ ⟧ C \rightsquigarrow^{*} C'\qquad\text{with}\qquad\llbracket C\rrbracket=\llbracket C'\rrbracket C ⇝ ∗ C ′ with [ [ C ] ] = [ [ C ′ ] ]
To that extent, the monoidal semantics is better suited, for the rewriting can be encapsulated by a sequence of local rewrites which constitute an equational theory of the underlying monoidal category. Such equational theories of circuits have a long history, from the algebraic treatment of Boolean circuits by Lafont [22 ] to recent complete equational theories for quantum circuits [10 , 11 , 12 ] . In categorical terms, they can be formalized as prop theories.
Props and their theories
When manipulating usual quantum circuits, like when manipulating fermionic circuits, the monoidal (or premonoidal) categories considered have more features: their monoid of objects is freely generated by a single object denoted 1 1 1 .
Example. This single object corresponds to:
1 = C 2 1=\mathbb{C}^{2} 1 = C 2 in Qubit ,
1 = C d 1=\mathbb{C}^{d} 1 = C d in Qudit ,
1 = C 2 1=\mathbb{C}^{2} 1 = C 2 in LFM ,
1 1 1 as the abstract object for one fermionic mode in CAR .
Given a set of usual quantum gates, the category of formal quantum circuits one can build with them is a symmetric monoidal category whose monoid of objects is freely spanned by a single object: a one-qubit system, represented with a wire. Such categories are called props.
Definition 4.1.1 (PROP). [21 ] A prop is a (strict) symmetric monoidal category whose monoid of objects is freely generated by a single object 1 1 1 .
The n n n -fold monoidal product is denoted 1 + ⋯ + 1 = n 1+\cdots+1=n 1 + ⋯ + 1 = n for n ∈ N n\in\mathbb{N} n ∈ N . The monoidal product on morphisms is denoted ⊗ \otimes ⊗ . The generating symmetry is generally denoted σ : 2 → 2 \sigma:2\to2 σ : 2 → 2 .
Fermionic circuits on Bravyi-Kitaev’s gate set form a prop: indeed, the semantics of all the gates is either in EvenCAR , ( ⊗ , π ) (\otimes,\pi) ( ⊗ , π ) or (EvenLFM , ⊗ , Π \otimes,\Pi ⊗ , Π ), which are props (arrows are all central and natural in both cases). As a consequence, Bravyi and Kitaev’s circuits can be manipulated as usual quantum circuits. This is the case for any circuit on an even gate set.
Props can be represented diagrammatically with a single type of wire, corresponding to the core object 1 1 1 .
Composite objects n = 1 + ⋯ + 1 n=1+\cdots+1 n = 1 + ⋯ + 1 are represented by n n n parallel wires.
⋮ ( n ) \begin{gathered}
\vdots\\
(n)
\end{gathered} ⋮ ( n )
In general, when considering the prop of quantum (resp. fermionic) circuits on a gate set (resp. even gate set), its denotational semantics is equivalent to the category of formal circuits quotiented by all equations involving the gates that are valid in the semantics. This idea can be generalized to provide axiomatizations of props given by a formal category of diagrams over a set of generators quotiented by a set of equations. Such an axiomatization is called a prop theory.
Definition 4.1.2 (PROP THEORY). A prop theory is a pair T = ( Σ , E ) \mathcal{T}=(\Sigma,E) T = ( Σ , E ) consisting of a set of generators Σ \Sigma Σ and a set of equations E E E :
Σ \Sigma Σ contains typed generators g : n → m g:n\to m g : n → m with n , m ∈ N n,m\in\mathbb{N} n , m ∈ N ,
Formal diagrams D , D ′ , … D,D',\ldots D , D ′ , … are defined inductively as either:
g ∈ Σ g\in\Sigma g ∈ Σ , a generator,
i d 1 : 1 → 1 \mathrm{id}_{1}:1\to1 id 1 : 1 → 1 , the identity on the core object,
σ : 2 → 2 \sigma:2\to2 σ : 2 → 2 , the generating symmetry,
D ∘ D ′ : n → m D\mathbin{\circ}D':n\to m D ∘ D ′ : n → m , the composition of two formal diagrams D : k → m D:k\to m D : k → m , D ′ : n → k D':n\to k D ′ : n → k ,
D ⊗ D ′ : n + n ′ → m + m ′ D\otimes D':n+n'\to m+m' D ⊗ D ′ : n + n ′ → m + m ′ , the monoidal product of two formal diagrams D : n → m D:n\to m D : n → m , D ′ : n ′ → m ′ D':n'\to m' D ′ : n ′ → m ′ .
E E E contains pairs of formal diagrams ( D , D ′ ) (D,D') ( D , D ′ ) of the same type n → m n\to m n → m .
Given a prop theory T = ( Σ , E ) \mathcal{T}=(\Sigma,E) T = ( Σ , E ) , there is a corresponding prop generated by Σ \Sigma Σ and quotiented by E E E and the axioms of symmetric monoidal categories. In practice, we denote both the theory and the corresponding prop T \mathcal{T} T and rely on the context to disambiguate.
Definition 4.1.3 (SEMANTIC FUNCTOR). Let T \mathcal{T} T be a prop theory, P \mathcal{P} P a prop. A symmetric monoidal functor ⟦ ⋅ ⟧ P : T → P \llbracket\cdot\rrbracket_{\mathcal{P}}:\mathcal{T}\to\mathcal{P} [ [ ⋅ ] ] P : T → P is called a semantic functor of T \mathcal{T} T in the prop P \mathcal{P} P . We say that T \mathcal{T} T is universal for P \mathcal{P} P when ⟦ ⋅ ⟧ P \llbracket\cdot\rrbracket_{\mathcal{P}} [ [ ⋅ ] ] P is full, and that T \mathcal{T} T is complete for P \mathcal{P} P when ⟦ ⋅ ⟧ P \llbracket\cdot\rrbracket_{\mathcal{P}} [ [ ⋅ ] ] P is faithful.
When the context is clear, we simply write ⟦ ⋅ ⟧ P \llbracket\cdot\rrbracket_{\mathcal{P}} [ [ ⋅ ] ] P for ⟦ ⋅ ⟧ P \llbracket\cdot\rrbracket_{\mathcal{P}} [ [ ⋅ ] ] P .
Let T B K , 0 = ( { G 1 , G 2 , G 3 , G 4 } , ∅ ) \mathcal{T}_{\mathrm{BK},0}=(\{\mathcal{G}_{1},\mathcal{G}_{2},\mathcal{G}_{3},\mathcal{G}_{4}\},\varnothing) T BK , 0 = ({ G 1 , G 2 , G 3 , G 4 } , ∅ ) be the theory of formal circuits on Bravyi and Kitaev’s gate set. We have defined in previous sections a semantic functor ⟦ ⋅ ⟧ L F M : T → ( E v e n L F M , ⊗ , Π ) \llbracket\cdot\rrbracket_{\mathrm{LFM}}:\mathcal{T}\to(\mathbf{EvenLFM},\otimes,\Pi) [ [ ⋅ ] ] LFM : T → ( EvenLFM , ⊗ , Π ) through [ [ ] ] L F M = J ∘ [ [ ] ] C A R [\![\ ]\!]_{\mathrm{LFM}} = J \circ[\![\ ]\!]_{\mathrm{CAR}} [ [ ] ] LFM = J ∘ [ [ ] ] CAR . This theory is not complete at all: E = ∅ E = \varnothing E = ∅ and thus different formal circuits implementing the same unitary are not equal in T B K , ∅ \mathsf{T}_{\mathrm{BK},\varnothing} T BK , ∅ . A complete theory for Bravyi–Kitaev’s circuits T B K = ( { G 1 , … , G 4 } , E ) \mathsf{T}_{\mathrm{BK}} = (\{\mathcal{G}_1,\ldots,\mathcal{G}_4\},E) T BK = ({ G 1 , … , G 4 } , E ) would be such that for two circuits C 1 , C 2 : m → m C_1,C_2:m\to m C 1 , C 2 : m → m with [ [ C 1 ] ] L F M = [ [ C 2 ] ] L F M [\![C_1]\!]_{\mathrm{LFM}} = [\![C_2]\!]_{\mathrm{LFM}} [ [ C 1 ] ] LFM = [ [ C 2 ] ] LFM , there is a way to transform C 1 C_1 C 1 into C 2 C_2 C 2 by performing local rewrites C ← C ′ C\leftarrow C' C ← C ′ for ( C , C ′ ) ∈ E (C,C')\in E ( C , C ′ ) ∈ E , where either C C C or C ′ C' C ′ is a subcircuit of either C 1 C_1 C 1 or C 2 C_2 C 2 .
Note that on EvenLFM , ⊚ \mathbin{\circledcirc} ⊚ and ⊗ \otimes ⊗ coincide. In order to deduce sound equations on circuits over Bravyi and Kitaev’s gate set, it maybe useful to translate them to another prop theory interpreted in (EvenLFM , ⊗ \otimes ⊗ , Π \Pi Π ). This method is similar to ZX-calulus for usual quantum circuits: translate quantum circuits to a more expressive prop theory (ZX-calculus), in which one can represent any linear maps, and which is already proven complete for the target semantics. If a quantum circuit C C C translates to a ZX diagram D D D , and that we know how to rewrite D ⇝ ∗ D ′ D\rightsquigarrow^*D' D ⇝ ∗ D ′ with C ′ C' C ′ a circuit such that [ [ C ] ] = [ [ D ] ] [\![C]\!] = [\![D]\!] [ [ C ] ] = [ [ D ] ] and [ [ C ′ ] ] = [ [ D ′ ] ] [\![C']\!] = [\![D']\!] [ [ C ′ ] ] = [ [ D ′ ] ] , then ( C , C ′ ) (C,C') ( C , C ′ ) is a sound equation.
Based on the work of De Felice, Hadžihasanović, Ng[15 , 25 ] , we propose to use the complete prop theory EZW , whose generators are given together with their semantics in Figure 1.
Theorem 4.1.1 (De Felice, Hadžihasanović, Ng [25 ] ). There is a complete prop theory denoted EZW of (EvenLFM , ⊗ \otimes ⊗ , Π \Pi Π ) with generators:
▹ ◃ (cup and cap generators, together with the remaining generators shown in Figure 1) \triangleright\quad\triangleleft\quad\text{(cup and cap generators, together with the remaining generators shown in Figure 1)} ▹ ◃ (cup and cap generators, together with the remaining generators shown in Figure 1)
Note that our set generators slightly differs from the one in [25 ] . The reason is that we choose to consider the fermionic swap
[ [ fermionic swap ] ] L F M = Π 1 , 1 = ∣ 00 ⟩ ⟨ 00 ∣ + ∣ 10 ⟩ ⟨ 01 ∣ + ∣ 01 ⟩ ⟨ 10 ∣ − ∣ 11 ⟩ ⟨ 11 ∣ [\![\ \text{fermionic swap}\ ]\!]_{\mathrm{LFM}} = \Pi_{1,1} = |00\rangle\langle00|+|10\rangle\langle01|+|01\rangle\langle10|-|11\rangle\langle11| [ [ fermionic swap ] ] LFM = Π 1 , 1 = ∣00 ⟩ ⟨ 00∣ + ∣10 ⟩ ⟨ 01∣ + ∣01 ⟩ ⟨ 10∣ − ∣11 ⟩ ⟨ 11∣
as paradigmatic symmetry instead of the usual swap
[ [ swap ] ] L F M = ∣ 00 ⟩ ⟨ 00 ∣ + ∣ 10 ⟩ ⟨ 01 ∣ + ∣ 01 ⟩ ⟨ 10 ∣ + ∣ 11 ⟩ ⟨ 11 ∣ . [\![\ \text{swap}\ ]\!]_{\mathrm{LFM}} = |00\rangle\langle00|+|10\rangle\langle01|+|01\rangle\langle10|+|11\rangle\langle11|. [ [ swap ] ] LFM = ∣00 ⟩ ⟨ 00∣ + ∣10 ⟩ ⟨ 01∣ + ∣01 ⟩ ⟨ 10∣ + ∣11 ⟩ ⟨ 11∣.
Additionally, we choose to consider x \mathsf{x} x as a true generator instead of a mere syntactic sugar, so as to replace the classical swap as a generator by x \mathsf{x} x , without losing or gaining expressivity as:
classical swap = − 2 and x = (corresponding generator expression) . \text{classical swap} = -2\quad\text{and}\quad\mathsf{x} = \text{(corresponding generator expression)}. classical swap = − 2 and x = (corresponding generator expression) .
The complete set of rewrite rules for the original theory (see [25 ] ) directly translates to a complete set of equations for this version. In EZW , the Bravyi–Kitaev gate set is represented as:
G 1 = e i π / 4 \mathcal{G}_1 = e^{i\pi/4} G 1 = e iπ /4
G 2 = (diagram shown in Figure 1) \mathcal{G}_2 = \text{(diagram shown in Figure 1)} G 2 = (diagram shown in Figure 1)
G 3 = − 1 2 (diagram shown in Figure 1) \mathcal{G}_3 = -\frac{1}{2}\text{ (diagram shown in Figure 1)} G 3 = − 2 1 (diagram shown in Figure 1)
G 4 = e i π / 4 − 1 (diagram shown in Figure 1) \mathcal{G}_4 = e^{i\pi/4}-1\text{ (diagram shown in Figure 1)} G 4 = e iπ /4 − 1 (diagram shown in Figure 1)
The gray background stands for ambient ⊚ \mathbin{\circledcirc} ⊚ structure, while the ⊗ \otimes ⊗ structure is pictured with white background. Recall that the ⊚ \mathbin{\circledcirc} ⊚ and ⊗ \otimes ⊗ structure coincide on EvenLFM .
Example (An even LFM circuit translated in EZW). Consider the following LFM circuit, which can be translated in EZW as follows because the ⊚ \mathbin{\circledcirc} ⊚ and ⊗ \otimes ⊗ structure coincide on EvenLFM .
G 2 G 2 G 4 G 1 G 2 G_2\quad G_2\quad G_4\quad G_1\quad G_2 G 2 G 2 G 4 G 1 G 2
Note that x \mathsf{x} x is only involved in the expression for G 4 G_4 G 4 . As a consequence, studying the fragment generated by the other generators of EZW is of interest to manipulate circuits of gate set { G 1 , G 2 , G 3 } \{G_1,G_2,G_3\} { G 1 , G 2 , G 3 } . We propose the following axiomatization of this fragment, denoted EW .
Definition 4.1.4 (EW). EW is the following prop theory with canonical symmetry π \pi π :
Generators of EW
▹ ◃ (remaining generators shown) x \triangleright\quad\triangleleft\quad\text{(remaining generators shown)}\quad\mathsf{x} ▹ ◃ (remaining generators shown) x
Equations of EW are pictured on Figure 2
Figure 2. Axioms of the four equational theories. The overlapping regions represent inclusions between the corresponding fragments; each axiom is displayed in the smallest fragment in which it occurs. By convention, equations of EoW and FoW are also valid when mirrored with respect to the vertical axis.
Another fragment of interest is obtained by removing cups and caps, which are only needed to express G 3 G_3 G 3 . We call it EoW , for Even oriented W : in the absence of cups and caps, every diagram admits an unambiguous global input-to-output orientation, with no wire bending from an output back towards an input.
Figure 1 (PDF p. 11). Generators of the six graphical theories and their semantics in LFM. Each generator is displayed in the smallest fragment in which it occurs. The parameters x x x range over C \mathbb{C} C . The fermionic swap is the paradigmatic (pre)symmetry and is therefore not displayed as a generator.
Definition 4.1.5 (EoW). EoW is the following prop theory with canonical symmetry Π \Pi Π :
Generators of EoW
Equations of EoW are pictured on Figure 2
Although the structure of EoW is very simple, being the smallest fragment carrying the Hopf algebra formed by the multiplication and comultiplication, with antipode − 1 -1 − 1 [19 ] , it is sufficient to manipulate circuits of gate set { G 1 , G 2 } \{G_1,G_2\} { G 1 , G 2 } .
We have introduced a hierarchy of prop theories:
EoW ⟶ \longrightarrow ⟶ EW ⟶ \longrightarrow ⟶ EZW
which can be used to deduce rewrites on LFM circuits on increasingly smaller subsets of the gate set:
{ G 1 , G 2 } ⊂ { G 1 , G 2 , G 3 } ⊂ { G 1 , G 2 , G 3 , G 4 } \{G_1,G_2\}\subset\{G_1,G_2,G_3\}\subset\{G_1,G_2,G_3,G_4\} { G 1 , G 2 } ⊂ { G 1 , G 2 , G 3 } ⊂ { G 1 , G 2 , G 3 , G 4 }
What if we want the same for LFM circuits containing odd gates, such as F F F , introduced in section 2.3? Then, the ◯ \mathbin{\bigcirc} ◯ and ⊗ \otimes ⊗ structures do not coincide anymore, leading to a different way of translating LFM circuits into diagrams.
Example (An LFM circuit with odd F F F gates, with ◯ \mathbin{\bigcirc} ◯ and ⊗ \otimes ⊗ ). Consider the following LFM circuit. Due to Lemma 3.3.1 on the relation between the ◯ \mathbin{\bigcirc} ◯ and ⊗ \otimes ⊗ structures, we have:
Figure 4.
Furthermore, with respect to ⊗ \otimes ⊗ , Π \Pi Π is only presymmetric, and therefore ( L F M , ⊗ , Π ) (\mathrm{LFM},\otimes,\Pi) ( LFM , ⊗ , Π ) is not a prop, which calls for a relaxation of the prop notion: namely, pronaps and their theories.
Pronaps and their theories
The categories generated by fermionic gates do not have to be a prop: they may be only presymmetric monoidal. This leads to the definition of a relaxed version of props: the pronaps.
Definition 4.2.1 (pronap). A pronap (for PROduct and Non-nAtural Permutations) is a presymmetric monoidal category whose monoid of objects is freely generated by a single object 1 1 1 . The n n n -fold monoidal product of 1 1 1 is denoted n n n , and the monoidal product on arrows is denoted ⊗ \otimes ⊗ . The generating presymmetry is denoted π \pi π .
Proposition 4.2.1. ( L F M , ⊗ , Π ) (\mathrm{LFM},\otimes,\Pi) ( LFM , ⊗ , Π ) is a pronap.
As with props, we want to axiomatize pronaps via sets of generators and equations: a pronap theory . So as to avoid overloading the set of equations with a naturality equation for each natural generator, we differentiate natural and non-natural generators in the formal definition of these theories.
Definition 4.2.2 (pronap theory). A pronap theory is a pair T = ( Σ , E ) \mathcal{T}=(\Sigma,E) T = ( Σ , E ) consisting of a set of generators Σ \Sigma Σ and a set of equations E E E :
Σ \Sigma Σ contains typed generators g : n → m g:n\to m g : n → m partitioned into two sets Σ n a t \Sigma_{nat} Σ na t and Σ ‾ n a t \overline{\Sigma}_{nat} Σ na t , containing respectively natural and non-natural generators.
Formal diagrams are defined inductively as follows:
a generator g ∈ Σ g\in\Sigma g ∈ Σ ,
the identity i d 1 : 1 → 1 \mathrm{id}_1:1\to1 id 1 : 1 → 1 ,
the generating presymmetry π : 2 → 2 \pi:2\to2 π : 2 → 2 ,
D ∘ D ′ : n → m D\circ D':n\to m D ∘ D ′ : n → m , the composition of two formal diagrams D : k → m D:k\to m D : k → m , D ′ : n → k D':n\to k D ′ : n → k ,
the monoidal product D ⊗ D ′ : n + n ′ → m + m ′ D\otimes D':n+n'\to m+m' D ⊗ D ′ : n + n ′ → m + m ′ for D : n → m D:n\to m D : n → m , D ′ : n ′ → m ′ D':n'\to m' D ′ : n ′ → m ′ formal diagrams.
E E E contains pairs of formal diagrams ( D , D ′ ) (D,D') ( D , D ′ ) of the same type n → m n\to m n → m .
Given a pronap theory ( Σ n a t ∪ Σ ‾ n a t , E ) (\Sigma_{nat}\cup\overline{\Sigma}_{nat},E) ( Σ na t ∪ Σ na t , E ) , there is a corresponding pronap generated by Σ n a t ∪ Σ ‾ n a t \Sigma_{nat}\cup\overline{\Sigma}_{nat} Σ na t ∪ Σ na t and quotiented by E E E and the axioms of presymmetric monoidal categories, including the naturality equations for all generators g ∈ Σ n a t g\in\Sigma_{nat} g ∈ Σ na t . In practice, we denote both the theory and the corresponding pronap T \mathcal{T} T and rely on the context to disambiguate.
Definition 4.2.3 (Semantics of a pronap theory). Let T \mathcal{T} T be a pronap theory, P P P a pronap. A semantics of T \mathcal{T} T in P P P is a monoidal functor ⟦ ⋅ ⟧ P : T → P \llbracket\cdot\rrbracket_P:\mathcal{T}\to P [ [ ⋅ ] ] P : T → P such that ⟦ π ⟧ P = π P \llbracket\pi\rrbracket_P=\pi_P [ [ π ] ] P = π P . We say that T \mathcal{T} T is universal for P P P when ⟦ ⋅ ⟧ P \llbracket\cdot\rrbracket_P [ [ ⋅ ] ] P is full, and complete for P P P when ⟦ ⋅ ⟧ P \llbracket\cdot\rrbracket_P [ [ ⋅ ] ] P is faithful.
Theorem 4.2.1 (De Felice, Hadžihasanović, Ng, [15 ] ). There is a complete pronap theory denoted FZW of ( L F M , ⊗ , Π ) (\mathrm{LFM},\otimes,\Pi) ( LFM , ⊗ , Π ) with generators:
Figure 5.
Note that our set of generators is again different from the one in [15 ] . As for FZW, we get rid of the usual swap, both as a paradigmatic symmetry and as a generator, and replace it by:
Figure 6.
The original presentation of the calculus uses the generator
Figure 7.
We choose to stick with the generators of FZW, only adding one non-natural new generator, which allows us to recover the same expressivity, as can be expressed as a syntactic sugar as follows:
Figure 8.
This presentation has the merits to reduce to one the number of non-natural generator of the pronap theory, which makes diagrammatic reasoning on FZW diagrams arguably easier. Furthermore, the new generator happens to be the translation in FZW of the F F F gate:
Figure 9.
As a result, it is possible to translate fermionic circuits on the gate-set ( G 1 , G 2 , G 3 , G 4 , F ) (G_1,G_2,G_3,G_4,F) ( G 1 , G 2 , G 3 , G 4 , F ) to FZW diagrams.
Example (An LFM circuit with odd F F F gates translated to FZW). Consider the following LFM circuit, which can be translated in FZW as follows due to Lemma 3.3.1 on the relation between the ◯ \bigcirc ◯ and $\otimes structures:
Figure unnumbered.
As before, the fragment obtained by removing the generator x \mathsf{x} x is sufficient to translate LFM circuits on the gate-set ( G 1 , G 2 , G 3 , F ) (\mathcal{G}_1,\mathcal{G}_2,\mathcal{G}_3,F) ( G 1 , G 2 , G 3 , F ) . This fragment is called FW .
Definition 4.2.4 (FW). FW is the following pronap theory with canonical presymmetry diagram \mathord{\text{\scriptsize diagram}} diagram :
Figure unnumbered (PDF p. 13).
Equations of FW are pictured on Figure 2.
The pronap theory FW is an axiomatisation of the exact same category that was studied by Carette et al. in [8 ] through a pro theory called pW , that is to say an equational theory with no paradigmatic symmetry or presymmetry whatsoever.
Theorem 4.2.2 (Carette, Moutot, Perez, Vilmart). There is a complete pro theory pW and generators:
Figure unnumbered (PDF p. 13, second).
In pW , the fermionic swap diagram \mathord{\text{\scriptsize diagram}} diagram is only a syntactic sugar which is decomposed as:
Figure unnumbered (PDF p. 13, third).
As a consequence, pW diagrams are essentially open planar graphs, hence the name planar W calculus. The FW presentation of the same category has, on the other hand, a paradigmatic presymmetry diagram \mathord{\text{\scriptsize diagram}} diagram and limits the number of non-natural generators with respect to this presymmetry to one: diagram \mathord{\text{\scriptsize diagram}} diagram .
Another interesting pronap can be obtained by adding non-natural generators diagram \mathord{\text{\scriptsize diagram}} diagram and diagram \mathord{\text{\scriptsize diagram}} diagram to EoW , which can be understood as allowing preparation and postselection of states and effects ∣ 1 ⟩ |1\rangle ∣1 ⟩ , ⟨ 1 ∣ \langle1| ⟨ 1∣ , that is of filled fermionic modes, to circuits on the gate set ( G 1 , G 2 ) (\mathcal{G}_1,\mathcal{G}_2) ( G 1 , G 2 ) .
Definition 4.2.5 (FoW). FoW is the following pronap theory with canonical presymmetry diagram \mathord{\text{\scriptsize diagram}} diagram :
Figure unnumbered (PDF p. 13, fourth).
Equations of FoW are pictured on Figure 2.
To sum up, here is a picture of the hierarchy of fragments of FZW :
Figure unnumbered (PDF p. 13, fifth).
And there is the corresponding hierarchy of gate-sets from which each fragment can be used to write LFM circuits.
Figure unnumbered (PDF p. 13, sixth).
We already have completeness for FZW , EZW , and pW , which is a theory for the same category as FW . In § 5 , we provide proofs of the completeness of EoW , FoW , EW , and a new completeness proof for FW , via the introduction of another formal tool: scalable notations for pronaps .
Scalable notations and completeness results
Scalable notations were introduced in the SZX-calculus to manipulate families of wires and generators compactly, and was later abstracted from ZX to arbitrary coloured props [7 , 9 ] . This construction is closely related to graphical approaches to strictification and de-strictification, where the bookkeeping hidden by strict monoidal syntax is made explicit [35 ] . Scalable notations have since also appeared in Graphical Symplectic Algebra, and more recently, Graphical Algebraic Geometry [4 , 17 ] , both of which connect to the broader Graphical Linear Algebra programme [3 ] . Here, we extend scalable notations from props to pronaps and use it to formulate the normal forms and completeness results of the fragments introduced above.
Scalable notations
The pronap theories of subcategories of ( L F M , ⊗ , π ) (\mathrm{LFM}, \otimes, \pi) ( LFM , ⊗ , π ) allow one to manipulate fermionic circuits through local rewrites. However, the diagrammatic reasoning involved may become tedious when considering large fermionic circuits whose underlying diagrams quickly become untractable.
Scalable notations constitute a syntactical tool that solves this issue by giving a more compact description of certain large diagrams. The idea is to axiomatize a category S P \mathcal{SP} S P which is equivalent to P \mathcal{P} P , but whose monoid of objects is freely spanned by the set { m ∣ m ∈ N } \{m \mid m \in\mathbb{N}\} { m ∣ m ∈ N } , where type m m m corresponds to a register of m m m modes and is pictured as a thick wire m m m .
Definition 5.1.1 (Scaled pronap). Given a pronap P \mathcal{P} P , S P \mathcal{SP} S P is the monoidal presymmetric category whose monoid of objects is freely spanned by { m ∣ m > 0 } \{m \mid m > 0\} { m ∣ m > 0 } . The k k k -fold monoidal product of object m m m is denoted m + ⋯ + m = k ⋅ m m+\cdots+m=k\cdot m m + ⋯ + m = k ⋅ m . S P \mathcal{SP} S P is defined as:
S P [ ∑ i = 1 k m i , ∑ j = 1 k ′ m j ′ ] : = P [ ∑ i = 1 k m i , ∑ j = 1 k ′ m j ′ ] . \mathcal{SP}\left[\begin{array}{c}
\sum_{i=1}^{k}m_i,\sum_{j=1}^{k'}m'_j
\end{array}\right]:=\mathcal{P}\left[\sum_{i=1}^{k}m_i,\sum_{j=1}^{k'}m'_j\right]. S P [ ∑ i = 1 k m i , ∑ j = 1 k ′ m j ′ ] := P i = 1 ∑ k m i , j = 1 ∑ k ′ m j ′ .
π m 1 + ⋯ + m k , m 1 ′ + ⋯ + m k ′ ′ : = π m 1 + ⋯ + m k , m 1 ′ + ⋯ + m k ′ ′ . \pi_{m_1+\cdots+m_k,\;m'_1+\cdots+m'_{k'}}:=\pi_{m_1+\cdots+m_k,\;m'_1+\cdots+m'_{k'}}. π m 1 + ⋯ + m k , m 1 ′ + ⋯ + m k ′ ′ := π m 1 + ⋯ + m k , m 1 ′ + ⋯ + m k ′ ′ .
There is an immediate monoidal equivalence
P ⇄ ι P unfold P S P \mathcal{P}\underset{\operatorname{unfold}_{\mathcal{P}}}{\overset{\iota_{\mathcal{P}}}{\rightleftarrows}}\mathcal{SP} P unfold P ⇄ ι P S P
with
ι P ( m ) = m ⋅ 1 ι P ( f ) = f : m ⋅ 1 → m ′ ⋅ 1 \begin{aligned}
\iota_{\mathcal{P}}(m)&=m\cdot1\\
\iota_{\mathcal{P}}(f)&=f:m\cdot1\to m'\cdot1
\end{aligned} ι P ( m ) ι P ( f ) = m ⋅ 1 = f : m ⋅ 1 → m ′ ⋅ 1
and
unfold P ( m 1 + ⋯ + m k ) = m 1 + ⋯ + m k unfold P ( f ) = f \begin{aligned}
\operatorname{unfold}_{\mathcal{P}}(m_1+\cdots+m_k)&=m_1+\cdots+m_k\\
\operatorname{unfold}_{\mathcal{P}}(f)&=f
\end{aligned} unfold P ( m 1 + ⋯ + m k ) unfold P ( f ) = m 1 + ⋯ + m k = f
Note that in S P \mathcal{SP} S P , m + m ′ ≠ m + m ′ m+m'\ne m+m' m + m ′ = m + m ′ . These two distinct objects correspond to two different ways of grouping fermionic modes:
n m ≠ n + m \frac{n}{m}\ne n+m m n = n + m
These two objects are however isomorphic, via
id m + m ′ ∈ S P [ m + m ′ , m + m ′ ] id m + m ′ ∈ S P [ m + m ′ , m + m ′ ] \begin{aligned}
\operatorname{id}_{m+m'}&\in\mathcal{SP}[m+m',m+m']\\
\operatorname{id}_{m+m'}&\in\mathcal{SP}[m+m',m+m']
\end{aligned} id m + m ′ id m + m ′ ∈ S P [ m + m ′ , m + m ′ ] ∈ S P [ m + m ′ , m + m ′ ]
We denote these isomorphisms δ m , m ′ \delta_{m,m'} δ m , m ′ and γ m , m ′ \gamma_{m,m'} γ m , m ′ , and call them the divider and the gatherer. Pictorially, they are represented as:
δ m , m ′ : m + m ′ → m + m ′ γ m , m ′ : m + m ′ → m + m ′ \delta_{m,m'}:m+m'\to m+m'
\qquad
\gamma_{m,m'}:m+m'\to m+m' δ m , m ′ : m + m ′ → m + m ′ γ m , m ′ : m + m ′ → m + m ′
and are subject to equations:
Exp n , n ′ , n ′ ′ = Exp n , n ′ , n ′ ′ Elim n , n ′ , n ′ ′ = Elim n , n ′ , n ′ ′ \begin{aligned}
\operatorname{Exp}_{n,n',n''}&=\operatorname{Exp}_{n,n',n''}\\
\operatorname{Elim}_{n,n',n''}&=\operatorname{Elim}_{n,n',n''}
\end{aligned} Exp n , n ′ , n ′′ Elim n , n ′ , n ′′ = Exp n , n ′ , n ′′ = Elim n , n ′ , n ′′
Note that, modulo these equations, any two diagrams of the same type composed only of dividers and gatherers are equal. It turns out that adding these families of generators and equations to a pronap theory for P \mathcal{P} P results in an axiomatization of S P \mathcal{SP} S P .
Definition 5.1.2 (Scaled pronap theory). Let T = ( Σ n a t ∪ Σ ‾ n a t , E ) \mathcal{T}=(\Sigma_{\mathrm{nat}}\cup\overline{\Sigma}_{\mathrm{nat}},E) T = ( Σ nat ∪ Σ nat , E ) be a pronap theory. The scaled theory S T \mathcal{ST} S T is a pair ( S Σ , S E ) (S\Sigma,SE) ( S Σ , S E ) consisting of a set of generators S Σ S\Sigma S Σ and a set of equations S E SE S E .
S E SE S E contains all pairs of formal diagrams ( D , D ′ ) ∈ E (D,D')\in E ( D , D ′ ) ∈ E typed m ⋅ 1 → m ′ ⋅ 1 m\cdot1\to m'\cdot1 m ⋅ 1 → m ′ ⋅ 1 together with equations
Exp m , m ′ = ( δ m , m ′ ∘ γ m , m ′ , id m ⊗ id m ′ ) \operatorname{Exp}_{m,m'}=(\delta_{m,m'}\circ\gamma_{m,m'},\operatorname{id}_m\otimes\operatorname{id}_{m'}) Exp m , m ′ = ( δ m , m ′ ∘ γ m , m ′ , id m ⊗ id m ′ ) and
Elim m , m ′ = ( γ m , m ′ ∘ δ m , m ′ , id m + m ′ ) \operatorname{Elim}_{m,m'}=(\gamma_{m,m'}\circ\delta_{m,m'},\operatorname{id}_{m+m'}) Elim m , m ′ = ( γ m , m ′ ∘ δ m , m ′ , id m + m ′ ) for m , m ′ ∈ N m,m'\in\mathbb{N} m , m ′ ∈ N .
Given a scaled pronap theory S T = ( S Σ , S E ) \mathcal{ST}=(S\Sigma,SE) S T = ( S Σ , S E ) there is a corresponding presymmetric monoidal category generated by S Σ S\Sigma S Σ and quotiented by S E SE S E and the axioms of presymmetric monoidal categories, including the naturality equations for all generators g ∈ S Σ n a t g\in S\Sigma_{\mathrm{nat}} g ∈ S Σ nat and dividers and gatherers.
Note that by construction, any semantics of T \mathcal{T} T in pronap P \mathcal{P} P [ [ ⋅ ] ] P : T → P [\![\cdot]\!]_{\mathcal{P}}:\mathcal{T}\to\mathcal{P} [ [ ⋅ ] ] P : T → P induces a functor [ [ ⋅ ] ] S P : S T → S P [\![\cdot]\!]_{\mathcal{SP}}:\mathcal{ST}\to\mathcal{SP} [ [ ⋅ ] ] S P : S T → S P related to [ [ ⋅ ] ] P [\![\cdot]\!]_{\mathcal{P}} [ [ ⋅ ] ] P via
T → ι T S T ↓ [ [ ⋅ ] ] P ↓ [ [ ⋅ ] ] S P P → ι P S P \begin{array}{ccc}
\mathcal{T}&\xrightarrow{\iota_{\mathcal{T}}}&\mathcal{ST}\\
\downarrow[\![\cdot]\!]_{\mathcal{P}}&&\downarrow[\![\cdot]\!]_{\mathcal{SP}}\\
\mathcal{P}&\xrightarrow{\iota_{\mathcal{P}}}&\mathcal{SP}
\end{array} T ↓ [ [ ⋅ ] ] P P ι T ι P S T ↓ [ [ ⋅ ] ] S P S P
Then, due to the category equivalences, for a pronap theory T \mathcal{T} T , we have:
{ [ [ ⋅ ] ] P : T → P is faithful [ [ ⋅ ] ] S P : S T → S P is faithful. \begin{cases}
[\![\cdot]\!]_{\mathcal{P}}:\mathcal{T}\to\mathcal{P}\text{ is faithful}\\
[\![\cdot]\!]_{\mathcal{SP}}:\mathcal{ST}\to\mathcal{SP}\text{ is faithful.}
\end{cases} { [ [ ⋅ ] ] P : T → P is faithful [ [ ⋅ ] ] S P : S T → S P is faithful.
In other words, proving completeness of S T \mathcal{ST} S T for S P \mathcal{SP} S P is the same as proving completeness of T \mathcal{T} T for P \mathcal{P} P .
The interest of a scaled pronap theory lies in the possibility of providing compact syntactic sugars for otherwise large diagrams. Such syntactic sugars are defined inductively. The most basic ones are the scaled generators.
Definition 5.1.3 (Scaled generator). Let g ∈ Σ g \in\Sigma g ∈ Σ be a generator of a pronap theory T \mathcal{T} T . The k k k -scaled generator S k ( g ) S_k(g) S k ( g ) is the diagram of S T S\mathcal{T} S T defined inductively on k k k as:
[diagram showing S 1 g S_1g S 1 g and S k + 1 g S_{k+1}g S k + 1 g , with Dist \operatorname{Dist} Dist relating the latter to S k g S_k g S k g ]
Definition 5.1.4 (Scaled diagram). Let T = ( Σ n a t ∪ Σ ‾ n a t , E ) \mathcal{T} = (\Sigma_{\mathrm{nat}} \cup\overline{\Sigma}_{\mathrm{nat}}, E) T = ( Σ nat ∪ Σ nat , E ) be a pronap theory, D D D a diagram of T \mathcal{T} T , and k > 0 k > 0 k > 0 . Define S k ( D ) S_k(D) S k ( D ) as the formal diagram of S T S\mathcal{T} S T obtained by replacing generators g g g in the expression of D D D by S k ( g ) S_k(g) S k ( g ) .
When a diagram D D D only involves natural generators in its expression, then Dist \operatorname{Dist} Dist also applies to S k + 1 ( D ) S_{k+1}(D) S k + 1 ( D ) :
Lemma 5.1.1. Let T \mathcal{T} T be a pronap theory, D D D a diagram of T \mathcal{T} T which only involves natural generators g ∈ Σ n a t g \in\Sigma_{\mathrm{nat}} g ∈ Σ nat in its expression. Then, we have:
∀ k > 0 , S k + 1 D = Dist S k D \forall k > 0,\qquad S_{k+1}D \mathrel{\mathop{=}^{\operatorname{Dist}}} S_kD ∀ k > 0 , S k + 1 D = Dist S k D
Note that this is not the case in general if D D D involves non-natural generators. However, when no parallel composition ⊗ \otimes ⊗ is involved in D D D , then Dist \operatorname{Dist} Dist applies no matter the naturality of the generators involved.
Lemma 5.1.2. Let T = ( Σ , E ) \mathcal{T} = (\Sigma, E) T = ( Σ , E ) be a pronap theory, and D D D a diagram such that D D D does not involve monoidal product in its expression. Then,
∀ k > 0 , S k + 1 D = Dist S k D \forall k > 0,\qquad S_{k+1}D \mathrel{\mathop{=}^{\operatorname{Dist}}} S_kD ∀ k > 0 , S k + 1 D = Dist S k D
This is crucial to understand which equations of the pronap theory T \mathcal{T} T can be directly applied to scaled diagrams, or in other words, which equation is scalable.
Definition 5.1.5 (Scalable equation). Let T = ( Σ , E ) \mathcal{T} = (\Sigma, E) T = ( Σ , E ) be a pronap theory, and ( D , D ′ ) ∈ E (D,D') \in E ( D , D ′ ) ∈ E . We say that ( D , D ′ ) (D,D') ( D , D ′ ) is scalable when
∀ k > 0 , S k ( D ) = S k ( D ′ ) . \forall k > 0,\qquad S_k(D) = S_k(D'). ∀ k > 0 , S k ( D ) = S k ( D ′ ) .
Example. For instance, equation A28 is scalable.
However, equation A25 is not scalable: we prove that a phase depending on the width of the wire has to appear on the right side of the scaled equation for it to be sound.
phase ( − 1 ) n + 1 \text{phase }(-1)^{n+1} phase ( − 1 ) n + 1
The following theorem uses Lemma 5.1.1 and Lemma 5.1.2 to show that equations involving either only natural generators or no monoidal product in their expression are always scalable.
Theorem 5.1.1. Let T = ( Σ n a t ∪ Σ ‾ n a t , E ) \mathcal{T} = (\Sigma_{\mathrm{nat}} \cup\overline{\Sigma}_{\mathrm{nat}}, E) T = ( Σ nat ∪ Σ nat , E ) be a pronap theory. Let ( D , D ′ ) ∈ E (D,D') \in E ( D , D ′ ) ∈ E be an equation. Then,
(i) If all generators involved in the expressions of D D D and D ′ D' D ′ are natural, then ( D , D ′ ) (D,D') ( D , D ′ ) is scalable.
(ii) If both D D D and D ′ D' D ′ involve no monoidal product in their expressions, then ( D , D ′ ) (D,D') ( D , D ′ ) is scalable.
In particular, in a prop theory, all equations are scalable.
In the following, whenever we write a diagrammatic derivation in which we use Theorem 5.1.1 for some equation A # A\# A # , we will write S A # SA\# S A # under the equality symbol. For scalable equations to which Theorem 5.1.1 does not apply, we will need to prove it separately as an independent lemma.
Example. Equations A2, A13, and A24 are all scalable due to Theorem 5.1.1(i). Equations A26, A31, and A35 are all scalable due to Theorem 5.1.1(ii). Equation A28 is scalable, but involves both a non-natural generator and a monoidal product in its expression. To use its scaled version, we prove the lemma L27.
Scalable notations are not limited to scaled generators and scalable equations: more interesting syntactic sugars can be defined, with the hope of depicting as compactly as possible the structure of a pronap theory. In section 5.2 and section 5.3, we define and study two examples of such syntactic sugars, which we use in section 5.4 to prove completeness for all the fragments in our hierarchy.
Matrix arrows
The first use of scalable notations beyond scalable generators and equations was the introduction of matrix arrows in scalable ZX-calculus [7 ] . A similar construction can be carried in EoW, and more generally in any prop theory carrying a bialgebra.
Definition 5.2.1 (Matrix arrow). In the scaled prop theory S E o W SEoW S E o W , we define matrix arrows inductively as follows:
[three diagrams defining D 1 D1 D 1 , D 2 D2 D 2 , and D 3 D3 D 3 ]
Intuitively, matrix arrows corresponds to weighted bipartite graphs, for example, the gate G 2 G_2 G 2 translates to the matrix arrow corresponding to the matrix 1 2 [ 1 1 1 − 1 ] \frac{1}{\sqrt{2}}\begin{bmatrix}1&1\\1&-1\end{bmatrix} 2 1 [ 1 1 1 − 1 ] :
[diagram showing the weighted bipartite graph and its corresponding matrix arrow]
Using proofs by induction, one can derive the following equations:
[diagrammatic equations L 1 L1 L 1 through L 9 L9 L 9 ]
These equations are analogue to the ZX case, with the difference that matrices and computation are over C \mathbb{C} C and not F 2 \mathbb{F}_2 F 2 . However, if the interpretation in the ZX case only encodes the truth table of the associated linear map, the interpretation of our matrix arrows carries information about all the minors of the matrix:
[ n m ] x , y = det x , y ( M ) \left[\begin{array}{c} n \\ m \end{array}\right]_{x,y}=\det_{x,y}(M) [ n m ] x , y = x , y det ( M )
where det x , y ( M ) \det_{x,y}(M) det x , y ( M ) is the determinant of the matrix obtained by only keeping the rows and columns of M M M corresponding respectively to ones in y y y and x x x , with the convention that the determinant of a non-square matrix is zero. This allows to read all the rewriting rules involving matrix arrows as statements on minors. For example, equations L3 is a direct encoding of the Cauchy-Binet formula:
det x , y ( M M ′ ) = [ M M ′ ] x , y = [ M ′ M ] x , y = ( [ M ] ∘ [ M ′ ] ) x , y = ∑ z [ M ] x , z [ M ′ ] z , y = ∑ z det x , z ( M ) det z , y ( M ′ ) \begin{aligned}
\det_{x,y}(MM')=
\left[\begin{array}{c} MM' \end{array}\right]_{x,y} \\
&=
\left[\begin{array}{cc} M' & M \end{array}\right]_{x,y} \\
&=
\left(\left[\begin{array}{c} M \end{array}\right]\circ\left[\begin{array}{c} M' \end{array}\right]\right)_{x,y} \\
&=
\sum_z\left[\begin{array}{c} M \end{array}\right]_{x,z}\left[\begin{array}{c} M' \end{array}\right]_{z,y} \\
&=\sum_z\det_{x,z}(M)\det_{z,y}(M')
\end{aligned} x , y det ( M M ′ ) = [ M M ′ ] x , y = [ M ′ M ] x , y = ( [ M ] ∘ [ M ′ ] ) x , y = z ∑ [ M ] x , z [ M ′ ] z , y = z ∑ x , z det ( M ) z , y det ( M ′ )
If matrix arrows are defined in S E o W \mathbf{SEoW} SEoW they can be straightforwardly imported in its extensions S E W \mathbf{SEW} SEW , S F o W \mathbf{SFoW} SFoW and S F W \mathbf{SFW} SFW , notice that matrix arrows are even. For example in S E W \mathbf{SEW} SEW and S F W \mathbf{SFW} SFW , matrix arrows interact with cups and caps as follows:
cup with M = cup with M T \begin{array}{c}
\text{cup with }M
\end{array}
=
\begin{array}{c}
\text{cup with }M^{\mathsf T}
\end{array} cup with M = cup with M T
This is to be compared with the ZX case where flipping a matrix arrows doesn’t gives a matrix arrows, here we see how ZW matrix arrows are in as sense more symmetric.
In S F o W \mathbf{SFoW} SFoW and S F W \mathbf{SFW} SFW , the interaction with odd scaled generators is particularly interesting, in particular we can derive the cornerstone rule of the interaction between matrix arrows and determinants:
[ M ] = det ( M ) \left[\begin{array}{c} M \end{array}\right]
=
\det(M) [ M ] = det ( M )
As a direct consequence, we have that [ M ] = det M \left[\begin{array}{c} M \end{array}\right]=\det M [ M ] = det M .
This should be linked to the combinatorial interpretation of planar ZW diagrams in [8 ] : instead of planar graphs, we rather have bipartite graphs whose crossing are born by the fermionic swap, and the diagram exactly counts the weighted perfect matchings of this bipartite graphs, although it multiplies each perfect matching by ( − 1 ) s (-1)^s ( − 1 ) s where s s s is the number of crossings involved in the particular matching. This is the reason why we get the determinant instead of the permanent. This allows for diagrammatic analogue of well-known identities involving determinants. The derivable equation L32 encodes the cofactor matrix formula for the inverse. Diagrammatically:
P i , j − 1 = [ P − 1 ] 2 i ′ , 2 j ′ = ( − 1 ) i + j det P [ P T ] 2 n + 1 − 2 i , 2 n + 1 − 2 j = ( − 1 ) i + j det P det P ( j , i ) \begin{aligned}
P^{-1}_{i,j}
=
\left[\begin{array}{c}P^{-1}\end{array}\right]_{2i',2j'} \\
&=
\frac{(-1)^{i+j}}{\det P}
\left[\begin{array}{c}P^{\mathsf T}\end{array}\right]_{2n+1-2i,2n+1-2j} \\
&=
\frac{(-1)^{i+j}}{\det P}\det P^{(j,i)}
\end{aligned} P i , j − 1 = [ P − 1 ] 2 i ′ , 2 j ′ = det P ( − 1 ) i + j [ P T ] 2 n + 1 − 2 i , 2 n + 1 − 2 j = det P ( − 1 ) i + j det P ( j , i )
where P ( j , i ) P^{(j,i)} P ( j , i ) is obtained from P P P by deleting row j j j and column i i i . The well-known diagrammatic version of trace cyclicity here corresponds to Sylvester’s identity:
det ( I n + M M ′ ) = det ( I m + M ′ M ) \det(I_n+MM')=\det(I_m+M'M) det ( I n + M M ′ ) = det ( I m + M ′ M )
Finally, one can quickly derive the diagrammatic version of the Schur complement formula while computing a block determinant. Let M 1 ∈ C k × k M_1\in\mathbb{C}^{k\times k} M 1 ∈ C k × k , M 2 ∈ C k × n M_2\in\mathbb{C}^{k\times n} M 2 ∈ C k × n , M 3 ∈ C n × k M_3\in\mathbb{C}^{n\times k} M 3 ∈ C n × k , M 4 ∈ C n × n M_4\in\mathbb{C}^{n\times n} M 4 ∈ C n × n with M 4 M_4 M 4 invertible. Then: This yields det ( M 1 M 2 M 3 M 4 ) = det M 4 det ( M 1 − M 2 M 4 − 1 M 3 ) \det\begin{pmatrix} M_1 & M_2 \\ M_3 & M_4 \end{pmatrix}=\det M_4\det\left(M_1-M_2M_4^{-1}M_3\right) det ( M 1 M 3 M 2 M 4 ) = det M 4 det ( M 1 − M 2 M 4 − 1 M 3 ) .
More derived equations involving matrix arrows can be found in Figure 3 , and are used extensively in the completeness proofs of section 5.4.
Figure 3. Derived equations used throughout the completeness proofs. Each equation L # L\# L # is displayed in the smallest scaled fragment in which it is derived. By convention, equations of SEoW and SFoW are also valid when mirrored with respect to the vertical axis. For readability, we use the convention that M M M denotes an arbitrary matrix, P P P and Q Q Q invertible matrices, Z Z Z a square antisymmetric matrix, and A A A an invertible antisymmetric matrix.
Graph triangles
The last scalable syntactic sugar we introduce already appeared in analogue form in ZX-calculus to represent graph states [7 ] , but mainly in symplectic graphical algebra [4 ] . As with matrix arrows we take inspiration from the syntactic similarities while obtaining slightly different behaviors in the end.
Definition 5.3.1 (Graph triangle). Let Z ∈ C n × n Z \in\mathbb{C}^{n\times n} Z ∈ C n × n be an antisymmetric matrix. We define the graph triangle as follows:
Z : = D 4 graph-triangle diagram Z \quad\overset{\mathrm{D4}}{:=}\quad
\begin{array}{c}
\text{graph-triangle diagram}
\end{array} Z := D4 graph-triangle diagram
Z : = D 5 graph-triangle diagram Z \quad\overset{\mathrm{D5}}{:=}\quad
\begin{array}{c}
\text{graph-triangle diagram}
\end{array} Z := D5 graph-triangle diagram
From this definition we can obtain an alternative inductive one, revealing the underlying stucture:
[ Z C − C T Z ′ ] = graph-triangle diagram \begin{bmatrix}
Z & C\\
-C^{\mathsf T} & Z'
\end{bmatrix}
\quad= \quad
\begin{array}{c}
\text{graph-triangle diagram}
\end{array} [ Z − C T C Z ′ ] = graph-triangle diagram
We see from this definition that graph triangles can be seen as weighted graphs as in the following example:
( 0 x − y 0 − x 0 z t y − z 0 0 0 − t 0 0 ) = weighted graph diagram \begin{pmatrix}
0 & x & -y & 0\\
-x & 0 & z & t\\
y & -z & 0 & 0\\
0 & -t & 0 & 0
\end{pmatrix}
\quad= \quad
\begin{array}{c}
\text{weighted graph diagram}
\end{array} 0 − x y 0 x 0 − z − t − y z 0 0 0 t 0 0 = weighted graph diagram
Notice that all crossings involve fermionic swaps, this provides a striking connection not to the determinant but to the Pfaffian this time. Indeed:
\left\llbracket
\begin{array}{c}
Z
\end{array}
\right\rrbracket_x
=
\operatorname{pf}_x(Z)
where pf x ( Z ) \operatorname{pf}_x(Z) pf x ( Z ) is the pfaffian of the antisymmetric matrix obtained by only keeping the rows and columns of Z Z Z corresponding to ones in x x x , with the convention that the pfaffian of a matrix of odd size is zero. We can derive the following properties:
Z + Z ′ = graph-triangle diagram Z+Z'
\quad= \quad
\begin{array}{c}
\text{graph-triangle diagram}
\end{array} Z + Z ′ = graph-triangle diagram
When interacting with cups and caps, we get:
graph-triangle diagram = graph-triangle diagram \begin{array}{c}
\text{graph-triangle diagram}
\end{array}
\quad= \quad
\begin{array}{c}
\text{graph-triangle diagram}
\end{array} graph-triangle diagram = graph-triangle diagram
Graph triangles interact with matrix arrows as:
Z M = L 14 M Z M T \begin{array}{c}
Z\quad M
\end{array}
\quad\overset{\mathrm{L14}}{=}\quad
\begin{array}{c}
MZM^{\mathsf T}
\end{array} Z M = L14 M Z M T
Which, for M ← P ∈ C n × n M \leftarrow P \in\mathbb{C}^{n\times n} M ← P ∈ C n × n invertible yields the pfaffian identity:
pf ( P Z P T ) = det ( P ) pf ( Z ) \operatorname{pf}(PZP^{\mathsf T})=\det(P)\operatorname{pf}(Z) pf ( P Z P T ) = det ( P ) pf ( Z )
Again, graph triangles are defined in SEW but also available in its extension SFW. Graph triangles are even, and therefore natural. Surprisingly, for A ∈ C 2 n × 2 n A \in\mathbb{C}^{2n\times2n} A ∈ C 2 n × 2 n an invertible antisymmetric matrix, the interaction of the associated graph triangle with the non-natural black node is pictured as:
A = L 35 pf ( A ) − A − 1 − A ↾ 2 n \begin{array}{c}
A
\end{array}
\quad\overset{\mathrm{L35}}{=}\quad
\begin{array}{c}
\operatorname{pf}(A)\\
-A^{-1}\quad-A\mathord{\upharpoonright}_{2n}
\end{array} A = L35 pf ( A ) − A − 1 − A ↾ 2 n
Which encodes the formula for the pfaffian of the inverse. Finally, we can again obtain a Schur complement formula, but for the Pfaffian this time:
pf [ A C − C T Z ] = pf ( A ) pf ( C T A − 1 C + Z ) \operatorname{pf}\begin{bmatrix} A & C \\ -C^{T} & Z \end{bmatrix}
= \operatorname{pf}(A)\operatorname{pf}(C^{T}A^{-1}C+Z) pf [ A − C T C Z ] = pf ( A ) pf ( C T A − 1 C + Z )
which yields pf [ A C − C T Z ] = pf ( A ) pf ( C T A − 1 C + Z ) \operatorname{pf}\begin{bmatrix} A & C \\ -C^{T} & Z \end{bmatrix}=\operatorname{pf}(A)\operatorname{pf}(C^{T}A^{-1}C+Z) pf [ A − C T C Z ] = pf ( A ) pf ( C T A − 1 C + Z ) . More derived equations involving graph triangles can be found in Figure 3 . We now have all the necessary syntactic sugar and rules to properly state our completeness proofs.
Completeness
The completeness results for the different fragments all follow the same general strategy: we identify normal-form diagrams and show that every diagram can be rewritten into a unique such form. More precisely, for any two diagrams D D D and D ′ D' D ′ with the same type, we construct rewriting procedures
D ⇝ ∗ N ( D ) and D ′ ⇝ ∗ N ( D ′ ) D \rightsquigarrow^{*} N(D)
\qquad\text{and}\qquad
D' \rightsquigarrow^{*} N(D') D ⇝ ∗ N ( D ) and D ′ ⇝ ∗ N ( D ′ )
where N ( D ) N(D) N ( D ) and N ( D ′ ) N(D') N ( D ′ ) belong to a fixed syntactic class of normal forms. The crucial point is then that the interpretation of a normal form uniquely determines its syntax. Hence, whenever
⟦ D ⟧ = ⟦ D ′ ⟧ , \llbracket D \rrbracket= \llbracket D' \rrbracket, [ [ D ] ] = [ [ D ′ ] ] ,
we have N ( D ) = N ( D ′ ) N(D)=N(D') N ( D ) = N ( D ′ ) , and therefore
in the corresponding equational theory. Reduction to normal form thus gives both a canonical representative for each denotation and, as a consequence, completeness of the theory.
For SEoW, it is convenient to first describe normal forms for morphisms
n ⟶ m . n\longrightarrow m. n ⟶ m .
Using dividers and gatherers, any diagram
D : n 1 + ⋯ + n k ⟶ m 1 + ⋯ + m l D:n_{1}+\cdots+n_{k}\longrightarrow m_{1}+\cdots+m_{l} D : n 1 + ⋯ + n k ⟶ m 1 + ⋯ + m l
can be rewritten as
δ m 1 + ⋯ + m l , m 1 + ⋯ + m l ∘ D ′ ∘ γ n 1 + ⋯ + n k , n 1 + ⋯ + n k \delta_{m_{1}+\cdots+m_{l},\,m_{1}+\cdots+m_{l}}
\circ D'
\circ\gamma_{n_{1}+\cdots+n_{k},\,n_{1}+\cdots+n_{k}} δ m 1 + ⋯ + m l , m 1 + ⋯ + m l ∘ D ′ ∘ γ n 1 + ⋯ + n k , n 1 + ⋯ + n k
where
D ′ : n 1 + ⋯ + n k ⟶ m 1 + ⋯ + m l . D':n_{1}+\cdots+n_{k}\longrightarrow m_{1}+\cdots+m_{l}. D ′ : n 1 + ⋯ + n k ⟶ m 1 + ⋯ + m l .
Thus, a normal form for morphisms n → m n\to m n → m transfers directly to arbitrary diagrams by first gathering the inputs, applying the normal form to the resulting diagram D ′ D' D ′ , and finally dividing the outputs.
Theorem 5.4.1 (Completeness of SEoW). For any diagram D : n → m D:n\to m D : n → m of SEoW, there exists a unique matrix M ∈ C m × n M\in\mathbb{C}^{m\times n} M ∈ C m × n such that D D D can be rewritten as:
Furthermore, two diagrams reduce to the same normal form if and only if they have the same semantics.
For the remaining fragments, it is more convenient to reduce the normal-form problem for arbitrary morphisms to the corresponding problem for states. This reduction is based on a form of map–state duality , although the precise mechanism differs between the fragments. In the compact-closed setting, inputs can be bent into outputs, reducing the study of morphisms to that of states. In SFoW, this mechanism is not expressed by the usual compact-closed structure of cups and caps, which are out of the scope of the fragment. Their role is instead played by:
Then, using L26, we have:
a map n → m ⟼ a state 0 → n + m \text{a map }n\to m
\quad\longmapsto\quad
\text{a state }0\to n+m a map n → m ⟼ a state 0 → n + m
a map can be transformed into a state, reduced to normal form there, and subsequently reconstructed as a map. This allows the normal-form problem for arbitrary morphisms to be reduced to the normal-form problem for diagrams of type
0 ⟶ n . 0\longrightarrow n. 0 ⟶ n .
Recall the notion of reduced column echelon form matrix:
Definition 5.4.1 (Reduced column echelon form). Let M ∈ C m × n M\in\mathbb{C}^{m\times n} M ∈ C m × n . We say that M M M is in reduced column echelon form (RCEF) if M T M^{T} M T is in reduced row echelon form. Equivalently:
all zero columns of M M M , if any, occur after all non-zero columns;
the first non-zero entry of each non-zero column is equal to 1. We call this entry the pivot of the column, and its row the corresponding pivot row;
the pivot of each non-zero column lies strictly below the pivot of the preceding non-zero column;
each pivot is the only non-zero entry in its row.
Thus, if M M M has rank r r r , its r r r non-zero columns have pivot rows
1 ≤ j 1 < ⋯ < j r ≤ m . 1\le j_{1}<\cdots<j_{r}\le m. 1 ≤ j 1 < ⋯ < j r ≤ m . For example,
M = [ 1 0 0 a 0 0 0 1 0 b c 0 0 0 1 ] M=
\begin{bmatrix}
1&0&0\\
a&0&0\\
0&1&0\\
b&c&0\\
0&0&1
\end{bmatrix} M = 1 a 0 b 0 0 0 1 c 0 0 0 0 0 1
is in RCEF. Its pivot rows are
( j 1 , j 2 , j 3 ) = ( 1 , 3 , 5 ) . (j_1,j_2,j_3)=(1,3,5). ( j 1 , j 2 , j 3 ) = ( 1 , 3 , 5 ) .
Indeed,
M T = [ 1 a 0 b 0 0 0 1 c 0 0 0 0 0 1 ] M^{T}=\begin{bmatrix}1&a&0&b&0\\0&0&1&c&0\\0&0&0&0&1\end{bmatrix} M T = 1 0 0 a 0 0 0 1 0 b c 0 0 0 1
is in reduced row echelon form.
RCEF matrices are crucial to the normal form of state diagrams of SFoW :
Theorem 5.4.2 (Completeness of SFoW). For any diagram D : 0 → n D:0\to n D : 0 → n of SFoW , there exists a unique triple ( r , x , M ) (r,x,M) ( r , x , M ) , where 0 ≤ r ≤ n 0\le r\le n 0 ≤ r ≤ n , x ∈ C x\in\mathbb{C} x ∈ C , and M ∈ C n × r M\in\mathbb{C}^{n\times r} M ∈ C n × r is a full rank matrix in RCEF, such that D D D can be rewritten as:
With convention that ( r , x , M ) = ( n , 0 , I n ) (r,x,M)=(n,0,I_n) ( r , x , M ) = ( n , 0 , I n ) whenever ⟦ D ⟧ = 0 \llbracket D\rrbracket=0 [ [ D ] ] = 0 , that for r = 0 r=0 r = 0 , M M M is the empty matrix of type C n × 0 \mathbb{C}^{n\times0} C n × 0 , and that in this case the empty matrix arrow is merely a syntactic sugar for:
Furthermore, two diagrams reduce to the same normal form if and only if they have the same semantics.
For the FW and EW fragments, the presence of cups and caps gives an ordinary map–state duality: inputs can be bent into outputs and conversely using SA18, so that a normal form for states immediately induces one for morphisms of arbitrary arity.
The completeness proofs for SFW and SEW can therefore be organised by first reducing to normal form the associated state and then recovering the original input–output type by means of the compact structure.
Theorem 5.4.3 (Completeness of SFW). For any diagram D : 0 → n D:0\to n D : 0 → n of SFW , there exists a unique quadruple ( r , x , Z , M ) (r,x,Z,M) ( r , x , Z , M ) , where 0 ≤ r ≤ n 0\le r\le n 0 ≤ r ≤ n , x ∈ C x\in\mathbb{C} x ∈ C , M ∈ C n × r M\in\mathbb{C}^{n\times r} M ∈ C n × r is a full rank matrix in RCEF, and Z ∈ C n × n Z\in\mathbb{C}^{n\times n} Z ∈ C n × n is an antisymmetric matrix whose columns and rows corresponding to pivots of M M M are zero, such that D D D can be rewritten as:
With the convention that ( r , x , Z , M ) = ( n , 0 , 0 , I n ) (r,x,Z,M)=(n,0,0,I_n) ( r , x , Z , M ) = ( n , 0 , 0 , I n ) whenever ⟦ D ⟧ = 0 \llbracket D\rrbracket=0 [ [ D ] ] = 0 , that for r = 0 r=0 r = 0 , M M M is the empty matrix of type C n × 0 \mathbb{C}^{n\times0} C n × 0 , and that in this case the empty matrix arrow is merely a syntactic sugar for:
Furthermore, two diagrams reduce to the same normal form if and only if they have the same semantics.
The normal form for SEW is very similar to the SFW normal form, the main difference being that the integer r = 2 k r=2k r = 2 k has to be even, and that using: the bottom-left corner of the normal form can be imported in S E W SEW S E W . The two completeness results are then very similar up to this trick.
Theorem 5.4.4 (Completeness of S E W SEW S E W ). For any diagram D : 0 → n D : 0 \to n D : 0 → n of S E W SEW S E W , there exists a unique quadruple ( k , x , Z , M ) (k,x,Z,M) ( k , x , Z , M ) , where 0 ≤ 2 k ≤ n 0 \le2k \le n 0 ≤ 2 k ≤ n , x ∈ C x \in\mathbb{C} x ∈ C , M ∈ C n × 2 k M \in\mathbb{C}^{n \times2k} M ∈ C n × 2 k is a full rank matrix in RCEF, and Z ∈ C n × n Z \in\mathbb{C}^{n \times n} Z ∈ C n × n is an antisymmetric matrix whose columns and rows corresponding to pivots of M M M are zero, such that D D D can be rewritten as:
With the convention that ( k , x , Z , M ) = ( n / 2 , 0 , 0 , I n ) (k,x,Z,M) = (n/2,0,0,I_n) ( k , x , Z , M ) = ( n /2 , 0 , 0 , I n ) if n n n even, ( k , x , Z , M ) = ( ( n − 1 ) / 2 , 0 , 0 , ( I n − 1 0 ⋯ 0 ) ) (k,x,Z,M) = ((n-1)/2,0,0,\begin{pmatrix} I_{n-1} \\ 0\cdots0 \end{pmatrix}) ( k , x , Z , M ) = (( n − 1 ) /2 , 0 , 0 , ( I n − 1 0 ⋯ 0 ) ) if it is odd whenever ⟦ D ⟧ = 0 \llbracket D \rrbracket= 0 [ [ D ] ] = 0 . For k = 0 k=0 k = 0 , M M M is the empty matrix of type C n × 0 \mathbb{C}^{n \times0} C n × 0 , and in this case the empty matrix arrow is merely a syntactic sugar for:
Furthermore, two diagrams reduce to the same normal form if and only if they have the same semantics.
As explained in section 5.1, the completeness of a scaled pronap theory implies the completeness of its unscaled counterpart, yielding the following corollary.
Corollary 5.4.1 (Completeness of the unscaled fragments). For each fragment
P ∈ { E o W , F o W , E W , F W } , \mathcal{P} \in\{EoW, FoW, EW, FW\}, P ∈ { E o W , F o W , E W , F W } ,
and for any two diagrams D 1 , D 2 : m → n D_1,D_2 : m \to n D 1 , D 2 : m → n in P \mathcal{P} P ,
⟦ D 1 ⟧ = ⟦ D 2 ⟧ ⟹ D 1 = D 2 . \llbracket D_1 \rrbracket= \llbracket D_2 \rrbracket\quad\Longrightarrow\quad D_1 = D_2. [ [ D 1 ] ] = [ [ D 2 ] ] ⟹ D 1 = D 2 .
Equivalently, the semantic interpretation functor of each of E o W EoW E o W , F o W FoW F o W , E W EW E W , and F W FW F W is faithful, and therefore these pronap theories are complete.
:::
Conclusion
In this work, we have developed a categorical and diagrammatic account of the circuits underlying the Bravyi–Kitaev model of fermionic computation. We first provided a categorical semantics for these circuits and observed that, in full generality, their compositional structure is not monoidal but only premonoidal . This distinction reflects the genuinely fermionic character of the model and clarifies the algebraic structure required to reason compositionally about its circuits. Since premonoidal structure is a natural tool for modelling effectful programming languages, this observation would be coherent with an operational interpretation in which the gates responsible for the failure of monoidality carry a computational effect.
We then introduced equational theories for four fragments of the FZW calculus: EoW , EW , FoW , and FW . Although EoW is algebraically elementary, it plays a crucial structural role in the development of the other fragments. The calculi EW and FoW are new: EW is expressive enough to represent all Gaussian gates appearing in the Bravyi–Kitaev gate set, while FoW is the smallest theory in which the paradigmatic swap is non-natural, and is therefore formulated as a pronap. Finally, FW captures the previously studied pW calculus, but with a different presentation, again formulated in terms of pronaps.
To establish completeness for these fragments, we extended the formalism of scalable notations to the setting of pronaps. This extension allows families of wires and generators to be manipulated directly at the diagrammatic level and provides uniform normal forms for all four fragments. For FW, this yields a new canonical normal-form presentation of the matchgate fragment, distinct from the reduced WG-X normal form previously obtained for the planar-W calculus [8 ] , and expressed uniformly in terms of the matrix-arrow and graph-triangle constructions used throughout our hierarchy. Beyond their role in the completeness arguments, the scalable syntactic constructions introduced along the way have an independent algebraic significance: they provide a diagrammatic representation of operations governing determinants and Pfaffians. As a consequence, several classical identities involving these polynomials admit short and purely diagrammatic proofs. Altogether, these results provide a common categorical and rewriting framework connecting fermionic computation, scalable diagrammatic reasoning, and the algebra of determinants and Pfaffians. They also isolate a hierarchy of fragments in which increasingly expressive classes of fermionic circuits can be studied through complete graphical languages, providing a foundation for the further investigation of fermionic circuit compilation, optimisation, and classical simulation.
References
Proofs of section 2
Proof of Lemma 2.3.1. Since t t t is injective, its images satisfy the same CAR:
{ f t ( i ) , f t ( j ) } = 0 , { f t ( i ) † , f t ( j ) † } = 0 , { f t ( i ) † , f t ( j ) } = δ i j 1. \{f_{t(i)},f_{t(j)}\}=0,\qquad\{f_{t(i)}^\dagger,f_{t(j)}^\dagger\}=0,\qquad\{f_{t(i)}^\dagger,f_{t(j)}\}=\delta_{ij}1. { f t ( i ) , f t ( j ) } = 0 , { f t ( i ) † , f t ( j ) † } = 0 , { f t ( i ) † , f t ( j ) } = δ ij 1.
Hence the assignment on generators extends uniquely to a unital *-algebra morphism. For injectivity, recall that the normally ordered monomials
f j 1 † ⋯ f j k † f j 1 ⋯ f j ℓ f_{j_1}^\dagger\cdots f_{j_k}^\dagger f_{j_1}\cdots f_{j_\ell} f j 1 † ⋯ f j k † f j 1 ⋯ f j ℓ
form a basis of A m \mathcal{A}_m A m . Since t t t is injective, their images are, up to the signs required to reorder the indices, distinct normally ordered monomials of A m ′ \mathcal{A}_{m'} A m ′ . They are therefore linearly independent, and ι t \iota_t ι t is injective. Finally, ι t \iota_t ι t preserves the degree of every monomial and hence its parity. If U U U is unitary, then
ι t ( U ) ι t ( U ) † = ι t ( U U † ) = 1 , \iota_t(U)\iota_t(U)^\dagger=\iota_t(UU^\dagger)=1, ι t ( U ) ι t ( U ) † = ι t ( U U † ) = 1 ,
and similarly in the opposite order. □
Proof of Lemma 2.3.2. It suffices first to work in A 2 \mathcal{A}_2 A 2 . Set
a : = 1 − n 1 − n 2 , h : = f 2 † f 1 + f 1 † f 2 , a:=1-n_1-n_2,\qquad h:=f_2^\dagger f_1+f_1^\dagger f_2, a := 1 − n 1 − n 2 , h := f 2 † f 1 + f 1 † f 2 ,
so that π = a + h \pi=a+h π = a + h . Clearly π † = π \pi^\dagger=\pi π † = π , and the CAR give
a 2 = 1 − n 1 − n 2 + 2 n 1 n 2 , h 2 = n 1 + n 2 − 2 n 1 n 2 , a h = h a = 0. a^2=1-n_1-n_2+2n_1n_2,\qquad h^2=n_1+n_2-2n_1n_2,\qquad ah=ha=0. a 2 = 1 − n 1 − n 2 + 2 n 1 n 2 , h 2 = n 1 + n 2 − 2 n 1 n 2 , ah = ha = 0.
Hence π 2 = 1 \pi^2=1 π 2 = 1 , so π \pi π is a Hermitian unitary. Every term of π \pi π has even degree, so π \pi π is even. Again using the CAR,
π f 1 = f 1 − n 2 f 1 − n 1 f 2 = f 2 π , \pi f_1=f_1-n_2f_1-n_1f_2=f_2\pi, π f 1 = f 1 − n 2 f 1 − n 1 f 2 = f 2 π ,
and symmetrically π f 2 = f 1 π \pi f_2=f_1\pi π f 2 = f 1 π . Since π 2 = 1 \pi^2=1 π 2 = 1 ,
π f 1 π = f 2 , π f 2 π = f 1 . \pi f_1\pi=f_2,\qquad\pi f_2\pi=f_1. π f 1 π = f 2 , π f 2 π = f 1 .
Applying the morphism associated with τ i , j \tau_{i,j} τ i , j gives the result for k = i , j k=i,j k = i , j . If k ∉ { i , j } k\notin\{i,j\} k ∈ / { i , j } , π { i , j } \pi_{\{i,j\}} π { i , j } is even and supported only on modes i , j i,j i , j , hence it commutes with f k f_k f k by the CAR. Taking adjoints gives the corresponding identities for the creation operators. □
Proof of Lemma 2.3.3. The relation π r 2 = 1 \pi_r^2=1 π r 2 = 1 follows from Lemma 2.3.2. If ∣ r − s ∣ > 1 |r-s|>1 ∣ r − s ∣ > 1 , the two Fermionic swaps are even and have disjoint supports, so the CAR imply π r π s = π s π r \pi_r\pi_s=\pi_s\pi_r π r π s = π s π r . It remains to prove the braid relation. Let
U : = π r π r + 1 π r , V : = π r + 1 π r π r + 1 . U:=\pi_r\pi_{r+1}\pi_r,\qquad V:=\pi_{r+1}\pi_r\pi_{r+1}. U := π r π r + 1 π r , V := π r + 1 π r π r + 1 .
By Lemma 2.3.2, conjugation by U U U and V V V induces the same permutation
τ r τ r + 1 τ r = τ r + 1 τ r τ r + 1 \tau_r\tau_{r+1}\tau_r=\tau_{r+1}\tau_r\tau_{r+1} τ r τ r + 1 τ r = τ r + 1 τ r τ r + 1
on every generator f k f_k f k and f k † f_k^\dagger f k † . Hence V − 1 U V^{-1}U V − 1 U commutes with every generator of A m \mathcal{A}_m A m , and therefore belongs to the centre of A m \mathcal{A}_m A m . By the Jordan–Wigner isomorphism, Z ( A m ) = C 1 Z(\mathcal{A}_m)=\mathbb{C}1 Z ( A m ) = C 1 , so U = λ V U=\lambda V U = λV for some λ ∈ C \lambda\in\mathbb{C} λ ∈ C . Each Fermionic swap fixes the vacuum ∣ 0 m ⟩ |0^m\rangle ∣ 0 m ⟩ , and therefore so do U U U and V V V . It follows that λ = 1 \lambda=1 λ = 1 , proving the braid relation. The existence and uniqueness of the homomorphism then follow from the Coxeter presentation of S m \mathfrak{S}_m S m . □
Proof of Lemma 2.3.4. By Lemma 2.3.2 and the preceding representation,
σ ⋆ f k = f σ ( k ) , σ ⋆ f k † = f σ ( k ) † . \sigma\star f_k=f_{\sigma(k)},\qquad\sigma\star f_k^\dagger=f_{\sigma(k)}^\dagger. σ ⋆ f k = f σ ( k ) , σ ⋆ f k † = f σ ( k ) † .
Hence the two *-algebra morphisms
( σ ⋆ − ) ∘ ι t and ι σ ∘ t (\sigma\star-)\circ\iota_t\qquad\text{and}\qquad\iota_{\sigma\circ t} ( σ ⋆ − ) ∘ ι t and ι σ ∘ t
agree on every generator of A m \mathcal{A}_m A m , and are therefore equal. Applying them to G \mathcal{G} G gives the result. □
Proofs of sec:3
Proof of Proposition 3.2.1. For every fixed k k k , the maps
k ⊗ ( − ) and ( − ) ⊗ k k \otimes(-) \qquad\text{and}\qquad(-) \otimes k k ⊗ ( − ) and ( − ) ⊗ k
are induced by the mode embeddings introduced in section 2.3. Since these embeddings are unital algebra morphisms, they preserve identities and composition, and hence define functors.
The unit equations follow from the identity embedding A m → A m \mathcal{A}_m \to\mathcal{A}_m A m → A m . The associativity equations follow from composition of the corresponding index embeddings. Explicitly, for a ∈ A m a \in\mathcal{A}_m a ∈ A m ,
k ⊗ ( ℓ ⊗ a ) = ( k + ℓ ) ⊗ a , ( a ⊗ ℓ ) ⊗ k = a ⊗ ( ℓ + k ) , k \otimes(\ell\otimes a) = (k+\ell) \otimes a,\qquad(a \otimes\ell) \otimes k = a \otimes(\ell+k), k ⊗ ( ℓ ⊗ a ) = ( k + ℓ ) ⊗ a , ( a ⊗ ℓ ) ⊗ k = a ⊗ ( ℓ + k ) ,
and
( k ⊗ a ) ⊗ ℓ = k ⊗ ( a ⊗ ℓ ) . (k \otimes a) \otimes\ell= k \otimes(a \otimes\ell). ( k ⊗ a ) ⊗ ℓ = k ⊗ ( a ⊗ ℓ ) .
Thus ( C A R , ⊗ , 0 ) (\mathrm{CAR},\otimes,0) ( CAR , ⊗ , 0 ) is strict premonoidal. □
Proof of Lemma 3.2.1. Let a ∈ A m a \in\mathcal{A}_m a ∈ A m and a ′ ∈ A n a' \in\mathcal{A}_n a ′ ∈ A n be homogeneous, with parities ∣ a ∣ , ∣ a ′ ∣ ∈ Z 2 |a|, |a'| \in\mathbb{Z}_2 ∣ a ∣ , ∣ a ′ ∣ ∈ Z 2 . The generators appearing in a ⊗ n a \otimes n a ⊗ n have indices in { 1 , … , m } \{1,\ldots,m\} { 1 , … , m } , whereas those appearing in m ⊗ a ′ m \otimes a' m ⊗ a ′ have indices in { m + 1 , … , m + n } \{m+1,\ldots,m+n\} { m + 1 , … , m + n } . Since the two sets of modes are disjoint, the CAR imply that exchanging one generator from the first monomial with one generator from the second contributes a factor − 1 -1 − 1 . The result follows by linearity:
( a ⊗ n ) ( m ⊗ a ′ ) = ( − 1 ) ∣ a ∣ ∣ a ′ ∣ ( m ⊗ a ′ ) ( a ⊗ n ) . (a \otimes n)(m \otimes a') = (-1)^{|a||a'|}(m \otimes a')(a \otimes n). ( a ⊗ n ) ( m ⊗ a ′ ) = ( − 1 ) ∣ a ∣∣ a ′ ∣ ( m ⊗ a ′ ) ( a ⊗ n ) .
□
Proof of Proposition 3.2.2. By Lemma 3.2.1, every even operator commutes with every homogeneous operator supported on a disjoint block of modes, and therefore, by linearity, with every operator supported on such a block. Hence every even operator is central.
Conversely, let a ∈ A m a \in\mathcal{A}_m a ∈ A m and write uniquely
a = a e v e n + a o d d . a=a_{\mathrm{even}}+a_{\mathrm{odd}}. a = a even + a odd .
Suppose that a o d d ≠ 0 a_{\mathrm{odd}}\ne0 a odd = 0 . Let
F : = f 1 + f 1 † ∈ A 1 F:=f_1+f_1^\dagger\in\mathcal{A}_1 F := f 1 + f 1 † ∈ A 1
be the mode-flip introduced in section 2.3. Since F F F is odd, Lemma 3.2.1 gives
( a ⊗ 1 ) ( m ⊗ F ) − ( m ⊗ F ) ( a ⊗ 1 ) = 2 ( a o d d ⊗ 1 ) ( m ⊗ F ) . \begin{aligned}
(a\otimes1)(m\otimes F)-(m\otimes F)(a\otimes1) \\
&=2(a_{\mathrm{odd}}\otimes1)(m\otimes F).
\end{aligned} ( a ⊗ 1 ) ( m ⊗ F ) − ( m ⊗ F ) ( a ⊗ 1 ) = 2 ( a odd ⊗ 1 ) ( m ⊗ F ) .
The right-hand side is non-zero: the application embedding is injective, so a o d d ⊗ 1 ≠ 0 a_{\mathrm{odd}}\otimes1\ne0 a odd ⊗ 1 = 0 , while m ⊗ F m\otimes F m ⊗ F is invertible since F F F is unitary. Hence a a a is not central.
Therefore the central morphisms are exactly the even operators. □
Proof of Proposition 3.2.3. Every π m , n \pi_{m,n} π m , n is even and therefore central by Proposition 3.2.2. The involution and coherence equations follow from the corresponding identities between block permutations, since σ ↦ π σ \sigma\mapsto\pi_\sigma σ ↦ π σ is a representation of the symmetric group.
It remains to prove naturality. Let a ∈ A m a\in\mathcal{A}_m a ∈ A m . By the equivariance lemma of section 2.3, conjugation by the block permutation transports the first block of m m m modes to the second block:
π m , n ( a ⊗ n ) π n , m = n ⊗ a . \pi_{m,n}(a\otimes n)\pi_{n,m}=n\otimes a. π m , n ( a ⊗ n ) π n , m = n ⊗ a .
Equivalently,
π m , n ( a ⊗ n ) = ( n ⊗ a ) π m , n . \pi_{m,n}(a\otimes n)=(n\otimes a)\pi_{m,n}. π m , n ( a ⊗ n ) = ( n ⊗ a ) π m , n .
Similarly, for a ′ ∈ A n a'\in\mathcal{A}_n a ′ ∈ A n ,
π m , n ( m ⊗ a ′ ) π n , m = a ′ ⊗ m , \pi_{m,n}(m\otimes a')\pi_{n,m}=a'\otimes m, π m , n ( m ⊗ a ′ ) π n , m = a ′ ⊗ m ,
or equivalently
π m , n ( m ⊗ a ′ ) = ( a ′ ⊗ m ) π m , n . \pi_{m,n}(m\otimes a')=(a'\otimes m)\pi_{m,n}. π m , n ( m ⊗ a ′ ) = ( a ′ ⊗ m ) π m , n .
These are precisely the two naturality equations. Hence every morphism of CAR is natural with respect to π \pi π . □
Proof of Proposition 3.3.1. Decompose the block permutation exchanging the first m m m modes with the following n n n modes into adjacent Fermionic swaps. Each mode of the first block crosses each mode of the second block exactly once. A Fermionic swap contributes a minus sign precisely when both crossed modes are occupied.
Hence, on ∣ x ⟩ ⊗ ∣ y ⟩ |x\rangle\otimes|y\rangle ∣ x ⟩ ⊗ ∣ y ⟩ , the number of sign-producing crossings is ∣ x ∣ ∣ y ∣ |x||y| ∣ x ∣∣ y ∣ , and therefore
Π m , n ( ∣ x ⟩ ⊗ ∣ y ⟩ ) = ( − 1 ) ∣ x ∣ ∣ y ∣ ∣ y ⟩ ⊗ ∣ x ⟩ . \Pi_{m,n}(|x\rangle\otimes|y\rangle)=(-1)^{|x||y|}|y\rangle\otimes|x\rangle. Π m , n ( ∣ x ⟩ ⊗ ∣ y ⟩) = ( − 1 ) ∣ x ∣∣ y ∣ ∣ y ⟩ ⊗ ∣ x ⟩ .
□
Proof of Proposition 3.3.2. The involutivity and coherence equations follow from Proposition 3.3.1, equivalently from the corresponding block permutations.
Let f : m → n f:m\to n f : m → n be even and write
f = ∑ x , y f y , x ∣ y ⟩ ⟨ x ∣ . f=\sum_{x,y}f_{y,x}\lvert y\rangle\langle x\rvert. f = x , y ∑ f y , x ∣ y ⟩ ⟨ x ∣ .
Whenever f y , x ≠ 0 f_{y,x}\ne0 f y , x = 0 ,
∣ x ∣ ≡ ∣ y ∣ ( m o d 2 ) . \lvert x\rvert\equiv\lvert y\rvert\pmod{2}. ∣ x ∣ ≡ ∣ y ∣ ( mod 2 ) .
Hence, for every z ∈ { 0 , 1 } k z\in\{0,1\}^{k} z ∈ { 0 , 1 } k ,
Π n , k ( f ⊗ i d k ) ∣ x z ⟩ = ∑ y f y , x ( − 1 ) ∣ y ∣ ∣ z ∣ ∣ z y ⟩ = ∑ y f y , x ( − 1 ) ∣ x ∣ ∣ z ∣ ∣ z y ⟩ = ( i d k ⊗ f ) Π m , k ∣ x z ⟩ . \begin{aligned}
\Pi_{n,k}(f\otimes id_k)\lvert xz\rangle
&=\sum_y f_{y,x}(-1)^{\lvert y\rvert\lvert z\rvert}\lvert zy\rangle\\
&=\sum_y f_{y,x}(-1)^{\lvert x\rvert\lvert z\rvert}\lvert zy\rangle\\
&=(id_k\otimes f)\Pi_{m,k}\lvert xz\rangle.
\end{aligned} Π n , k ( f ⊗ i d k ) ∣ x z ⟩ = y ∑ f y , x ( − 1 ) ∣ y ∣ ∣ z ∣ ∣ z y ⟩ = y ∑ f y , x ( − 1 ) ∣ x ∣ ∣ z ∣ ∣ z y ⟩ = ( i d k ⊗ f ) Π m , k ∣ x z ⟩ .
The second naturality equation is analogous. Thus every even map belongs to the Nature of Π \Pi Π .
Conversely, suppose that f f f is natural. Taking k = 1 k=1 k = 1 and applying the preceding naturality equation to ∣ x ⟩ ⊗ ∣ 1 ⟩ \lvert x\rangle\otimes\lvert1\rangle ∣ x ⟩ ⊗ ∣ 1 ⟩ yields
∑ y f y , x ( − 1 ) ∣ y ∣ ∣ 1 y ⟩ = ∑ y f y , x ( − 1 ) ∣ x ∣ ∣ 1 y ⟩ . \sum_y f_{y,x}(-1)^{\lvert y\rvert}\lvert1y\rangle
=
\sum_y f_{y,x}(-1)^{\lvert x\rvert}\lvert1y\rangle. y ∑ f y , x ( − 1 ) ∣ y ∣ ∣ 1 y ⟩ = y ∑ f y , x ( − 1 ) ∣ x ∣ ∣ 1 y ⟩ .
By linear independence of the computational basis, every non-zero coefficient f y , x f_{y,x} f y , x therefore satisfies
( − 1 ) ∣ y ∣ = ( − 1 ) ∣ x ∣ . (-1)^{\lvert y\rvert}=(-1)^{\lvert x\rvert}. ( − 1 ) ∣ y ∣ = ( − 1 ) ∣ x ∣ .
Hence ∣ x ∣ + ∣ y ∣ \lvert x\rvert+\lvert y\rvert ∣ x ∣ + ∣ y ∣ is even whenever f y , x ≠ 0 f_{y,x}\ne0 f y , x = 0 , so f f f is even. The Nature of Π \Pi Π is therefore exactly EvenLFM . □
Proof of Lemma 3.3.1. For every object A A A , the functoriality of ( − ) ⊗ A (-)\mathbin{\otimes} A ( − ) ⊗ A follows directly from the bifunctoriality of ⊗ \otimes ⊗ , since
f ⊗ A = f ⊗ i d A . f\mathbin{\otimes} A=f\otimes id_A. f ⊗ A = f ⊗ i d A .
For A ⊗ ( − ) A\mathbin{\otimes}(-) A ⊗ ( − ) , let f : B → C f:B\to C f : B → C and g : C → D g:C\to D g : C → D . Then
( A ⊗ g ) ∘ ( A ⊗ f ) = π D , A ( g ⊗ i d A ) π A , C π C , A ( f ⊗ i d A ) π A , B = π D , A ( ( g ∘ f ) ⊗ i d A ) π A , B = A ⊗ ( g ∘ f ) , \begin{aligned}
(A\mathbin{\otimes}g)\circ(A\mathbin{\otimes}f)
&=\pi_{D,A}(g\otimes id_A)\pi_{A,C}\pi_{C,A}(f\otimes id_A)\pi_{A,B}\\
&=\pi_{D,A}((g\circ f)\otimes id_A)\pi_{A,B}\\
&=A\mathbin{\otimes}(g\circ f),
\end{aligned} ( A ⊗ g ) ∘ ( A ⊗ f ) = π D , A ( g ⊗ i d A ) π A , C π C , A ( f ⊗ i d A ) π A , B = π D , A (( g ∘ f ) ⊗ i d A ) π A , B = A ⊗ ( g ∘ f ) ,
using the involutivity π A , C π C , A = i d C ⊗ A \pi_{A,C}\pi_{C,A}=id_{C\otimes A} π A , C π C , A = i d C ⊗ A . Moreover,
A ⊗ i d B = π B , A π A , B = i d A ⊗ B . A\mathbin{\otimes}id_B=\pi_{B,A}\pi_{A,B}=id_{A\otimes B}. A ⊗ i d B = π B , A π A , B = i d A ⊗ B .
Thus both left and right extension by an object are functorial.
The unit and strict associativity equations follow by expanding the definitions and using the coherence equations of the presymmetry.
Likewise, the same coherence equations imply that the morphisms π A , B \pi_{A,B} π A , B are central for ⊗ \otimes ⊗ .
By construction, π \pi π is natural with respect to every morphism for the product ⊗ \otimes ⊗ . Indeed, for f : B → C f:B\to C f : B → C ,
( A ⊗ f ) ∘ π B , A = π C , A ( f ⊗ i d A ) π A , B π B , A = π C , A ( f ⊗ i d A ) = π C , A ∘ ( f ⊗ A ) , \begin{aligned}
(A\mathbin{\otimes}f)\circ\pi_{B,A}
&=\pi_{C,A}(f\otimes id_A)\pi_{A,B}\pi_{B,A}\\
&=\pi_{C,A}(f\otimes id_A)\\
&=\pi_{C,A}\circ(f\mathbin{\otimes}A),
\end{aligned} ( A ⊗ f ) ∘ π B , A = π C , A ( f ⊗ i d A ) π A , B π B , A = π C , A ( f ⊗ i d A ) = π C , A ∘ ( f ⊗ A ) ,
and similarly
π A , C ∘ ( A ⊗ f ) = π A , C π C , A ( f ⊗ i d A ) π A , B = ( f ⊗ i d A ) π A , B = ( f ⊗ A ) ∘ π A , B . \begin{aligned}
\pi_{A,C}\circ(A\mathbin{\otimes}f)
&=\pi_{A,C}\pi_{C,A}(f\otimes id_A)\pi_{A,B}\\
&=(f\otimes id_A)\pi_{A,B}\\
&=(f\mathbin{\otimes}A)\circ\pi_{A,B}.
\end{aligned} π A , C ∘ ( A ⊗ f ) = π A , C π C , A ( f ⊗ i d A ) π A , B = ( f ⊗ i d A ) π A , B = ( f ⊗ A ) ∘ π A , B .
Hence ( C , ⊗ , π ) (\mathcal{C},\mathbin{\otimes},\pi) ( C , ⊗ , π ) is strict symmetric premonoidal.
Finally, suppose that f : B → C f:B\to C f : B → C belongs to the Nature of ( C , ⊗ , π ) (\mathcal{C},\otimes,\pi) ( C , ⊗ , π ) . Naturality for ⊗ \otimes ⊗ gives
π C , A ( f ⊗ i d A ) = ( i d A ⊗ f ) π B , A , \pi_{C,A}(f\otimes id_A)=(id_A\otimes f)\pi_{B,A}, π C , A ( f ⊗ i d A ) = ( i d A ⊗ f ) π B , A ,
and therefore
A ⊗ f = π C , A ( f ⊗ i d A ) π A , B = i d A ⊗ f . \begin{aligned}
A\mathbin{\otimes}f
&=\pi_{C,A}(f\otimes id_A)\pi_{A,B}\\
&=id_A\otimes f.
\end{aligned} A ⊗ f = π C , A ( f ⊗ i d A ) π A , B = i d A ⊗ f .
On the other hand, by definition,
f ⊗ A = f ⊗ i d A . f\mathbin{\otimes}A=f\otimes id_A. f ⊗ A = f ⊗ i d A .
The ordinary interchange law for ⊗ \otimes ⊗ then implies that f f f commutes, with respect to ⊗ \mathbin{\otimes} ⊗ , with every morphism. Thus f f f is central for ⊗ \otimes ⊗ . □
Proof of Lemma 3.3.2. The equality
f ⊗ k = f ⊗ i d k f \otimes k = f \otimes id_k f ⊗ k = f ⊗ i d k
is the definition.
For the second equality, let z ∈ { 0 , 1 } k z \in\{0,1\}^k z ∈ { 0 , 1 } k and x ∈ { 0 , 1 } m x \in\{0,1\}^m x ∈ { 0 , 1 } m . By definition,
k ⊗ f = Π n , k ( f ⊗ i d k ) Π k , m . k \otimes f = \Pi_{n,k}(f \otimes id_k)\Pi_{k,m}. k ⊗ f = Π n , k ( f ⊗ i d k ) Π k , m .
Hence
( k ⊗ f ) ∣ z x ⟩ = ( − 1 ) ∣ z ∣ ∣ x ∣ ∣ Π n , k ( f ⊗ i d k ) ∣ x z ⟩ = ∑ y f y , x ( − 1 ) ∣ x ∣ ∣ z ∣ + ∣ y ∣ ∣ z ∣ ∣ z y ⟩ . \begin{aligned}
(k \otimes f)\lvert zx\rangle= (-1)^{|z||x|}\lvert\Pi_{n,k}(f \otimes id_k)\lvert xz\rangle\\
&= \sum_y f_{y,x}(-1)^{|x||z|+|y||z|}\lvert zy\rangle.
\end{aligned} ( k ⊗ f ) ∣ z x ⟩ = ( − 1 ) ∣ z ∣∣ x ∣ ∣ Π n , k ( f ⊗ i d k ) ∣ x z ⟩ = y ∑ f y , x ( − 1 ) ∣ x ∣∣ z ∣ + ∣ y ∣∣ z ∣ ∣ z y ⟩ .
Whenever f y , x ≠ 0 f_{y,x} \ne0 f y , x = 0 , homogeneity gives
∣ y ∣ ≡ ∣ x ∣ + ∣ f ∣ ( m o d 2 ) . |y| \equiv|x| + |f| \pmod{2}. ∣ y ∣ ≡ ∣ x ∣ + ∣ f ∣ ( mod 2 ) .
Therefore
∣ z ∣ ∣ x ∣ + ∣ y ∣ ∣ z ∣ ≡ ∣ f ∣ ∣ z ∣ ( m o d 2 ) , |z||x| + |y||z| \equiv|f||z| \pmod{2}, ∣ z ∣∣ x ∣ + ∣ y ∣∣ z ∣ ≡ ∣ f ∣∣ z ∣ ( mod 2 ) ,
and consequently
( k ⊗ f ) ∣ z x ⟩ = ( P k ∣ f ∣ ⊗ f ) ∣ z x ⟩ . (k \otimes f)\lvert zx\rangle= (P_k^{|f|} \otimes f)\lvert zx\rangle. ( k ⊗ f ) ∣ z x ⟩ = ( P k ∣ f ∣ ⊗ f ) ∣ z x ⟩ .
Thus
k ⊗ f = P k ∣ f ∣ ⊗ f . k \otimes f = P_k^{|f|} \otimes f. k ⊗ f = P k ∣ f ∣ ⊗ f .
Proof of Proposition 3.3.3. Let f : m → m ′ f:m \to m' f : m → m ′ and g : n → n ′ g:n \to n' g : n → n ′ be homogeneous. By Lemma 3.3.2,
( f ⊗ n ′ ) ∘ ( m ⊗ g ) = ( f ⊗ i d n ′ ) ∘ ( P m ∣ g ∣ ⊗ g ) = ( f P m ∣ g ∣ ) ⊗ g , \begin{aligned}
(f \otimes n') \circ(m \otimes g) = (f \otimes id_{n'}) \circ(P_m^{|g|} \otimes g) \\
&= (fP_m^{|g|}) \otimes g,
\end{aligned} ( f ⊗ n ′ ) ∘ ( m ⊗ g ) = ( f ⊗ i d n ′ ) ∘ ( P m ∣ g ∣ ⊗ g ) = ( f P m ∣ g ∣ ) ⊗ g ,
whereas
( m ′ ⊗ g ) ∘ ( f ⊗ n ) = ( P m ′ ∣ g ∣ ⊗ g ) ∘ ( f ⊗ i d n ) = ( P m ′ ∣ g ∣ f ) ⊗ g . \begin{aligned}
(m' \otimes g) \circ(f \otimes n) = (P_{m'}^{|g|} \otimes g) \circ(f \otimes id_n) \\
&= (P_{m'}^{|g|}f) \otimes g.
\end{aligned} ( m ′ ⊗ g ) ∘ ( f ⊗ n ) = ( P m ′ ∣ g ∣ ⊗ g ) ∘ ( f ⊗ i d n ) = ( P m ′ ∣ g ∣ f ) ⊗ g .
Since f f f has parity ∣ f ∣ |f| ∣ f ∣ ,
P m ′ f = ( − 1 ) ∣ f ∣ f P m . P_{m'}f = (-1)^{|f|}fP_m. P m ′ f = ( − 1 ) ∣ f ∣ f P m .
Hence
P m ′ ∣ g ∣ f = ( − 1 ) ∣ f ∣ ∣ g ∣ f P m ∣ g ∣ , P_{m'}^{|g|}f = (-1)^{|f||g|}fP_m^{|g|}, P m ′ ∣ g ∣ f = ( − 1 ) ∣ f ∣∣ g ∣ f P m ∣ g ∣ ,
and therefore
( f ⊗ n ′ ) ∘ ( m ⊗ g ) = ( − 1 ) ∣ f ∣ ∣ g ∣ ( m ′ ⊗ g ) ∘ ( f ⊗ n ) . (f \otimes n') \circ(m \otimes g) = (-1)^{|f||g|}(m' \otimes g) \circ(f \otimes n). ( f ⊗ n ′ ) ∘ ( m ⊗ g ) = ( − 1 ) ∣ f ∣∣ g ∣ ( m ′ ⊗ g ) ∘ ( f ⊗ n ) .
In particular, every even map is central. Conversely, if f f f is a non-zero odd map, choose any non-zero odd one-mode map, for instance the mode-flip F F F . The two corresponding interchange composites are non-zero and differ by a minus sign, so f f f is not central. Therefore the centre is exactly EvenLFM.
Proof of Theorem 3.3.1. The first statement follows from Lemma 3.3.1, and the description of the centre of LFM follows from Proposition 3.3.3.
It remains to show that J W JW J W preserves the two extensions by an object. Let a ∈ A m a \in\mathcal{A}_m a ∈ A m . Since a ⊗ n a \otimes n a ⊗ n acts on the first m m m modes and the additional n n n modes are appended afterwards,
J W ( a ⊗ n ) = J W ( a ) ⊗ i d n = J W ( a ) ⊗ n . JW(a \otimes n) = JW(a) \otimes id_n = JW(a) \otimes n. J W ( a ⊗ n ) = J W ( a ) ⊗ i d n = J W ( a ) ⊗ n .
For the other extension, equivariance of the CAR action under the Fermionic block permutation gives
n ⊗ a = π m , n ( a ⊗ n ) π n , m . n \otimes a = \pi_{m,n}(a \otimes n)\pi_{n,m}. n ⊗ a = π m , n ( a ⊗ n ) π n , m .
Applying J W JW J W yields
J W ( n ⊗ a ) = Π m , n ( J W ( a ) ⊗ i d n ) Π n , m = n ⊗ J W ( a ) , \begin{aligned}
JW(n \otimes a) = \Pi_{m,n}(JW(a) \otimes id_n)\Pi_{n,m} \\
&= n \otimes JW(a),
\end{aligned} J W ( n ⊗ a ) = Π m , n ( J W ( a ) ⊗ i d n ) Π n , m = n ⊗ J W ( a ) ,
by the definition of the premonoidal product on the Hilbert-space semantics. Finally,
J W ( π m , n ) = Π m , n , JW(\pi_{m,n}) = \Pi_{m,n}, J W ( π m , n ) = Π m , n ,
so J W JW J W preserves the presymmetry as well.
Proofs of section 5
Proof of Lemma 5.1.1. By induction on D D D :
D ′ ∘ D ′ ′ = D ′ S k D ′ ∘ D ′ ′ S k D ′ ′ = D ′ D ′ ′ S k D ′ S k D ′ ′ = D S k D \begin{aligned}
D' \circ D'' &=
\begin{array}{c}
D'\\
S_kD'
\end{array}
\circ
\begin{array}{c}
D''\\
S_kD''
\end{array}
=
\begin{array}{c}
D' \quad D''\\
S_kD' \quad S_kD''
\end{array}
=
\begin{array}{c}
D\\
S_kD
\end{array}
\end{aligned} D ′ ∘ D ′′ = D ′ S k D ′ ∘ D ′′ S k D ′′ = D ′ D ′′ S k D ′ S k D ′′ = D S k D
D ′ S k D ′ ⊗ D ′ ′ S k D ′ ′ = D ′ D ′ ′ S k D ′ S k D ′ ′ = D S k D \begin{aligned}
\begin{array}{c}
D'\\
S_kD'
\end{array}
\otimes
\begin{array}{c}
D''\\
S_kD''
\end{array}
&=
\begin{array}{c}
D'\\
D''\\
S_kD'\\
S_kD''
\end{array}
=
\begin{array}{c}
D\\
S_kD
\end{array}
\end{aligned} D ′ S k D ′ ⊗ D ′′ S k D ′′ = D ′ D ′′ S k D ′ S k D ′′ = D S k D
Note that this step is only true so long as all the generators in the expression of D D D are natural. The other inductive steps are however valid for any diagram.
Proof of Lemma 5.1.2. Same as above without the step for ⊗ \otimes ⊗ in the induction. □ \square □
Proof of Theorem 5.1.1. Let ( D , D ′ ) (D,D') ( D , D ′ ) be an equation such that D D D and D ′ D' D ′ only involve natural generators. Using Lemma 5.1.1, we get:
S k + 1 D = S k + 1 D S_{k+1}D = S_{k+1}D S k + 1 D = S k + 1 D
Similarly, using Lemma 5.1.2, we get the second point. □ \square □
Proofs of the derived equations
Derived equations in SEoW.
Proof of L5. The base case comes from EoW equation A10.
diagrammatic equation: n + n ′ → m = ⋯ = IH = SA6 \text{diagrammatic equation: } n+n' \xrightarrow{m} \;=\; \cdots\;=\; \text{\emph{IH}} \;=\; \text{\emph{SA6}} diagrammatic equation: n + n ′ m = ⋯ = IH = SA6
Proof of L6.
diagrammatic equation: n + n ′ → m + m ′ = SA6 = L5 = ⋯ = D2,D3 \text{diagrammatic equation: } n+n' \xrightarrow{m+m'} \;=\; \text{\emph{SA6}} \;=\; \text{\emph{L5}} \;=\; \cdots\;=\; \text{\emph{D2,D3}} diagrammatic equation: n + n ′ m + m ′ = SA6 = L5 = ⋯ = D2,D3
Proof of L7.
diagrammatic equation: λ I n + 1 = L6 = D1 = IH = Dist \text{diagrammatic equation: } \lambda I_{n+1} \;=\; \text{\emph{L6}} \;=\; \text{\emph{D1}} \;=\; \text{\emph{IH}} \;=\; \text{\emph{Dist}} diagrammatic equation: λ I n + 1 = L6 = D1 = IH = Dist
Proof of L8.
I n = L7 = SA12 I_n \;=\; \text{\emph{L7}} \;=\; \text{\emph{SA12}} I n = L7 = SA12
Proof of L1. After unfolding the scalar case of the matrix-arrow definition, the base case is exactly A7.
diagrammatic equation: [ M M ′ ] = D2 = SA1,SA3 = Dist \text{diagrammatic equation: } [\,M\ M'\,] \;=\; \text{\emph{D2}} \;=\; \text{\emph{SA1,SA3}} \;=\; \text{\emph{Dist}} diagrammatic equation: [ M M ′ ] = D2 = SA1,SA3 = Dist
diagrammatic equation: D2,D3 = IH = D2 \text{diagrammatic equation: } \text{\emph{D2,D3}} \;=\; \text{\emph{IH}} \;=\; \text{\emph{D2}} diagrammatic equation: D2,D3 = IH = D2
Proof of L3. After unfolding the scalar case of the matrix-arrow definition, the base case is exactly A9.
diagrammatic equation: [ Y / M ] [ X N ] = D2,D3 = Exp = IH \text{diagrammatic equation: } [\,Y/M\,]\,[\,X\ N\,] \;=\; \text{\emph{D2,D3}} \;=\; \text{\emph{Exp}} \;=\; \text{\emph{IH}} diagrammatic equation: [ Y / M ] [ X N ] = D2,D3 = Exp = IH
diagrammatic equation: X Y = L1 = X Y + N M \text{diagrammatic equation: } XY \;=\; \text{\emph{L1}} \;=\; XY+NM diagrammatic equation: X Y = L1 = X Y + N M
Proof of L4. The base case follows from D1and A5.
diagrammatic equation: M = D1 \text{diagrammatic equation: } M \;=\; \text{\emph{D1}} diagrammatic equation: M = D1
Case [ M M ′ ] [\,M\ M'\,] [ M M ′ ] :
diagrammatic equation: [ M M ′ ] = D2 = SA4 = IH = Dist \text{diagrammatic equation: } [\,M\ M'\,] \;=\; \text{\emph{D2}} \;=\; \text{\emph{SA4}} \;=\; \text{\emph{IH}} \;=\; \text{\emph{Dist}} diagrammatic equation: [ M M ′ ] = D2 = SA4 = IH = Dist
Case [ M M ′ ] \begin{bmatrix} M \\ M' \end{bmatrix} [ M M ′ ] :
[ M M ′ ] = D 3 = Dist = I H = S A 6 \begin{aligned}
\begin{bmatrix} M \\ M' \end{bmatrix} = D3 = \operatorname{Dist} = IH \\
&= SA6
\end{aligned} [ M M ′ ] = D 3 = Dist = I H = S A 6
Proof of L2. After unfolding the scalar case of the matrix-arrow definition, the base case is exactly A8. We proceed by induction on matrices:
Case [ M M ′ ] \begin{bmatrix} M & M' \end{bmatrix} [ M M ′ ] :
[ M M ′ ] = D 2 = S A 2 = I H = Exp = Dist = D 2 \begin{aligned}
\begin{bmatrix} M & M' \end{bmatrix} = D2 = SA2 = IH \\
&= \operatorname{Exp} = \operatorname{Dist} \\
&= D2
\end{aligned} [ M M ′ ] = D 2 = S A 2 = I H = Exp = Dist = D 2
Case [ M M ′ ] \begin{bmatrix} M \\ M' \end{bmatrix} [ M M ′ ] :
[ M M ′ ] = Dist = D 3 = I H = S A 1 , S A 3 = D 3 \begin{aligned}
\begin{bmatrix} M \\ M' \end{bmatrix} = \operatorname{Dist} = D3 = IH \\
&= SA1,SA3 = D3
\end{aligned} [ M M ′ ] = Dist = D 3 = I H = S A 1 , S A 3 = D 3
Proof of L9. Note that any matrix M ∈ C m × n M \in\mathbb{C}^{m \times n} M ∈ C m × n of rank r r r can be decomposed as M = P ′ Q ′ M = P'Q' M = P ′ Q ′ with P ′ ∈ C m × r P' \in\mathbb{C}^{m \times r} P ′ ∈ C m × r and Q ′ ∈ C r × n Q' \in\mathbb{C}^{r \times n} Q ′ ∈ C r × n both of rank r r r . Then, one can complete P ′ P' P ′ and Q ′ Q' Q ′ into invertible matrices P ∈ G L m ( C ) P \in GL_m(\mathbb{C}) P ∈ G L m ( C ) and Q ∈ G L n ( C ) Q \in GL_n(\mathbb{C}) Q ∈ G L n ( C ) by adding columns and rows.
M = L 3 = D 2 , D 3 , L 4 M = L3 = D2,D3,L4 M = L 3 = D 2 , D 3 , L 4
Derived equations in SEW
Proof of L10.
Z + Z ′ = D 4 = S A 1 , S A 3 , S A 16 = L 1 = D 4 = Z + Z ′ \begin{aligned}
Z + Z' = D4 = SA1,SA3,SA16 \\
&= L1 = D4 = Z + Z'
\end{aligned} Z + Z ′ = D 4 = S A 1 , S A 3 , S A 16 = L 1 = D 4 = Z + Z ′
Proof of L11.
Z = D 4 = S A 4 = L 4 , S A 16 = S A 17 \begin{aligned}
Z = D4 = SA4 = L4,SA16 \\
&= SA17
\end{aligned} Z = D 4 = S A 4 = L 4 , S A 16 = S A 17
Proof of L12. After unfolding the scalar case of the matrix-arrow definition, the base case is exactly A15.
Figure 1 (PDF p. 29).
Proof of L13.
Figure 2 (PDF p. 29).
Proof of L14.
diagram = D 4 diagram = L 2 diagram = L 12 \text{diagram} = D4 \quad\text{diagram} = L2 \quad\text{diagram} = L12 diagram = D 4 diagram = L 2 diagram = L 12
diagram = L 3 diagram = D 4 \text{diagram} = L3 \quad\text{diagram} = D4 diagram = L 3 diagram = D 4
M − M T = D 4 diagram = L 1 diagram = S A 16 , S A 18 M-M^{T} = D4 \quad\text{diagram} = L1 \quad\text{diagram} = S_{A16},S_{A18} M − M T = D 4 diagram = L 1 diagram = S A 16 , S A 18
Proof of L15.
diagram = S A 1 , S A 3 diagram = L 12 diagram = S A 13 \text{diagram} = S_{A1},S_{A3} \quad\text{diagram} = L12 \quad\text{diagram} = S_{A13} diagram = S A 1 , S A 3 diagram = L 12 diagram = S A 13
diagram = diagram = diagram \text{diagram} = \quad\text{diagram} = \quad\text{diagram} diagram = diagram = diagram
Proof of L16.
diagram = S A 7 diagram = S A 16 , S A 3 diagram = S A 13 \text{diagram} = S_{A7} \quad\text{diagram} = S_{A16},S_{A3} \quad\text{diagram} = S_{A13} diagram = S A 7 diagram = S A 16 , S A 3 diagram = S A 13
diagram = S A 22 diagram = S A 9 diagram = S A 13 , S A 3 , S A 16 , S A 7 \text{diagram} = S_{A22} \quad\text{diagram} = S_{A9} \quad\text{diagram} = S_{A13},S_{A3},S_{A16},S_{A7} diagram = S A 22 diagram = S A 9 diagram = S A 13 , S A 3 , S A 16 , S A 7
Proof of L17. To show L17, we start by showing that for all n ∈ N n \in\mathbb{N} n ∈ N ,
diagram = A U X 1 diagram = A U X 2 \text{diagram} = AUX1 \quad\text{diagram} = AUX2 diagram = A U X 1 diagram = A U X 2
We show that by induction on n n n , the base case being exactly equation A21.
diagram = D i s t diagram = diagram = S A 21 \text{diagram} = Dist \quad\text{diagram} = \quad\text{diagram} = SA21 diagram = D i s t diagram = diagram = S A 21
diagram = diagram = D i s t diagram = I H \text{diagram} = \quad\text{diagram} = Dist \quad\text{diagram} = IH diagram = diagram = D i s t diagram = I H
diagram = E x p , E l i m diagram = D i s t diagram = L 16 \text{diagram} = Exp,Elim \quad\text{diagram} = Dist \quad\text{diagram} = L16 diagram = E x p , E l im diagram = D i s t diagram = L 16
The second equality is proven similarly, applying rewrites symmetrically with respect to the horizontal direction.
Now that this auxiliary result is proven, let n , m ∈ N n,m \in\mathbb{N} n , m ∈ N , and k ≤ m k \le m k ≤ m .
( − 1 ) ∑ k = 1 m ( n + m − k − 1 ) = ( − 1 ) m ( n + m + 1 ) = ( − 1 ) n m (-1)^{\sum_{k=1}^{m}(n+m-k-1)} = (-1)^{m(n+m+1)} = (-1)^{nm} ( − 1 ) ∑ k = 1 m ( n + m − k − 1 ) = ( − 1 ) m ( n + m + 1 ) = ( − 1 ) nm
Which suffices to prove L17. □
Auxiliary linear algebra for L18 and L24. We use the following standard facts about elementary matrices.
Definition C.1.1 (Elementary matrix). A transvection matrix is a matrix
T i j ( λ ) = I n + λ E i j , i ≠ j , λ ∈ C . T_{ij}(\lambda)=I_n+\lambda E_{ij},\qquad i\ne j,\quad\lambda\in\mathbb{C}. T ij ( λ ) = I n + λ E ij , i = j , λ ∈ C . A dilation matrix is a matrix
D i ( α ) = I n + ( α − 1 ) E i i , α ∈ C ∗ . D_i(\alpha)=I_n+(\alpha-1)E_{ii},\qquad\alpha\in\mathbb{C}^{*}. D i ( α ) = I n + ( α − 1 ) E ii , α ∈ C ∗ . An elementary matrix is either a transvection matrix or a dilation matrix.
Lemma C.1.1. Every elementary matrix can be written using products, direct sums, and permutation conjugations of the matrices
( 0 1 1 0 ) , ( 1 0 λ 1 ) ( λ ∈ C ) , [ x ] ( x ∈ C ∗ ) . \begin{pmatrix}0&1\\1&0\end{pmatrix},\qquad
\begin{pmatrix}1&0\\\lambda&1\end{pmatrix}\quad(\lambda\in\mathbb{C}),\qquad
[x]\quad(x\in\mathbb{C}^{*}). ( 0 1 1 0 ) , ( 1 λ 0 1 ) ( λ ∈ C ) , [ x ] ( x ∈ C ∗ ) . If the ambient dimension is even, the last family may equivalently be replaced by
( x 0 0 1 ) ( x ∈ C ∗ ) , \begin{pmatrix}x&0\\0&1\end{pmatrix}\quad(x\in\mathbb{C}^{*}), ( x 0 0 1 ) ( x ∈ C ∗ ) , so that all direct-sum factors may be chosen of even size.
Proof. A dilation
D i ( α ) = diag ( 1 , … , 1 , α , 1 , … , 1 ) D_i(\alpha)=\operatorname{diag}(1,\ldots,1,\alpha,1,\ldots,1) D i ( α ) = diag ( 1 , … , 1 , α , 1 , … , 1 )
is obtained, up to a permutation of the coordinates, by taking the direct sum of the one-dimensional blocks [ α ] [\alpha] [ α ] and [ 1 ] [1] [ 1 ] . Likewise, every transvection is permutation-conjugate to a direct sum of
( 1 0 λ 1 ) \begin{pmatrix}1&0\\\lambda&1\end{pmatrix} ( 1 λ 0 1 )
with identity blocks. Permutation matrices are generated by adjacent transpositions, themselves obtained by taking direct sums of
( 0 1 1 0 ) \begin{pmatrix}0&1\\1&0\end{pmatrix} ( 0 1 1 0 )
with identities. In even ambient dimension, a dilation is permutation-conjugate to a direct sum containing one block
( α 0 0 1 ) \begin{pmatrix}\alpha&0\\0&1\end{pmatrix} ( α 0 0 1 )
and otherwise 2 × 2 2\times2 2 × 2 identity blocks. The same pairing of the remaining identity coordinates gives the claimed even-size decomposition for transvections. □
Lemma C.1.2. The group G L n ( C ) \mathrm{GL}_n(\mathbb{C}) GL n ( C ) is generated by elementary matrices.
Proof. Gaussian elimination reduces any M ∈ G L n ( C ) M\in\mathrm{GL}_n(\mathbb{C}) M ∈ GL n ( C ) to the identity using row additions, non-zero row scalings, and row swaps. Row additions and non-zero row scalings are left multiplications by transvections and dilations. A swap of two adjacent coordinates is also a product of such matrices; on the corresponding two-dimensional block,
( 0 1 1 0 ) = T 12 ( 1 ) T 21 ( − 1 ) T 12 ( 1 ) D 1 ( − 1 ) . \begin{pmatrix}0&1\\1&0\end{pmatrix}
=
T_{12}(1)\,T_{21}(-1)\,T_{12}(1)\,D_1(-1). ( 0 1 1 0 ) = T 12 ( 1 ) T 21 ( − 1 ) T 12 ( 1 ) D 1 ( − 1 ) .
Hence there exist elementary matrices E 1 , … , E r E_1,\ldots,E_r E 1 , … , E r such that E r ⋯ E 1 M = I n E_r\cdots E_1M=I_n E r ⋯ E 1 M = I n . Since T i j ( λ ) − 1 = T i j ( − λ ) T_{ij}(\lambda)^{-1}=T_{ij}(-\lambda) T ij ( λ ) − 1 = T ij ( − λ ) and D i ( α ) − 1 = D i ( α − 1 ) D_i(\alpha)^{-1}=D_i(\alpha^{-1}) D i ( α ) − 1 = D i ( α − 1 ) , the inverses are again elementary, and therefore M M M is a product of elementary matrices. □
By Lemmas C.1.1 and C.1.2, together with L6 and L3, it is enough in L18 and L24 to establish the displayed small-matrix cases and to check stability under direct sums and products.
Proof of L18. Base case:
( 0 1 1 0 ) \begin{pmatrix}0&1\\1&0\end{pmatrix} ( 0 1 1 0 )
( 1 0 λ 1 ) \begin{pmatrix} 1 & 0 \\ \lambda& 1 \end{pmatrix} ( 1 λ 0 1 )
Base case: ( 1 0 λ 1 ) \begin{pmatrix} 1 & 0 \\ \lambda& 1 \end{pmatrix} ( 1 λ 0 1 )
( x 0 0 1 ) \begin{pmatrix} x & 0 \\ 0 & 1 \end{pmatrix} ( x 0 0 1 )
Base case: ( x 0 0 1 ) \begin{pmatrix} x & 0 \\ 0 & 1 \end{pmatrix} ( x 0 0 1 )
Induction step: M ⊕ M ′ M \oplus M' M ⊕ M ′
2 n + 2 n ′ n + n ′ \frac{2n+2n'}{n+n'} n + n ′ 2 n + 2 n ′
Induction step: M ′ M M'M M ′ M
Proof of L20.
Auxiliary Darboux decomposition for L21.
Lemma C.1.3 (Darboux). Let A ∈ C 2 n × 2 n A \in\mathbb{C}^{2n\times2n} A ∈ C 2 n × 2 n be an invertible antisymmetric matrix, i.e. A T = − A A^{T}=-A A T = − A . Then there exists an invertible matrix P ∈ C 2 n × 2 n P \in\mathbb{C}^{2n\times2n} P ∈ C 2 n × 2 n such that
A = P T J P , J = ( 0 I n − I n 0 ) . A=P^{T}JP,\qquad J=\begin{pmatrix} 0 & I_n \\ -I_n & 0 \end{pmatrix}. A = P T J P , J = ( 0 − I n I n 0 ) . Moreover,
det ( P ) = ( − 1 ) n ( n − 1 ) 2 P f ( A ) , \det(P)=(-1)^{\frac{n(n-1)}{2}} Pf(A), det ( P ) = ( − 1 ) 2 n ( n − 1 ) P f ( A ) , and
A − 1 = P − 1 ( − J ) P − T . A^{-1}=P^{-1}(-J)P^{-T}. A − 1 = P − 1 ( − J ) P − T .
Proof. Consider the non-degenerate antisymmetric bilinear form
ω ( x , y ) = x T A y \omega(x,y)=x^{T}Ay ω ( x , y ) = x T A y
on C 2 n \mathbb{C}^{2n} C 2 n . Choose e 1 ≠ 0 e_1 \ne0 e 1 = 0 . By non-degeneracy, there exists f 1 f_1 f 1 such that ω ( e 1 , f 1 ) = 1 \omega(e_1,f_1)=1 ω ( e 1 , f 1 ) = 1 . The restriction of ω \omega ω to span ( e 1 , f 1 ) \operatorname{span}(e_1,f_1) span ( e 1 , f 1 ) is non-degenerate, hence
C 2 n = span ( e 1 , f 1 ) ⊕ span ( e 1 , f 1 ) ⊥ ω . \mathbb{C}^{2n}=\operatorname{span}(e_1,f_1)\oplus\operatorname{span}(e_1,f_1)^{\perp_\omega}. C 2 n = span ( e 1 , f 1 ) ⊕ span ( e 1 , f 1 ) ⊥ ω .
and the restriction of ω \omega ω to the orthogonal complement is again non-degenerate. Iterating yields a basis
( e 1 , … , e n , f 1 , … , f n ) (e_1,\ldots,e_n,f_1,\ldots,f_n) ( e 1 , … , e n , f 1 , … , f n )
such that
ω ( e i , e j ) = ω ( f i , f j ) = 0 , ω ( e i , f j ) = δ i j . \omega(e_i,e_j)=\omega(f_i,f_j)=0,\qquad\omega(e_i,f_j)=\delta_{ij}. ω ( e i , e j ) = ω ( f i , f j ) = 0 , ω ( e i , f j ) = δ ij .
Therefore, for a suitable P ∈ G L 2 n ( C ) P\in GL_{2n}(\mathbb{C}) P ∈ G L 2 n ( C ) ,
Using
P f ( Q T B Q ) = det ( Q ) P f ( B ) P_f(Q^{T}BQ)=\det(Q)P_f(B) P f ( Q T B Q ) = det ( Q ) P f ( B )
(which can be deduced from L14), and
P f ( J ) = ( − 1 ) n ( n − 1 ) 2 , P_f(J)=(-1)^{\frac{n(n-1)}{2}}, P f ( J ) = ( − 1 ) 2 n ( n − 1 ) ,
we obtain
P f ( A ) = det ( P ) P f ( J ) = ( − 1 ) n ( n − 1 ) 2 det ( P ) , P_f(A)=\det(P)P_f(J)=(-1)^{\frac{n(n-1)}{2}}\det(P), P f ( A ) = det ( P ) P f ( J ) = ( − 1 ) 2 n ( n − 1 ) det ( P ) ,
hence
det ( P ) = ( − 1 ) n ( n − 1 ) 2 P f ( A ) . \det(P)=(-1)^{\frac{n(n-1)}{2}}P_f(A). det ( P ) = ( − 1 ) 2 n ( n − 1 ) P f ( A ) .
Finally, since J 2 = − I 2 n J^2=-I_{2n} J 2 = − I 2 n , we have J − 1 = − J J^{-1}=-J J − 1 = − J , and therefore
A − 1 = ( P T J P ) − 1 = P − 1 J − 1 P − T = P − 1 ( − J ) P − T . A^{-1}=(P^{T}JP)^{-1}=P^{-1}J^{-1}P^{-T}=P^{-1}(-J)P^{-T}. A − 1 = ( P T J P ) − 1 = P − 1 J − 1 P − T = P − 1 ( − J ) P − T .
Proof of L21. Let A ∈ C 2 n × 2 n A\in\mathbb{C}^{2n\times2n} A ∈ C 2 n × 2 n be an invertible antisymmetric matrix. Using Lemma C.1.3, we get
A = P T J P , J = ( 0 I n − I n 0 ) . A=P^{T}JP,\qquad
J=\begin{pmatrix}0&I_n\\-I_n&0\end{pmatrix}. A = P T J P , J = ( 0 − I n I n 0 ) .
For some P ∈ C 2 n × 2 n P\in\mathbb{C}^{2n\times2n} P ∈ C 2 n × 2 n invertible. Then:
A = J P = P = P = P A \;=\; J P \;=\; P \;=\; P \;=\; P A = J P = P = P = P
with diagrammatic labels L 14 L14 L 14 , L 13 L13 L 13 , and L 8 , L 20 L8,L20 L 8 , L 20 .
P = P = P − 1 P = P − 1 P P \;=\; P \;=\; P^{-1}P \;=\; P^{-1}P P = P = P − 1 P = P − 1 P
with diagrammatic labels S A 6 S_{A6} S A 6 , L 8 , L 3 L8,L3 L 8 , L 3 , and L 2 , L 3 , L 8 L2,L3,L8 L 2 , L 3 , L 8 .
P − 1 P = P − T = P − T P^{-1}P \;=\; P^{-T} \;=\; P^{-T} P − 1 P = P − T = P − T
with diagrammatic labels L 18 , L 12 L18,L12 L 18 , L 12 , D i s t \mathrm{Dist} Dist , and S A 3 S_{A3} S A 3 ; each occurrence carries the scalar label det P − 1 \det P-1 det P − 1 where printed.
P − T = P − T P^{-T} \;=\; P^{-T} P − T = P − T
with diagrammatic labels S A 1 S_{A1} S A 1 ; each occurrence carries the scalar label det P − 1 \det P-1 det P − 1 where printed. [Diagrammatic equalities involving det P − 1 \det P-1 det P − 1 , P − T P^{-T} P − T , P − J − T P^{-J-T} P − J − T , A − 1 A^{-1} A − 1 , Dist \operatorname{Dist} Dist , S A 13 S_{A13} S A 13 , S A 7 , S A 10 S_{A7,S_{A10}} S A 7 , S A 10 , S A 6 S_{A6} S A 6 , S A 6 , L 20 , L 13 S_{A6,L20,L13} S A 6 , L 20 , L 13 , L 14 L14 L 14 , and ( − 1 ) n ( n − 1 ) 2 P f ( A ) − 1 (-1)^{\frac{n(n-1)}{2}}P_f(A)-1 ( − 1 ) 2 n ( n − 1 ) P f ( A ) − 1 .]
Proof of L19.
[Diagrammatic equalities involving Dist k \operatorname{Dist}_k Dist k , 2 k + 2 2k+2 2 k + 2 , S A 23 S_{A23} S A 23 , I H IH I H , and Dist \operatorname{Dist} Dist .]
Proof of L22.
[Diagrammatic equalities involving Z Z Z , Z / 2 Z/2 Z /2 , D 4 D4 D 4 , S A 16 , S A 18 S_{A16,S_{A18}} S A 16 , S A 18 , S A 18 S_{A18} S A 18 , and S A 3 S_{A3} S A 3 .]
Auxiliary decomposition for L23.
Lemma C.1.4. Let Z ∈ C n × n Z \in\mathbb{C}^{n \times n} Z ∈ C n × n be antisymmetric. Then there exist k ≤ n k \le n k ≤ n , an invertible antisymmetric matrix A ∈ C ( n − k ) × ( n − k ) A \in\mathbb{C}^{(n-k) \times(n-k)} A ∈ C ( n − k ) × ( n − k ) , and an invertible matrix P ∈ GL n ( C ) P \in\operatorname{GL}_n(\mathbb{C}) P ∈ GL n ( C ) such that
Z = P T ( A ⊕ 0 k ) P , Z = P^{T}(A \oplus0_k)P, Z = P T ( A ⊕ 0 k ) P , where 0 k 0_k 0 k denotes the k × k k \times k k × k zero matrix. In particular, n − k n-k n − k is even.
Proof. Consider the antisymmetric bilinear form
ω ( x , y ) = x T Z y \omega(x,y) = x^{T} Z y ω ( x , y ) = x T Z y
on C n \mathbb{C}^n C n , and let
K = ker Z = { x ∈ C n ∣ ω ( x , y ) = 0 for every y ∈ C n } . K = \ker Z = \{x \in\mathbb{C}^n \mid\omega(x,y) = 0 \text{ for every } y \in\mathbb{C}^n\}. K = ker Z = { x ∈ C n ∣ ω ( x , y ) = 0 for every y ∈ C n } .
Set k = dim K k = \dim K k = dim K , and choose a vector-space complement V V V of K K K , so that
C n = V ⊕ K . \mathbb{C}^n = V \oplus K. C n = V ⊕ K .
The restriction ω ∣ V \omega|_V ω ∣ V is non-degenerate. Indeed, if x ∈ V x \in V x ∈ V satisfies ω ( x , v ) = 0 \omega(x,v) = 0 ω ( x , v ) = 0 for every v ∈ V v \in V v ∈ V , then also ω ( x , k ) = 0 \omega(x,k) = 0 ω ( x , k ) = 0 for every k ∈ K k \in K k ∈ K . Hence ω ( x , y ) = 0 \omega(x,y) = 0 ω ( x , y ) = 0 for every y ∈ C n y \in\mathbb{C}^n y ∈ C n , so x ∈ K x \in K x ∈ K . Since V ∩ K = { 0 } V \cap K = \{0\} V ∩ K = { 0 } , we obtain x = 0 x = 0 x = 0 . Therefore the matrix A A A of ω ∣ V \omega|_V ω ∣ V in any basis of V V V is antisymmetric and invertible. Extending this basis by a basis of K K K , the matrix of ω \omega ω is A ⊕ 0 k A \oplus0_k A ⊕ 0 k . Hence, after the corresponding change of basis, there exists P ∈ GL n ( C ) P \in\operatorname{GL}_n(\mathbb{C}) P ∈ GL n ( C ) such that
Z = P T ( A ⊕ 0 k ) P . Z = P^{T}(A \oplus0_k)P. Z = P T ( A ⊕ 0 k ) P .
Since an invertible antisymmetric matrix has even size, n − k n-k n − k is even. □ \square □
Proof of L23. Z ⟶ L 13 = L 20 , L 5 = S A 6 Z \longrightarrow L13 = L20,L5 = SA6 Z ⟶ L 13 = L 20 , L 5 = S A 6 .
Derived equations in SFoW.
Proof of L25. The base case n = 1 n = 1 n = 1 is exactly A29. We proceed by induction on n ∈ N ∗ n \in\mathbb{N}^{*} n ∈ N ∗ .
D i s t = I H = S A 9 , D i s t \mathrm{Dist} = \mathrm{IH} = SA9,\mathrm{Dist} Dist = IH = S A 9 , Dist
Proof of L26. We proceed by induction on n ∈ N ∗ n \in\mathbb{N}^{*} n ∈ N ∗ .
D i s t = L 25 = S A 25 = I H = S A 9 = D i s t \mathrm{Dist} = L25 = SA25 = \mathrm{IH} = SA9 = \mathrm{Dist} Dist = L 25 = S A 25 = IH = S A 9 = Dist
Proof of L24. Base case: [ 0 1 1 0 ] \begin{bmatrix}0&1\\1&0\end{bmatrix} [ 0 1 1 0 ]
[ 0 1 1 0 ] = D 2 , D 3 = A 10 = A 6 = D i s t = A 29 = A 26 = D i s t \begin{bmatrix}0&1\\1&0\end{bmatrix}
= D2,D3 = A10 = A6 = \mathrm{Dist} = A29 = A26 = \mathrm{Dist} [ 0 1 1 0 ] = D 2 , D 3 = A 10 = A 6 = Dist = A 29 = A 26 = Dist
Base case: [ 1 0 λ 1 ] \begin{bmatrix}1&0\\ \lambda&1\end{bmatrix} [ 1 λ 0 1 ]
[ 1 0 λ 1 ] = D 2 , D 3 , A 10 = A 6 = D i s t = A 28 = A 5 , A 6 = D i s t = S A 12 , S A 26 , D i s t , A 26 \begin{bmatrix}1&0\\ \lambda&1\end{bmatrix}
= D2,D3,A10 = A6 = \mathrm{Dist} = A28 = A5,A6 = \mathrm{Dist} = SA12,SA26,\mathrm{Dist},A26 [ 1 λ 0 1 ] = D 2 , D 3 , A 10 = A 6 = Dist = A 28 = A 5 , A 6 = Dist = S A 12 , S A 26 , Dist , A 26
Base case: [ x ] [x] [ x ]
[ x ] = D 1 = A 26 [x] = D1 = A26 [ x ] = D 1 = A 26
Induction step: M ⊕ M ′ M \oplus M' M ⊕ M ′
M ⊕ M ′ = L 6 = D i s t = I H M \oplus M' = L6 = \mathrm{Dist} = \mathrm{IH} M ⊕ M ′ = L 6 = Dist = IH
det M , det M ′ = A 26 , A 9 , D i s t = det M det M ′ \det M,\det M' = A26,A9,\mathrm{Dist} = \det M\det M' det M , det M ′ = A 26 , A 9 , Dist = det M det M ′
Induction step: M ′ M M'M M ′ M
M ′ M = L 3 I H det M = I H , A 26 , A 9 det M det M ′ M'M = L3 \quad IH \quad\operatorname{det}M = IH,A26,A9 \quad\operatorname{det}M\operatorname{det}M' M ′ M = L 3 I H det M = I H , A 26 , A 9 det M det M ′
Proof of L27.
Dist = L 25 = A 28 , I H = S A 5 \operatorname{Dist} = L25 = A28,IH = SA5 Dist = L 25 = A 28 , I H = S A 5
Proof of L28.
Dist = A 27 = I H = Dist \operatorname{Dist} = A27 = IH = \operatorname{Dist} Dist = A 27 = I H = Dist
Derived equations in SFW.
Proof of L29.
Dist = I H = A 34 = A 6 = A 34 = A 36 = L 25 = A 36 , A 34 , A 6 = Dist \operatorname{Dist} = IH = A34 = A6 = A34 = A36 = L25 = A36,A34,A6 = \operatorname{Dist} Dist = I H = A 34 = A 6 = A 34 = A 36 = L 25 = A 36 , A 34 , A 6 = Dist
L 6 = [ 1 ] ⊕ ( − Alt n ) = Alt n + 1 L6 = [1]\oplus(-\operatorname{Alt}_n) = \operatorname{Alt}_{n+1} L 6 = [ 1 ] ⊕ ( − Alt n ) = Alt n + 1
Proof of L30.
L 17 = A 35 = A 32 = A 34 = A 13 , A 18 = A 7 , A 10 , A 19 = A 36 = I H = L 16 = Dist L17 = A35 = A32 = A34 = A13,A18 = A7,A10,A19 = A36 = IH = L16 = \operatorname{Dist} L 17 = A 35 = A 32 = A 34 = A 13 , A 18 = A 7 , A 10 , A 19 = A 36 = I H = L 16 = Dist
Proof of L31.
S A 36 = L 29 = S A 6 SA36 = L29 = SA6 S A 36 = L 29 = S A 6
Proof of L32.
diagram n P = diagram n P L 31 \text{diagram}_{n}^{P} = \text{diagram}_{n}^{P}\quad L31 diagram n P = diagram n P L 31
diagram n P = diagram n P L 12 \text{diagram}_{n}^{P} = \text{diagram}_{n}^{P}\quad L12 diagram n P = diagram n P L 12
diagram n P = diagram n P L 8 , L 3 \text{diagram}_{n}^{P} = \text{diagram}_{n}^{P}\quad L8,L3 diagram n P = diagram n P L 8 , L 3
diagram n P = diagram n P L 2 \text{diagram}_{n}^{P} = \text{diagram}_{n}^{P}\quad L2 diagram n P = diagram n P L 2
diagram n P = diagram n P L 24 \text{diagram}_{n}^{P} = \text{diagram}_{n}^{P}\quad L24 diagram n P = diagram n P L 24
diagram n P = diagram n P L 8 , L 3 \text{diagram}_{n}^{P} = \text{diagram}_{n}^{P}\quad L8,L3 diagram n P = diagram n P L 8 , L 3
diagram n P = diagram n P L 2 , L 12 , L 24 \text{diagram}_{n}^{P} = \text{diagram}_{n}^{P}\quad L2,L12,L24 diagram n P = diagram n P L 2 , L 12 , L 24
diagram n P = diagram n P L 24 \text{diagram}_{n}^{P} = \text{diagram}_{n}^{P}\quad L24 diagram n P = diagram n P L 24
diagram n P = diagram n P L 2 \text{diagram}_{n}^{P} = \text{diagram}_{n}^{P}\quad L2 diagram n P = diagram n P L 2
diagram n P = diagram n P L 31 \text{diagram}_{n}^{P} = \text{diagram}_{n}^{P}\quad L31 diagram n P = diagram n P L 31
Proof of L33.
diagram n , m = diagram n , m L 31 \text{diagram}_{n,m} = \text{diagram}_{n,m}\quad L31 diagram n , m = diagram n , m L 31
diagram n , m = diagram n , m L 25 \text{diagram}_{n,m} = \text{diagram}_{n,m}\quad L25 diagram n , m = diagram n , m L 25
diagram n , m = diagram n , m L 31 \text{diagram}_{n,m} = \text{diagram}_{n,m}\quad L31 diagram n , m = diagram n , m L 31
Proof of L34.
diagram n = diagram n S A 3 \text{diagram}_{n} = \text{diagram}_{n}\quad SA3 diagram n = diagram n S A 3
diagram n = diagram n L 29 \text{diagram}_{n} = \text{diagram}_{n}\quad L29 diagram n = diagram n L 29
diagram n = diagram n L 33 \text{diagram}_{n} = \text{diagram}_{n}\quad L33 diagram n = diagram n L 33
diagram n = diagram n S A 13 , S A 3 \text{diagram}_{n} = \text{diagram}_{n}\quad SA13,SA3 diagram n = diagram n S A 13 , S A 3
diagram n = diagram n L 7 , L 3 \text{diagram}_{n} = \text{diagram}_{n}\quad L7,L3 diagram n = diagram n L 7 , L 3
Proof of L35.
diagram A = diagram A S A 17 , L 16 \text{diagram}_{A} = \text{diagram}_{A}\quad SA17,L16 diagram A = diagram A S A 17 , L 16
diagram A = diagram A L 21 \text{diagram}_{A} = \text{diagram}_{A}\quad L21 diagram A = diagram A L 21
diagram A = diagram A L 30 \text{diagram}_{A} = \text{diagram}_{A}\quad L30 diagram A = diagram A L 30
diagram A = diagram A S A 36 \text{diagram}_{A} = \text{diagram}_{A}\quad SA36 diagram A = diagram A S A 36
diagram A = diagram A L 34 \text{diagram}_{A} = \text{diagram}_{A}\quad L34 diagram A = diagram A L 34
diagram A = diagram A L 3 , L 8 , S A 6 , S A 18 \text{diagram}_{A} = \text{diagram}_{A}\quad L3,L8,SA6,SA18 diagram A = diagram A L 3 , L 8 , S A 6 , S A 18
Proof of L36.
diagram n = diagram n S A 35 \text{diagram}_{n} = \text{diagram}_{n}\quad SA35 diagram n = diagram n S A 35
diagram n = diagram n L 31 \text{diagram}_{n} = \text{diagram}_{n}\quad L31 diagram n = diagram n L 31
diagram n = diagram n L 12 , S A 18 \text{diagram}_{n} = \text{diagram}_{n}\quad L12,SA18 diagram n = diagram n L 12 , S A 18
diagram n = diagram n D i s t \text{diagram}_{n} = \text{diagram}_{n}\quad Dist diagram n = diagram n D i s t
Normal-form rewrites
Definition D.0.1 (Reduced column echelon form). Let M ∈ C m × n M \in\mathbb{C}^{m \times n} M ∈ C m × n . We say that M M M is in reduced column echelon form (RCEF) if M T M^{T} M T is in reduced row echelon form.
Equivalently:
all zero columns of M M M , if any, occur after all non-zero columns;
the first non-zero entry of each non-zero column is equal to 1 1 1 . We call this entry the pivot of the column, and its row the corresponding pivot row;
the pivot of each non-zero column lies strictly below the pivot of the preceding non-zero column;
each pivot is the only non-zero entry in its row.
Thus, if M M M has rank r r r , its r r r non-zero columns have pivot rows
1 ≤ j 1 < ⋯ < j r ≤ m . 1 \leq j_1 < \cdots< j_r \leq m. 1 ≤ j 1 < ⋯ < j r ≤ m . For example,
M = [ 1 0 0 a 0 0 0 1 0 b c 0 0 0 1 ] M =
\begin{bmatrix}
1 & 0 & 0\\
a & 0 & 0\\
0 & 1 & 0\\
b & c & 0\\
0 & 0 & 1
\end{bmatrix} M = 1 a 0 b 0 0 0 1 c 0 0 0 0 0 1 is in RCEF. Its pivot rows are
( j 1 , j 2 , j 3 ) = ( 1 , 3 , 5 ) . (j_1,j_2,j_3)=(1,3,5). ( j 1 , j 2 , j 3 ) = ( 1 , 3 , 5 ) . Indeed,
M T = [ 1 a 0 b 0 0 0 1 c 0 0 0 0 0 1 ] M^T =
\begin{bmatrix}
1 & a & 0 & b & 0\\
0 & 0 & 1 & c & 0\\
0 & 0 & 0 & 0 & 1
\end{bmatrix} M T = 1 0 0 a 0 0 0 1 0 b c 0 0 0 1 is in reduced row echelon form.
Lemma D.0.1. Let M ∈ C n × r M \in\mathbb{C}^{n \times r} M ∈ C n × r be a matrix in RCEF with
rank ( M ) = r . \operatorname{rank}(M)=r. rank ( M ) = r . Let
1 ≤ j 1 < ⋯ < j r ≤ n 1 \leq j_1 < \cdots< j_r \leq n 1 ≤ j 1 < ⋯ < j r ≤ n be its pivot rows. Then there exist a permutation matrix P ∈ C n × n P \in\mathbb{C}^{n \times n} P ∈ C n × n and a matrix B ∈ C ( n − r ) × r B \in\mathbb{C}^{(n-r) \times r} B ∈ C ( n − r ) × r such that
M = P [ I r B ] . M=P
\begin{bmatrix}
I_r\\
B
\end{bmatrix}. M = P [ I r B ] .
Proof. Since M M M has rank r r r and has exactly r r r columns, every column of M M M is non-zero and hence contains a pivot. Let
j 1 < ⋯ < j r j_1 < \cdots< j_r j 1 < ⋯ < j r
be the pivot rows, and let
k 1 < ⋯ < k n − r k_1 < \cdots< k_{n-r} k 1 < ⋯ < k n − r
be the increasing enumeration of
{ 1 , … , n } ∖ { j 1 , … , j r } . \{1,\ldots,n\}\setminus\{j_1,\ldots,j_r\}. { 1 , … , n } ∖ { j 1 , … , j r } .
By definition of RCEF, the pivot in the i i i -th column is equal to 1 1 1 and is the only non-zero entry of the j i j_i j i -th row. Therefore the submatrix formed by the pivot rows is
M [ j 1 , … , j r ] = I r . M_{[j_1,\ldots,j_r]}=I_r. M [ j 1 , … , j r ] = I r .
Let
B : = M [ k 1 , … , k n − r ] ∈ C ( n − r ) × r B:=M_{[k_1,\ldots,k_{n-r}]} \in\mathbb{C}^{(n-r)\times r} B := M [ k 1 , … , k n − r ] ∈ C ( n − r ) × r
be the submatrix formed by the non-pivot rows.
Let Q Q Q be the permutation matrix which moves the pivot rows j 1 , … , j r j_1,\ldots,j_r j 1 , … , j r to the first r r r positions, while preserving their order, and moves the remaining rows k 1 , … , k n − r k_1,\ldots,k_{n-r} k 1 , … , k n − r underneath them, again preserving their order. Then
Q M = [ M [ j 1 , … , j r ] M [ k 1 , … , k n − r ] ] = [ I r B ] . QM=
\begin{bmatrix}
M_{[j_1,\ldots,j_r]}\\
M_{[k_1,\ldots,k_{n-r}]}
\end{bmatrix}
=
\begin{bmatrix}
I_r\\
B
\end{bmatrix}. QM = [ M [ j 1 , … , j r ] M [ k 1 , … , k n − r ] ] = [ I r B ] .
Since Q Q Q is a permutation matrix,
is also a permutation matrix. Setting P : = Q − 1 P:=Q^{-1} P := Q − 1 gives
M = P [ I r B ] , M=P
\begin{bmatrix}
I_r\\
B
\end{bmatrix}, M = P [ I r B ] ,
as required. □
Completeness of EoW
The generators used below can all be expressed as matrix arrows. In particular, the following rewrites reduce the non-structural generators to matrix-arrow form.
To normal form.
L 8 , S A 6 , L 5 , D 2 , D 3 L_8,SA_6,L_5,D_2,D_3 L 8 , S A 6 , L 5 , D 2 , D 3
Then L6 and L3 enable to write any diagram as a matrix arrow.
Uniqueness of normal form. Let M , M ′ ∈ C m × n M,M' \in\mathbb{C}^{m\times n} M , M ′ ∈ C m × n . Denote N ( M ) N(M) N ( M ) (resp. N ( M ′ ) N(M') N ( M ′ ) ) the matrix arrow labelled by M M M (resp. M ′ M' M ′ ). Suppose
⟦ N ( M ) ⟧ = ⟦ N ( M ′ ) ⟧ \llbracket N(M)\rrbracket=\llbracket N(M')\rrbracket [ [ N ( M ) ] ] = [ [ N ( M ′ ) ] ]
then, note that
⟦ N ( M ) ⟧ 2 i , 2 j = M i , j and ⟦ N ( M ′ ) ⟧ 2 i , 2 j = M i , j ′ \llbracket N(M)\rrbracket_{2i,2j}=M_{i,j}
\qquad\text{and}\qquad
\llbracket N(M')\rrbracket_{2i,2j}=M'_{i,j} [ [ N ( M ) ] ] 2 i , 2 j = M i , j and [ [ N ( M ′ ) ] ] 2 i , 2 j = M i , j ′
Therefore M = M ′ M=M' M = M ′ .
Completeness of FoW
To normal form. Due to L26, we can rewrite any diagram D : 0 → n D:0\to n D : 0 → n :
D = L 26 diagram with n generators and ( − 1 ) n + 1 D \overset{L26}{=} \text{diagram with } n \text{ generators and } (-1)^{n+1} D = L 26 diagram with n generators and ( − 1 ) n + 1
Therefore, we can assume without loss of generality that D D D contains at least n n n generators and •— and —•, which we can isolate and gather respectively to the left and right sides of the diagram using A29 and Dist, rewriting the remaining EoW part as a matrix arrow, which gives us as starting point the following diagram:
D = matrix arrow with M 1 D=\text{matrix arrow with }M_1 D = matrix arrow with M 1
with l ≥ n l\ge n l ≥ n and k ≥ n k\ge n k ≥ n . Then we derive:
M 1 = [ M 2 M 3 ] = D 2 diagram M_1=\begin{bmatrix}M_2\\M_3\end{bmatrix}
\overset{D2}{=}
\text{diagram} M 1 = [ M 2 M 3 ] = D 2 diagram
Case r = rank ( M 3 ) < l r=\operatorname{rank}(M_3)<l r = rank ( M 3 ) < l :
M 1 = [ M 2 M 3 ] = D 2 diagram M_1=\begin{bmatrix}M_2\\M_3\end{bmatrix}
\overset{D2}{=}
\text{diagram} M 1 = [ M 2 M 3 ] = D 2 diagram
= L 9 diagram \overset{L9}{=}
\text{diagram} = L 9 diagram
= L 24 , S A 30 diagram \overset{L24,SA30}{=}
\text{diagram} = L 24 , S A 30 diagram
= D i s t diagram \overset{Dist}{=}
\text{diagram} = D i s t diagram
= S A 26 , S A 10 , S A 30 diagram \overset{SA26,SA10,SA30}{=}
\text{diagram} = S A 26 , S A 10 , S A 30 diagram
= L 28 , S A 30 , S A 26 diagram \overset{L28,SA30,SA26}{=}
\text{diagram} = L 28 , S A 30 , S A 26 diagram
= D i s t , L 4 , S A 6 diagram \overset{Dist,L4,SA6}{=}
\text{diagram} = D i s t , L 4 , S A 6 diagram
= L 28 diagram \overset{L28}{=}
\text{diagram} = L 28 diagram
= S A 30 , S A 26 diagram \overset{SA30,SA26}{=}
\text{diagram} = S A 30 , S A 26 diagram
Note that this is the normal form for the zero diagram of type 0 → n 0\to n 0 → n .
Case rank ( M 3 ) ≥ l \operatorname{rank}(M_3)\ge l rank ( M 3 ) ≥ l :
When rank ( M 3 ) ≥ l \operatorname{rank}(M_3)\ge l rank ( M 3 ) ≥ l , we automatically have rank M 3 = l \operatorname{rank}M_3=l rank M 3 = l as
rank ( M 3 ) ≤ min ( l , k ) \operatorname{rank}(M_3)\le\min(l,k) rank ( M 3 ) ≤ min ( l , k )
We derive:
M 3 = det ( P 1 ) det ( Q 1 ) − 1 M 2 M_3 = \det(P_1)\det(Q_1)^{-1} M_2 M 3 = det ( P 1 ) det ( Q 1 ) − 1 M 2
M 4 = M 2 Q 1 − 1 M_4=M_2Q_1^{-1} M 4 = M 2 Q 1 − 1
x 1 = det P 1 det Q 1 = Dist S A 6 x_1=\det P_1\det Q_1=\operatorname{Dist}_{S A6} x 1 = det P 1 det Q 1 = Dist S A 6
x 1 = ( − 1 ) k − l x 1 x_1=(-1)^{k-l}x_1 x 1 = ( − 1 ) k − l x 1
M 4 = [ B 1 M 5 ] M_4=[B_1\ M_5] M 4 = [ B 1 M 5 ]
x 2 = ( − 1 ) l ( k − l ) x 1 x_2=(-1)^{l(k-l)}x_1 x 2 = ( − 1 ) l ( k − l ) x 1
Case k = l k=l k = l . In the case k = l k=l k = l , we have r 2 = 0 r_2=0 r 2 = 0 . By abuse of notation M 5 M_5 M 5 is then the empty matrix [ ] ∈ C n × 0 [\,]\in\mathbb{C}^{n\times0} [ ] ∈ C n × 0 and we denote:
[ ] ∈ C n × 0 : = ∅ [\,]\in\mathbb{C}^{n\times0}:=
\varnothing [ ] ∈ C n × 0 := ∅
By convention, this empty matrix is considered full rank and in RCEF. This yields the normal form of states λ ∣ 0 n ⟩ \lambda\lvert0^n\rangle λ ∣ 0 n ⟩ for λ ∈ C \lambda\in\mathbb{C} λ ∈ C .
Case k > l k>l k > l . When k > l k>l k > l , we have r 2 > 0 r_2>0 r 2 > 0 and we obtain:
As before, if rank ( M 5 ) ≠ r 2 \operatorname{rank}(M_5)\ne r_2 rank ( M 5 ) = r 2 , we can apply L9, L24, L28, and S A 30 SA30 S A 30 to get back to the normal form for the zero diagram of type 0 → n 0\to n 0 → n .
Otherwise, we can assume that rank ( M 5 ) = r 2 ≤ n \operatorname{rank}(M_5)=r_2\le n rank ( M 5 ) = r 2 ≤ n . Then Using L24, S A 26 SA26 S A 26 , and S A 9 SA9 S A 9 , we can multiply M 5 M_5 M 5 on the right by a sequence of elementary matrices so as to put it in Reduced Column Echelon Form (RCEF), while multiplying x 2 x_2 x 2 by the determinant of these matrices. This gives
with M 6 M_6 M 6 full rank and in RCEF.
Uniqueness of normal form.
Let
N = N ( r , x , M ) and N ′ = N ( r ′ , x ′ , M ′ ) N=N(r,x,M)\qquad\text{and}\qquad N'=N(r',x',M') N = N ( r , x , M ) and N ′ = N ( r ′ , x ′ , M ′ )
be two SFoW normal forms of the same type 0 → n 0\to n 0 → n , where M ∈ C n × r M\in\mathbb{C}^{n\times r} M ∈ C n × r , M ′ ∈ C n × r ′ M'\in\mathbb{C}^{n\times r'} M ′ ∈ C n × r ′ are in RCEF and have ranks r r r and r ′ r' r ′ respectively. Let 1 ≤ j 1 < ⋯ < j r ≤ n 1\le j_1<\cdots<j_r\le n 1 ≤ j 1 < ⋯ < j r ≤ n , 1 ≤ j 1 ′ < ⋯ < j r ′ ′ ≤ n 1\le j'_1<\cdots<j'_{r'}\le n 1 ≤ j 1 ′ < ⋯ < j r ′ ′ ≤ n be their respective pivot rows.
Assume that
⟦ N ⟧ = ⟦ N ′ ⟧ , \llbracket N\rrbracket=\llbracket N'\rrbracket, [ [ N ] ] = [ [ N ′ ] ] ,
i.e.
\left\llbracket
\begin{array}{c}
x\\
M
\end{array}
\right\rrbracket
=
\left\llbracket
\begin{array}{c}
x'\\
M'
\end{array}
\right\rrbracket.
Due to Lemma D.0.1, there exists permutation matrices P , P ′ ∈ C n × n P,P'\in\mathbb{C}^{n\times n} P , P ′ ∈ C n × n such that
P M = [ I r B ] and P ′ M ′ = [ I r ′ B ′ ] . PM=
\begin{bmatrix}
I_r\\
B
\end{bmatrix}
\qquad\text{and}\qquad
P'M'=
\begin{bmatrix}
I_{r'}\\
B'
\end{bmatrix}. P M = [ I r B ] and P ′ M ′ = [ I r ′ B ′ ] .
For s ≤ n s\le n s ≤ n , we write
E s : = [ I s 0 ] ∈ C s × n . E_s:=\begin{bmatrix}I_s&0\end{bmatrix}\in\mathbb{C}^{s\times n}. E s := [ I s 0 ] ∈ C s × n .
Hence
E r P M = I r , E r ′ P ′ M ′ = I r ′ . E_rPM=I_r,\qquad E_{r'}P'M'=I_{r'}. E r P M = I r , E r ′ P ′ M ′ = I r ′ .
We prove equality of the normal-form data in five steps. The first step separates the zero case; in the remaining steps we may therefore assume that the common interpretation is non-zero.
Step 1: ⟦ N ⟧ = ⟦ N ′ ⟧ = 0 ⟹ x = x ′ = 0 \llbracket N\rrbracket=\llbracket N'\rrbracket=0\Longrightarrow x=x'=0 [ [ N ] ] = [ [ N ′ ] ] = 0 ⟹ x = x ′ = 0
First, let us show that a normal form has zero interpretation if and only if its global scalar vanishes. If x = 0 x=0 x = 0 , then L28 rewrites N N N to the distinguished normal form of the zero 0 → n 0\to n 0 → n state. Therefore
x = 0 ⟹ ⟦ N ⟧ = 0. x=0\Longrightarrow\llbracket N\rrbracket=0. x = 0 ⟹ [ [ N ] ] = 0.
Conversely, suppose that x ≠ 0 x\ne0 x = 0 . Diagrammatically, we get
By plugging the gadget
in N N N , we get:
B = L 3 , L 8 , D i s t = L 4 = S A 6 = S A 6 , S A 5 = L 26 = S A 11 \begin{aligned}
B &= L_{3,L_{8},\mathrm{Dist}} \\
&= L_4 \\
&= SA_6 \\
&= SA_6,SA_5 \\
&= L_{26} \\
&= SA_{11}
\end{aligned} B = L 3 , L 8 , Dist = L 4 = S A 6 = S A 6 , S A 5 = L 26 = S A 11
Using
⟦ (diagram) ⟧ = x , \llbracket\,\text{(diagram)}\,\rrbracket=x, [ [ (diagram) ] ] = x ,
we obtain a diagram of non-zero interpretation. By functoriality of ⟦ ⋅ ⟧ \llbracket\cdot\rrbracket [ [ ⋅ ] ] , this is impossible if ⟦ N ⟧ = 0 \llbracket N\rrbracket=0 [ [ N ] ] = 0 . Thus
⟦ N ⟧ = 0 ⟹ x = 0. \llbracket N\rrbracket=0 \quad\Longrightarrow\quad x=0. [ [ N ] ] = 0 ⟹ x = 0.
Therefore
⟦ N ⟧ = 0 ⟺ x = 0. \llbracket N\rrbracket=0 \quad\Longleftrightarrow\quad x=0. [ [ N ] ] = 0 ⟺ x = 0.
The same argument applies to N ′ N' N ′ . Hence, if
⟦ N ⟧ = ⟦ N ′ ⟧ = 0 , \llbracket N\rrbracket=\llbracket N'\rrbracket=0, [ [ N ] ] = [ [ N ′ ] ] = 0 ,
then
and both diagrams rewrite to the distinguished zero normal form.
In the rest of the proof we may therefore assume
⟦ N ⟧ = ⟦ N ′ ⟧ ≠ 0 , x ≠ 0 , x ′ ≠ 0. \llbracket N\rrbracket=\llbracket N'\rrbracket\ne0,\qquad x\ne0,\qquad x'\ne0. [ [ N ] ] = [ [ N ′ ] ] = 0 , x = 0 , x ′ = 0.
Step 2: r = r ′ r=r' r = r ′
First, note that
P M ′ = I n P M ′ = [ E r P M ′ [ 0 I n − r ] P M ′ ] . PM'=I_nPM'=
\begin{bmatrix}
E_rPM'\\
[0\ I_{n-r}]PM'
\end{bmatrix}. P M ′ = I n P M ′ = [ E r P M ′ [ 0 I n − r ] P M ′ ] .
Let us denote:
C : = E r P M ′ , D : = [ 0 I n − r ] P M ′ . \begin{aligned}
C&:=E_rPM',\\
D&:=[0\ I_{n-r}]PM'.
\end{aligned} C D := E r P M ′ , := [ 0 I n − r ] P M ′ .
Then, by plugging the same gadget to N ′ N' N ′ this time, we get the derivation:
P M ′ = [ C D ] PM'=
\begin{bmatrix}
C\\
D
\end{bmatrix} P M ′ = [ C D ]
r k ( C ) = r k ( C ) − r , det Q 1 , det Q 2 . r_k(C)=r_k(C)-r,\qquad\det Q_1,\det Q_2. r k ( C ) = r k ( C ) − r , det Q 1 , det Q 2 .
The interpretation of the diagram obtained from N N N is x ≠ 0 x\ne0 x = 0 . Since ⟦ N ⟧ = ⟦ N ′ ⟧ \llbracket N\rrbracket=\llbracket N'\rrbracket [ [ N ] ] = [ [ N ′ ] ] , the corresponding diagram obtained from N ′ N' N ′ must also have non-zero interpretation. As ⟦ k ⟧ = 0 \llbracket k\rrbracket=0 [ [ k ] ] = 0 when k > 0 k>0 k > 0 , the above reduction therefore forces
r = rank ( C ) = r ′ . r=\operatorname{rank}(C)=r'. r = rank ( C ) = r ′ .
Hence
Step 3: ( j 1 , … , j r ) = ( j 1 ′ , … , j r ′ ) (j_1,\ldots,j_r)=(j'_1,\ldots,j'_r) ( j 1 , … , j r ) = ( j 1 ′ , … , j r ′ )
Suppose that the pivot rows differ, and let k k k be the smallest index such that
j k ≠ j k ′ . j_k\ne j'_k. j k = j k ′ .
Without loss of generality, suppose
j k < j k ′ . j_k<j'_k. j k < j k ′ .
Note that C = E r P M M ′ C=E_rP_M M' C = E r P M M ′ is the submatrix of M ′ M' M ′ composed of the rows ( j 1 , … , j r ) (j_1,\ldots,j_r) ( j 1 , … , j r ) in this order, and therefore reads:
C = [ 1 0 ⋯ 0 0 ⋯ 0 c 2 , 1 1 ⋯ 0 ⋮ ⋯ 0 ⋮ ⋮ ⋱ ⋮ ⋮ ⋱ ⋮ c k − 1 , 1 c k − 1 , 2 ⋯ 1 0 ⋯ 0 c k , 1 c k , 2 ⋯ c k , k − 1 0 ⋯ 0 ⋮ ⋮ ⋮ ⋮ ⋱ ⋱ ⋮ c r , 1 c r , 2 ⋯ c r , k − 1 ⋯ ⋯ 1 ] C=\begin{bmatrix}
1 & 0 & \cdots& 0 & 0 & \cdots& 0\\
c_{2,1} & 1 & \cdots& 0 & \vdots& \cdots& 0\\
\vdots& \vdots& \ddots& \vdots& \vdots& \ddots& \vdots\\
c_{k-1,1} & c_{k-1,2} & \cdots& 1 & 0 & \cdots& 0\\
c_{k,1} & c_{k,2} & \cdots& c_{k,k-1} & 0 & \cdots& 0\\
\vdots& \vdots& \vdots& \vdots& \ddots& \ddots& \vdots\\
c_{r,1} & c_{r,2} & \cdots& c_{r,k-1} & \cdots& \cdots& 1
\end{bmatrix} C = 1 c 2 , 1 ⋮ c k − 1 , 1 c k , 1 ⋮ c r , 1 0 1 ⋮ c k − 1 , 2 c k , 2 ⋮ c r , 2 ⋯ ⋯ ⋱ ⋯ ⋯ ⋮ ⋯ 0 0 ⋮ 1 c k , k − 1 ⋮ c r , k − 1 0 ⋮ ⋮ 0 0 ⋱ ⋯ ⋯ ⋯ ⋱ ⋯ ⋯ ⋱ ⋯ 0 0 ⋮ 0 0 ⋮ 1
Notice that the k k k -th row is a linear combination of the first k − 1 k-1 k − 1 rows, which is not possible as rank ( C ) = r \operatorname{rank}(C)=r rank ( C ) = r , as shown in step 2. Therefore
( j 1 , … , j r ) = ( j 1 ′ , … , j r ′ ) . (j_1,\ldots,j_r)=(j'_1,\ldots,j'_r). ( j 1 , … , j r ) = ( j 1 ′ , … , j r ′ ) .
It directly follows that
Step 4: x = x ′ x=x' x = x ′ As P = P ′ P=P' P = P ′ and r = r ′ r=r' r = r ′ , we have:
P M = [ I r B ] , P M ′ = [ I r B ′ ] . PM=\begin{bmatrix}I_r\\B\end{bmatrix},\qquad PM'=\begin{bmatrix}I_r\\B'\end{bmatrix}. P M = [ I r B ] , P M ′ = [ I r B ′ ] .
and therefore, plugging the same gadget
to N ′ N' N ′ gives.
Recall that the interpretation of the diagram obtained from plugging this gadget to N N N in step 1 was x x x . This yields:
Step 5 : M = M ′ M=M' M = M ′
We now know that
r = r ′ , P = P ′ x = x ′ ≠ 0. r=r',\qquad P=P'\qquad x=x'\ne0. r = r ′ , P = P ′ x = x ′ = 0.
And
P M = [ I r B ] , P M ′ = [ I r B ′ ] . PM=\begin{bmatrix}I_r\\B\end{bmatrix},\qquad PM'=\begin{bmatrix}I_r\\B'\end{bmatrix}. P M = [ I r B ] , P M ′ = [ I r B ′ ] .
It remains only to prove
Let
1 ≤ i ≤ r , 1 ≤ q ≤ n − r , 1\le i\le r,\qquad1\le q\le n-r, 1 ≤ i ≤ r , 1 ≤ q ≤ n − r ,
and let S i , r + q ∈ C n × n S_{i,r+q}\in\mathbb{C}^{n\times n} S i , r + q ∈ C n × n be the permutation matrix exchanging rows i i i and r + q r+q r + q . Define
R i , q : = E r S i , r + q P ∈ C r × n . R_{i,q}:=E_rS_{i,r+q}P\in\mathbb{C}^{r\times n}. R i , q := E r S i , r + q P ∈ C r × n .
such that
R i , q M = E r S i , r + q [ I r B ] . R_{i,q}M=E_rS_{i,r+q}\begin{bmatrix}I_r\\B\end{bmatrix}. R i , q M = E r S i , r + q [ I r B ] .
This is the identity matrix in which the i i i -th row has been replaced by the q q q -th row of B B B . Its determinant can be computed as:
det ( R i , q M ) = ∣ I i − 1 0 ( 0 ) B q , 1 ⋯ B q , i − 1 B q , i B q , i + 1 ⋯ B q , r ( 0 ) 0 I r − i ∣ = ( − 1 ) i + i B q , i = B q , i . \det(R_{i,q}M)=
\left|
\begin{array}{c|c|c}
I_{i-1} & 0 & (0)\\
\hline
B_{q,1}\ \cdots\ B_{q,i-1} & B_{q,i} & B_{q,i+1}\ \cdots\ B_{q,r}\\
\hline
(0) & 0 & I_{r-i}
\end{array}
\right|
=(-1)^{i+i}B_{q,i}=B_{q,i}. det ( R i , q M ) = I i − 1 B q , 1 ⋯ B q , i − 1 ( 0 ) 0 B q , i 0 ( 0 ) B q , i + 1 ⋯ B q , r I r − i = ( − 1 ) i + i B q , i = B q , i .
Similarly,
det ( R i , q M ′ ) = ( − 1 ) i + i B q , i ′ = B q , i ′ . \det(R_{i,q}M')=(-1)^{i+i}B'_{q,i}=B'_{q,i}. det ( R i , q M ′ ) = ( − 1 ) i + i B q , i ′ = B q , i ′ .
Since
⟦ N ⟧ = ⟦ N ′ ⟧ and x = x ′ ≠ 0 , \llbracket N\rrbracket=\llbracket N'\rrbracket\qquad\text{and}\qquad x=x'\ne0, [ [ N ] ] = [ [ N ′ ] ] and x = x ′ = 0 ,
we may plug the following second gadget to both N N N and N ′ N' N ′ We get
The two sides therefore reduce respectively to
x det ( R i , q M ) and x det ( R i , q M ′ ) . x\det(R_{i,q}M) \qquad\text{and}\qquad x\det(R_{i,q}M'). x det ( R i , q M ) and x det ( R i , q M ′ ) .
Since x ≠ 0 x \ne0 x = 0 ,
det ( R i , q M ) = det ( R i , q M ′ ) . \det(R_{i,q}M)=\det(R_{i,q}M'). det ( R i , q M ) = det ( R i , q M ′ ) .
and therefore
B q , i = B q , i ′ . B_{q,i}=B'_{q,i}. B q , i = B q , i ′ .
Since i i i and q q q were arbitrary,
Hence
and since P P P is invertible,
Therefore
( r , x , M ) = ( r ′ , x ′ , M ′ ) , (r,x,M)=(r',x',M'), ( r , x , M ) = ( r ′ , x ′ , M ′ ) ,
so the two normal forms are identical.
Completeness of FW
To normal form. Let D : 0 ⟶ n D:0\longrightarrow n D : 0 ⟶ n be a diagram of SFW. Due to L31, SA32 and L36, we can consider without loss of generality that D D D only contains generators ∙ — \bullet\text{—} ∙ — and ⊃ \supset ⊃ on top of EoW generators. Indeed, we can rewrite the other generators like so:
Using L25, we can slide ∙ — \bullet\text{—} ∙ — to the left side of the diagram, while naturality of ⊃ \supset ⊃ allows us to slide them to the top-right corner of the diagram. We thus start with D D D written as:
And then derive:
M 1 = [ M 2 M 3 M 4 ] = D 3 M_1=\begin{bmatrix}M_2\\M_3\\M_4\end{bmatrix}=D_3 M 1 = M 2 M 3 M 4 = D 3
M 3 = M 3 T M 2 − M 2 T M 3 M_3=M_3^{\mathsf T}M_2-M_2^{\mathsf T}M_3 M 3 = M 3 T M 2 − M 2 T M 3
Z 2 = Alt n Z 1 Alt n Z_2=\operatorname{Alt}_n Z_1\operatorname{Alt}_n Z 2 = Alt n Z 1 Alt n
Z 2 = P 2 [ A 2 0 0 0 ] P 2 T Z_2=P_2
\begin{bmatrix}
A_2&0\\
0&0
\end{bmatrix}
P_2^{\mathsf T} Z 2 = P 2 [ A 2 0 0 0 ] P 2 T
x 1 = det P 2 x_1=\det P_2 x 1 = det P 2
M 5 = P 2 − 1 M 4 M_5=P_2^{-1}M_4 M 5 = P 2 − 1 M 4
x 2 = pf ( A 2 ) x 1 x_2=\operatorname{pf}(A_2)x_1 x 2 = pf ( A 2 ) x 1
Z 3 = M 6 A 2 − 1 M 6 T Z_3=M_6A_2^{-1}M_6^{\mathsf T} Z 3 = M 6 A 2 − 1 M 6 T
Similarly to what was done for SFoW, if rank ( M 7 ) ≠ r 2 \operatorname{rank}(M_7) \ne r_2 rank ( M 7 ) = r 2 , we can apply L9, L24, L28, and SA30 to get to the normal form for the zero diagram of type 0 → n 0 \to n 0 → n , which is essentially the same as for SFoW due to L20 and SA6. Otherwise, we can assume that rank ( M 7 ) = r 2 ≤ n \operatorname{rank}(M_7) = r_2 \le n rank ( M 7 ) = r 2 ≤ n .
Then Using L24, SA26, and SA9, we can multiply M 7 M_7 M 7 on the right by a sequence of elementary matrices so as to put it in Reduced Column Echelon Form (RCEF), while multiplying x 2 x_2 x 2 by the determinant of these matrices. This gives M 8 M_8 M 8 full rank and in RCEF, and x 2 x_2 x 2 so that D D D reads:
x 2 M 8 \mathbf{x}_2 M_8 x 2 M 8
As M 8 M_8 M 8 is in RCEF, Lemma D.0.1 gives P 3 P_3 P 3 a permutation matrix such that:
M 8 = P 3 [ I r B ] M_8 = P_3 \begin{bmatrix} I_r \\ B \end{bmatrix} M 8 = P 3 [ I r B ]
We then derive:
x 2 M 8 = P 3 \mathbf{x}_2 M_8 = P_3 x 2 M 8 = P 3
M 9 = ( − 1 ) n + 1 B A l t n M_9 = (-1)^{n+1} B A l t_n M 9 = ( − 1 ) n + 1 B A l t n
Z 6 = A l t n Z 4 A l t n T Z_6 = A l t_n Z_4 A l t_n^{T} Z 6 = A l t n Z 4 A l t n T
M 9 = A l t n P 3 M_9 = A l t_n P_3 M 9 = A l t n P 3
M 9 = A l t n C M_9 = A l t_n C M 9 = A l t n C
Z 7 = M 9 Z 6 M 9 T Z_7 = M_9 Z_6 M_9^{T} Z 7 = M 9 Z 6 M 9 T
Z 8 = C T A l t n M 9 T − M 9 A l t n C Z_8 = C^{T} A l t_n M_9^{T} - M_9 A l t_n C Z 8 = C T A l t n M 9 T − M 9 A l t n C
Z 9 = Z 7 + Z 5 + Z 8 = ( − 1 ) n + 1 A l t n P 3 Z_9 = Z_7 + Z_5 + Z_8 = (-1)^{n+1} A l t_n P_3 Z 9 = Z 7 + Z 5 + Z 8 = ( − 1 ) n + 1 A l t n P 3
Z 10 = P 3 Z_{10} = P_3 Z 10 = P 3
x 2 M 8 = P 3 \mathbf{x}_2 M_8 = P_3 x 2 M 8 = P 3
Therefore we can rewrite D D D in normal form, with M 8 M_8 M 8 full rank and RCEF and Z 10 Z_{10} Z 10 zero on the columns and rows corresponding to M 8 M_8 M 8 ’s pivots.
Uniqueness of normal form.
Let
N = N ( r , x , Z , M ) N = N(r,x,Z,M) N = N ( r , x , Z , M )
and
N ′ = N ( r ′ , x ′ , Z ′ , M ′ ) N' = N(r',x',Z',M') N ′ = N ( r ′ , x ′ , Z ′ , M ′ )
be two SFW normal forms of the same type 0 → n 0 \to n 0 → n , where M ∈ C n × r M \in\mathbb{C}^{n \times r} M ∈ C n × r , M ′ ∈ C n × r ′ M' \in\mathbb{C}^{n \times r'} M ′ ∈ C n × r ′ are in RCEF and have ranks r r r and r ′ r' r ′ respectively. Let 1 ≤ j 1 < ⋯ < j r ≤ n 1 \le j_1 < \cdots< j_r \le n 1 ≤ j 1 < ⋯ < j r ≤ n , 1 ≤ j 1 ′ < ⋯ < j r ′ ′ ≤ n 1 \le j'_1 < \cdots< j'_{r'} \le n 1 ≤ j 1 ′ < ⋯ < j r ′ ′ ≤ n be their respective pivot rows.
Assume that
⟦ N ⟧ = ⟦ N ′ ⟧ \llbracket N \rrbracket= \llbracket N' \rrbracket [ [ N ] ] = [ [ N ′ ] ]
i.e.
M r n = M r ′ n M_r^n = M_{r'}^n M r n = M r ′ n
Due to Lemma D.0.1, there exists permutation matrices P , P ′ ∈ C n × n P,P' \in\mathbb{C}^{n \times n} P , P ′ ∈ C n × n such that
P M = [ I r B ] and P ′ M ′ = [ I r ′ B ′ ] . PM = \begin{bmatrix} I_r \\ B \end{bmatrix}
\qquad\text{and}\qquad
P'M' = \begin{bmatrix} I_{r'} \\ B' \end{bmatrix}. P M = [ I r B ] and P ′ M ′ = [ I r ′ B ′ ] .
For s ≤ n s \le n s ≤ n , we write
E s : = [ I s 0 ] ∈ C s × n . E_s := \begin{bmatrix} I_s & 0 \end{bmatrix} \in\mathbb{C}^{s \times n}. E s := [ I s 0 ] ∈ C s × n .
Hence
E r P M = I r , E r ′ P ′ M ′ = I r ′ . E_rPM = I_r,
\qquad
E_{r'}P'M' = I_{r'}. E r P M = I r , E r ′ P ′ M ′ = I r ′ .
We also know that Z Z Z (resp Z ′ Z' Z ′ ) is zero on the rows and columns corresponding to pivots, i.e.
P Z P T = [ 0 0 0 K ] and P ′ Z ′ P ′ T = [ 0 0 0 K ′ ] PZP^{T} =
\begin{bmatrix}
0 & 0 \\
0 & K
\end{bmatrix}
\qquad\text{and}\qquad
P'Z'P'^{T} =
\begin{bmatrix}
0 & 0 \\
0 & K'
\end{bmatrix} P Z P T = [ 0 0 0 K ] and P ′ Z ′ P ′ T = [ 0 0 0 K ′ ]
for K , K ′ K,K' K , K ′ antisymmetric matrices of size respectively n − r n-r n − r and n − r ′ n-r' n − r ′ .
We prove equality of the normal-form data in six steps. The first step separates the zero case; in the remaining steps we may therefore assume that the common interpretation is non-zero.
Step 1: ⟦ N ⟧ = ⟦ N ′ ⟧ = 0 ⇒ x = x ′ = 0 \llbracket N\rrbracket=\llbracket N'\rrbracket=0\Rightarrow x=x'=0 [ [ N ] ] = [ [ N ′ ] ] = 0 ⇒ x = x ′ = 0
First, let us show that a normal form has zero interpretation if and only if its global scalar vanishes.
If x = 0 x=0 x = 0 , then L28, SA30, SA26 rewrites N N N to n 0 n_0 n 0 , the distinguished normal form of the zero 0 → n 0\to n 0 → n state. Therefore
x = 0 ⟹ ⟦ N ⟧ = 0. x=0\quad\Longrightarrow\quad\llbracket N\rrbracket=0. x = 0 ⟹ [ [ N ] ] = 0.
Conversely, suppose that x ≠ 0 x\ne0 x = 0 . Diagrammatically, we get
P M = [ I r B ] P Z P T = [ 0 0 0 K ] ⟶ L 3 , D 2 , L 14 ⟶ L 2 , D i s t , S A 11 , S A 6 K . PM=\begin{bmatrix}I_r\\ B\end{bmatrix}
\qquad
PZPT=\begin{bmatrix}0&0\\0&K\end{bmatrix}
\qquad
\overset{L3,D2,L14}{\longrightarrow}
\overset{L2,Dist,SA11,SA6}{\longrightarrow}
K. P M = [ I r B ] P Z P T = [ 0 0 0 K ] ⟶ L 3 , D 2 , L 14 ⟶ L 2 , D i s t , S A 11 , S A 6 K .
By plugging the gadget
n ⟶ P n ↘ r \begin{array}{c}
n\longrightarrow P\\
\phantom{n}\searrow\quad r
\end{array} n ⟶ P n ↘ r
in N N N , we get:
⟶ L 3 , L 8 , E x p ⟶ S A 4 ⟶ L 4 , L 8 , S A 6 K . \overset{L3,L8,Exp}{\longrightarrow}
\overset{SA4}{\longrightarrow}
\overset{L4,L8,SA6}{\longrightarrow}
K. ⟶ L 3 , L 8 , E x p ⟶ S A 4 ⟶ L 4 , L 8 , S A 6 K .
⟶ S A 6 , S A 5 , L 26 , S A 9 , S A 11 ⟦ ∙ − x − ∙ ⟧ = x . \overset{SA6,SA5,L26,SA9,SA11}{\longrightarrow}
\llbracket\bullet\!-\!x\!-\!\bullet\rrbracket=x. ⟶ S A 6 , S A 5 , L 26 , S A 9 , S A 11 [ [ ∙ − x − ∙ ] ] = x .
Using ⟦ x ⟧ = x \llbracket\mathbf{x}\rrbracket=x [ [ x ] ] = x , we obtain a diagram of non-zero interpretation. By functoriality of ⟦ ⋅ ⟧ \llbracket\cdot\rrbracket [ [ ⋅ ] ] , this is impossible if ⟦ N ⟧ = 0 \llbracket N\rrbracket=0 [ [ N ] ] = 0 . Thus
⟦ N ⟧ = 0 ⟹ x = 0. \llbracket N\rrbracket=0\quad\Longrightarrow\quad x=0. [ [ N ] ] = 0 ⟹ x = 0.
Therefore
⟦ N ⟧ = 0 ⟺ x = 0. \llbracket N\rrbracket=0\quad\Longleftrightarrow\quad x=0. [ [ N ] ] = 0 ⟺ x = 0.
The same argument applies to N ′ N' N ′ . Hence, if
⟦ N ⟧ = ⟦ N ′ ⟧ = 0 , \llbracket N\rrbracket=\llbracket N'\rrbracket=0, [ [ N ] ] = [ [ N ′ ] ] = 0 ,
then
and both diagrams rewrite to the distinguished zero normal form.
In the rest of the proof we may therefore assume
⟦ N ⟧ = ⟦ N ′ ⟧ ≠ 0 , x ≠ 0 , x ′ ≠ 0. \llbracket N\rrbracket=\llbracket N'\rrbracket\ne0,\qquad x\ne0,\qquad x'\ne0. [ [ N ] ] = [ [ N ′ ] ] = 0 , x = 0 , x ′ = 0.
Without loss of generality, we can assume r ≤ r ′ r\le r' r ≤ r ′ . Note that
P M ′ = I n P M ′ = [ E r P M ′ [ 0 I n − r ] P M ′ ] . PM'=I_nPM'=
\begin{bmatrix}
E_rPM'\\
[0\ I_{n-r}]PM'
\end{bmatrix}. P M ′ = I n P M ′ = [ E r P M ′ [ 0 I n − r ] P M ′ ] .
Let us denote:
C : = E r P M ′ , D : = [ 0 I n − r ] P M ′ . \begin{aligned}
C&:=E_rPM',\\
D&:=[0\ I_{n-r}]PM'.
\end{aligned} C D := E r P M ′ , := [ 0 I n − r ] P M ′ .
Then, by plugging the same gadget
n ⟶ P n ↘ r \begin{array}{c}
n\longrightarrow P\\
\phantom{n}\searrow\quad r
\end{array} n ⟶ P n ↘ r
to N ′ N' N ′ this time, we get the derivation:
⟶ L 2 ⟶ D i s t ⟶ L 24 , D i s t C = E r P M ′ ⟶ S A 4 C . \overset{L2}{\longrightarrow}
\overset{Dist}{\longrightarrow}
\overset{L24,Dist}{\longrightarrow}
\qquad
C=E_rPM'
\qquad
\overset{SA4}{\longrightarrow}
C. ⟶ L 2 ⟶ D i s t ⟶ L 24 , D i s t C = E r P M ′ ⟶ S A 4 C .
⟶ L 9 ⟶ L 24 , D i s t Q 1 r k ( C ) Q 2 . \overset{L9}{\longrightarrow}
\overset{L24,Dist}{\longrightarrow}
\qquad
Q_1\ \ r_k(C)\ \ Q_2. ⟶ L 9 ⟶ L 24 , D i s t Q 1 r k ( C ) Q 2 .
The interpretation of the diagram obtained from N N N is x ≠ 0 x \ne0 x = 0 . Since ⟦ N ⟧ = ⟦ N ′ ⟧ \llbracket N \rrbracket= \llbracket N' \rrbracket [ [ N ] ] = [ [ N ′ ] ] , the corresponding diagram obtained from N ′ N' N ′ must also have non-zero interpretation. As ⟦ k ⟧ = 0 \llbracket k \rrbracket= 0 [ [ k ] ] = 0 when k > 0 k > 0 k > 0 , the above reduction therefore forces
r ′ ≤ rank ( C ) r' \le\operatorname{rank}(C) r ′ ≤ rank ( C )
Besides, the assumption r ≤ r ′ r \le r' r ≤ r ′ directly gives rank ( C ) ≤ r \operatorname{rank}(C) \le r rank ( C ) ≤ r , and therefore
r ′ ≤ rank ( C ) ≤ r ≤ r ′ r' \le\operatorname{rank}(C) \le r \le r' r ′ ≤ rank ( C ) ≤ r ≤ r ′
Hence,
Step 3 : ( j 1 , … , j r ) = ( j 1 ′ , … , j r ′ ′ ) (j_1,\ldots,j_r)=(j'_1,\ldots,j'_{r'}) ( j 1 , … , j r ) = ( j 1 ′ , … , j r ′ ′ )
Suppose that the pivot rows differ, and let k k k be the smallest index such that
j k ≠ j k ′ . j_k \ne j'_k. j k = j k ′ .
Without loss of generality, suppose
j k < j k ′ . j_k < j'_k. j k < j k ′ .
Again, plug the gadget to N ′ N' N ′ and derive
P M ′ = [ C D ] , P Z ′ P T = [ W ∗ ∗ ∗ ] ≡ L 2 , L 3 , D i s t , L 4 PM'=\begin{bmatrix} C \\ D \end{bmatrix},
\qquad
PZ'P^{T}=\begin{bmatrix} W & * \\ * & * \end{bmatrix}
\equiv L_{2},L_{3},D\!i\!s\!t,L_{4} P M ′ = [ C D ] , P Z ′ P T = [ W ∗ ∗ ∗ ] ≡ L 2 , L 3 , D i s t , L 4
Which gives that x ′ det C = x ≠ 0 x'\det C=x\ne0 x ′ det C = x = 0 . Note that C = E r P M ′ C=E_rPM' C = E r P M ′ is the submatrix of M ′ M' M ′ composed of the rows ( j 1 , … , j r ) (j_1,\ldots,j_r) ( j 1 , … , j r ) in this order, and therefore reads:
C = [ 1 0 ⋯ 0 0 ⋯ 0 c 2 , 1 1 ⋯ 0 0 ⋯ 0 ⋮ ⋮ ⋱ ⋮ ⋮ ⋮ c k − 1 , 1 c k − 1 , 2 ⋯ 1 0 ⋯ 0 c k , 1 c k , 2 ⋯ c k , k − 1 0 ⋯ 0 ⋮ ⋮ ⋮ ⋮ ⋱ ⋮ c r , 1 c r , 2 ⋯ c r , k − 1 ⋯ ⋯ 1 ] C=
\begin{bmatrix}
1 & 0 & \cdots& 0 & 0 & \cdots& 0\\
c_{2,1} & 1 & \cdots& 0 & 0 & \cdots& 0\\
\vdots& \vdots& \ddots& \vdots& \vdots& & \vdots\\
c_{k-1,1} & c_{k-1,2} & \cdots& 1 & 0 & \cdots& 0\\
c_{k,1} & c_{k,2} & \cdots& c_{k,k-1} & 0 & \cdots& 0\\
\vdots& \vdots& & \vdots& \vdots& \ddots& \vdots\\
c_{r,1} & c_{r,2} & \cdots& c_{r,k-1} & \cdots& \cdots& 1
\end{bmatrix} C = 1 c 2 , 1 ⋮ c k − 1 , 1 c k , 1 ⋮ c r , 1 0 1 ⋮ c k − 1 , 2 c k , 2 ⋮ c r , 2 ⋯ ⋯ ⋱ ⋯ ⋯ ⋯ 0 0 ⋮ 1 c k , k − 1 ⋮ c r , k − 1 0 0 ⋮ 0 0 ⋮ ⋯ ⋯ ⋯ ⋯ ⋯ ⋱ ⋯ 0 0 ⋮ 0 0 ⋮ 1
Notice that the k k k -th row is a linear combination of the first k − 1 k-1 k − 1 rows, which is not possible as det C ≠ 0 \det C \ne0 det C = 0 . Therefore
( j 1 , … , j r ) = ( j 1 ′ , … , j r ′ ) . (j_1,\ldots,j_r)=(j'_1,\ldots,j'_r). ( j 1 , … , j r ) = ( j 1 ′ , … , j r ′ ) .
It directly follows that
Step 4 : x = x ′ x=x' x = x ′ As P = P ′ P=P' P = P ′ and r = r ′ r=r' r = r ′ , we have:
P M = [ I r B ] , P M ′ = [ I r B ′ ] , PM=\begin{bmatrix} I_r \\ B \end{bmatrix},
\qquad
PM'=\begin{bmatrix} I_r \\ B' \end{bmatrix}, P M = [ I r B ] , P M ′ = [ I r B ′ ] ,
and therefore, plugging the same gadget to N ′ N' N ′ gives.
P ′ M ′ = [ I r B ′ ] P'M'=\begin{bmatrix} I_r \\ B' \end{bmatrix} P ′ M ′ = [ I r B ′ ]
P ′ Z ′ P ′ T = [ 0 0 0 K ′ ] ≡ L 2 , L 3 ≡ L 11 , S A 6 , S A 5 , L 26 , S A 9 , S A 11 \begin{aligned}
P'Z'P'^{T}=\begin{bmatrix} 0 & 0 \\ 0 & K' \end{bmatrix}
\equiv L_2,L_3 \\
&\equiv L_{11},SA_6,SA_5,L_{26},SA_9,SA_{11}
\end{aligned} P ′ Z ′ P ′ T = [ 0 0 0 K ′ ] ≡ L 2 , L 3 ≡ L 11 , S A 6 , S A 5 , L 26 , S A 9 , S A 11
Recall that the interpretation of the diagram obtained from plugging this gadget to N N N in step 1 was x x x . This yields:
Step 5: Z = Z ′ Z=Z' Z = Z ′
We now know that
r = r ′ P = P ′ x = x ′ r=r'\qquad P=P'\qquad x=x' r = r ′ P = P ′ x = x ′
and that
P T Z P = [ 0 0 0 K ] P ′ T Z ′ P ′ = [ 0 0 0 K ′ ] P^{T}ZP=
\begin{bmatrix}
0 & 0\\
0 & K
\end{bmatrix}
\qquad
P'^{T}Z'P'=
\begin{bmatrix}
0 & 0\\
0 & K'
\end{bmatrix} P T Z P = [ 0 0 0 K ] P ′ T Z ′ P ′ = [ 0 0 0 K ′ ]
Remains to show that K = K ′ K=K' K = K ′ . Let T k , l ∈ C ( n − r ) × ( n − r ) T_{k,l}\in\mathbb{C}^{(n-r)\times(n-r)} T k , l ∈ C ( n − r ) × ( n − r ) be the permutation matrix exchanging rows k k k and l l l . Let i < j ∈ { 1 , … , n − r } i<j\in\{1,\ldots,n-r\} i < j ∈ { 1 , … , n − r } . Define
L i , j : = E 2 T 1 , i T 2 , j L_{i,j}:=E_2T_{1,i}T_{2,j} L i , j := E 2 T 1 , i T 2 , j
such that
L i , j K L i , j T = [ 0 K i , j − K i , j 0 ] L_{i,j}KL_{i,j}^{T}=
\begin{bmatrix}
0 & K_{i,j}\\
-K_{i,j} & 0
\end{bmatrix} L i , j K L i , j T = [ 0 − K i , j K i , j 0 ]
Let us plug the following gadget to both N N N and N ′ N' N ′ .
Figure 10.
we can derive
Figure 11.
And similarly,
Figure 12.
Then x = x ′ x=x' x = x ′ implies K i , j = K i , j ′ K_{i,j}=K'_{i,j} K i , j = K i , j ′ .
Step 6: M = M ′ M=M' M = M ′
We now know that
r = r ′ , P = P ′ , x = x ′ ≠ 0 Z = Z ′ r=r',\qquad P=P',\qquad x=x'\ne0\qquad Z=Z' r = r ′ , P = P ′ , x = x ′ = 0 Z = Z ′
And
P M = [ I r B ] , P M ′ = [ I r B ′ ] . PM=
\begin{bmatrix}
I_r\\
B
\end{bmatrix},
\qquad
PM'=
\begin{bmatrix}
I_r\\
B'
\end{bmatrix}. P M = [ I r B ] , P M ′ = [ I r B ′ ] .
It remains only to prove
Let
1 ≤ i ≤ r , 1 ≤ q ≤ n − r , 1\leq i\leq r,\qquad1\leq q\leq n-r, 1 ≤ i ≤ r , 1 ≤ q ≤ n − r ,
and let S i , r + q ∈ C n × n S_{i,r+q}\in\mathbb{C}^{n\times n} S i , r + q ∈ C n × n be the permutation matrix exchanging rows i i i and r + q r+q r + q . Define
R i , q : = E r S i , r + q P ∈ C r × n . R_{i,q}:=E_rS_{i,r+q}P\in\mathbb{C}^{r\times n}. R i , q := E r S i , r + q P ∈ C r × n .
such that
R i , q M = E r S i , r + q [ I r B ] . R_{i,q}M=E_rS_{i,r+q}
\begin{bmatrix}
I_r\\
B
\end{bmatrix}. R i , q M = E r S i , r + q [ I r B ] .
This is the identity matrix in which the i i i -th row has been replaced by the q q q -th row of B B B . Its determinant can be computed as:
det ( R i , q M ) = ∣ B q , 1 ⋯ B q , i − 1 B q , i B q , i + 1 ⋯ B q , r I i 0 ⋮ 0 I r − i ∣ = ( − 1 ) i + i B q , i = B q , i . \det(R_{i,q}M)=
\left|
\begin{array}{cccccc}
B_{q,1}&\cdots&B_{q,i-1}&B_{q,i}&B_{q,i+1}&\cdots&B_{q,r}\\
&&&I_i&&&\\
&&&0&&&\\
&&&\vdots&&&\\
&&&0&&&\\
&&&&&&I_{r-i}
\end{array}
\right|
=(-1)^{i+i}B_{q,i}=B_{q,i}. det ( R i , q M ) = B q , 1 ⋯ B q , i − 1 B q , i I i 0 ⋮ 0 B q , i + 1 ⋯ B q , r I r − i = ( − 1 ) i + i B q , i = B q , i .
Similarly,
det ( R i , q M ′ ) = ( − 1 ) i + i B q , i ′ = B q , i ′ . \det(R_{i,q}M')=(-1)^{i+i}B'_{q,i}=B'_{q,i}. det ( R i , q M ′ ) = ( − 1 ) i + i B q , i ′ = B q , i ′ .
Since
⟦ N ⟧ = ⟦ N ′ ⟧ and x = x ′ ≠ 0 , \llbracket N\rrbracket=\llbracket N'\rrbracket
\qquad\text{and}\qquad
x=x'\ne0, [ [ N ] ] = [ [ N ′ ] ] and x = x ′ = 0 ,
we may plug the following gadget to both N N N and N ′ N' N ′ .
We get
x B q , i and x B q , i ′ . xB_{q,i}
\qquad\text{and}\qquad
xB'_{q,i}. x B q , i and x B q , i ′ .
The two sides respectively have interpretation to x B q , i xB_{q,i} x B q , i and x B q , i ′ xB'_{q,i} x B q , i ′ .
Since x ≠ 0 x\ne0 x = 0 , ⟦ N ⟧ = ⟦ N ′ ⟧ \llbracket N\rrbracket=\llbracket N'\rrbracket [ [ N ] ] = [ [ N ′ ] ] gives
B q , i = B q , i ′ . B_{q,i}=B'_{q,i}. B q , i = B q , i ′ .
Since i i i and q q q were arbitrary,
Hence
and since P P P is invertible,
Hence ( r , x , Z , M ) = ( r ′ , x ′ , Z ′ , M ′ ) (r,x,Z,M)=(r',x',Z',M') ( r , x , Z , M ) = ( r ′ , x ′ , Z ′ , M ′ ) , and the two normal forms are identical.
Completeness of EW
To normal form. Let D : 0 → n D:0\to n D : 0 → n be a diagram of SEW. Using L17, we first slide every cup to the top-left corner of the diagram and every cap to the top-right corner. The remainder is an EoW-diagram and can therefore be rewritten as a matrix arrow. We therefore start from D D D written as:
Then, we derive:
M 1 = [ M 2 M 3 ] M_1=[\,M_2\ M_3\,] M 1 = [ M 2 M 3 ]
Z 1 = M 2 M 3 T − M 3 M 2 T . Z_1=M_2M_3^{\mathsf T}-M_3M_2^{\mathsf T}. Z 1 = M 2 M 3 T − M 3 M 2 T .
Z 1 = P 1 [ A 1 0 0 0 ] P 1 T Z_1=P_1
\begin{bmatrix}
A_1&0\\
0&0
\end{bmatrix}
P_1^{\mathsf T} Z 1 = P 1 [ A 1 0 0 0 ] P 1 T
( − 1 ) r 1 ( r 1 − 1 ) 2 − 1 P f ( A 1 ) (-1)^{\frac{r_1(r_1-1)}{2}-1}\mathop{\mathrm{Pf}}(A_1) ( − 1 ) 2 r 1 ( r 1 − 1 ) − 1 Pf ( A 1 )
M 4 = [ M 6 ∗ M 5 ∗ ] M_4=
\begin{bmatrix}
M_6&*\\
M_5&*
\end{bmatrix} M 4 = [ M 6 M 5 ∗ ∗ ]
Z 2 = M 5 T M 6 − M 6 T M 5 . Z_2=M_5^{\mathsf T}M_6-M_6^{\mathsf T}M_5. Z 2 = M 5 T M 6 − M 6 T M 5 .
x 1 = P f ( A 1 ) x_1=\mathop{\mathrm{Pf}}(A_1) x 1 = Pf ( A 1 )
Z 3 = A 1 + Z 2 . Z_3=A_1+Z_2. Z 3 = A 1 + Z 2 .
Z 3 = P 2 [ A 3 0 0 0 ] P 2 T Z_3=P_2
\begin{bmatrix}
A_3&0\\
0&0
\end{bmatrix}
P_2^{\mathsf T} Z 3 = P 2 [ A 3 0 0 0 ] P 2 T
x 1 = det ( P 2 ) n / 2 − 1 x_1=\det(P_2)^{\,n/2-1} x 1 = det ( P 2 ) n /2 − 1
x 2 = ( x 1 + 1 ) det ( P 2 ) n / 2 − 1 . x_2=(x_1+1)\det(P_2)^{\,n/2-1}. x 2 = ( x 1 + 1 ) det ( P 2 ) n /2 − 1 .
r 3 = r 1 − r 2 r_3=r_1-r_2 r 3 = r 1 − r 2
x 3 = ( x 2 + 1 ) ( − 1 ) r 2 ( r 1 − r 2 ) 2 . x_3=(x_2+1)(-1)^{\frac{r_2(r_1-r_2)}{2}}. x 3 = ( x 2 + 1 ) ( − 1 ) 2 r 2 ( r 1 − r 2 ) .
M 4 P 2 T = [ M 7 M 8 ] M_4P_2^{\mathsf T}=[\,M_7\ M_8\,] M 4 P 2 T = [ M 7 M 8 ]
Z 4 = M 7 A 3 M 7 T . Z_4=M_7A_3M_7^{\mathsf T}. Z 4 = M 7 A 3 M 7 T .
Similarly to what was done for SFW, if rank ( M 8 ) ≠ 2 r 3 \operatorname{rank}(M_8) \ne2r_3 rank ( M 8 ) = 2 r 3 , we can apply L9, L18, SA14, and SA13 to get to one of the normal forms for the zero diagram of type 0 → n 0 \to n 0 → n (depending of the parity), which is essentially the same as for SFW up to L30. Otherwise, we can assume that rank ( M 8 ) = 2 r 3 ≤ n \operatorname{rank}(M_8) = 2r_3 \le n rank ( M 8 ) = 2 r 3 ≤ n . Then Using L24, SA26, and SA9, we can multiply M 8 M_8 M 8 on the right by a sequence of elementary matrices so as to put it in Reduced Column Echelon Form (RCEF), while multiplying x 3 x_3 x 3 by the determinant of these matrices. This gives M 9 M_9 M 9 full rank and in RCEF, and x 4 x_4 x 4 so that D D D reads:
Z 4 n M 9 n \begin{array}{c}
Z_4 \quad n\\
M_9 \quad n
\end{array} Z 4 n M 9 n
As M 9 M_9 M 9 is in RCEF, Lemma D.0.1 gives P 3 P_3 P 3 a permutation matrix such that:
M 9 = P 3 [ I 2 r 3 B ] M_9=P_3
\begin{bmatrix}
I_{2r_3}\\
B
\end{bmatrix} M 9 = P 3 [ I 2 r 3 B ]
We then derive:
M 9 = P 3 [ I 2 r 3 B ] → L 8 , L 2 , L 3 , D 3 Z 5 = P 3 − 1 Z 4 P 3 , Z 6 = C T Z 7 , Z 8 = B Z 6 B T + Z 7 , Z 9 = Z 8 + C T B T − B C , Z 10 = P 3 − 1 [ Z 9 0 0 0 ] P 3 . \begin{aligned}
& M_9=P_3
\begin{bmatrix}
I_{2r_3}\\
B
\end{bmatrix}
\xrightarrow{L8,L2,L3,D3}
Z_5=P_3^{-1}Z_4P_3,\\
& Z_6=C^T Z_7,\qquad
Z_8=BZ_6B^T+Z_7,\\
& Z_9=Z_8+C^TB^T-BC,\\
& Z_{10}=P_3^{-1}
\begin{bmatrix}
Z_9&0\\
0&0
\end{bmatrix}
P_3.
\end{aligned} M 9 = P 3 [ I 2 r 3 B ] L 8 , L 2 , L 3 , D 3 Z 5 = P 3 − 1 Z 4 P 3 , Z 6 = C T Z 7 , Z 8 = B Z 6 B T + Z 7 , Z 9 = Z 8 + C T B T − B C , Z 10 = P 3 − 1 [ Z 9 0 0 0 ] P 3 .
Uniqueness of normal form.
Let
N = N ( r , x , Z , M ) and N ′ = N ( r ′ , x ′ , Z ′ , M ′ ) N=N(r,x,Z,M)\qquad\text{and}\qquad N'=N(r',x',Z',M') N = N ( r , x , Z , M ) and N ′ = N ( r ′ , x ′ , Z ′ , M ′ )
be two SEW normal forms of the same type 0 → n 0\to n 0 → n , where M ∈ C n × 2 r M\in\mathbb{C}^{n\times2r} M ∈ C n × 2 r , M ′ ∈ C n × 2 r ′ M'\in\mathbb{C}^{n\times2r'} M ′ ∈ C n × 2 r ′ are in RCEF and have ranks 2 r 2r 2 r and 2 r ′ 2r' 2 r ′ respectively. Let 1 ≤ j 1 < ⋯ < j 2 r ≤ n 1\le j_1<\cdots<j_{2r}\le n 1 ≤ j 1 < ⋯ < j 2 r ≤ n , 1 ≤ j 1 ′ < ⋯ < j 2 r ′ ′ ≤ n 1\le j'_1<\cdots<j'_{2r'}\le n 1 ≤ j 1 ′ < ⋯ < j 2 r ′ ′ ≤ n be their respective pivot rows. Assume that
⟦ N ⟧ = ⟦ N ′ ⟧ , \llbracket N\rrbracket=\llbracket N'\rrbracket, [ [ N ] ] = [ [ N ′ ] ] ,
i.e.
[ Z M M T 0 ] = [ Z ′ M ′ M ′ T 0 ] . \begin{bmatrix}
Z& M\\
M^T&0
\end{bmatrix}
=
\begin{bmatrix}
Z'& M'\\
M'^T&0
\end{bmatrix}. [ Z M T M 0 ] = [ Z ′ M ′ T M ′ 0 ] .
Notice that using L30, we get back a normal form for SFW which we already know is unique.
N E W ( r , x , Z , M ) becomes N F W ( 2 r , ( − 1 ) r ( r − 1 ) / 2 ( x + 1 ) , Z , M ) N_{\mathrm{EW}}(r,x,Z,M)\ \text{ becomes }\
N_{\mathrm{FW}}\left(2r,(-1)^{r(r-1)/2}(x+1),Z,M\right) N EW ( r , x , Z , M ) becomes N FW ( 2 r , ( − 1 ) r ( r − 1 ) /2 ( x + 1 ) , Z , M )
N E W ( r ′ , x ′ , Z ′ , M ′ ) becomes N F W ( 2 r ′ , ( − 1 ) r ′ ( r ′ − 1 ) / 2 ( x ′ + 1 ) , Z ′ , M ′ ) N_{\mathrm{EW}}(r',x',Z',M')\ \text{ becomes }\
N_{\mathrm{FW}}\left(2r',(-1)^{r'(r'-1)/2}(x'+1),Z',M'\right) N EW ( r ′ , x ′ , Z ′ , M ′ ) becomes N FW ( 2 r ′ , ( − 1 ) r ′ ( r ′ − 1 ) /2 ( x ′ + 1 ) , Z ′ , M ′ )
We can directly deduce that
( r , x , Z , M ) = ( r ′ , x ′ , Z ′ , M ′ ) . (r,x,Z,M)=(r',x',Z',M'). ( r , x , Z , M ) = ( r ′ , x ′ , Z ′ , M ′ ) .