<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.4 20241031//EN" "JATS-journalpublishing1-4.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="1.4" xml:lang="en">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">jamp</journal-id>
      <journal-title-group>
        <journal-title>Journal of Applied Mathematics and Physics</journal-title>
      </journal-title-group>
      <issn pub-type="epub">2327-4379</issn>
      <issn pub-type="ppub">2327-4352</issn>
      <publisher>
        <publisher-name>Scientific Research Publishing</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.4236/jamp.2026.1411244</article-id>
      <article-id pub-id-type="publisher-id">jamp-155766</article-id>
      <article-categories>
        <subj-group>
          <subject>Article</subject>
        </subj-group>
        <subj-group>
          <subject>Physics</subject>
          <subject>Mathematics</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>Arrow Logic Algebra —Boolean Gates Using the Arrow Numbers: Complex Numbers, Quaternions, and Octonions</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <contrib-id contrib-id-type="orcid">0000-0002-0138-5964</contrib-id>
          <name name-style="western">
            <surname>Ariel</surname>
            <given-names>Viktor</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
      </contrib-group>
      <aff id="aff1"><label>1</label> PhysMatix, Modiin, Israel </aff>
      <author-notes>
        <fn fn-type="conflict" id="fn-conflict">
          <p>The author declares no conflicts of interest regarding the publication of this paper. The author received no external funding and no external financial compensation for this work, which is a self-funded independent research project.</p>
        </fn>
      </author-notes>
      <pub-date pub-type="epub">
        <day>05</day>
        <month>11</month>
        <year>2026</year>
      </pub-date>
      <pub-date pub-type="collection">
        <month>11</month>
        <year>2026</year>
      </pub-date>
      <volume>14</volume>
      <issue>11</issue>
      <fpage>5023</fpage>
      <lpage>5048</lpage>
      <history>
        <date date-type="received">
          <day>12</day>
          <month>10</month>
          <year>2026</year>
        </date>
        <date date-type="accepted">
          <day>24</day>
          <month>11</month>
          <year>2026</year>
        </date>
        <date date-type="published">
          <day>27</day>
          <month>11</month>
          <year>2026</year>
        </date>
      </history>
      <permissions>
        <copyright-statement>© 2026 by the authors and Scientific Research Publishing Inc.</copyright-statement>
        <copyright-year>2026</copyright-year>
        <license license-type="open-access">
          <license-p> This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license ( <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link> ). </license-p>
        </license>
      </permissions>
      <self-uri content-type="doi" xlink:href="https://doi.org/10.4236/jamp.2026.1411244">https://doi.org/10.4236/jamp.2026.1411244</self-uri>
      <abstract>
        <p>Most of quantum computing today is written in the mathematics of quantum mechanics: complex vectors and the matrices that act on them. This mathematics has served physics well, yet it is not a Euclidean number system. In it, two states of one system cannot be multiplied and divided back, and a turn about a general axis is a matrix rather than a number. What would be an alternative Euclidean number system, possibly suitable for quantum mechanics? Recently, we proposed the <italic>Arrow Numbers</italic>, the complex numbers, quaternions and octonions, as such a system. Together with the real numbers, they are the normed division algebras. In them, lengths multiply, every nonzero arrow divides, and the Euler relation turns an arrow about any axis. What if we build a Boolean algebra on this Euclidean mathematics? With a bit written as a sign, ±1, the basis units multiply as the XOR logic function of their labels. Then a half turn is the NOT function, and a quarter turn is its square root. When an arrow moves through the zero of the arrow Argand sphere, it acts as a threshold. Thus, the sign of a sum of three inputs gives the majority gate, and hence AND, OR and NAND. Reversibly, the quotient of the two orders of a quaternion product is the AND of two bits, <inline-formula><mml:math></mml:math></inline-formula></p>
        <p>AB</p>
        <p>(</p>
        <p>BA</p>
        <p>)</p>
        <p>−1</p>
        <p>=</p>
        <p>(</p>
        <p>−1</p>
        <p>)</p>
        <p>ab</p>
        <p>, which builds the Toffoli gate. Likewise, the two groupings of an octonion product give the AND of three bits. Thus, each doubling gives up one rule of arithmetic, and the quotient that measures it carries one more degree of AND. These identities are known, and we read them as gates. In standard CMOS design, NOT and every product by a fixed basis unit are implemented as wiring. Moreover, the Toffoli gate takes fourteen transistors, and the product and the zero crossing make a full adder. SPICE simulations confirm every truth table.</p>
      </abstract>
      <kwd-group kwd-group-type="author-generated" xml:lang="en">
        <kwd>Boolean Algebra</kwd>
        <kwd>Logic Gates</kwd>
        <kwd>Reversible Computing</kwd>
        <kwd>Toffoli Gate</kwd>
        <kwd>Majority Gate</kwd>
        <kwd>Quaternions</kwd>
        <kwd>Octonions</kwd>
        <kwd>Cayley-Dickson Algebras</kwd>
        <kwd>Pauli Group</kwd>
        <kwd>Arrow Numbers</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec1">
      <title>1. Introduction</title>
      <p>Most of quantum computing today is written in the mathematics of quantum mechanics [<xref ref-type="bibr" rid="B1">1</xref>]. In that language, a state is a list of complex numbers, called amplitudes. A gate is a matrix that acts on this list. Several bits are joined by the tensor product, which multiplies the length of the list. This mathematics has served physics relatively well, and we can build on it with gratitude. Yet it is not a Euclidean number system in the sense of [<xref ref-type="bibr" rid="B2">2</xref>]. A state does have a length. However, no product takes two states of one system to a state of the same system, so that lengths multiply and the product can be divided back. Moreover, the Euler relation <inline-formula><mml:math><mml:mrow><mml:msup><mml:mtext> e </mml:mtext><mml:mrow><mml:mtext> i </mml:mtext><mml:mi> θ </mml:mi></mml:mrow></mml:msup><mml:mo> = </mml:mo><mml:mi> cos </mml:mi><mml:mi> θ </mml:mi><mml:mo> + </mml:mo><mml:mtext> i </mml:mtext><mml:mi> sin </mml:mi><mml:mi> θ </mml:mi></mml:mrow></mml:math></inline-formula> is written for the one imaginary unit<italic>i</italic>. Therefore a turn about any other axis becomes a matrix, <inline-formula><mml:math><mml:mrow><mml:msup><mml:mtext> e </mml:mtext><mml:mrow><mml:mrow><mml:mrow><mml:mo> − </mml:mo><mml:mtext> i </mml:mtext><mml:mi> θ </mml:mi><mml:mover accent="true"><mml:mi> n </mml:mi><mml:mo> → </mml:mo></mml:mover><mml:mo> ⋅ </mml:mo><mml:mover accent="true"><mml:mi> σ </mml:mi><mml:mo> → </mml:mo></mml:mover></mml:mrow><mml:mo> / </mml:mo><mml:mn> 2 </mml:mn></mml:mrow></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>, rather than a number. In the same way, Schrödinger’s equation carries <italic>i</italic> on its time derivative alone [<xref ref-type="bibr" rid="B3">3</xref>], while space stays real. In three dimensions, however, one imaginary unit cannot hold three directions. Consequently, spin is written with Pauli’s matrices, which are the quaternion units multiplied by the complex unit [<xref ref-type="bibr" rid="B4">4</xref>]. Dirac’s equation uses larger matrices [<xref ref-type="bibr" rid="B5">5</xref>] to satisfy the relativistic mathematics of Minkowski, which is fundamentally non-Euclidean. These are differences of form. They do not limit what can be computed, since the matrices represent the same turns faithfully. Our motivation is the form itself.</p>
      <p>The arrow numbers, by contrast, are a Euclidean number system [<xref ref-type="bibr" rid="B2">2</xref>]. Together with the real numbers, they are the normed division algebras of Section 4. Every arrow has a Euclidean length, the ordinary length of Pythagoras. The length of a product is the product of the lengths. Moreover, every arrow except zero can be divided by, so that every product can be undone. Finally, the Euler relation </p>
      <disp-formula id="FD1">
        <label>(1)</label>
        <mml:math>
          <mml:mrow>
            <mml:msup>
              <mml:mtext>e</mml:mtext>
              <mml:mrow>
                <mml:mover accent="true">
                  <mml:mi>u</mml:mi>
                  <mml:mo>→</mml:mo>
                </mml:mover>
                <mml:mi>θ</mml:mi>
              </mml:mrow>
            </mml:msup>
            <mml:mo>=</mml:mo>
            <mml:mi>cos</mml:mi>
            <mml:mi>θ</mml:mi>
            <mml:mo>+</mml:mo>
            <mml:mover accent="true">
              <mml:mi>u</mml:mi>
              <mml:mo>→</mml:mo>
            </mml:mover>
            <mml:mi>sin</mml:mi>
            <mml:mi>θ</mml:mi>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>holds for every unit imaginary vector <inline-formula><mml:math><mml:mover accent="true"><mml:mi> u </mml:mi><mml:mo> → </mml:mo></mml:mover></mml:math></inline-formula> . Thus, a turn about any axis is a single number. The arrows keep the same turns as Pauli’s matrices and simply write them as numbers. Therefore, we ask a simple question. What if we develop a new type of Boolean algebra, based on the Euclidean mathematics of arrows?</p>
      <p>To see what such an algebra must do, recall how a computer thinks. Every digital machine is built from a handful of logic gates. An inverter, or NOT, turns true into false and false into true. An exclusive OR, or XOR, answers whether two bits differ. An AND answers whether both bits are true. Boolean algebra is the arithmetic of these gates [<xref ref-type="bibr" rid="B6">6</xref>] [<xref ref-type="bibr" rid="B7">7</xref>]. However, it is usually written with its own symbols, apart from the numbers of geometry. In this paper, by contrast, the gates come from the arithmetic of the arrow numbers themselves.</p>
      <p>This paper belongs to a series that develops physics using only one family of numbers, the <italic>Euclidean arrow numbers</italic>. They consist of the complex numbers <inline-formula><mml:math><mml:mi> ℂ </mml:mi></mml:math></inline-formula> , the quaternions <inline-formula><mml:math><mml:mi> ℍ </mml:mi></mml:math></inline-formula> and the octonions <inline-formula><mml:math><mml:mi mathvariant="double-struck"> O </mml:mi></mml:math></inline-formula> [<xref ref-type="bibr" rid="B2">2</xref>]. This approach grew from some questions regarding the anisotropic effective mass in semiconductors. This is a mass that differs from one direction to another, and it cannot be written as a quotient of ordinary vectors [<xref ref-type="bibr" rid="B8">8</xref>]. The solution to this problem then continued with quaternion time and matter [<xref ref-type="bibr" rid="B9">9</xref>]-[<xref ref-type="bibr" rid="B13">13</xref>]. In <italic>Arrow of Time</italic> [<xref ref-type="bibr" rid="B14">14</xref>], the time moment of a physical event in spacetime is an arrow. We also postulate there that time progresses along the vertical scalar axis, from the negative (past) to the positive (future). Thus, its direction changes from −1 to 1 along the vertical axis of a unit sphere. Furthermore, a communication signal travels from the negative space (source) to the positive space (detector) along the horizontal imaginary axis. This mental picture suggested the first gate of this paper. Indeed, the passage of an arrow from −1 to 1, both vertically and horizontally, looks like the transfer curve of an inverter.</p>
      <fig id="fig16">
        <label>Figure 16</label>
        <graphic xlink:href="https://html.scirp.org/file/1725011-rId33.jpeg?20261127030606" />
      </fig>
      <p>Map of the paper: a property of the arrow numbers, the gate it gives, and the circuit that builds it.</p>
      <p>Accordingly, this paper takes up seven problems and resolves each of them. </p>
      <p>1) <bold>Bits in arrows.</bold> A bit has two values, while an arrow has a length and a direction. It is not obvious, therefore, how a bit should be written as an arrow, or which logic the mathematical operations of arrows perform. We write a bit as a sign. Then the basis units of the arrows turn out to multiply as XOR (Section 2). </p>
      <p>2) <bold>NOT and its square root.</bold> An arrow can go from −1 to 1 in two ways, around zero or through it. So it is unclear whether these make the same inverter. In fact they differ. The rotation keeps the length, whereas the passage through zero, still a one-to-one NOT, holds the threshold that decides. Moreover, the square root of NOT is just one unit (Section 3). </p>
      <p>3) <bold>AND by deciding.</bold> XOR and NOT alone cannot build every gate, because AND is needed as well. The passage through zero, however, acts as a threshold. Therefore the sign of a sum of three inputs gives the majority gate, hence allowing AND, OR and NAND (Section 6).</p>
      <p>4) <bold>AND without loss.</bold> Products of one arrow and symmetries of the multiplication table give only reversible gates of the XOR kind. Thus reversible AND, the Toffoli gate, seems out of reach. Nevertheless, the non-commutative order of a quaternion product gives the AND gate of two bits. Likewise, the grouping of an octonion product gives the AND gate of three bits (Sections 5, 7 and 8). </p>
      <p>5) <bold>The ladder.</bold> Each doubling, from <inline-formula><mml:math><mml:mi> ℂ </mml:mi></mml:math></inline-formula> to <inline-formula><mml:math><mml:mi> ℍ </mml:mi></mml:math></inline-formula> to <inline-formula><mml:math><mml:mi mathvariant="double-struck"> O </mml:mi></mml:math></inline-formula> , gives up a rule of arithmetic. One may therefore ask what it gains in return. The answer is a ladder. The quotient that measures each lost rule carries one more degree of AND (Sections 4 and 9). </p>
      <p>6) <bold>The quantum edge.</bold> Quantum computing writes its gates as complex matrices. So it is natural to ask how much of its logic the arrows hold as numbers. The quaternion units <inline-formula><mml:math><mml:mi> i </mml:mi></mml:math></inline-formula> , <inline-formula><mml:math><mml:mi> j </mml:mi></mml:math></inline-formula> , <inline-formula><mml:math><mml:mi> k </mml:mi></mml:math></inline-formula> are Pauli’s three gates, up to the complex unit. Their XOR table is the one that quantum error-correcting codes already use. On their own, however, Pauli’s gates only flip bits, which is the XOR half of logic. The arrows add AND, from the order and the grouping of a product. Moreover, they hold the single-spin Clifford gates exactly. The T gate is a unit quaternion too, outside the finite Clifford set. However, following many entangled spins remains a separate open problem (Section 10). </p>
      <p>7) <bold>Cheap hardware.</bold> Finally, a new algebra is useful only if it can be built cheaply. In standard CMOS, a sign is carried on a pair of wires. Then the NOT function and every multiplication by a fixed basis unit become wiring connections. The Toffoli gate is built with fourteen transistors, and the majority gate takes three CMOS capacitors and an inverter. Together, the two arrow operations make a full adder, as SPICE simulations confirm (Section 11). </p>
      <p>The paper treats the gates of single arrows and their products. Positional number codes with arrow radices are left for a separate paper, although the same algebra makes them possible. Throughout, every new statement is checked by a script, in exact rational arithmetic wherever possible. Moreover, each check carries a control. A control is a nearby case that must fail, so that a check cannot pass by accident (Section 12). <bold>Table 1</bold> collects the terms.</p>
      <p><bold>Table 1</bold><bold>.</bold> Arrow terms used in this paper, as in [<xref ref-type="bibr" rid="B2">2</xref>] [<xref ref-type="bibr" rid="B14">14</xref>].</p>
      <table-wrap id="tbl1">
        <label>Table 1</label>
        <table>
          <tbody>
            <tr>
              <td>Term</td>
              <td>Symbol</td>
              <td>Meaning</td>
            </tr>
            <tr>
              <td>Arrow number, arrow</td>
              <td>
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:mi>a</mml:mi>
                      <mml:mo>=</mml:mo>
                      <mml:mrow>
                        <mml:mo>〈</mml:mo>
                        <mml:mrow>
                          <mml:msub>
                            <mml:mi>a</mml:mi>
                            <mml:mn>0</mml:mn>
                          </mml:msub>
                          <mml:mo>,</mml:mo>
                          <mml:mover accent="true">
                            <mml:mi>a</mml:mi>
                            <mml:mo>→</mml:mo>
                          </mml:mover>
                        </mml:mrow>
                        <mml:mo>〉</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
              </td>
              <td>
                An element of
                <inline-formula>
                  <mml:math>
                    <mml:mi>ℂ</mml:mi>
                  </mml:math>
                </inline-formula>
                ,
                <inline-formula>
                  <mml:math>
                    <mml:mi>ℍ</mml:mi>
                  </mml:math>
                </inline-formula>
                or
                <inline-formula>
                  <mml:math>
                    <mml:mi mathvariant="double-struck">O</mml:mi>
                  </mml:math>
                </inline-formula>
                : a real number and a vector
              </td>
            </tr>
            <tr>
              <td>Scalar arrow</td>
              <td>
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:mrow>
                        <mml:mo>〈</mml:mo>
                        <mml:mrow>
                          <mml:msub>
                            <mml:mi>a</mml:mi>
                            <mml:mn>0</mml:mn>
                          </mml:msub>
                          <mml:mo>,</mml:mo>
                          <mml:mover accent="true">
                            <mml:mn>0</mml:mn>
                            <mml:mo>→</mml:mo>
                          </mml:mover>
                        </mml:mrow>
                        <mml:mo>〉</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
              </td>
              <td>The real part as an arrow</td>
            </tr>
            <tr>
              <td>Imaginary vector</td>
              <td>
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:mrow>
                        <mml:mo>〈</mml:mo>
                        <mml:mrow>
                          <mml:mn>0</mml:mn>
                          <mml:mo>,</mml:mo>
                          <mml:mover accent="true">
                            <mml:mi>a</mml:mi>
                            <mml:mo>→</mml:mo>
                          </mml:mover>
                        </mml:mrow>
                        <mml:mo>〉</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
              </td>
              <td>The vector part as an arrow</td>
            </tr>
            <tr>
              <td>Unit arrow</td>
              <td>
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:mrow>
                        <mml:mo>|</mml:mo>
                        <mml:mi>a</mml:mi>
                        <mml:mo>|</mml:mo>
                      </mml:mrow>
                      <mml:mo>=</mml:mo>
                      <mml:mn>1</mml:mn>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
              </td>
              <td>A point on the unit circle or sphere</td>
            </tr>
            <tr>
              <td>Unit imaginary vector</td>
              <td>
                <inline-formula>
                  <mml:math>
                    <mml:mover accent="true">
                      <mml:mi>u</mml:mi>
                      <mml:mo>→</mml:mo>
                    </mml:mover>
                  </mml:math>
                </inline-formula>
                ,
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:mover accent="true">
                        <mml:mi>u</mml:mi>
                        <mml:mo>→</mml:mo>
                      </mml:mover>
                      <mml:mover accent="true">
                        <mml:mi>u</mml:mi>
                        <mml:mo>→</mml:mo>
                      </mml:mover>
                      <mml:mo>=</mml:mo>
                      <mml:mo>−</mml:mo>
                      <mml:mn>1</mml:mn>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
              </td>
              <td>
                A direction;
                <inline-formula>
                  <mml:math>
                    <mml:mover accent="true">
                      <mml:mi>ı</mml:mi>
                      <mml:mo>^</mml:mo>
                    </mml:mover>
                  </mml:math>
                </inline-formula>
                in
                <inline-formula>
                  <mml:math>
                    <mml:mi>ℂ</mml:mi>
                  </mml:math>
                </inline-formula>
              </td>
            </tr>
            <tr>
              <td>Basis unit</td>
              <td>
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>e</mml:mi>
                        <mml:mi>a</mml:mi>
                      </mml:msub>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
                ,
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:mi>a</mml:mi>
                      <mml:mo>=</mml:mo>
                      <mml:mn>0</mml:mn>
                      <mml:mo>,</mml:mo>
                      <mml:mo>⋯</mml:mo>
                      <mml:mo>,</mml:mo>
                      <mml:mi>N</mml:mi>
                      <mml:mo>−</mml:mo>
                      <mml:mn>1</mml:mn>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
              </td>
              <td>
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:mn>1</mml:mn>
                      <mml:mo>,</mml:mo>
                      <mml:mover accent="true">
                        <mml:mi>ı</mml:mi>
                        <mml:mo>^</mml:mo>
                      </mml:mover>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
                in
                <inline-formula>
                  <mml:math>
                    <mml:mi>ℂ</mml:mi>
                  </mml:math>
                </inline-formula>
                ;
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:mn>1</mml:mn>
                      <mml:mo>,</mml:mo>
                      <mml:mi>i</mml:mi>
                      <mml:mo>,</mml:mo>
                      <mml:mi>j</mml:mi>
                      <mml:mo>,</mml:mo>
                      <mml:mi>k</mml:mi>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
                in
                <inline-formula>
                  <mml:math>
                    <mml:mi>ℍ</mml:mi>
                  </mml:math>
                </inline-formula>
                ;
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>e</mml:mi>
                        <mml:mn>0</mml:mn>
                      </mml:msub>
                      <mml:mo>,</mml:mo>
                      <mml:mo>⋯</mml:mo>
                      <mml:mo>,</mml:mo>
                      <mml:msub>
                        <mml:mi>e</mml:mi>
                        <mml:mn>7</mml:mn>
                      </mml:msub>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
                in
                <inline-formula>
                  <mml:math>
                    <mml:mi mathvariant="double-struck">O</mml:mi>
                  </mml:math>
                </inline-formula>
              </td>
            </tr>
            <tr>
              <td>Euler turn</td>
              <td>
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:msup>
                        <mml:mtext>e</mml:mtext>
                        <mml:mrow>
                          <mml:mn>2</mml:mn>
                          <mml:mi>π</mml:mi>
                          <mml:mover accent="true">
                            <mml:mi>u</mml:mi>
                            <mml:mo>→</mml:mo>
                          </mml:mover>
                          <mml:mi>t</mml:mi>
                        </mml:mrow>
                      </mml:msup>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
              </td>
              <td>
                A unit arrow turned by
                <inline-formula>
                  <mml:math>
                    <mml:mi>t</mml:mi>
                  </mml:math>
                </inline-formula>
                whole turns about
                <inline-formula>
                  <mml:math>
                    <mml:mover accent="true">
                      <mml:mi>u</mml:mi>
                      <mml:mo>→</mml:mo>
                    </mml:mover>
                  </mml:math>
                </inline-formula>
              </td>
            </tr>
            <tr>
              <td>Half turn, quarter turn</td>
              <td>
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:mi>t</mml:mi>
                      <mml:mo>=</mml:mo>
                      <mml:mfrac>
                        <mml:mn>1</mml:mn>
                        <mml:mn>2</mml:mn>
                      </mml:mfrac>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
                ,
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:mi>t</mml:mi>
                      <mml:mo>=</mml:mo>
                      <mml:mfrac>
                        <mml:mn>1</mml:mn>
                        <mml:mn>4</mml:mn>
                      </mml:mfrac>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
              </td>
              <td>
                −1 and
                <inline-formula>
                  <mml:math>
                    <mml:mover accent="true">
                      <mml:mi>u</mml:mi>
                      <mml:mo>→</mml:mo>
                    </mml:mover>
                  </mml:math>
                </inline-formula>
              </td>
            </tr>
            <tr>
              <td>Zero crossing</td>
              <td>
              </td>
              <td>The passage of an arrow through zero, where its length vanishes</td>
            </tr>
            <tr>
              <td>Two hands</td>
              <td>
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:mi>a</mml:mi>
                      <mml:mi>x</mml:mi>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
                ,
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:mi>x</mml:mi>
                      <mml:mi>a</mml:mi>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
              </td>
              <td>Multiplying on the left and on the right</td>
            </tr>
            <tr>
              <td>Quasi-arrows</td>
              <td>
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:mi>N</mml:mi>
                      <mml:mo>≥</mml:mo>
                      <mml:mn>16</mml:mn>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
              </td>
              <td>
                Systems beyond
                <inline-formula>
                  <mml:math>
                    <mml:mi mathvariant="double-struck">O</mml:mi>
                  </mml:math>
                </inline-formula>
                ; division and the product of lengths fail
              </td>
            </tr>
          </tbody>
        </table>
      </table-wrap>
    </sec>
    <sec id="sec2">
      <title>2. Bits, Signs and Unit Arrows</title>
      <p>A bit is a choice between two things. Thus, the first task is to hold that choice in a number. The simplest way is a sign. We write false as +1 and true as −1. In other words, the bit <inline-formula><mml:math><mml:mrow><mml:mi> a </mml:mi><mml:mo> ∈ </mml:mo><mml:mrow><mml:mo> { </mml:mo><mml:mrow><mml:mn> 0 </mml:mn><mml:mo> , </mml:mo><mml:mn> 1 </mml:mn></mml:mrow><mml:mo> } </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> becomes <inline-formula><mml:math><mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mo> − </mml:mo><mml:mn> 1 </mml:mn></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow><mml:mi> a </mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> . Then multiplication already performs a gate, since</p>
      <disp-formula id="FD2">
        <label>(2)</label>
        <mml:math>
          <mml:mrow>
            <mml:msup>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:mo>−</mml:mo>
                    <mml:mn>1</mml:mn>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
              <mml:mi>a</mml:mi>
            </mml:msup>
            <mml:msup>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:mo>−</mml:mo>
                    <mml:mn>1</mml:mn>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
              <mml:mi>b</mml:mi>
            </mml:msup>
            <mml:mo>=</mml:mo>
            <mml:msup>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:mo>−</mml:mo>
                    <mml:mn>1</mml:mn>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
              <mml:mrow>
                <mml:mi>a</mml:mi>
                <mml:mo>⊕</mml:mo>
                <mml:mi>b</mml:mi>
              </mml:mrow>
            </mml:msup>
            <mml:mo>,</mml:mo>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>where <inline-formula><mml:math><mml:mo> ⊕ </mml:mo></mml:math></inline-formula> is XOR, the addition of bits without a carry. Two equal bits give +1, and two different bits give −1. Thus, the product of two signs is the XOR of the bits they carry. This way of writing Boolean functions with ±1 is familiar from the Fourier-Walsh analysis of Boolean functions [<xref ref-type="bibr" rid="B15">15</xref>]. Here it is simply the first gate of the arrows.</p>
      <p>Before we use the quaternions, let us recall how their units multiply. Each of <inline-formula><mml:math><mml:mi> i </mml:mi></mml:math></inline-formula> , <inline-formula><mml:math><mml:mi> j </mml:mi></mml:math></inline-formula> , <inline-formula><mml:math><mml:mi> k </mml:mi></mml:math></inline-formula> squares to −1, just as <inline-formula><mml:math><mml:mover accent="true"><mml:mi> ı </mml:mi><mml:mo> ^ </mml:mo></mml:mover></mml:math></inline-formula> does in <inline-formula><mml:math><mml:mi> ℂ </mml:mi></mml:math></inline-formula> . The product of two different units is the third unit, with a sign. The sign follows the right-hand rule of the cross product, which every student of mechanics already knows: <inline-formula><mml:math><mml:mrow><mml:mover accent="true"><mml:mi> x </mml:mi><mml:mo> ^ </mml:mo></mml:mover><mml:mo> × </mml:mo><mml:mover accent="true"><mml:mi> y </mml:mi><mml:mo> ^ </mml:mo></mml:mover><mml:mo> = </mml:mo><mml:mover accent="true"><mml:mi> z </mml:mi><mml:mo> ^ </mml:mo></mml:mover></mml:mrow></mml:math></inline-formula> , whereas <inline-formula><mml:math><mml:mrow><mml:mover accent="true"><mml:mi> y </mml:mi><mml:mo> ^ </mml:mo></mml:mover><mml:mo> × </mml:mo><mml:mover accent="true"><mml:mi> x </mml:mi><mml:mo> ^ </mml:mo></mml:mover><mml:mo> = </mml:mo><mml:mo> − </mml:mo><mml:mover accent="true"><mml:mi> z </mml:mi><mml:mo> ^ </mml:mo></mml:mover></mml:mrow></mml:math></inline-formula> . Thus </p>
      <disp-formula id="FD3">
        <label>(3)</label>
        <mml:math>
          <mml:mrow>
            <mml:mi>i</mml:mi>
            <mml:mi>j</mml:mi>
            <mml:mo>=</mml:mo>
            <mml:mi>k</mml:mi>
            <mml:mo>,</mml:mo>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mi>j</mml:mi>
            <mml:mi>k</mml:mi>
            <mml:mo>=</mml:mo>
            <mml:mi>i</mml:mi>
            <mml:mo>,</mml:mo>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mi>k</mml:mi>
            <mml:mi>i</mml:mi>
            <mml:mo>=</mml:mo>
            <mml:mi>j</mml:mi>
            <mml:mo>,</mml:mo>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mtext>whereas</mml:mtext>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mi>j</mml:mi>
            <mml:mi>i</mml:mi>
            <mml:mo>=</mml:mo>
            <mml:mo>−</mml:mo>
            <mml:mi>k</mml:mi>
            <mml:mo>,</mml:mo>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mi>k</mml:mi>
            <mml:mi>j</mml:mi>
            <mml:mo>=</mml:mo>
            <mml:mo>−</mml:mo>
            <mml:mi>i</mml:mi>
            <mml:mo>,</mml:mo>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mi>i</mml:mi>
            <mml:mi>k</mml:mi>
            <mml:mo>=</mml:mo>
            <mml:mo>−</mml:mo>
            <mml:mi>j</mml:mi>
            <mml:mo>.</mml:mo>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>Going around the circle <inline-formula><mml:math><mml:mrow><mml:mi> i </mml:mi><mml:mo> → </mml:mo><mml:mi> j </mml:mi><mml:mo> → </mml:mo><mml:mi> k </mml:mi><mml:mo> → </mml:mo><mml:mi> i </mml:mi></mml:mrow></mml:math></inline-formula> forward gives plus, and going backward gives minus. Therefore, the order of the factors matters. The likeness to the cross product is exact: for two imaginary vectors, <inline-formula><mml:math><mml:mrow><mml:mover accent="true"><mml:mi> u </mml:mi><mml:mo> → </mml:mo></mml:mover><mml:mover accent="true"><mml:mi> v </mml:mi><mml:mo> → </mml:mo></mml:mover><mml:mo> = </mml:mo><mml:mo> − </mml:mo><mml:mover accent="true"><mml:mi> u </mml:mi><mml:mo> → </mml:mo></mml:mover><mml:mo> ⋅ </mml:mo><mml:mover accent="true"><mml:mi> v </mml:mi><mml:mo> → </mml:mo></mml:mover><mml:mo> + </mml:mo><mml:mover accent="true"><mml:mi> u </mml:mi><mml:mo> → </mml:mo></mml:mover><mml:mo> × </mml:mo><mml:mover accent="true"><mml:mi> v </mml:mi><mml:mo> → </mml:mo></mml:mover></mml:mrow></mml:math></inline-formula> (Section 7). Consequently, a unit times itself keeps only the dot part, −1, and two different units keep only the cross part.</p>
      <p>The arrow numbers, however, offer a second and richer way. An arrow system with <inline-formula><mml:math><mml:mrow><mml:mi> N </mml:mi><mml:mo> = </mml:mo><mml:msup><mml:mn> 2 </mml:mn><mml:mi> n </mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> components has <inline-formula><mml:math><mml:mi> N </mml:mi></mml:math></inline-formula> basis units. These are the arrows of length one that point along the axes, and we may label them by <inline-formula><mml:math><mml:mi> n </mml:mi></mml:math></inline-formula> bits. In <inline-formula><mml:math><mml:mi> ℂ </mml:mi></mml:math></inline-formula> , the unit 1 carries the label 0, and <inline-formula><mml:math><mml:mover accent="true"><mml:mi> ı </mml:mi><mml:mo> ^ </mml:mo></mml:mover></mml:math></inline-formula> the label 1. In <inline-formula><mml:math><mml:mi> ℍ </mml:mi></mml:math></inline-formula> , the units 1, <inline-formula><mml:math><mml:mi> i </mml:mi></mml:math></inline-formula> , <inline-formula><mml:math><mml:mi> j </mml:mi></mml:math></inline-formula> , <inline-formula><mml:math><mml:mi> k </mml:mi></mml:math></inline-formula> carry the labels 00, 01, 10, 11. In <inline-formula><mml:math><mml:mi mathvariant="double-struck"> O </mml:mi></mml:math></inline-formula> , the units <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> e </mml:mi><mml:mn> 0 </mml:mn></mml:msub><mml:mo> , </mml:mo><mml:mo> ⋯ </mml:mo><mml:mo> , </mml:mo><mml:msub><mml:mi> e </mml:mi><mml:mn> 7 </mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> carry the three bits of their index. Each system is built from the previous one by a doubling rule, the Cayley-Dickson construction. This rule pairs two arrows of the smaller system into one arrow of the larger system [<xref ref-type="bibr" rid="B16">16</xref>]. Consequently, each doubling adds one bit to the label. Then the product of two basis units is again a basis unit, and its label is the XOR of the two labels: </p>
      <disp-formula id="FD4">
        <label>(4)</label>
        <mml:math>
          <mml:mrow>
            <mml:msub>
              <mml:mi>e</mml:mi>
              <mml:mi>a</mml:mi>
            </mml:msub>
            <mml:msub>
              <mml:mi>e</mml:mi>
              <mml:mi>b</mml:mi>
            </mml:msub>
            <mml:mo>=</mml:mo>
            <mml:mo>±</mml:mo>
            <mml:msub>
              <mml:mi>e</mml:mi>
              <mml:mrow>
                <mml:mi>a</mml:mi>
                <mml:mo>⊕</mml:mo>
                <mml:mi>b</mml:mi>
              </mml:mrow>
            </mml:msub>
            <mml:mo>.</mml:mo>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>For example, <inline-formula><mml:math><mml:mrow><mml:mi> i </mml:mi><mml:mi> j </mml:mi><mml:mo> = </mml:mo><mml:mi> k </mml:mi></mml:mrow></mml:math></inline-formula> reads <inline-formula><mml:math><mml:mrow><mml:mn> 01 </mml:mn><mml:mo> ⊕ </mml:mo><mml:mn> 10 </mml:mn><mml:mo> = </mml:mo><mml:mn> 11 </mml:mn></mml:mrow></mml:math></inline-formula> , and <inline-formula><mml:math><mml:mrow><mml:mi> j </mml:mi><mml:mi> k </mml:mi><mml:mo> = </mml:mo><mml:mi> i </mml:mi></mml:mrow></mml:math></inline-formula> reads <inline-formula><mml:math><mml:mrow><mml:mn> 10 </mml:mn><mml:mo> ⊕ </mml:mo><mml:mn> 11 </mml:mn><mml:mo> = </mml:mo><mml:mn> 01 </mml:mn></mml:mrow></mml:math></inline-formula> . As a worked example, take the register <inline-formula><mml:math><mml:mi> i </mml:mi></mml:math></inline-formula> , which holds the bits 01, and multiply it on the right by <inline-formula><mml:math><mml:mi> k </mml:mi></mml:math></inline-formula> , whose label is 11. The product is <inline-formula><mml:math><mml:mrow><mml:mi> i </mml:mi><mml:mi> k </mml:mi><mml:mo> = </mml:mo><mml:mo> − </mml:mo><mml:mi> j </mml:mi></mml:mrow></mml:math></inline-formula> . The label of <inline-formula><mml:math><mml:mi> j </mml:mi></mml:math></inline-formula> is <inline-formula><mml:math><mml:mrow><mml:mn> 10 </mml:mn><mml:mo> = </mml:mo><mml:mn> 01 </mml:mn><mml:mo> ⊕ </mml:mo><mml:mn> 11 </mml:mn></mml:mrow></mml:math></inline-formula> , so both bits of the register flip, exactly where the label of <inline-formula><mml:math><mml:mi> k </mml:mi></mml:math></inline-formula> has a one. The minus sign is the second Boolean function, which rides along. <xref ref-type="fig" rid="fig1">Figure 1</xref> shows the quaternion table written in this way. The labels follow XOR exactly. Moreover, the sign is a second Boolean function on top of it. Among the <inline-formula><mml:math><mml:mrow><mml:msup><mml:mi> N </mml:mi><mml:mn> 2 </mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> products, exactly <inline-formula><mml:math><mml:mrow><mml:mrow><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:msup><mml:mi> N </mml:mi><mml:mn> 2 </mml:mn></mml:msup><mml:mo> − </mml:mo><mml:mi> N </mml:mi></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow><mml:mo> / </mml:mo><mml:mn> 2 </mml:mn></mml:mrow></mml:mrow></mml:math></inline-formula> carry a minus sign. There is one in <inline-formula><mml:math><mml:mi> ℂ </mml:mi></mml:math></inline-formula> , there are six in <inline-formula><mml:math><mml:mi> ℍ </mml:mi></mml:math></inline-formula> , 28 in <inline-formula><mml:math><mml:mi mathvariant="double-struck"> O </mml:mi></mml:math></inline-formula> , and 120 in the sixteen-component system that follows. As a control, the labels do not follow addition modulo <inline-formula><mml:math><mml:mi> N </mml:mi></mml:math></inline-formula> , the other natural guess.</p>
      <fig id="fig1">
        <label>Figure 1</label>
        <caption>
          <p>The products of the quaternion units. Labelled by two bits, the product’s bits are the XOR of the factors’ bits; the sign, shaded where it is minus, is a second Boolean function on top.</p>
        </caption>
        <graphic xlink:href="https://html.scirp.org/file/1725011-rId188.jpeg?20261127030606" />
      </fig>
      <p>Algebraists already know the structure in Equation (4). In their language, the Cayley-Dickson systems are group algebras of bit strings under XOR, “twisted” by the sign [<xref ref-type="bibr" rid="B17">17</xref>] [<xref ref-type="bibr" rid="B18">18</xref>]. In plain words, the units multiply like bit strings, and a sign rides along. We build on this result and add its reading as logic. Indeed, the units form a register of <inline-formula><mml:math><mml:mi> n </mml:mi></mml:math></inline-formula> bits. Multiplying by a unit is then a gate that flips exactly the bits set in its own label. In conclusion, the arrows multiply as XOR in two ways. The first is through the signs of scalar arrows, Equation (2). The second is through the labels of basis units, Equation (4).</p>
    </sec>
    <sec id="sec3">
      <title>3. NOT and Its Square Root</title>
      <p>An inverter turns +1 into −1 and back. In the arrows there are two ways to do so, and <xref ref-type="fig" rid="fig2">Figure 2</xref> shows both.</p>
      <fig id="fig2">
        <label>Figure 2</label>
        <caption>
          <p>Two inverters, both sending <inline-formula><mml:math><mml:mrow><mml:mi> τ </mml:mi><mml:mo> → </mml:mo><mml:mo> − </mml:mo><mml:mi> τ </mml:mi></mml:mrow></mml:math></inline-formula> . (a) The half turn keeps the length 1 and passes through <inline-formula><mml:math><mml:mover accent="true"><mml:mi> u </mml:mi><mml:mo> → </mml:mo></mml:mover></mml:math></inline-formula> : reversible. (b) The straight path from <inline-formula><mml:math><mml:mrow><mml:mrow><mml:mo> 〈 </mml:mo><mml:mrow><mml:mo> − </mml:mo><mml:mn> 1 </mml:mn><mml:mo> , </mml:mo><mml:mo> − </mml:mo><mml:mover accent="true"><mml:mi> u </mml:mi><mml:mo> → </mml:mo></mml:mover></mml:mrow><mml:mo> 〉 </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> to <inline-formula><mml:math><mml:mrow><mml:mrow><mml:mo> 〈 </mml:mo><mml:mrow><mml:mn> 1 </mml:mn><mml:mo> , </mml:mo><mml:mover accent="true"><mml:mi> u </mml:mi><mml:mo> → </mml:mo></mml:mover></mml:mrow><mml:mo> 〉 </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> passes through zero, where the length vanishes: the zero crossing, a threshold.</p>
        </caption>
        <graphic xlink:href="https://html.scirp.org/file/1725011-rId191.jpeg?20261127030607" />
      </fig>
      <p>The first way is a rotation. The Euler turn</p>
      <disp-formula id="FD5">
        <label>(5)</label>
        <mml:math display="inline">
          <mml:mrow>
            <mml:mi>τ</mml:mi>
            <mml:mrow>
              <mml:mo>(</mml:mo>
              <mml:mi>t</mml:mi>
              <mml:mo>)</mml:mo>
            </mml:mrow>
            <mml:mo>=</mml:mo>
            <mml:msup>
              <mml:mtext>e</mml:mtext>
              <mml:mrow>
                <mml:mrow>
                  <mml:mrow>
                    <mml:mn>2</mml:mn>
                    <mml:mi>π</mml:mi>
                    <mml:mover accent="true">
                      <mml:mi>u</mml:mi>
                      <mml:mo>→</mml:mo>
                    </mml:mover>
                    <mml:mrow>
                      <mml:mo>(</mml:mo>
                      <mml:mrow>
                        <mml:mn>1</mml:mn>
                        <mml:mo>−</mml:mo>
                        <mml:mi>t</mml:mi>
                      </mml:mrow>
                      <mml:mo>)</mml:mo>
                    </mml:mrow>
                  </mml:mrow>
                  <mml:mo>/</mml:mo>
                  <mml:mn>2</mml:mn>
                </mml:mrow>
              </mml:mrow>
            </mml:msup>
            <mml:mo>,</mml:mo>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mn>0</mml:mn>
            <mml:mo>≤</mml:mo>
            <mml:mi>t</mml:mi>
            <mml:mo>≤</mml:mo>
            <mml:mn>1</mml:mn>
            <mml:mo>,</mml:mo>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>starts at −1, passes through <inline-formula><mml:math><mml:mover accent="true"><mml:mi> u </mml:mi><mml:mo> → </mml:mo></mml:mover></mml:math></inline-formula> at <inline-formula><mml:math><mml:mrow><mml:mi> t </mml:mi><mml:mo> = </mml:mo><mml:mfrac><mml:mn> 1 </mml:mn><mml:mn> 2 </mml:mn></mml:mfrac></mml:mrow></mml:math></inline-formula> , and ends at 1. Its length stays 1 all the</p>
      <p>way. It is therefore a half turn, like the hand of a clock moving from nine o’clock to three o’clock over the top. Moreover, it can be run backwards, so it is a reversible NOT. Every point on the way is a unit arrow. Consequently, nothing is lost.</p>
      <p>The second way is a straight line. Our first picture was an arrow whose real part goes from −1 to 1, while its imaginary part goes from <inline-formula><mml:math><mml:mrow><mml:mo> − </mml:mo><mml:mover accent="true"><mml:mi> u </mml:mi><mml:mo> → </mml:mo></mml:mover></mml:mrow></mml:math></inline-formula> to <inline-formula><mml:math><mml:mover accent="true"><mml:mi> u </mml:mi><mml:mo> → </mml:mo></mml:mover></mml:math></inline-formula> . This is the path from <inline-formula><mml:math><mml:mrow><mml:mrow><mml:mo> 〈 </mml:mo><mml:mrow><mml:mo> − </mml:mo><mml:mn> 1 </mml:mn><mml:mo> , </mml:mo><mml:mo> − </mml:mo><mml:mover accent="true"><mml:mi> u </mml:mi><mml:mo> → </mml:mo></mml:mover></mml:mrow><mml:mo> 〉 </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> to <inline-formula><mml:math><mml:mrow><mml:mrow><mml:mo> 〈 </mml:mo><mml:mrow><mml:mn> 1 </mml:mn><mml:mo> , </mml:mo><mml:mover accent="true"><mml:mi> u </mml:mi><mml:mo> → </mml:mo></mml:mover></mml:mrow><mml:mo> 〉 </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> . Its end is minus its start, so it is again an inverter. Halfway, however, the arrow passes through zero. There its length vanishes, and its direction is, for that moment, undefined. We call this passage the zero crossing. Therefore the straight path is not a rotation. As a gate, however, it is still reversible. It sends −1 to 1 and 1 to −1, which is a one-to-one map, so the input can always be recovered from the output. Only the direction of the arrow is undefined, for the single instant at zero.</p>
      <p>The zero crossing matters for another reason. Zero separates the two signs, so it is where a threshold sits, as in an electronic inverter. Section 6 uses it to decide. Landauer’s principle charges energy to gates whose map from inputs to outputs is many-to-one [<xref ref-type="bibr" rid="B19">19</xref>]. NOT is one-to-one, so it owes none. By contrast, the majority gate of Section 6 maps eight inputs onto two outputs, and it does owe energy. A vanishing length alone neither erases information nor sets a dissipation. As a control, the rotation of Equation (5) never passes through zero.</p>
      <p>Next, the square root of NOT is a gate that gives NOT when it is applied twice. In the arrows it is simply the unit imaginary vector, the quarter turn: </p>
      <disp-formula id="FD6">
        <label>(6)</label>
        <mml:math>
          <mml:mrow>
            <mml:mover accent="true">
              <mml:mi>u</mml:mi>
              <mml:mo>→</mml:mo>
            </mml:mover>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mover accent="true">
              <mml:mi>u</mml:mi>
              <mml:mo>→</mml:mo>
            </mml:mover>
            <mml:mo>=</mml:mo>
            <mml:mo>−</mml:mo>
            <mml:mn>1.</mml:mn>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>Two quarter turns make the half turn (<xref ref-type="fig" rid="fig3">Figure 3</xref>). In quantum computing, <inline-formula><mml:math><mml:mrow><mml:msqrt><mml:mrow><mml:mtext> NOT </mml:mtext></mml:mrow></mml:msqrt></mml:mrow></mml:math></inline-formula> acts on the two amplitudes of a qubit as the matrix <inline-formula><mml:math><mml:mrow><mml:mfrac><mml:mn> 1 </mml:mn><mml:mn> 2 </mml:mn></mml:mfrac><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mtable columnalign="left"><mml:mtr columnalign="left"><mml:mtd columnalign="left"><mml:mrow><mml:mn> 1 </mml:mn><mml:mo> + </mml:mo><mml:mi> i </mml:mi></mml:mrow></mml:mtd><mml:mtd columnalign="left"><mml:mrow><mml:mn> 1 </mml:mn><mml:mo> − </mml:mo><mml:mi> i </mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr columnalign="left"><mml:mtd columnalign="left"><mml:mrow><mml:mn> 1 </mml:mn><mml:mo> − </mml:mo><mml:mi> i </mml:mi></mml:mrow></mml:mtd><mml:mtd columnalign="left"><mml:mrow><mml:mn> 1 </mml:mn><mml:mo> + </mml:mo><mml:mi> i </mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> [<xref ref-type="bibr" rid="B1">1</xref>]. Here, by contrast, NOT is a sign, and its square root is a single unit. As a control, an eighth of a turn applied twice gives a quarter turn rather than NOT.</p>
      <fig id="fig3">
        <label>Figure 3</label>
        <caption>
          <p>The square root of NOT. Multiplying by <inline-formula><mml:math display="inline"><mml:mover accent="true"><mml:mi> u </mml:mi><mml:mo> → </mml:mo></mml:mover></mml:math></inline-formula> turns an arrow a quarter turn; two quarter turns are the half turn, <inline-formula><mml:math display="inline"><mml:mrow><mml:mover accent="true"><mml:mi> u </mml:mi><mml:mo> → </mml:mo></mml:mover><mml:mtext>   </mml:mtext><mml:mover accent="true"><mml:mi> u </mml:mi><mml:mo> → </mml:mo></mml:mover><mml:mo> = </mml:mo><mml:mo> − </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:math></inline-formula>, which is NOT.</p>
        </caption>
        <graphic xlink:href="https://html.scirp.org/file/1725011-rId220.jpeg?20261127030606" />
      </fig>
      <p>Finally, gates must compose into gates. One gate followed by another should again be a gate of the same family. The quaternions offer a small and exact family that does so, the 24 unit Hurwitz quaternions [<xref ref-type="bibr" rid="B20">20</xref>] [<xref ref-type="bibr" rid="B21">21</xref>],</p>
      <disp-formula id="FD7">
        <label>(7)</label>
        <mml:math>
          <mml:mrow>
            <mml:mo>±</mml:mo>
            <mml:mn>1</mml:mn>
            <mml:mo>,</mml:mo>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mo>±</mml:mo>
            <mml:mi>i</mml:mi>
            <mml:mo>,</mml:mo>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mo>±</mml:mo>
            <mml:mi>j</mml:mi>
            <mml:mo>,</mml:mo>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mo>±</mml:mo>
            <mml:mi>k</mml:mi>
            <mml:mo>,</mml:mo>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mfrac>
              <mml:mn>1</mml:mn>
              <mml:mn>2</mml:mn>
            </mml:mfrac>
            <mml:mrow>
              <mml:mo>(</mml:mo>
              <mml:mrow>
                <mml:mo>±</mml:mo>
                <mml:mn>1</mml:mn>
                <mml:mo>±</mml:mo>
                <mml:mi>i</mml:mi>
                <mml:mo>±</mml:mo>
                <mml:mi>j</mml:mi>
                <mml:mo>±</mml:mo>
                <mml:mi>k</mml:mi>
              </mml:mrow>
              <mml:mo>)</mml:mo>
            </mml:mrow>
            <mml:mo>.</mml:mo>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>Their components are whole or half-whole numbers, so a computer holds them exactly. Moreover, their products and inverses stay among them. In other words, they form a group of 24 elements, called the binary tetrahedral group. As a control, adding the arrow <inline-formula><mml:math><mml:mrow><mml:mn> 1 </mml:mn><mml:mo> + </mml:mo><mml:mi> i </mml:mi></mml:mrow></mml:math></inline-formula> breaks the closure. In conclusion, the arrows hold two inverters. The rotation keeps the length, and the zero crossing holds a threshold, while both are one-to-one. The square root of NOT is a single unit.</p>
    </sec>
    <sec id="sec4">
      <title>4. How Far Division Reaches</title>
      <p>A gate followed by a gate should again be a gate, and a reversible gate needs an inverse. In the arrows, both follow from one property. The length of a product is the product of the lengths, </p>
      <disp-formula id="FD8">
        <label>(8)</label>
        <mml:math>
          <mml:mrow>
            <mml:mrow>
              <mml:mo>|</mml:mo>
              <mml:mrow>
                <mml:mi>a</mml:mi>
                <mml:mi>b</mml:mi>
              </mml:mrow>
              <mml:mo>|</mml:mo>
            </mml:mrow>
            <mml:mo>=</mml:mo>
            <mml:mrow>
              <mml:mo>|</mml:mo>
              <mml:mi>a</mml:mi>
              <mml:mo>|</mml:mo>
            </mml:mrow>
            <mml:mrow>
              <mml:mo>|</mml:mo>
              <mml:mi>b</mml:mi>
              <mml:mo>|</mml:mo>
            </mml:mrow>
            <mml:mo>.</mml:mo>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>Then the product of two unit arrows is again a unit arrow, and every arrow except zero can be divided by. Number systems with this property are called normed division algebras. By Hurwitz’s theorem, it holds in <inline-formula><mml:math><mml:mi> ℝ </mml:mi></mml:math></inline-formula> , <inline-formula><mml:math><mml:mi> ℂ </mml:mi></mml:math></inline-formula> , <inline-formula><mml:math><mml:mi> ℍ </mml:mi></mml:math></inline-formula> and <inline-formula><mml:math><mml:mi mathvariant="double-struck"> O </mml:mi></mml:math></inline-formula> , and in no other system of this kind [<xref ref-type="bibr" rid="B16">16</xref>] [<xref ref-type="bibr" rid="B22">22</xref>]. One more doubling gives the sixteen-component quasi-arrows. There Equation (8) fails. Indeed, two nonzero numbers can even multiply to zero. For example, in the doubling convention of our checks, <inline-formula><mml:math><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:msub><mml:mi> e </mml:mi><mml:mn> 1 </mml:mn></mml:msub><mml:mo> + </mml:mo><mml:msub><mml:mi> e </mml:mi><mml:mrow><mml:mn> 10 </mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo> ) </mml:mo></mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:msub><mml:mi> e </mml:mi><mml:mn> 5 </mml:mn></mml:msub><mml:mo> + </mml:mo><mml:msub><mml:mi> e </mml:mi><mml:mrow><mml:mn> 14 </mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo> ) </mml:mo></mml:mrow><mml:mo> = </mml:mo><mml:mn> 0 </mml:mn></mml:mrow></mml:math></inline-formula> .</p>
      <p>Something, however, survives. The basis units still multiply to ± basis units by Equation (4), in sixteen components and in every system beyond. Thus, the XOR logic of the labels survives the loss of division. Likewise, a unit imaginary vector still squares to −1. Therefore, the half turn and the quarter turn of Section 3 survive as well. What is lost is that a product by a unit no longer keeps every length. Consequently, a general unit arrow is no longer a gate on general arrows. For more bits than an octonion holds, we therefore place several arrows side by side, in a register. Each of them keeps its own division. In conclusion, the gates between general unit arrows live in <inline-formula><mml:math><mml:mi> ℂ </mml:mi></mml:math></inline-formula> , <inline-formula><mml:math><mml:mi> ℍ </mml:mi></mml:math></inline-formula> and <inline-formula><mml:math><mml:mi mathvariant="double-struck"> O </mml:mi></mml:math></inline-formula> , while the XOR logic of the basis units reaches every dimension.</p>
    </sec>
    <sec id="sec5">
      <title>5. The Reversible Linear Gates</title>
      <p>Products and rotations give a whole family of reversible gates. The symmetries of the octonion table show them most clearly. Suppose we relabel the seven imaginary units and change some of their signs. If every product of the table is kept, the relabelling is a symmetry of the octonions. There are exactly <inline-formula><mml:math><mml:mrow><mml:mn> 1344 </mml:mn><mml:mo> = </mml:mo><mml:mn> 8 </mml:mn><mml:mo> × </mml:mo><mml:mn> 168 </mml:mn></mml:mrow></mml:math></inline-formula> such signed relabellings. Their action on the labels is exactly the set of 168 invertible linear maps of three bits. These are the maps that respect XOR, and they form the group <inline-formula><mml:math><mml:mrow><mml:mi> G </mml:mi><mml:mi> L </mml:mi><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mn> 3 </mml:mn><mml:mo> , </mml:mo><mml:mn> 2 </mml:mn></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> . The same group permutes the lines of the Fano plane, the seven-point diagram of the octonion table [<xref ref-type="bibr" rid="B16">16</xref>]. The factor 8 counts the sign changes that go with each map.</p>
      <p>Among these maps are two familiar gates of reversible logic. The controlled NOT, or CNOT, flips bit 0 if bit 1 is set. SWAP exchanges bits 0 and 1. Both are symmetries of the octonions. The Toffoli gate, by contrast, flips bit 0 if bits 1 and 2 are both set. It is not among them, and it cannot be, because it is not linear in the bits. Every gate of this family is XOR logic. Consequently, products by fixed units, rotations and symmetries of the multiplication table give reversible and exact gates. Yet none of them makes AND.</p>
      <p>Several arrows can work together in two ways. In an array, or register, each element keeps its own division and its own gates. However, products taken element by element never mix the elements. In a matrix of arrows, by contrast, the elements mix. Matrices of quaternions multiply associatively, but they do not commute, so gates on several elements are matrices. Those whose inverse is the conjugate transpose form the compact symplectic group. This group is the setting of quaternionic quantum mechanics [<xref ref-type="bibr" rid="B23">23</xref>] [<xref ref-type="bibr" rid="B24">24</xref>]. Matrices of octonions, on the other hand, are not associative. In conclusion, the reversible linear gates, CNOT and SWAP among them, are the symmetries of the arrows. AND needs a step beyond them.</p>
    </sec>
    <sec id="sec6">
      <title>6. Deciding Gates through Zero</title>
      <p>The straight inverter of Section 3 passes through zero. Zero separates two sides, like the line on a playing field. Hence it can decide. We add the input arrows and keep only the side of zero on which the sum falls, </p>
      <disp-formula id="FD9">
        <label>(9)</label>
        <mml:math>
          <mml:mrow>
            <mml:mtext>MAJ</mml:mtext>
            <mml:mrow>
              <mml:mo>(</mml:mo>
              <mml:mrow>
                <mml:mi>a</mml:mi>
                <mml:mo>,</mml:mo>
                <mml:mi>b</mml:mi>
                <mml:mo>,</mml:mo>
                <mml:mi>c</mml:mi>
              </mml:mrow>
              <mml:mo>)</mml:mo>
            </mml:mrow>
            <mml:mo>=</mml:mo>
            <mml:mtext>sign</mml:mtext>
            <mml:mrow>
              <mml:mo>(</mml:mo>
              <mml:mrow>
                <mml:mi>a</mml:mi>
                <mml:mo>+</mml:mo>
                <mml:mi>b</mml:mi>
                <mml:mo>+</mml:mo>
                <mml:mi>c</mml:mi>
              </mml:mrow>
              <mml:mo>)</mml:mo>
            </mml:mrow>
            <mml:mo>,</mml:mo>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>with each input ±1. This is the majority gate, a gate of threshold logic [<xref ref-type="bibr" rid="B25">25</xref>]. Like a vote of three, it follows the majority. Holding one input at false, +1, gives AND. Holding it at true, −1, gives OR (<xref ref-type="fig" rid="fig4">Figure 4</xref>). Moreover, AND followed by the inverter is NAND, from which every Boolean function can be built. The third input is needed, however. With two inputs alone, two different bits add to zero, and the gate cannot decide. This is the role of the zero crossing in the arrows. It is also the role of the threshold in a transistor or a neuron.</p>
      <fig id="fig4">
        <label>Figure 4</label>
        <caption>
          <p>Gates through zero. The inputs are added and the zero crossing decides the side. With a constant +1 (false) as the third input the result is AND, with −1 (true) it is OR. Two inputs alone would leave the mixed cases at zero, undecided.</p>
        </caption>
        <graphic xlink:href="https://html.scirp.org/file/1725011-rId253.jpeg?20261127030608" />
      </fig>
      <p>The same gates also have an exact algebraic form. Every Boolean function of ±1 inputs is a polynomial in them [<xref ref-type="bibr" rid="B15">15</xref>]. Sums and products are arrow operations, and so </p>
      <disp-formula id="FD10">
        <label>(10)</label>
        <mml:math>
          <mml:mrow>
            <mml:mtext>AND</mml:mtext>
            <mml:mrow>
              <mml:mo>(</mml:mo>
              <mml:mrow>
                <mml:mi>a</mml:mi>
                <mml:mo>,</mml:mo>
                <mml:mi>b</mml:mi>
              </mml:mrow>
              <mml:mo>)</mml:mo>
            </mml:mrow>
            <mml:mo>=</mml:mo>
            <mml:mfrac>
              <mml:mn>1</mml:mn>
              <mml:mn>2</mml:mn>
            </mml:mfrac>
            <mml:mrow>
              <mml:mo>(</mml:mo>
              <mml:mrow>
                <mml:mn>1</mml:mn>
                <mml:mo>+</mml:mo>
                <mml:mi>a</mml:mi>
                <mml:mo>+</mml:mo>
                <mml:mi>b</mml:mi>
                <mml:mo>−</mml:mo>
                <mml:mi>a</mml:mi>
                <mml:mi>b</mml:mi>
              </mml:mrow>
              <mml:mo>)</mml:mo>
            </mml:mrow>
            <mml:mo>,</mml:mo>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mtext>OR</mml:mtext>
            <mml:mrow>
              <mml:mo>(</mml:mo>
              <mml:mrow>
                <mml:mi>a</mml:mi>
                <mml:mo>,</mml:mo>
                <mml:mi>b</mml:mi>
              </mml:mrow>
              <mml:mo>)</mml:mo>
            </mml:mrow>
            <mml:mo>=</mml:mo>
            <mml:mfrac>
              <mml:mn>1</mml:mn>
              <mml:mn>2</mml:mn>
            </mml:mfrac>
            <mml:mrow>
              <mml:mo>(</mml:mo>
              <mml:mrow>
                <mml:mo>−</mml:mo>
                <mml:mn>1</mml:mn>
                <mml:mo>+</mml:mo>
                <mml:mi>a</mml:mi>
                <mml:mo>+</mml:mo>
                <mml:mi>b</mml:mi>
                <mml:mo>+</mml:mo>
                <mml:mi>a</mml:mi>
                <mml:mi>b</mml:mi>
              </mml:mrow>
              <mml:mo>)</mml:mo>
            </mml:mrow>
            <mml:mo>.</mml:mo>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>Both are exact on all four inputs. As a control, the product <inline-formula><mml:math><mml:mrow><mml:mi> a </mml:mi><mml:mi> b </mml:mi></mml:mrow></mml:math></inline-formula> alone gives XOR rather than AND. However, these polynomials are not rotations, because between the bit values they leave the unit arrows. In conclusion, the zero crossing gives the deciding gates, majority, AND, OR and NAND, and with them all of Boolean logic. Like every irreversible gate, majority loses information about its inputs.</p>
    </sec>
    <sec id="sec7">
      <title>7. AND from the Order of a Product: The Toffoli Gate</title>
      <p>Reversible logic keeps every input recoverable, so that a computation can always be run backwards. Its universal gate, found by Toffoli, is a gate of three bits. It flips the third bit when the first two are both set [<xref ref-type="bibr" rid="B26">26</xref>] [<xref ref-type="bibr" rid="B27">27</xref>]. This gate needs AND. Yet, as we saw, the gates of Section 5 cannot make it. The quaternions, however, have one property that the complex numbers lack. The order of a product matters. First <inline-formula><mml:math><mml:mi> i </mml:mi></mml:math></inline-formula> then <inline-formula><mml:math><mml:mi> j </mml:mi></mml:math></inline-formula> gives <inline-formula><mml:math><mml:mi> k </mml:mi></mml:math></inline-formula> , whereas first <inline-formula><mml:math><mml:mi> j </mml:mi></mml:math></inline-formula> then <inline-formula><mml:math><mml:mi> i </mml:mi></mml:math></inline-formula> gives <inline-formula><mml:math><mml:mrow><mml:mo> − </mml:mo><mml:mi> k </mml:mi></mml:mrow></mml:math></inline-formula> (<xref ref-type="fig" rid="fig5">Figure 5</xref>).</p>
      <fig id="fig5">
        <label>Figure 5</label>
        <caption>
          <p>AND from the order of a product. First <inline-formula><mml:math><mml:mi> i </mml:mi></mml:math></inline-formula> then <inline-formula><mml:math><mml:mi> j </mml:mi></mml:math></inline-formula> gives <inline-formula><mml:math><mml:mi> k </mml:mi></mml:math></inline-formula> ; first <inline-formula><mml:math><mml:mi> j </mml:mi></mml:math></inline-formula> then <inline-formula><mml:math><mml:mi> i </mml:mi></mml:math></inline-formula> gives <inline-formula><mml:math><mml:mrow><mml:mo> − </mml:mo><mml:mi> k </mml:mi></mml:mrow></mml:math></inline-formula> . With the bits written as <inline-formula><mml:math><mml:mrow><mml:mi> A </mml:mi><mml:mo> = </mml:mo><mml:msup><mml:mi> i </mml:mi><mml:mi> a </mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math><mml:mrow><mml:mi> B </mml:mi><mml:mo> = </mml:mo><mml:msup><mml:mi> j </mml:mi><mml:mi> b </mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> , the quotient of the two orders is −1 only when both bits are 1.</p>
        </caption>
        <graphic xlink:href="https://html.scirp.org/file/1725011-rId270.jpeg?20261127030608" />
      </fig>
      <p>We write the bit <inline-formula><mml:math><mml:mi> a </mml:mi></mml:math></inline-formula> as the arrow <inline-formula><mml:math><mml:mrow><mml:mi> A </mml:mi><mml:mo> = </mml:mo><mml:msup><mml:mi> i </mml:mi><mml:mi> a </mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> , which is 1 or <inline-formula><mml:math><mml:mi> i </mml:mi></mml:math></inline-formula> , and the bit <inline-formula><mml:math><mml:mi> b </mml:mi></mml:math></inline-formula> as <inline-formula><mml:math><mml:mrow><mml:mi> B </mml:mi><mml:mo> = </mml:mo><mml:msup><mml:mi> j </mml:mi><mml:mi> b </mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> . The quotient of the two orders of their product is then</p>
      <disp-formula id="FD11">
        <label>(11)</label>
        <mml:math>
          <mml:mrow>
            <mml:mi>A</mml:mi>
            <mml:mi>B</mml:mi>
            <mml:msup>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:mi>B</mml:mi>
                    <mml:mi>A</mml:mi>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
              <mml:mrow>
                <mml:mo>−</mml:mo>
                <mml:mn>1</mml:mn>
              </mml:mrow>
            </mml:msup>
            <mml:mo>=</mml:mo>
            <mml:mi>A</mml:mi>
            <mml:mi>B</mml:mi>
            <mml:msup>
              <mml:mi>A</mml:mi>
              <mml:mrow>
                <mml:mo>−</mml:mo>
                <mml:mn>1</mml:mn>
              </mml:mrow>
            </mml:msup>
            <mml:msup>
              <mml:mi>B</mml:mi>
              <mml:mrow>
                <mml:mo>−</mml:mo>
                <mml:mn>1</mml:mn>
              </mml:mrow>
            </mml:msup>
            <mml:mo>=</mml:mo>
            <mml:msup>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:mo>−</mml:mo>
                    <mml:mn>1</mml:mn>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
              <mml:mrow>
                <mml:mi>a</mml:mi>
                <mml:mi>b</mml:mi>
              </mml:mrow>
            </mml:msup>
            <mml:mo>.</mml:mo>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>It is −1 only when both bits are 1. In other words, it is the AND of two bits, written as a sign. Non-commutativity, the dependence on order, makes it. Geometrically, the product of two imaginary vectors is <inline-formula><mml:math><mml:mrow><mml:mover accent="true"><mml:mi> u </mml:mi><mml:mo> → </mml:mo></mml:mover><mml:mtext>   </mml:mtext><mml:mover accent="true"><mml:mi> v </mml:mi><mml:mo> → </mml:mo></mml:mover><mml:mo> = </mml:mo><mml:mo> − </mml:mo><mml:mover accent="true"><mml:mi> u </mml:mi><mml:mo> → </mml:mo></mml:mover><mml:mo> ⋅ </mml:mo><mml:mover accent="true"><mml:mi> v </mml:mi><mml:mo> → </mml:mo></mml:mover><mml:mo> + </mml:mo><mml:mover accent="true"><mml:mi> u </mml:mi><mml:mo> → </mml:mo></mml:mover><mml:mo> × </mml:mo><mml:mover accent="true"><mml:mi> v </mml:mi><mml:mo> → </mml:mo></mml:mover></mml:mrow></mml:math></inline-formula> [<xref ref-type="bibr" rid="B2">2</xref>]. Thus two parallel arrows give the same product in either order, whereas two perpendicular arrows give products of opposite sign. The units <inline-formula><mml:math><mml:mi> i </mml:mi></mml:math></inline-formula> and <inline-formula><mml:math><mml:mi> j </mml:mi></mml:math></inline-formula> are perpendicular. Therefore, the AND of two bits asks a geometric question: are both arrows imaginary, and so perpendicular? As controls, two bits on the same axis always give 1, and so do two bits in the complex numbers.</p>
      <p>The Toffoli gate then follows at once. We write the target bit <inline-formula><mml:math><mml:mi> c </mml:mi></mml:math></inline-formula> as a sign, <inline-formula><mml:math><mml:mrow><mml:mi> s </mml:mi><mml:mo> = </mml:mo><mml:msup><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mo> − </mml:mo><mml:mn> 1 </mml:mn></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow><mml:mi> c </mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> , and multiply it by the quotient: </p>
      <disp-formula id="FD12">
        <label>(12)</label>
        <mml:math>
          <mml:mrow>
            <mml:mi>s</mml:mi>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mi>A</mml:mi>
            <mml:mi>B</mml:mi>
            <mml:msup>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:mi>B</mml:mi>
                    <mml:mi>A</mml:mi>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
              <mml:mrow>
                <mml:mo>−</mml:mo>
                <mml:mn>1</mml:mn>
              </mml:mrow>
            </mml:msup>
            <mml:mo>=</mml:mo>
            <mml:msup>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:mo>−</mml:mo>
                    <mml:mn>1</mml:mn>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
              <mml:mrow>
                <mml:mi>c</mml:mi>
                <mml:mo>⊕</mml:mo>
                <mml:mi>a</mml:mi>
                <mml:mi>b</mml:mi>
              </mml:mrow>
            </mml:msup>
            <mml:mo>.</mml:mo>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>The target flips exactly when both controls are 1, and the controls are unchanged. Applying the gate twice restores the target (<xref ref-type="fig" rid="fig6">Figure 6</xref>). Moreover, a target written as a sign returns exactly to an axis code by <inline-formula><mml:math><mml:mrow><mml:mi> s </mml:mi><mml:mo> ↦ </mml:mo><mml:mfrac><mml:mn> 1 </mml:mn><mml:mn> 2 </mml:mn></mml:mfrac><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mn> 1 </mml:mn><mml:mo> + </mml:mo><mml:mi> s </mml:mi></mml:mrow><mml:mo> ) </mml:mo></mml:mrow><mml:mo> + </mml:mo><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mn> 1 </mml:mn><mml:mo> − </mml:mo><mml:mi> s </mml:mi></mml:mrow><mml:mo> ) </mml:mo></mml:mrow><mml:mover accent="true"><mml:mi> u </mml:mi><mml:mo> → </mml:mo></mml:mover></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> . This map gives 1 for <inline-formula><mml:math><mml:mrow><mml:mi> s </mml:mi><mml:mo> = </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math display="inline"><mml:mover accent="true"><mml:mi> u </mml:mi><mml:mo> → </mml:mo></mml:mover></mml:math></inline-formula> for <inline-formula><mml:math><mml:mrow><mml:mi> s </mml:mi><mml:mo> = </mml:mo><mml:mo> − </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:math></inline-formula> . The Toffoli gate with constant inputs is universal for reversible classical logic [<xref ref-type="bibr" rid="B26">26</xref>]. Therefore the quaternions carry universal reversible logic.</p>
      <p>The sign in Equation (11) is, however, known. For the basis units, it is the commutation sign of the twisted group algebra, which is bilinear, that is, linear in each of the two labels [<xref ref-type="bibr" rid="B17">17</xref>] [<xref ref-type="bibr" rid="B18">18</xref>]. In quantum computing, it is the commutation phase of Pauli’s gates, <inline-formula><mml:math><mml:mrow><mml:mi> X </mml:mi><mml:mi> Z </mml:mi><mml:mo> = </mml:mo><mml:mo> − </mml:mo><mml:mi> Z </mml:mi><mml:mi> X </mml:mi></mml:mrow></mml:math></inline-formula> , written as a symplectic product of bits, a sum of crossed products [<xref ref-type="bibr" rid="B28">28</xref>] [<xref ref-type="bibr" rid="B29">29</xref>]. Furthermore, in the theory of computation, commutators of group elements are a classic way to compute AND [<xref ref-type="bibr" rid="B30">30</xref>]. What we add is the reading as a reversible gate. The quotient of the two orders is the control of the Toffoli gate.</p>
      <fig id="fig6">
        <label>Figure 6</label>
        <caption>
          <p>The Toffoli gate in the arrows. The controls choose the units <inline-formula><mml:math><mml:mi> A </mml:mi></mml:math></inline-formula> and <inline-formula><mml:math><mml:mi> B </mml:mi></mml:math></inline-formula> ; the target is a sign <inline-formula><mml:math><mml:mi> s </mml:mi></mml:math></inline-formula> , multiplied by the quotient of the two orders. It flips the target exactly when both controls are 1 and undoes itself when applied twice.</p>
        </caption>
        <graphic xlink:href="https://html.scirp.org/file/1725011-rId321.jpeg?20261127030608" />
      </fig>
      <p>In conclusion, the quaternions turn the order of a product into the AND of two bits, and with it into the Toffoli gate.</p>
    </sec>
    <sec id="sec8">
      <title>8. AND of Three from the Grouping of a Product</title>
      <p>The octonions give up one more rule. The grouping of a product matters, so that <inline-formula><mml:math><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mi> A </mml:mi><mml:mi> B </mml:mi></mml:mrow><mml:mo> ) </mml:mo></mml:mrow><mml:mi> C </mml:mi><mml:mo> ≠ </mml:mo><mml:mi> A </mml:mi><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mi> B </mml:mi><mml:mi> C </mml:mi></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> in general. The same idea therefore goes one step further. We write three bits on three octonion units, <inline-formula><mml:math><mml:mrow><mml:mi> A </mml:mi><mml:mo> = </mml:mo><mml:msubsup><mml:mi> e </mml:mi><mml:mn> 1 </mml:mn><mml:mrow><mml:mo></mml:mo><mml:mi> a </mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula> , <inline-formula><mml:math><mml:mrow><mml:mi> B </mml:mi><mml:mo> = </mml:mo><mml:msubsup><mml:mi> e </mml:mi><mml:mn> 2 </mml:mn><mml:mrow><mml:mo></mml:mo><mml:mi> b </mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula> , <inline-formula><mml:math><mml:mrow><mml:mi> C </mml:mi><mml:mo> = </mml:mo><mml:msubsup><mml:mi> e </mml:mi><mml:mn> 4 </mml:mn><mml:mrow><mml:mo></mml:mo><mml:mi> c </mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula> . The quotient of the two groupings is</p>
      <disp-formula id="FD13">
        <label>(13)</label>
        <mml:math>
          <mml:mrow>
            <mml:mrow>
              <mml:mo>(</mml:mo>
              <mml:mrow>
                <mml:mi>A</mml:mi>
                <mml:mi>B</mml:mi>
              </mml:mrow>
              <mml:mo>)</mml:mo>
            </mml:mrow>
            <mml:mi>C</mml:mi>
            <mml:msup>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:mi>A</mml:mi>
                    <mml:mrow>
                      <mml:mo>(</mml:mo>
                      <mml:mrow>
                        <mml:mi>B</mml:mi>
                        <mml:mi>C</mml:mi>
                      </mml:mrow>
                      <mml:mo>)</mml:mo>
                    </mml:mrow>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
              <mml:mrow>
                <mml:mo>−</mml:mo>
                <mml:mn>1</mml:mn>
              </mml:mrow>
            </mml:msup>
            <mml:mo>=</mml:mo>
            <mml:msup>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:mo>−</mml:mo>
                    <mml:mn>1</mml:mn>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
              <mml:mrow>
                <mml:mi>a</mml:mi>
                <mml:mi>b</mml:mi>
                <mml:mi>c</mml:mi>
              </mml:mrow>
            </mml:msup>
            <mml:mo>,</mml:mo>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>which is −1 only when all three bits are 1. Thus, it is the AND of three bits. The choice of units matters, however. The units <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> e </mml:mi><mml:mn> 1 </mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> , <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> e </mml:mi><mml:mn> 2 </mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> , <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> e </mml:mi><mml:mn> 3 </mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> lie in one quaternion plane, where products associate. As a control, they always give 1. In general, there are 343 ordered triples of imaginary octonion units. Over all of them, the two groupings differ exactly when the three labels are independent as bit vectors. This means that no two labels are equal, and none is the XOR of the other two. In geometric words, three independent labels span a volume, just as three vectors that do not lie in one plane do. Thus the AND of three bits asks whether the three arrows span a volume.</p>
      <p>This, too, is a known result. Morier-Genoud and Ovsienko write the associator sign of the octonions as <inline-formula><mml:math><mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mo> − </mml:mo><mml:mn> 1 </mml:mn></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mtext> det </mml:mtext><mml:mrow><mml:mo> | </mml:mo><mml:mrow><mml:mi> x </mml:mi><mml:mo> , </mml:mo><mml:mi> y </mml:mi><mml:mo> , </mml:mo><mml:mi> z </mml:mi></mml:mrow><mml:mo> | </mml:mo></mml:mrow></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> [<xref ref-type="bibr" rid="B18">18</xref>]. Here the associator measures how much the grouping matters, and the exponent is the determinant of the three labels over the bits. Likewise, the code loops of Griess carry the same sign as the parity of the bitwise AND of three words [<xref ref-type="bibr" rid="B31">31</xref>]. Equation (13) is its special case for three independent units, where the determinant is <inline-formula><mml:math><mml:mrow><mml:mi> a </mml:mi><mml:mi> b </mml:mi><mml:mi> c </mml:mi></mml:mrow></mml:math></inline-formula> . We read it as a gate with three controls. In conclusion, the octonions turn the grouping of a product into the AND of three bits.</p>
    </sec>
    <sec id="sec9">
      <title>9. The Ladder of the Arrow Numbers</title>
      <p>The results so far fall into a pattern, shown in <xref ref-type="fig" rid="fig7">Figure 7</xref>. The complex numbers commute and associate. Their units already carry the AND of two bits as a carry, <inline-formula><mml:math><mml:mrow><mml:msup><mml:mi> i </mml:mi><mml:mi> a </mml:mi></mml:msup><mml:msup><mml:mi> i </mml:mi><mml:mi> b </mml:mi></mml:msup><mml:mo> = </mml:mo><mml:msup><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mo> − </mml:mo><mml:mn> 1 </mml:mn></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi> a </mml:mi><mml:mi> b </mml:mi></mml:mrow></mml:msup><mml:msup><mml:mi> i </mml:mi><mml:mrow><mml:mi> a </mml:mi><mml:mo> ⊕ </mml:mo><mml:mi> b </mml:mi></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> . However, this AND is mixed with the XOR of the labels. The quotient of the two orders, which would separate it, is always 1. The quaternions give up commutativity. Then the quotient of the two orders, Equation (11), gives the AND of two bits by itself. The octonions, in turn, give up associativity. Then the quotient of the two groupings, Equation (13), gives the AND of three. Geometrically, the ladder climbs in dimension. The complex numbers have only one imaginary direction, so none of their units are perpendicular. The quaternions add perpendicular pairs, which span an area, and with them the AND of two bits. The octonions add independent triples, which span a volume, and with them the AND of three. Thus, each doubling of the arrow numbers gives up one rule of arithmetic. Consequently, the quotient that measures the lost rule carries one more degree of AND.</p>
      <fig id="fig7">
        <label>Figure 7</label>
        <caption>
          <p>The ladder of the arrow numbers. Each doubling loses one rule of arithmetic, and the quotient that measures the lost rule carries one more degree of AND: none in <inline-formula><mml:math><mml:mi> ℂ </mml:mi></mml:math></inline-formula> , where AND appears only as a carry mixed with XOR; the AND of two in <inline-formula><mml:math><mml:mi> ℍ </mml:mi></mml:math></inline-formula> ; the AND of three in <inline-formula><mml:math><mml:mi mathvariant="double-struck"> O </mml:mi></mml:math></inline-formula> .</p>
        </caption>
        <graphic xlink:href="https://html.scirp.org/file/1725011-rId350.jpeg?20261127030609" />
      </fig>
      <p>Algebraically, this rise is known. The sign function of the basis units is bilinear in <inline-formula><mml:math><mml:mi> ℂ </mml:mi></mml:math></inline-formula> and <inline-formula><mml:math><mml:mi> ℍ </mml:mi></mml:math></inline-formula> , that is, of degree two in the label bits. It is cubic, of degree three, in the octonions, and it gains quartic terms, of degree four, in sixteen components [<xref ref-type="bibr" rid="B17">17</xref>]. Its commutator part first appears in <inline-formula><mml:math><mml:mi> ℍ </mml:mi></mml:math></inline-formula> , and its associator part in <inline-formula><mml:math><mml:mi mathvariant="double-struck"> O </mml:mi></mml:math></inline-formula> . The ladder reads this rise as logic. The next doubling, to the sixteen-component quasi-arrows, gives up alternativity. Alternativity is the weaker rule that a product with two equal factors still associates. The quartic sign terms suggest an AND of four. However, whether a gate of four controls follows from these products is open. In conclusion, the quotient that measures each lost rule of arithmetic carries one more degree of logic.</p>
    </sec>
    <sec id="sec10">
      <title>10. Spin as Logic and the Quantum Edge</title>
      <p>A spinning electron has its own logic, since spin up and spin down form a bit. In the arrows, a vector <inline-formula><mml:math><mml:mover accent="true"><mml:mi> v </mml:mi><mml:mo> → </mml:mo></mml:mover></mml:math></inline-formula> turns by the sandwich</p>
      <disp-formula id="FD14">
        <label>(14)</label>
        <mml:math>
          <mml:mrow>
            <mml:mover accent="true">
              <mml:mi>v</mml:mi>
              <mml:mo>→</mml:mo>
            </mml:mover>
            <mml:mo>→</mml:mo>
            <mml:mi>q</mml:mi>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mover accent="true">
              <mml:mi>v</mml:mi>
              <mml:mo>→</mml:mo>
            </mml:mover>
            <mml:mtext>
               
            </mml:mtext>
            <mml:msup>
              <mml:mi>q</mml:mi>
              <mml:mtext>*</mml:mtext>
            </mml:msup>
            <mml:mo>,</mml:mo>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mi>q</mml:mi>
            <mml:mo>=</mml:mo>
            <mml:msup>
              <mml:mtext>e</mml:mtext>
              <mml:mrow>
                <mml:mrow>
                  <mml:mrow>
                    <mml:mover accent="true">
                      <mml:mi>u</mml:mi>
                      <mml:mo>→</mml:mo>
                    </mml:mover>
                    <mml:mi>θ</mml:mi>
                  </mml:mrow>
                  <mml:mo>/</mml:mo>
                  <mml:mn>2</mml:mn>
                </mml:mrow>
              </mml:mrow>
            </mml:msup>
            <mml:mo>,</mml:mo>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>where <inline-formula><mml:math><mml:mi> θ </mml:mi></mml:math></inline-formula> is the Euler angle and <inline-formula><mml:math><mml:mrow><mml:msup><mml:mi> q </mml:mi><mml:mtext> * </mml:mtext></mml:msup></mml:mrow></mml:math></inline-formula> the conjugate. The arrow <inline-formula><mml:math><mml:mi> q </mml:mi></mml:math></inline-formula> turns by half the angle, and it is called the spinor. Consequently, one whole turn of the vector makes <inline-formula><mml:math><mml:mrow><mml:mi> q </mml:mi><mml:mo> = </mml:mo><mml:mo> − </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:math></inline-formula> , while the vector is back where it started. Only two whole turns bring <inline-formula><mml:math><mml:mi> q </mml:mi></mml:math></inline-formula> back to 1. Since <inline-formula><mml:math><mml:mi> q </mml:mi></mml:math></inline-formula> and <inline-formula><mml:math><mml:mrow><mml:mo> − </mml:mo><mml:mi> q </mml:mi></mml:mrow></mml:math></inline-formula> turn every vector in the same way, the sign of the spinor is a bit hidden from vectors.</p>
      <p>The spin flip, NOT on the spin, is a half turn of the vector. Its spinor is the unit <inline-formula><mml:math><mml:mi> i </mml:mi></mml:math></inline-formula> itself, since <inline-formula><mml:math><mml:mrow><mml:mi> i </mml:mi><mml:mi> k </mml:mi><mml:msup><mml:mi> i </mml:mi><mml:mtext> * </mml:mtext></mml:msup><mml:mo> = </mml:mo><mml:mo> − </mml:mo><mml:mi> k </mml:mi></mml:mrow></mml:math></inline-formula> . Flipped twice, the spin is up again, while <inline-formula><mml:math><mml:mrow><mml:msup><mml:mi> i </mml:mi><mml:mn> 2 </mml:mn></mml:msup><mml:mo> = </mml:mo><mml:mo> − </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:math></inline-formula> . In other words, the hidden bit has flipped. The units <inline-formula><mml:math><mml:mi> i </mml:mi></mml:math></inline-formula> , <inline-formula><mml:math><mml:mi> j </mml:mi></mml:math></inline-formula> , <inline-formula><mml:math><mml:mi> k </mml:mi></mml:math></inline-formula> are Pauli’s three gates, up to the complex unit that quantum mechanics attaches to them [<xref ref-type="bibr" rid="B1">1</xref>] [<xref ref-type="bibr" rid="B4">4</xref>]. Consequently, the XOR rule of Equation (4) with <inline-formula><mml:math><mml:mrow><mml:mi> i </mml:mi><mml:mo> = </mml:mo><mml:mn> 01 </mml:mn></mml:mrow></mml:math></inline-formula> , <inline-formula><mml:math><mml:mrow><mml:mi> j </mml:mi><mml:mo> = </mml:mo><mml:mn> 10 </mml:mn></mml:mrow></mml:math></inline-formula> , <inline-formula><mml:math><mml:mrow><mml:mi> k </mml:mi><mml:mo> = </mml:mo><mml:mn> 11 </mml:mn></mml:mrow></mml:math></inline-formula> is the binary table of the Pauli gates. Stabilizer codes, the codes that protect quantum information against errors, use this table [<xref ref-type="bibr" rid="B28">28</xref>]. The arrows give it a geometric origin in the Cayley-Dickson doubling. Moreover, multiplying on the left and multiplying on the right, the two hands, act independently and commute with each other. Together they make the rotations of four-dimensional space [<xref ref-type="bibr" rid="B21">21</xref>].</p>
      <p>The eight units <inline-formula><mml:math><mml:mrow><mml:mo> ± </mml:mo><mml:mn> 1 </mml:mn><mml:mo> , </mml:mo><mml:mo> ± </mml:mo><mml:mi> i </mml:mi><mml:mo> , </mml:mo><mml:mo> ± </mml:mo><mml:mi> j </mml:mi><mml:mo> , </mml:mo><mml:mo> ± </mml:mo><mml:mi> k </mml:mi></mml:mrow></mml:math></inline-formula> are the Pauli gates up to phase. The 24 Hurwitz units of Equation (7) contain them. Together with the 24 arrows <inline-formula><mml:math><mml:mrow><mml:mrow><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mo> ± </mml:mo><mml:mover accent="true"><mml:mi> v </mml:mi><mml:mo> → </mml:mo></mml:mover><mml:mo> ± </mml:mo><mml:mover accent="true"><mml:mi> w </mml:mi><mml:mo> → </mml:mo></mml:mover></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow><mml:mo> / </mml:mo><mml:mrow><mml:msqrt><mml:mn> 2 </mml:mn></mml:msqrt></mml:mrow></mml:mrow></mml:mrow></mml:math></inline-formula> , where <inline-formula><mml:math><mml:mrow><mml:mover accent="true"><mml:mi> v </mml:mi><mml:mo> → </mml:mo></mml:mover><mml:mo> , </mml:mo><mml:mover accent="true"><mml:mi> w </mml:mi><mml:mo> → </mml:mo></mml:mover></mml:mrow></mml:math></inline-formula> are two of <inline-formula><mml:math><mml:mrow><mml:mn> 1 </mml:mn><mml:mo> , </mml:mo><mml:mi> i </mml:mi><mml:mo> , </mml:mo><mml:mi> j </mml:mi><mml:mo> , </mml:mo><mml:mi> k </mml:mi></mml:mrow></mml:math></inline-formula> , they form the 48 spinors of the single-spin Clifford gates. This set is the binary octahedral group [<xref ref-type="bibr" rid="B21">21</xref>]. Up to sign, these are the 24 rotations of the octahedron. Circuits of Clifford gates on many spins can be followed on a classical computer with little effort. This is the Gottesman-Knill theorem [<xref ref-type="bibr" rid="B32">32</xref>] [<xref ref-type="bibr" rid="B33">33</xref>], which tracks Pauli strings, that is, registers of quaternion units. One more gate, however, makes the set universal for quantum computing [<xref ref-type="bibr" rid="B34">34</xref>]. It is the T gate, which turns the spin by an eighth of a turn.</p>
      <p>The T gate lies outside the finite Clifford set. Yet it is still a single unit quaternion, the spinor <inline-formula><mml:math><mml:mrow><mml:msup><mml:mtext> e </mml:mtext><mml:mrow><mml:mrow><mml:mrow><mml:mi> k </mml:mi><mml:mi> π </mml:mi></mml:mrow><mml:mo> / </mml:mo><mml:mn> 8 </mml:mn></mml:mrow></mml:mrow></mml:msup><mml:mo> = </mml:mo><mml:mi> cos </mml:mi><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mrow><mml:mi> π </mml:mi><mml:mo> / </mml:mo><mml:mn> 8 </mml:mn></mml:mrow></mml:mrow><mml:mo> ) </mml:mo></mml:mrow><mml:mo> + </mml:mo><mml:mi> k </mml:mi><mml:mi> sin </mml:mi><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mrow><mml:mi> π </mml:mi><mml:mo> / </mml:mo><mml:mn> 8 </mml:mn></mml:mrow></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> . This spinor is a sixteenth of a turn about the spin axis <inline-formula><mml:math><mml:mi> k </mml:mi></mml:math></inline-formula> . Its components lie beyond the halves and <inline-formula><mml:math><mml:mrow><mml:msqrt><mml:mn> 2 </mml:mn></mml:msqrt></mml:mrow></mml:math></inline-formula> of the Clifford spinors. Thus, every single-spin gate is an arrow, up to phase. Following many entangled spins efficiently is a separate problem. It needs an arrow encoding of the joint state of several spins, and an algorithm that follows that state through a circuit. Neither is given here. Classically, the cost of such circuits is believed to grow exponentially, and whether an arrow encoding changes this is open. This question is related to the one that Bell’s theorem settles for local classical descriptions [<xref ref-type="bibr" rid="B35">35</xref>], though it is not the same. In conclusion, the arrows hold Pauli’s gates and the single-spin Clifford gates exactly. The T gate is a unit arrow as well, and the open edge is the joint state of many entangled spins.</p>
    </sec>
    <sec id="sec11">
      <title>11. Arrow Logic in Hardware</title>
      <p>The gates so far are algebra. We now ask how they could be built. Hardware for the arithmetic of complex numbers is not new. Khmelnik developed the algorithms and hardware of an arithmetic of complex numbers, vectors and figures, in which a complex number is coded as a single binary string [<xref ref-type="bibr" rid="B36">36</xref>]. Here, by contrast, the arrow numbers serve chiefly as logic, and their units and signs become gates. We keep to the cheapest technology, standard CMOS, with its transistors, its transmission gates and its MOS capacitors. A transmission gate is an n-type and a p-type transistor side by side. It is a switch that passes both logic levels.</p>
      <p>How a gate is built depends on the way a sign is carried. Fast CMOS circuits often carry a bit on a pair of wires, with the signal on one wire or on the other. This is called dual-rail signalling. We let the signal on the first wire, <inline-formula><mml:math><mml:mi> P </mml:mi></mml:math></inline-formula> , be the sign +1 (false), and the signal on the second wire, <inline-formula><mml:math><mml:mi> N </mml:mi></mml:math></inline-formula> , be the sign −1 (true). With both wires low, the pair holds 0. Then the gates of the previous sections take simple forms (<xref ref-type="fig" rid="fig8">Figure 8</xref>). The circuits below are checked at the level of switches, and also in SPICE (Section 11.6).</p>
      <fig id="fig8">
        <label>Figure 8</label>
        <caption>
          <p>Arrow logic in dual rail. (a) The half turn, NOT, is two crossed wires. (b) The product of two signs, XOR, is a crossing controlled by <inline-formula><mml:math><mml:mi> b </mml:mi></mml:math></inline-formula> : four CMOS transmission gates. (c) Multiplying a quaternion bus on the left by <inline-formula><mml:math><mml:mi> i </mml:mi></mml:math></inline-formula> re-routes its four lanes, two of them crossed: wiring only.</p>
        </caption>
        <graphic xlink:href="https://html.scirp.org/file/1725011-rId419.jpeg?20261127030609" />
      </fig>
      <sec id="sec11dot1">
        <title>11.1. NOT, XOR and the Basis Units</title>
        <p>First, multiplying by −1, the half turn, swaps the two wires. Hence the inverter is two crossed wires, with no transistor (<xref ref-type="fig" rid="fig8">Figure 8(a)</xref>). In dual-rail logic, an inversion is free. Second, the product of two signs, the XOR of Equation (2), is a controlled crossing. It uses four transmission gates. The straight pair conducts when <inline-formula><mml:math><mml:mrow><mml:mi> b </mml:mi><mml:mo> = </mml:mo><mml:mn> 0 </mml:mn></mml:mrow></mml:math></inline-formula> , and the crossed pair conducts when <inline-formula><mml:math><mml:mrow><mml:mi> b </mml:mi><mml:mo> = </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:math></inline-formula> (<xref ref-type="fig" rid="fig8">Figure 8(b)</xref>). This is the familiar transmission-gate XOR of CMOS design [<xref ref-type="bibr" rid="B37">37</xref>], with eight transistors.</p>
        <p>Third, a quaternion is a bus of four dual-rail lanes, one for each part <inline-formula><mml:math><mml:mrow><mml:mn> 1 </mml:mn><mml:mo> , </mml:mo><mml:mi> i </mml:mi><mml:mo> , </mml:mo><mml:mi> j </mml:mi><mml:mo> , </mml:mo><mml:mi> k </mml:mi></mml:mrow></mml:math></inline-formula> . Multiplying the bus by a fixed basis unit sends each lane to another lane, some with a minus sign. A minus sign is simply a crossed pair. For example, </p>
        <disp-formula id="FD15">
          <label>(15)</label>
          <mml:math>
            <mml:mrow>
              <mml:mi>i</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:msub>
                    <mml:mi>a</mml:mi>
                    <mml:mn>0</mml:mn>
                  </mml:msub>
                  <mml:mo>+</mml:mo>
                  <mml:msub>
                    <mml:mi>a</mml:mi>
                    <mml:mn>1</mml:mn>
                  </mml:msub>
                  <mml:mi>i</mml:mi>
                  <mml:mo>+</mml:mo>
                  <mml:msub>
                    <mml:mi>a</mml:mi>
                    <mml:mn>2</mml:mn>
                  </mml:msub>
                  <mml:mi>j</mml:mi>
                  <mml:mo>+</mml:mo>
                  <mml:msub>
                    <mml:mi>a</mml:mi>
                    <mml:mn>3</mml:mn>
                  </mml:msub>
                  <mml:mi>k</mml:mi>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>=</mml:mo>
              <mml:mo>−</mml:mo>
              <mml:msub>
                <mml:mi>a</mml:mi>
                <mml:mn>1</mml:mn>
              </mml:msub>
              <mml:mo>+</mml:mo>
              <mml:msub>
                <mml:mi>a</mml:mi>
                <mml:mn>0</mml:mn>
              </mml:msub>
              <mml:mi>i</mml:mi>
              <mml:mo>−</mml:mo>
              <mml:msub>
                <mml:mi>a</mml:mi>
                <mml:mn>3</mml:mn>
              </mml:msub>
              <mml:mi>j</mml:mi>
              <mml:mo>+</mml:mo>
              <mml:msub>
                <mml:mi>a</mml:mi>
                <mml:mn>2</mml:mn>
              </mml:msub>
              <mml:mi>k</mml:mi>
              <mml:mo>,</mml:mo>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>so the left product by <inline-formula><mml:math><mml:mi> i </mml:mi></mml:math></inline-formula> is the re-routing of <xref ref-type="fig" rid="fig8">Figure 8(c)</xref>. This, too, is wiring only, and the two hands are different wirings. Thus NOT, its square root and every product by a fixed basis unit cost no transistor at all.</p>
        <p>Each lane holds one component, −1, 0 or 1. A high <inline-formula><mml:math><mml:mi> P </mml:mi></mml:math></inline-formula> wire means +1, a high <inline-formula><mml:math><mml:mi> N </mml:mi></mml:math></inline-formula> wire means −1, and two low wires mean 0, the idle (spacer) state of dual-rail logic. A bus therefore holds the arrows whose components are −1, 0 or 1. These include the eight signed basis units and sums such as <inline-formula><mml:math><mml:mrow><mml:mn> 1 </mml:mn><mml:mo> + </mml:mo><mml:mi> i </mml:mi></mml:mrow></mml:math></inline-formula> . A product by a fixed basis unit, <inline-formula><mml:math><mml:mrow><mml:mo> ± </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:math></inline-formula> , <inline-formula><mml:math><mml:mrow><mml:mo> ± </mml:mo><mml:mi> i </mml:mi></mml:mrow></mml:math></inline-formula> , <inline-formula><mml:math><mml:mrow><mml:mo> ± </mml:mo><mml:mi> j </mml:mi></mml:mrow></mml:math></inline-formula> or <inline-formula><mml:math><mml:mrow><mml:mo> ± </mml:mo><mml:mi> k </mml:mi></mml:mrow></mml:math></inline-formula> , is a signed permutation of the lanes. Hence it is wiring, whatever the bus holds. By contrast, a product by a general unit, such</p>
        <p>as the Hurwitz unit <inline-formula><mml:math><mml:mrow><mml:mfrac><mml:mn> 1 </mml:mn><mml:mn> 2 </mml:mn></mml:mfrac><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mn> 1 </mml:mn><mml:mo> + </mml:mo><mml:mi> i </mml:mi><mml:mo> + </mml:mo><mml:mi> j </mml:mi><mml:mo> + </mml:mo><mml:mi> k </mml:mi></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> , mixes the lanes and needs adders. Arbitrary</p>
        <p>magnitudes need several bits per lane, for example a sign-magnitude word or Khmelnik’s code [<xref ref-type="bibr" rid="B36">36</xref>]. A product by a basis unit is then still a re-routing of the words, with their sign bits crossed.</p>
      </sec>
      <sec id="sec11dot2">
        <title>11.2. A Multiplier of Units</title>
        <p>A signed quaternion unit fits in three bits, the sign <inline-formula><mml:math><mml:mi> s </mml:mi></mml:math></inline-formula> and the label <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> x </mml:mi><mml:mn> 1 </mml:mn></mml:msub><mml:msub><mml:mi> x </mml:mi><mml:mn> 0 </mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> . The product of two units therefore has the label <inline-formula><mml:math><mml:mrow><mml:mi> x </mml:mi><mml:mo> ⊕ </mml:mo><mml:mi> y </mml:mi></mml:mrow></mml:math></inline-formula> , given by two XOR gates. Its sign is <inline-formula><mml:math><mml:mrow><mml:mi> s </mml:mi><mml:mo> ⊕ </mml:mo><mml:mi> t </mml:mi><mml:mo> ⊕ </mml:mo><mml:mi> β </mml:mi><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mi> x </mml:mi><mml:mo> , </mml:mo><mml:mi> y </mml:mi></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> , where </p>
        <disp-formula id="FD16">
          <label>(16)</label>
          <mml:math>
            <mml:mrow>
              <mml:mi>β</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:mi>x</mml:mi>
                  <mml:mo>,</mml:mo>
                  <mml:mi>y</mml:mi>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>=</mml:mo>
              <mml:msub>
                <mml:mi>x</mml:mi>
                <mml:mn>0</mml:mn>
              </mml:msub>
              <mml:msub>
                <mml:mi>y</mml:mi>
                <mml:mn>0</mml:mn>
              </mml:msub>
              <mml:mo>⊕</mml:mo>
              <mml:msub>
                <mml:mi>x</mml:mi>
                <mml:mn>1</mml:mn>
              </mml:msub>
              <mml:msub>
                <mml:mi>y</mml:mi>
                <mml:mn>0</mml:mn>
              </mml:msub>
              <mml:mo>⊕</mml:mo>
              <mml:msub>
                <mml:mi>x</mml:mi>
                <mml:mn>1</mml:mn>
              </mml:msub>
              <mml:msub>
                <mml:mi>y</mml:mi>
                <mml:mn>1</mml:mn>
              </mml:msub>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>is the shortest polynomial in the label bits that reproduces the sign table of <inline-formula><mml:math><mml:mi> ℍ </mml:mi></mml:math></inline-formula> . We found it by a search over all such polynomials. The whole multiplier thus takes about nine gates, six XOR and three AND. Its commutator is <inline-formula><mml:math><mml:mrow><mml:mi> β </mml:mi><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mi> x </mml:mi><mml:mo> , </mml:mo><mml:mi> y </mml:mi></mml:mrow><mml:mo> ) </mml:mo></mml:mrow><mml:mo> ⊕ </mml:mo><mml:mi> β </mml:mi><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mi> y </mml:mi><mml:mo> , </mml:mo><mml:mi> x </mml:mi></mml:mrow><mml:mo> ) </mml:mo></mml:mrow><mml:mo> = </mml:mo><mml:msub><mml:mi> x </mml:mi><mml:mn> 1 </mml:mn></mml:msub><mml:msub><mml:mi> y </mml:mi><mml:mn> 0 </mml:mn></mml:msub><mml:mo> ⊕ </mml:mo><mml:msub><mml:mi> x </mml:mi><mml:mn> 0 </mml:mn></mml:msub><mml:msub><mml:mi> y </mml:mi><mml:mn> 1 </mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> , the symplectic form of the Pauli table [<xref ref-type="bibr" rid="B28">28</xref>] [<xref ref-type="bibr" rid="B29">29</xref>]. In other words, it is Equation (11) in gates. For the octonions, the label has three bits, and the sign gains a cubic term [<xref ref-type="bibr" rid="B17">17</xref>]. This term is the source of Equation (13).</p>
      </sec>
      <sec id="sec11dot3">
        <title>11.3. The Toffoli Gate</title>
        <p>In the algebra, the Toffoli gate is four controlled stages on a quaternion bus, <inline-formula><mml:math><mml:mrow><mml:mo> × </mml:mo><mml:mtext>   </mml:mtext><mml:msup><mml:mi> i </mml:mi><mml:mi> a </mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> , <inline-formula><mml:math><mml:mrow><mml:mo> × </mml:mo><mml:mtext>   </mml:mtext><mml:msup><mml:mi> j </mml:mi><mml:mi> b </mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> , <inline-formula><mml:math><mml:mrow><mml:mo> × </mml:mo><mml:msup><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mo> − </mml:mo><mml:mi> i </mml:mi></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow><mml:mi> a </mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math><mml:mrow><mml:mo> × </mml:mo><mml:msup><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mo> − </mml:mo><mml:mi> j </mml:mi></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow><mml:mi> b </mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> . Each stage uses one bit to choose between the straight bus and the bus multiplied by a unit. Together, the stages multiply the bus by <inline-formula><mml:math><mml:mrow><mml:msup><mml:mi> B </mml:mi><mml:mrow><mml:mo> − </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:msup><mml:msup><mml:mi> A </mml:mi><mml:mrow><mml:mo> − </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:msup><mml:mi> B </mml:mi><mml:mi> A </mml:mi></mml:mrow></mml:math></inline-formula> . This product is <inline-formula><mml:math><mml:mrow><mml:mo> ± </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:math></inline-formula> , so it equals <inline-formula><mml:math><mml:mrow><mml:mi> A </mml:mi><mml:mi> B </mml:mi><mml:msup><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mi> B </mml:mi><mml:mi> A </mml:mi></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo> − </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:msup><mml:mo> = </mml:mo><mml:msup><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mo> − </mml:mo><mml:mn> 1 </mml:mn></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi> a </mml:mi><mml:mi> b </mml:mi></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> (<xref ref-type="fig" rid="fig9">Figure 9</xref>). When <inline-formula><mml:math><mml:mrow><mml:mi> a </mml:mi><mml:mo> = </mml:mo><mml:mi> b </mml:mi><mml:mo> = </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:math></inline-formula> , a target sign on the real lane travels <inline-formula><mml:math><mml:mrow><mml:mi> s </mml:mi><mml:mo> → </mml:mo><mml:mi> s </mml:mi><mml:mtext>   </mml:mtext><mml:mi> i </mml:mi><mml:mo> → </mml:mo><mml:mo> − </mml:mo><mml:mi> s </mml:mi><mml:mtext>   </mml:mtext><mml:mi> k </mml:mi><mml:mo> → </mml:mo><mml:mo> − </mml:mo><mml:mi> s </mml:mi><mml:mtext>   </mml:mtext><mml:mi> j </mml:mi><mml:mo> → </mml:mo><mml:mo> − </mml:mo><mml:mi> s </mml:mi></mml:mrow></mml:math></inline-formula> . Built literally, with transmission gates on all eight wires, the four stages would take 128 transistors. The multiplier of units, however, shows what they compute. For <inline-formula><mml:math><mml:mrow><mml:mi> A </mml:mi><mml:mo> = </mml:mo><mml:msup><mml:mi> i </mml:mi><mml:mi> a </mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> , with label <inline-formula><mml:math><mml:mrow><mml:mn> 0 </mml:mn><mml:mi> a </mml:mi></mml:mrow></mml:math></inline-formula> , and <inline-formula><mml:math><mml:mrow><mml:mi> B </mml:mi><mml:mo> = </mml:mo><mml:msup><mml:mi> j </mml:mi><mml:mi> b </mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> , with label <inline-formula><mml:math><mml:mrow><mml:mi> b </mml:mi><mml:mn> 0 </mml:mn></mml:mrow></mml:math></inline-formula> , the commutator sign <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> x </mml:mi><mml:mn> 1 </mml:mn></mml:msub><mml:msub><mml:mi> y </mml:mi><mml:mn> 0 </mml:mn></mml:msub><mml:mo> ⊕ </mml:mo><mml:msub><mml:mi> x </mml:mi><mml:mn> 0 </mml:mn></mml:msub><mml:msub><mml:mi> y </mml:mi><mml:mn> 1 </mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> is simply <inline-formula><mml:math><mml:mrow><mml:mi> a </mml:mi><mml:mi> b </mml:mi></mml:mrow></mml:math></inline-formula> . Therefore, in CMOS, the four stages collapse to one AND, which drives the crossing of the target pair (<xref ref-type="fig" rid="fig10">Figure 10</xref>). This takes a NAND, an inverter and four transmission gates, 14 transistors in all. It is the same circuit as a conventional CMOS gate for <inline-formula><mml:math><mml:mrow><mml:mi> c </mml:mi><mml:mo> ⊕ </mml:mo><mml:mi> a </mml:mi><mml:mi> b </mml:mi></mml:mrow></mml:math></inline-formula> with a dual-rail target. The circuit is logically reversible, since it is a one-to-one map of three bits. As static CMOS, however, it still dissipates energy at each transition. As a control, with both bits on the <inline-formula><mml:math><mml:mi> i </mml:mi></mml:math></inline-formula> axis, the commutator sign does not give the AND.</p>
        <fig id="fig9">
          <label>Figure 9</label>
          <caption>
            <p>The Toffoli gate in the algebra: four stages on a quaternion bus, each a switch between the straight bus and the bus multiplied by a unit; the target sign flips exactly when <inline-formula><mml:math><mml:mrow><mml:mi> a </mml:mi><mml:mo> = </mml:mo><mml:mi> b </mml:mi><mml:mo> = </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:math></inline-formula> .</p>
          </caption>
          <graphic xlink:href="https://html.scirp.org/file/1725011-rId498.jpeg?20261127030610" />
        </fig>
        <fig id="fig10">
          <label>Figure 10</label>
          <caption>
            <p>The CMOS Toffoli gate at transistor level. A NAND and an inverter form <inline-formula><mml:math><mml:mrow><mml:mi> a </mml:mi><mml:mi> b </mml:mi></mml:mrow></mml:math></inline-formula> and its complement; four transmission gates, each an n-type and a p-type transistor in parallel, cross the dual-rail target when <inline-formula><mml:math><mml:mrow><mml:mi> a </mml:mi><mml:mi> b </mml:mi><mml:mo> = </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:math></inline-formula> . Fourteen transistors.</p>
          </caption>
          <graphic xlink:href="https://html.scirp.org/file/1725011-rId501.jpeg?20261127030610" />
        </fig>
      </sec>
      <sec id="sec11dot4">
        <title>11.4. Majority through Zero</title>
        <p>The deciding gates of Section 6 need a threshold, and CMOS offers two cheap ones. In the first (<xref ref-type="fig" rid="fig11">Figure 11</xref>), three equal capacitors join at one node, the gate of a CMOS inverter. In this way they add the inputs [<xref ref-type="bibr" rid="B38">38</xref>]. We make the capacitors from transistors, the cheapest capacitors of any CMOS process. The gate of a transistor is one plate, and its channel is the other. A single n-type transistor, however, holds charge only when its gate is above the channel by a threshold. Therefore it responds to inputs that rise, and hardly to inputs that fall. For this reason we pair it with a p-type transistor in its own well, which holds charge when the gate falls. Together, the two respond in both directions.</p>
        <p>The circuit then works in two clock phases. The first phase prepares the zero. The inputs sit at half the supply, <inline-formula><mml:math display="inline"><mml:mrow><mml:mrow><mml:mrow><mml:msub><mml:mi> V </mml:mi><mml:mrow><mml:mi> D </mml:mi><mml:mi> D </mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo> / </mml:mo><mml:mn> 2 </mml:mn></mml:mrow></mml:mrow></mml:math></inline-formula> , which plays the part of zero. Meanwhile, a reset switch shorts the inverter’s output to its input, so the node settles at the inverter’s own switching point. In the next phase the inputs go to their bits. The node moves by an amount that grows with <inline-formula><mml:math><mml:mrow><mml:mi> a </mml:mi><mml:mo> + </mml:mo><mml:mi> b </mml:mi><mml:mo> + </mml:mo><mml:mi> c </mml:mi></mml:mrow></mml:math></inline-formula> , and the inverter reads its sign. This auto-zeroed comparator is standard in switched-capacitor CMOS [<xref ref-type="bibr" rid="B39">39</xref>]. Because it cancels the offset of the inverter, it widens the range of inverter thresholds over which the decision is correct (Section 11.6). Finally, a latch of two transmission gates and two inverters holds the result during the reset phase. With the third input tied low, the circuit gives AND, and with it tied high, OR. The inverted output gives NAND and NOR.</p>
        <p>The second threshold is the carry of a binary full adder, which is the majority of its three inputs. The CMOS mirror adder computes it with ten transistors and an inverter [<xref ref-type="bibr" rid="B37">37</xref>].</p>
        <fig id="fig11">
          <label>Figure 11</label>
          <caption>
            <p>Majority through zero in CMOS, at transistor level. In the reset phase <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> ϕ </mml:mi><mml:mn> 1 </mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> the plates sit at <inline-formula><mml:math><mml:mrow><mml:mfrac><mml:mn> 1 </mml:mn><mml:mn> 2 </mml:mn></mml:mfrac><mml:msub><mml:mi> V </mml:mi><mml:mrow><mml:mi> D </mml:mi><mml:mi> D </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and a transmission gate shorts the inverter, so the summing node <inline-formula><mml:math><mml:mi> x </mml:mi></mml:math></inline-formula> rests at the inverter’s own switching point, the zero. In the evaluate phase <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> ϕ </mml:mi><mml:mn> 2 </mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> the plates go to the bits, <inline-formula><mml:math><mml:mi> x </mml:mi></mml:math></inline-formula> steps by an amount proportional to <inline-formula><mml:math><mml:mrow><mml:mi> a </mml:mi><mml:mo> + </mml:mo><mml:mi> b </mml:mi><mml:mo> + </mml:mo><mml:mi> c </mml:mi></mml:mrow></mml:math></inline-formula> , and the inverter reads its sign.</p>
          </caption>
          <graphic xlink:href="https://html.scirp.org/file/1725011-rId510.jpeg?20261127030611" />
        </fig>
      </sec>
      <sec id="sec11dot5">
        <title>11.5. A Full Adder</title>
        <p>Little more is needed to add. Indeed, the two arrow operations together make an adder. A one-bit full adder adds three bits <inline-formula><mml:math><mml:mi> a </mml:mi></mml:math></inline-formula> , <inline-formula><mml:math><mml:mi> b </mml:mi></mml:math></inline-formula> , <inline-formula><mml:math><mml:mi> c </mml:mi></mml:math></inline-formula> into a sum bit and a carry bit, with <inline-formula><mml:math><mml:mrow><mml:mi> a </mml:mi><mml:mo> + </mml:mo><mml:mi> b </mml:mi><mml:mo> + </mml:mo><mml:mi> c </mml:mi><mml:mo> = </mml:mo><mml:mn> 2 </mml:mn><mml:mtext>   </mml:mtext><mml:mtext> carry </mml:mtext><mml:mo> + </mml:mo><mml:mtext> sum </mml:mtext></mml:mrow></mml:math></inline-formula> . Written as signs, the sum bit is the product of the three signs, and the carry is their majority:</p>
        <disp-formula id="FD17">
          <label>(17)</label>
          <mml:math>
            <mml:mrow>
              <mml:msup>
                <mml:mrow>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:mo>−</mml:mo>
                      <mml:mn>1</mml:mn>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                </mml:mrow>
                <mml:mrow>
                  <mml:mtext>sum</mml:mtext>
                </mml:mrow>
              </mml:msup>
              <mml:mo>=</mml:mo>
              <mml:msup>
                <mml:mrow>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:mo>−</mml:mo>
                      <mml:mn>1</mml:mn>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                </mml:mrow>
                <mml:mi>a</mml:mi>
              </mml:msup>
              <mml:msup>
                <mml:mrow>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:mo>−</mml:mo>
                      <mml:mn>1</mml:mn>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                </mml:mrow>
                <mml:mi>b</mml:mi>
              </mml:msup>
              <mml:msup>
                <mml:mrow>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:mo>−</mml:mo>
                      <mml:mn>1</mml:mn>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                </mml:mrow>
                <mml:mi>c</mml:mi>
              </mml:msup>
              <mml:mo>,</mml:mo>
              <mml:mtext>
                 
              </mml:mtext>
              <mml:mtext>
                 
              </mml:mtext>
              <mml:mtext>
                 
              </mml:mtext>
              <mml:mtext>carry</mml:mtext>
              <mml:mo>=</mml:mo>
              <mml:mtext>MAJ</mml:mtext>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:mi>a</mml:mi>
                  <mml:mo>,</mml:mo>
                  <mml:mi>b</mml:mi>
                  <mml:mo>,</mml:mo>
                  <mml:mi>c</mml:mi>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>.</mml:mo>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>Thus the product of arrows gives the sum, and the passage through zero gives the carry (<xref ref-type="fig" rid="fig12">Figure 12</xref>). In CMOS, the sum is two crossbars in series on the dual-rail <inline-formula><mml:math><mml:mi> c </mml:mi></mml:math></inline-formula> . It takes 22 transistors with the complements of the controls. The carry is the capacitor majority with its latch. It takes 26 transistors and three capacitor pairs, plus a shared reference at <inline-formula><mml:math display="inline"><mml:mrow><mml:mrow><mml:mrow><mml:msub><mml:mi> V </mml:mi><mml:mrow><mml:mi> D </mml:mi><mml:mi> D </mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo> / </mml:mo><mml:mn> 2 </mml:mn></mml:mrow></mml:mrow></mml:math></inline-formula> . This is larger than the 28-transistor mirror adder of standard CMOS [<xref ref-type="bibr" rid="B37">37</xref>]. With the mirror carry in place of the capacitors, it takes 34. The interest of this adder, therefore, lies in its form rather than its size. Its two outputs are the two arrow operations. Shannon, too, built a binary adder, from relays, in the work that founded switching algebra [<xref ref-type="bibr" rid="B7">7</xref>].</p>
        <fig id="fig12">
          <label>Figure 12</label>
          <caption>
            <p>A full adder from the arrows. The sum is the product of the three signs: two crossbars act on the dual-rail <inline-formula><mml:math><mml:mi> c </mml:mi></mml:math></inline-formula> . The carry is the majority through zero: three CMOS capacitors onto an auto-zeroed inverter, held by a latch.</p>
          </caption>
          <graphic xlink:href="https://html.scirp.org/file/1725011-rId536.jpeg?20261127030611" />
        </fig>
      </sec>
      <sec id="sec11dot6">
        <title>11.6. SPICE Simulation</title>
        <p>To see the circuits work as circuits, we simulated them with ngspice [<xref ref-type="bibr" rid="B40">40</xref>]. We used the BSIM3v3 model cards of a 0.35 μm, 3.3 V CMOS process that come with ngspice. This is a mature and inexpensive technology. All switching transistors have the minimum length, 0.35 μm, while the capacitor transistors are 5 μm long. Every check is made at the end of each input’s time slot, with a control that must fail. <bold>Table 2</bold> collects the results.</p>
        <p><bold>Table 2.</bold> SPICE results, 0.35 μm CMOS, 3.3 V, ngspice with BSIM3v3 model cards.</p>
        <table-wrap id="tbl2">
          <label>Table 2</label>
          <table>
            <tbody>
              <tr>
                <td>Circuit</td>
                <td>Transistors</td>
                <td>Result</td>
              </tr>
              <tr>
                <td>Toffoli gate</td>
                <td>14 (+buffers)</td>
                <td>Correct on all 8 inputs; a second gate restores the input; delay about 160 ps (conditions in the text)</td>
              </tr>
              <tr>
                <td>Capacitor majority</td>
                <td>3 CMOS capacitor pairs, 7 TGs, 2 inverters, latch</td>
                <td>
                  All 8 inputs for switching points 1.29 - 2.14 V; precharged to
                  <inline-formula>
                    <mml:math display="inline">
                      <mml:mrow>
                        <mml:mrow>
                          <mml:mrow>
                            <mml:msub>
                              <mml:mi>V</mml:mi>
                              <mml:mrow>
                                <mml:mi>D</mml:mi>
                                <mml:mi>D</mml:mi>
                              </mml:mrow>
                            </mml:msub>
                          </mml:mrow>
                          <mml:mo>/</mml:mo>
                          <mml:mn>2</mml:mn>
                        </mml:mrow>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                  : only at 1.64 V; single n-type capacitor: 5 of 8
                </td>
              </tr>
              <tr>
                <td>Two-input sum</td>
                <td>2 capacitor pairs</td>
                <td>Mixed inputs: node step 86 mV, near the zero</td>
              </tr>
              <tr>
                <td>Full adder</td>
                <td>22 (sum) + 26 and 3 pairs (carry), + buffers</td>
                <td>
                  <inline-formula>
                    <mml:math>
                      <mml:mrow>
                        <mml:mn>2</mml:mn>
                        <mml:mtext>
                           
                        </mml:mtext>
                        <mml:mtext>carry</mml:mtext>
                        <mml:mo>+</mml:mo>
                        <mml:mtext>sum</mml:mtext>
                        <mml:mo>=</mml:mo>
                        <mml:mi>a</mml:mi>
                        <mml:mo>+</mml:mo>
                        <mml:mi>b</mml:mi>
                        <mml:mo>+</mml:mo>
                        <mml:mi>c</mml:mi>
                      </mml:mrow>
                    </mml:math>
                  </inline-formula>
                  on all 8 inputs
                </td>
              </tr>
              <tr>
                <td>Mirror-adder carry</td>
                <td>10 + 2</td>
                <td>Majority on all 8 inputs</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>First, <xref ref-type="fig" rid="fig13">Figure 13</xref> shows two Toffoli gates in series, driven through all eight inputs. The target flips exactly in the two slots where <inline-formula><mml:math><mml:mrow><mml:mi> a </mml:mi><mml:mo> = </mml:mo><mml:mi> b </mml:mi><mml:mo> = </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:math></inline-formula> . The second gate then restores it, as a reversible gate must. The delay from the target to the output is about 160 ps.</p>
        <p>This delay holds under the following conditions. The model cards are modelcard.nmos and modelcard.pmos of the ngspice-42 distribution, BSIM3v3, level 8, version 3.3.0, used unchanged. The temperature is 27˚C, which is the ngspice default and the nominal temperature of the cards. In the inverters and the transmission gates, the n-type transistors are 1 μm wide and the p-type transistors 2 μm wide. All four transistors of the NAND are 2 μm wide. The inputs are ideal sources with 0.2 ns rise and fall times. Each output rail is restored by a buffer of two such inverters. The only load of this buffer is the transmission gates of the second Toffoli gate. The delay is measured from the <inline-formula><mml:math display="inline"><mml:mrow><mml:mrow><mml:mrow><mml:msub><mml:mi> V </mml:mi><mml:mrow><mml:mi> D </mml:mi><mml:mi> D </mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo> / </mml:mo><mml:mn> 2 </mml:mn></mml:mrow></mml:mrow></mml:math></inline-formula> crossing of the rising target input <inline-formula><mml:math><mml:mi> c </mml:mi></mml:math></inline-formula> to the <inline-formula><mml:math display="inline"><mml:mrow><mml:mrow><mml:mrow><mml:msub><mml:mi> V </mml:mi><mml:mrow><mml:mi> D </mml:mi><mml:mi> D </mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo> / </mml:mo><mml:mn> 2 </mml:mn></mml:mrow></mml:mrow></mml:math></inline-formula> crossing of the falling output rail <inline-formula><mml:math><mml:mi> N </mml:mi></mml:math></inline-formula> . This transition occurs for the input <inline-formula><mml:math><mml:mrow><mml:mi> a </mml:mi><mml:mo> = </mml:mo><mml:mi> b </mml:mi><mml:mo> = </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:math></inline-formula> , at <inline-formula><mml:math><mml:mrow><mml:mi> t </mml:mi><mml:mo> = </mml:mo><mml:mn> 140 </mml:mn></mml:mrow></mml:math></inline-formula> ns. It is a single transition, and its path runs through the input buffer that forms the dual-rail target, the crossbar and the output buffer.</p>
        <fig id="fig13">
          <label>Figure 13</label>
          <caption>
            <p>SPICE simulation of the CMOS Toffoli gate (<xref ref-type="fig" rid="fig10">Figure 10</xref>), 0.35 μm, 3.3 V. Each 20 ns slot is one input <inline-formula><mml:math><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mi> a </mml:mi><mml:mo> , </mml:mo><mml:mi> b </mml:mi><mml:mo> , </mml:mo><mml:mi> c </mml:mi></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> ; shown is the <inline-formula><mml:math><mml:mi> N </mml:mi></mml:math></inline-formula> rail of the dual-rail target. After one gate the target flips where <inline-formula><mml:math><mml:mrow><mml:mi> a </mml:mi><mml:mo> = </mml:mo><mml:mi> b </mml:mi><mml:mo> = </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:math></inline-formula> (shaded); after two gates it is restored.</p>
          </caption>
          <graphic xlink:href="https://html.scirp.org/file/1725011-rId555.jpeg?20261127030612" />
        </fig>
        <p>Next, <xref ref-type="fig" rid="fig14">Figure 14</xref> shows the capacitor majority with CMOS capacitors. Each capacitor is an n-type transistor (1.8 × 5 μm) beside a p-type transistor (5 × 5 μm). To test the auto-zero step, we gave the comparator inverter five switching points, from 0.99 to 2.35 V, by sizing its transistors. With the auto-zero step, the circuit decides all eight inputs correctly at every tested switching point from 1.29 to 2.14 V. It fails at 0.99 and 2.35 V. The window therefore extends at least 0.36 V below and 0.49 V above <inline-formula><mml:math display="inline"><mml:mrow><mml:mrow><mml:mrow><mml:msub><mml:mi> V </mml:mi><mml:mrow><mml:mi> D </mml:mi><mml:mi> D </mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo> / </mml:mo><mml:mn> 2 </mml:mn></mml:mrow></mml:mrow></mml:math></inline-formula> . Precharging the node to <inline-formula><mml:math display="inline"><mml:mrow><mml:mrow><mml:mrow><mml:msub><mml:mi> V </mml:mi><mml:mrow><mml:mi> D </mml:mi><mml:mi> D </mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo> / </mml:mo><mml:mn> 2 </mml:mn></mml:mrow></mml:mrow></mml:math></inline-formula> instead succeeds only at the centre, 1.64 V, among the points tested. As a control, a single n-type capacitor fails, deciding only five of the eight inputs correctly, as its one-sided response predicts. With three inputs, every step of the node is at least 0.289 V. With two inputs alone, by contrast, the mixed cases step by only 86 mV, near the zero. There the small asymmetry of the capacitors, rather than the inputs, would decide them. Finally, the mirror-adder carry gives the majority on all eight inputs.</p>
        <fig id="fig14">
          <label>Figure 14</label>
          <caption>
            <p>SPICE simulation of the capacitor majority with CMOS capacitors (<xref ref-type="fig" rid="fig11">Figure 11</xref>). (a) The summing node for comparator inverters with switching points 1.29, 1.64 and 2.14 V (dotted): in each 40 ns slot the node rests at the inverter’s own zero during reset and then steps with <inline-formula><mml:math><mml:mrow><mml:mi> a </mml:mi><mml:mo> + </mml:mo><mml:mi> b </mml:mi><mml:mo> + </mml:mo><mml:mi> c </mml:mi></mml:mrow></mml:math></inline-formula> . (b) Inputs decided correctly: with the auto-zero step, all eight from 1.29 to 2.14 V; with the node precharged to <inline-formula><mml:math display="inline"><mml:mrow><mml:mrow><mml:mrow><mml:msub><mml:mi> V </mml:mi><mml:mrow><mml:mi> D </mml:mi><mml:mi> D </mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo> / </mml:mo><mml:mn> 2 </mml:mn></mml:mrow></mml:mrow></mml:math></inline-formula> , only at the centre.</p>
          </caption>
          <graphic xlink:href="https://html.scirp.org/file/1725011-rId564.jpeg?20261127030611" />
        </fig>
        <p><xref ref-type="fig" rid="fig15">Figure 15</xref> shows the full adder of Equation (17). On all eight inputs, <inline-formula><mml:math><mml:mrow><mml:mn> 2 </mml:mn><mml:mtext>   </mml:mtext><mml:mtext> carry </mml:mtext><mml:mo> + </mml:mo><mml:mtext> sum </mml:mtext><mml:mo> = </mml:mo><mml:mi> a </mml:mi><mml:mo> + </mml:mo><mml:mi> b </mml:mi><mml:mo> + </mml:mo><mml:mi> c </mml:mi></mml:mrow></mml:math></inline-formula> . The sum follows the inputs at once, whereas the carry is updated once per clock period, at the start of each evaluation.</p>
        <fig id="fig15">
          <label>Figure 15</label>
          <caption>
            <p>SPICE simulation of the full adder (<xref ref-type="fig" rid="fig12">Figure 12</xref>), 0.35 μm CMOS. One input <inline-formula><mml:math><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mi> a </mml:mi><mml:mo> , </mml:mo><mml:mi> b </mml:mi><mml:mo> , </mml:mo><mml:mi> c </mml:mi></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> per 40 ns slot; the count <inline-formula><mml:math><mml:mrow><mml:mi> a </mml:mi><mml:mo> + </mml:mo><mml:mi> b </mml:mi><mml:mo> + </mml:mo><mml:mi> c </mml:mi></mml:mrow></mml:math></inline-formula> is printed above the sum. The sum is the product of the three signs; the carry, the majority through zero, is updated at each evaluation and held by the latch.</p>
          </caption>
          <graphic xlink:href="https://html.scirp.org/file/1725011-rId570.jpeg?20261127030611" />
        </fig>
        <p>Two limits should be stated. First, the CMOS capacitors vary with voltage, and this is why the window of switching points is finite. Linear capacitors, the poly-poly or metal capacitors of a mixed-signal process, would widen it at a higher cost. Second, the summing node floats. During evaluation it may therefore move beyond the supply rails, as <xref ref-type="fig" rid="fig14">Figure 14(a)</xref> shows. Our netlists give no junction areas at the switch terminals. In silicon, those junctions, together with the well of the p-type capacitors, would limit this swing. The largest swings, however, belong to the unanimous inputs, far from the threshold.</p>
        <p>In conclusion, the arrow gates are cheap in standard CMOS. NOT and every product by a fixed basis unit are wiring, and XOR is four transmission gates. The Toffoli gate collapses, through the commutator sign, to fourteen transistors. Majority takes three CMOS capacitors and an inverter, or a full-adder carry. Together, the two arrow operations make a full adder. SPICE simulations of a 0.35 μm process confirm every truth table.</p>
      </sec>
    </sec>
    <sec id="sec12">
      <title>12. Verification of the Results</title>
      <p>Every new statement of this paper is checked by a script written in Julia [<xref ref-type="bibr" rid="B41">41</xref>]. The arithmetic is exact and rational, except for the length along the rotation path. Standard results, such as Hurwitz’s theorem and the Gottesman-Knill theorem, are cited instead. The circuits of Section 11 are checked by a second script, in Python, at the level of switches, and also by SPICE (<bold>Table 2</bold>). Moreover, each check is paired with a control, a nearby case that must fail, so that a check cannot pass by accident. <bold>Table 3</bold> lists them. All 59 tests of the sets in the table pass, and so do all checks of the second script. Sets 8 and 9 of the first script, on positional codes, belong to the separate paper.</p>
      <p><bold>Table 3</bold><bold>.</bold> The checks: each statement with its control. Exact rational arithmetic, except the length along the rotation path.</p>
      <table-wrap id="tbl3">
        <label>Table 3</label>
        <table>
          <tbody>
            <tr>
              <td>Set</td>
              <td>Statement</td>
              <td>Control (must fail)</td>
            </tr>
            <tr>
              <td>1</td>
              <td>
                Units multiply as XOR with a sign,
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:mi>N</mml:mi>
                      <mml:mo>=</mml:mo>
                      <mml:mn>2</mml:mn>
                      <mml:mo>,</mml:mo>
                      <mml:mo>⋯</mml:mo>
                      <mml:mo>,</mml:mo>
                      <mml:mn>16</mml:mn>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
                ;
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:mrow>
                        <mml:mrow>
                          <mml:mrow>
                            <mml:mo>(</mml:mo>
                            <mml:mrow>
                              <mml:msup>
                                <mml:mi>N</mml:mi>
                                <mml:mn>2</mml:mn>
                              </mml:msup>
                              <mml:mo>−</mml:mo>
                              <mml:mi>N</mml:mi>
                            </mml:mrow>
                            <mml:mo>)</mml:mo>
                          </mml:mrow>
                        </mml:mrow>
                        <mml:mo>/</mml:mo>
                        <mml:mn>2</mml:mn>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
                minus signs
              </td>
              <td>
                Addition modulo
                <inline-formula>
                  <mml:math>
                    <mml:mi>N</mml:mi>
                  </mml:math>
                </inline-formula>
              </td>
            </tr>
            <tr>
              <td>2</td>
              <td>
                Half turn is NOT, length 1 throughout; the straight path passes through zero;
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:mover accent="true">
                        <mml:mi>u</mml:mi>
                        <mml:mo>→</mml:mo>
                      </mml:mover>
                      <mml:mtext>
                         
                      </mml:mtext>
                      <mml:mover accent="true">
                        <mml:mi>u</mml:mi>
                        <mml:mo>→</mml:mo>
                      </mml:mover>
                      <mml:mo>=</mml:mo>
                      <mml:mo>−</mml:mo>
                      <mml:mn>1</mml:mn>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
              </td>
              <td>The rotation through zero; an eighth turn squared as NOT</td>
            </tr>
            <tr>
              <td>3</td>
              <td>The 24 Hurwitz units form a group</td>
              <td>
                Adding
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:mn>1</mml:mn>
                      <mml:mo>+</mml:mo>
                      <mml:mi>i</mml:mi>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
              </td>
            </tr>
            <tr>
              <td>4</td>
              <td>
                Lengths multiply for
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:mi>N</mml:mi>
                      <mml:mo>=</mml:mo>
                      <mml:mn>2</mml:mn>
                      <mml:mo>,</mml:mo>
                      <mml:mn>4</mml:mn>
                      <mml:mo>,</mml:mo>
                      <mml:mn>8</mml:mn>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
                ; zero divisors and unit products for
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:mi>N</mml:mi>
                      <mml:mo>=</mml:mo>
                      <mml:mn>16</mml:mn>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
              </td>
              <td>
                Lengths multiplying for
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:mi>N</mml:mi>
                      <mml:mo>=</mml:mo>
                      <mml:mn>16</mml:mn>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
              </td>
            </tr>
            <tr>
              <td>5</td>
              <td>Quaternion matrices associate</td>
              <td>Commuting; octonion matrices associating</td>
            </tr>
            <tr>
              <td>6</td>
              <td>
                Spinor −1 after one turn, 1 after two; hidden sign; spin flip by
                <inline-formula>
                  <mml:math>
                    <mml:mi>i</mml:mi>
                  </mml:math>
                </inline-formula>
                ; two hands commute
              </td>
              <td>
                The spinor home after one turn;
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:mi>a</mml:mi>
                      <mml:mi>x</mml:mi>
                      <mml:mo>=</mml:mo>
                      <mml:mi>x</mml:mi>
                      <mml:mi>a</mml:mi>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
              </td>
            </tr>
            <tr>
              <td>7</td>
              <td>Product is XOR; majority gives AND, OR, NAND; Equation (10); 1344 symmetries, 168 linear label maps, CNOT, SWAP</td>
              <td>Two inputs deciding; product as AND; Toffoli as a symmetry</td>
            </tr>
            <tr>
              <td>10</td>
              <td>Equations (11), (12), (13); the 343 triples</td>
              <td>
                Same axis;
                <inline-formula>
                  <mml:math>
                    <mml:mi>ℂ</mml:mi>
                  </mml:math>
                </inline-formula>
                ;
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>e</mml:mi>
                        <mml:mn>1</mml:mn>
                      </mml:msub>
                      <mml:mo>,</mml:mo>
                      <mml:msub>
                        <mml:mi>e</mml:mi>
                        <mml:mn>2</mml:mn>
                      </mml:msub>
                      <mml:mo>,</mml:mo>
                      <mml:msub>
                        <mml:mi>e</mml:mi>
                        <mml:mn>3</mml:mn>
                      </mml:msub>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
              </td>
            </tr>
            <tr>
              <td>C</td>
              <td>
                Fixed units are signed lane permutations, Equation (15); the four-stage Toffoli and its 14-transistor CMOS form; the crossbar XOR; Equation (16); capacitive MAJ, AND, OR, NAND; with ideal linear capacitors, auto-zeroed for any inverter threshold (tested at
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:mfrac>
                        <mml:mn>1</mml:mn>
                        <mml:mn>4</mml:mn>
                      </mml:mfrac>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
                ,
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:mfrac>
                        <mml:mn>1</mml:mn>
                        <mml:mn>2</mml:mn>
                      </mml:mfrac>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
                ,
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:mfrac>
                        <mml:mn>3</mml:mn>
                        <mml:mn>4</mml:mn>
                      </mml:mfrac>
                      <mml:mo>
                      </mml:mo>
                      <mml:msub>
                        <mml:mi>V</mml:mi>
                        <mml:mrow>
                          <mml:mi>D</mml:mi>
                          <mml:mi>D</mml:mi>
                        </mml:mrow>
                      </mml:msub>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
                ); with CMOS capacitors in SPICE, the window 1.29 - 2.14 V of
                <bold>Table 2</bold>
              </td>
              <td>Left equal to right; stages on one axis; crossbar as AND; a trivial sign; two capacitors deciding; an offset without auto-zero</td>
            </tr>
          </tbody>
        </table>
      </table-wrap>
    </sec>
    <sec id="sec13">
      <title>13. Conclusions</title>
      <p>We asked whether a Boolean algebra can be built on the Euclidean mathematics of arrows, and what each arrow system adds. The sign identities we use are known in the algebra of the Cayley-Dickson systems [<xref ref-type="bibr" rid="B17">17</xref>] [<xref ref-type="bibr" rid="B18">18</xref>]. Their reading as gates, and their realization in CMOS, are the contribution of this paper. The seven problems of the Introduction are resolved as follows. </p>
      <p>1) <bold>Bits in arrows.</bold> Written as signs, bits multiply as XOR. Moreover, when they are labelled by bit strings, the basis units of <inline-formula><mml:math><mml:mi> ℂ </mml:mi></mml:math></inline-formula> , <inline-formula><mml:math><mml:mi> ℍ </mml:mi></mml:math></inline-formula> and <inline-formula><mml:math><mml:mi mathvariant="double-struck"> O </mml:mi></mml:math></inline-formula> multiply as XOR up to a sign. This rule survives in every higher dimension. </p>
      <p>2) <bold>NOT and its square root.</bold> A half turn is a reversible NOT. The straight path passes through zero, the zero crossing, where a threshold sits. Both inverters are one-to-one. The square root of NOT is simply the unit imaginary vector. </p>
      <p>3) <bold>AND by deciding.</bold> Through zero, the sign of a sum of three inputs gives the majority gate. Consequently, AND, OR and NAND follow, and with them all of Boolean logic. </p>
      <p>4) <bold>AND without loss.</bold> The symmetries of the octonions give CNOT and SWAP but no AND. The order of a quaternion product, however, gives the AND of two bits. It therefore gives the Toffoli gate, which is universal for reversible logic. Likewise, the grouping of an octonion product gives the AND of three bits. </p>
      <p>5) <bold>The ladder.</bold> Each doubling, <inline-formula><mml:math><mml:mrow><mml:mi> ℂ </mml:mi><mml:mo> → </mml:mo><mml:mi> ℍ </mml:mi><mml:mo> → </mml:mo><mml:mi mathvariant="double-struck"> O </mml:mi></mml:mrow></mml:math></inline-formula> , gives up a rule of arithmetic. The quotient that measures the lost rule carries one more degree of AND. </p>
      <p>6) <bold>The quantum edge.</bold> The quaternion units are Pauli’s gates, and the arrows hold the single-spin Clifford gates exactly. The T gate is a unit quaternion too, outside the finite Clifford set. However, following many entangled spins remains a separate open problem. </p>
      <p>7) <bold>Cheap hardware.</bold> In standard CMOS, NOT and every product by a fixed basis unit are wiring, and XOR is four transmission gates. The Toffoli gate takes fourteen transistors, and majority takes three CMOS capacitors and an inverter. Together, the product and the zero crossing make a full adder. SPICE simulations of a 0.35 μm process confirm every truth table. </p>
      <p>Overall, the arrows give two kinds of logic. The products of arrows are reversible. NOT, its square root, XOR, the linear gates, the Toffoli gate and the AND of three can all be undone, since every arrow except zero can be divided. The deciding gates through zero, by contrast, are not reversible. Majority, and the AND, OR and NAND built from it, lose information about their inputs, and so does the full adder through its carry, although a reversible majority can be built from the Toffoli gate. Therefore only the deciding gates owe energy under Landauer’s principle, although our static CMOS circuits still dissipate at each transition.</p>
      <p>Two questions remain open. First, do the sixteen-component quasi-arrows give the AND of four? Second, how close can a physical zero-crossing majority come to the dissipation that Landauer’s principle requires of its many-to-one map [<xref ref-type="bibr" rid="B19">19</xref>] [<xref ref-type="bibr" rid="B42">42</xref>]?</p>
    </sec>
    <sec id="sec14">
      <title>Data Availability</title>
      <p>The check scripts (Julia for the algebra, Python for the circuits) and the SPICE netlists are archived at Zenodo, <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5281/zenodo.23301436">https://doi.org/10.5281/zenodo.23301436</ext-link>, and are available from the author on request.</p>
    </sec>
    <sec id="sec15">
      <title>Declaration of Generative AI Use</title>
      <p>The author derived the results and prepared the draft of the manuscript. The author also directed the preparation of the final manuscript and takes full responsibility for the work. During its preparation the author used Claude Opus 5.5 (Anthropic) to assist with symbolic and numerical verification, the literature search, revision of the text for clarity, and preparation of the text and figures using LaTeX. The author obtained an independent critical review of the manuscript from DeepSeek V4.1 Flash (DeepSeek), run through the Hermes Agent. All AI-assisted output was reviewed and verified by the author, who is accountable for the accuracy and integrity of the manuscript.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <title>References</title>
      <ref id="B1">
        <label>1.</label>
        <citation-alternatives>
          <mixed-citation publication-type="book">Nielsen, M.A. and Chuang, I.L. (2010) Quantum Computation and Quantum Information. 10th Anniversary Edition, Cambridge University Press. https://doi.org/10.1017/CBO9780511976667 <pub-id pub-id-type="doi">10.1017/CBO9780511976667</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1017/CBO9780511976667">https://doi.org/10.1017/CBO9780511976667</ext-link></mixed-citation>
          <element-citation publication-type="book">
            <person-group person-group-type="author">
              <string-name>Nielsen, M.A.</string-name>
              <string-name>Chuang, I.L.</string-name>
              <string-name>Edition, C</string-name>
            </person-group>
            <year>2010</year>
            <article-title>Quantum Computation and Quantum Information</article-title>
            <source>10th Anniversary Edition</source>
            <pub-id pub-id-type="doi">10.1017/CBO9780511976667</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B2">
        <label>2.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Ariel, V. (2026) Euclidean Arrows: Algebra, Geometry and Calculus. Submitted to Journal of Modern Physics. Preprint, Zenodo. https://doi.org/10.5281/zenodo.23003330 <pub-id pub-id-type="doi">10.5281/zenodo.23003330</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5281/zenodo.23003330">https://doi.org/10.5281/zenodo.23003330</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Ariel, V.</string-name>
              <string-name>Algebra, G</string-name>
              <string-name>Preprint, Z</string-name>
            </person-group>
            <year>2026</year>
            <article-title>Euclidean Arrows: Algebra, Geometry and Calculus</article-title>
            <source>Submitted to Journal of Modern Physics. Preprint</source>
            <pub-id pub-id-type="doi">10.5281/zenodo.23003330</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B3">
        <label>3.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Schrödinger, E. (1926) Quantisierung als Eigenwertproblem (Vierte Mitteilung). <italic>Annalen der Physik</italic>, 386, 109-139. https://doi.org/10.1002/andp.19263861802 <pub-id pub-id-type="doi">10.1002/andp.19263861802</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1002/andp.19263861802">https://doi.org/10.1002/andp.19263861802</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <year>1926</year>
            <article-title>Quantisierung als Eigenwertproblem (Vierte Mitteilung)</article-title>
            <source>Annalen der Physik</source>
            <volume>386</volume>
            <pub-id pub-id-type="doi">10.1002/andp.19263861802</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B4">
        <label>4.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Pauli, W. (1927) Zur Quantenmechanik des magnetischen Elektrons. <italic>Zeitschrift für Physik</italic>, 43, 601-623. https://doi.org/10.1007/bf01397326 <pub-id pub-id-type="doi">10.1007/bf01397326</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/bf01397326">https://doi.org/10.1007/bf01397326</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Pauli, W.</string-name>
            </person-group>
            <year>1927</year>
            <article-title>Zur Quantenmechanik des magnetischen Elektrons</article-title>
            <source>Zeitschrift für Physik</source>
            <volume>43</volume>
            <pub-id pub-id-type="doi">10.1007/bf01397326</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B5">
        <label>5.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Dirac, P.A.M. (1928) The Quantum Theory of the Electron. <italic>Proceedings of the Royal Society of London</italic>. <italic>Series A</italic>, <italic>Containing Papers of a Mathematical and Physical Character</italic>, 117, 610-624. https://doi.org/10.1098/rspa.1928.0023 <pub-id pub-id-type="doi">10.1098/rspa.1928.0023</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1098/rspa.1928.0023">https://doi.org/10.1098/rspa.1928.0023</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Dirac, P.A.M.</string-name>
            </person-group>
            <year>1928</year>
            <article-title>The Quantum Theory of the Electron</article-title>
            <source>Proceedings of the Royal Society of London. Series A</source>
            <volume>117</volume>
            <pub-id pub-id-type="doi">10.1098/rspa.1928.0023</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B6">
        <label>6.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Boole, G. (1854) An Investigation of the Laws of Thought. Walton and Maberly.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Boole, G.</string-name>
            </person-group>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B7">
        <label>7.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Shannon, C.E. (1938) A Symbolic Analysis of Relay and Switching Circuits. <italic>Transactions of the American Institute of Electrical Engineers</italic>, 57, 713-723. https://doi.org/10.1109/t-aiee.1938.5057767 <pub-id pub-id-type="doi">10.1109/t-aiee.1938.5057767</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/t-aiee.1938.5057767">https://doi.org/10.1109/t-aiee.1938.5057767</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Shannon, C.E.</string-name>
            </person-group>
            <year>1938</year>
            <article-title>A Symbolic Analysis of Relay and Switching Circuits</article-title>
            <source>Transactions of the American Institute of Electrical Engineers</source>
            <volume>57</volume>
            <pub-id pub-id-type="doi">10.1109/t-aiee.1938.5057767</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B8">
        <label>8.</label>
        <citation-alternatives>
          <mixed-citation publication-type="web">Ariel, V. (2012) Anisotropic Effective Mass. https://arxiv.org/abs/1208.2876</mixed-citation>
          <element-citation publication-type="web">
            <person-group person-group-type="author">
              <string-name>Ariel, V.</string-name>
            </person-group>
            <year>2012</year>
            <article-title>Anisotropic Effective Mass</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B9">
        <label>9.</label>
        <citation-alternatives>
          <mixed-citation publication-type="web">Ariel, V. (2017) Quaternion Time, Mass, and Particle Velocity. https://arxiv.org/abs/1706.04837</mixed-citation>
          <element-citation publication-type="web">
            <person-group person-group-type="author">
              <string-name>Ariel, V.</string-name>
              <string-name>Time, M</string-name>
            </person-group>
            <year>2017</year>
            <article-title>Quaternion Time, Mass, and Particle Velocity</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B10">
        <label>10.</label>
        <citation-alternatives>
          <mixed-citation publication-type="web">Ariel, V. (2018) The Real Quaternion Relativity. https://arxiv.org/abs/1801.03393</mixed-citation>
          <element-citation publication-type="web">
            <person-group person-group-type="author">
              <string-name>Ariel, V.</string-name>
            </person-group>
            <year>2018</year>
            <article-title>The Real Quaternion Relativity</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B11">
        <label>11.</label>
        <citation-alternatives>
          <mixed-citation publication-type="web">Ariel, V. (2021) Quaternion Space-Time and Matter. https://arxiv.org/abs/2106.06394</mixed-citation>
          <element-citation publication-type="web">
            <person-group person-group-type="author">
              <string-name>Ariel, V.</string-name>
            </person-group>
            <year>2021</year>
            <article-title>Quaternion Space-Time and Matter</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B12">
        <label>12.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Ariel, V. (2023) Elements of Time. <italic>Journal of Modern Physics</italic>, 14, 1537-1561. https://doi.org/10.4236/jmp.2023.1411089 <pub-id pub-id-type="doi">10.4236/jmp.2023.1411089</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.4236/jmp.2023.1411089">https://doi.org/10.4236/jmp.2023.1411089</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Ariel, V.</string-name>
            </person-group>
            <year>2023</year>
            <article-title>Elements of Time</article-title>
            <source>Journal of Modern Physics</source>
            <volume>14</volume>
            <pub-id pub-id-type="doi">10.4236/jmp.2023.1411089</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B13">
        <label>13.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Ariel, V. (2024) Elements of Electromagnetic Matter. <italic>Journal of Modern Physics</italic>, 15, 250-270. https://doi.org/10.4236/jmp.2024.153013 <pub-id pub-id-type="doi">10.4236/jmp.2024.153013</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.4236/jmp.2024.153013">https://doi.org/10.4236/jmp.2024.153013</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Ariel, V.</string-name>
            </person-group>
            <year>2024</year>
            <article-title>Elements of Electromagnetic Matter</article-title>
            <source>Journal of Modern Physics</source>
            <volume>15</volume>
            <pub-id pub-id-type="doi">10.4236/jmp.2024.153013</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B14">
        <label>14.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Ariel, V. (2026) Arrow of Time: Arrowtime Mathematics, Entropy and Relativity. Submitted to Journal of Modern Physics. Preprint, Zenodo. https://doi.org/10.5281/zenodo.23092566 <pub-id pub-id-type="doi">10.5281/zenodo.23092566</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5281/zenodo.23092566">https://doi.org/10.5281/zenodo.23092566</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Ariel, V.</string-name>
              <string-name>Mathematics, E</string-name>
              <string-name>Preprint, Z</string-name>
            </person-group>
            <year>2026</year>
            <article-title>Arrow of Time: Arrowtime Mathematics, Entropy and Relativity</article-title>
            <source>Submitted to Journal of Modern Physics. Preprint</source>
            <pub-id pub-id-type="doi">10.5281/zenodo.23092566</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B15">
        <label>15.</label>
        <citation-alternatives>
          <mixed-citation publication-type="book">O’Donnell, R. (2014) Analysis of Boolean Functions. Cambridge University Press. https://doi.org/10.1017/CBO9781139814782 <pub-id pub-id-type="doi">10.1017/CBO9781139814782</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1017/CBO9781139814782">https://doi.org/10.1017/CBO9781139814782</ext-link></mixed-citation>
          <element-citation publication-type="book">
            <person-group person-group-type="author">
              <string-name>Donnell, R.</string-name>
            </person-group>
            <year>2014</year>
            <article-title>Analysis of Boolean Functions</article-title>
            <pub-id pub-id-type="doi">10.1017/CBO9781139814782</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B16">
        <label>16.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Baez, J.C. (2002) The Octonions. <italic>Bulletin of the American Mathematical Society</italic>, 39, 145-205. https://doi.org/10.1090/s0273-0979-01-00934-x <pub-id pub-id-type="doi">10.1090/s0273-0979-01-00934-x</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1090/s0273-0979-01-00934-x">https://doi.org/10.1090/s0273-0979-01-00934-x</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Baez, J.C.</string-name>
            </person-group>
            <year>2002</year>
            <article-title>The Octonions</article-title>
            <source>Bulletin of the American Mathematical Society</source>
            <volume>39</volume>
            <pub-id pub-id-type="doi">10.1090/s0273-0979-01-00934-x</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B17">
        <label>17.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Albuquerque, H. and Majid, S. (1999) Quasialgebra Structure of the Octonions. <italic>Journal of Algebra</italic>, 220, 188-224. https://doi.org/10.1006/jabr.1998.7850 <pub-id pub-id-type="doi">10.1006/jabr.1998.7850</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1006/jabr.1998.7850">https://doi.org/10.1006/jabr.1998.7850</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Albuquerque, H.</string-name>
              <string-name>Majid, S.</string-name>
            </person-group>
            <year>1999</year>
            <article-title>Quasialgebra Structure of the Octonions</article-title>
            <source>Journal of Algebra</source>
            <volume>220</volume>
            <pub-id pub-id-type="doi">10.1006/jabr.1998.7850</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B18">
        <label>18.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Morier-Genoud, S. and Ovsienko, V. (2011) A Series of Algebras Generalizing the Octonions and Hurwitz-Radon Identity. <italic>Communications in Mathematical Physics</italic>, 306, 83-118. https://doi.org/10.1007/s00220-011-1279-9 <pub-id pub-id-type="doi">10.1007/s00220-011-1279-9</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/s00220-011-1279-9">https://doi.org/10.1007/s00220-011-1279-9</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Morier-Genoud, S.</string-name>
              <string-name>Ovsienko, V.</string-name>
            </person-group>
            <year>2011</year>
            <article-title>A Series of Algebras Generalizing the Octonions and Hurwitz-Radon Identity</article-title>
            <source>Communications in Mathematical Physics</source>
            <volume>306</volume>
            <pub-id pub-id-type="doi">10.1007/s00220-011-1279-9</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B19">
        <label>19.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Landauer, R. (1961) Irreversibility and Heat Generation in the Computing Process. <italic>IBM Journal of Research and Development</italic>, 5, 183-191. https://doi.org/10.1147/rd.53.0183 <pub-id pub-id-type="doi">10.1147/rd.53.0183</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1147/rd.53.0183">https://doi.org/10.1147/rd.53.0183</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Landauer, R.</string-name>
            </person-group>
            <year>1961</year>
            <article-title>Irreversibility and Heat Generation in the Computing Process</article-title>
            <source>IBM Journal of Research and Development</source>
            <volume>5</volume>
            <pub-id pub-id-type="doi">10.1147/rd.53.0183</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B20">
        <label>20.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Hurwitz, A. (1919) Vorlesungen über die Zahlentheorie der Quaternionen. Spring-er. https://doi.org/10.1007/978-3-642-47536-8 <pub-id pub-id-type="doi">10.1007/978-3-642-47536-8</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/978-3-642-47536-8">https://doi.org/10.1007/978-3-642-47536-8</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Hurwitz, A.</string-name>
            </person-group>
            <year>1919</year>
            <article-title>Vorlesungen über die Zahlentheorie der Quaternionen</article-title>
            <pub-id pub-id-type="doi">10.1007/978-3-642-47536-8</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B21">
        <label>21.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Conway, J.H. and Smith, D.A. (2003) On Quaternions and Octonions: Their Geometry, Arithmetic, and Symmetry. A K Peters.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Conway, J.H.</string-name>
              <string-name>Smith, D.A.</string-name>
              <string-name>Geometry, A</string-name>
            </person-group>
            <year>2003</year>
            <article-title>On Quaternions and Octonions: Their Geometry, Arithmetic, and Symmetry</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B22">
        <label>22.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Hurwitz, A. (1898) Ueber die Composition der quadratischen Formen von beliebig vielen Variablen. Nachrichten von der Gesellschaft der Wissenschaften zu Göttingen, Mathematisch-Physikalische Klasse, 309-316.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Hurwitz, A.</string-name>
            </person-group>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B23">
        <label>23.</label>
        <citation-alternatives>
          <mixed-citation publication-type="book">Adler, S.L. (1995) Quaternionic Quantum Mechanics and Quantum Fields. Oxford University Press.</mixed-citation>
          <element-citation publication-type="book">
            <person-group person-group-type="author">
              <string-name>Adler, S.L.</string-name>
            </person-group>
            <year>1995</year>
            <article-title>Quaternionic Quantum Mechanics and Quantum Fields</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B24">
        <label>24.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Horwitz, L.P. and Biedenharn, L.C. (1984) Quaternion Quantum Mechanics: Second Quantization and Gauge Fields. <italic>Annals of Physics</italic>, 157, 432-488. https://doi.org/10.1016/0003-4916(84)90068-x <pub-id pub-id-type="doi">10.1016/0003-4916(84)90068-x</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/0003-4916(84)90068-x">https://doi.org/10.1016/0003-4916(84)90068-x</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Horwitz, L.P.</string-name>
              <string-name>Biedenharn, L.C.</string-name>
            </person-group>
            <year>1984</year>
            <article-title>Quaternion Quantum Mechanics: Second Quantization and Gauge Fields</article-title>
            <source>Annals of Physics</source>
            <volume>4916</volume>
            <issue>84</issue>
            <pub-id pub-id-type="doi">10.1016/0003-4916(84)90068-x</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B25">
        <label>25.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Muroga, S. (1971) Threshold Logic and Its Applications. Wiley-Interscience.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Muroga, S.</string-name>
            </person-group>
            <year>1971</year>
            <article-title>Threshold Logic and Its Applications</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B26">
        <label>26.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Toffoli, T. (1980) Reversible Computing. In: de Bakker, J. and van Leeuwen, J., Eds., <italic>Automata</italic>, <italic>Languages and Programming</italic>, Lecture Notes in Computer Science, Vol. 85, Springer, 632-644. https://doi.org/10.1007/3-540-10003-2_104 <pub-id pub-id-type="doi">10.1007/3-540-10003-2_104</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/3-540-10003-2_104">https://doi.org/10.1007/3-540-10003-2_104</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Toffoli, T.</string-name>
              <string-name>Bakker, J.</string-name>
              <string-name>Leeuwen, J.</string-name>
              <string-name>Automata, L</string-name>
              <string-name>Programming, L</string-name>
              <string-name>Science, V</string-name>
            </person-group>
            <year>1980</year>
            <article-title>Reversible Computing</article-title>
            <source>In: de Bakker</source>
            <volume>632</volume>
            <pub-id pub-id-type="doi">10.1007/3-540-10003-2_104</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B27">
        <label>27.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Fredkin, E. and Toffoli, T. (1982) Conservative Logic. <italic>International Journal of Theoretical Physics</italic>, 21, 219-253. https://doi.org/10.1007/bf01857727 <pub-id pub-id-type="doi">10.1007/bf01857727</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/bf01857727">https://doi.org/10.1007/bf01857727</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Fredkin, E.</string-name>
              <string-name>Toffoli, T.</string-name>
            </person-group>
            <year>1982</year>
            <article-title>Conservative Logic</article-title>
            <source>International Journal of Theoretical Physics</source>
            <volume>21</volume>
            <pub-id pub-id-type="doi">10.1007/bf01857727</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B28">
        <label>28.</label>
        <citation-alternatives>
          <mixed-citation publication-type="thesis">Gottesman, D. (1997) Stabilizer Codes and Quantum Error Correction. Ph.D. The-sis, California Institute of Technology. https://arxiv.org/abs/quant-ph/9705052</mixed-citation>
          <element-citation publication-type="thesis">
            <person-group person-group-type="author">
              <string-name>Gottesman, D.</string-name>
              <string-name>The-sis, C</string-name>
            </person-group>
            <year>1997</year>
            <article-title>Stabilizer Codes and Quantum Error Correction</article-title>
            <source>Ph.D. The-sis</source>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B29">
        <label>29.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Calderbank, A.R., Rains, E.M., Shor, P.M. and Sloane, N.J.A. (1998) Quantum Error Correction via Codes over GF(4). <italic>IEEE Transactions on Information Theory</italic>, 44, 1369-1387. https://doi.org/10.1109/18.681315 <pub-id pub-id-type="doi">10.1109/18.681315</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/18.681315">https://doi.org/10.1109/18.681315</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Calderbank, A.R.</string-name>
              <string-name>Rains, E.M.</string-name>
              <string-name>Shor, P.M.</string-name>
              <string-name>Sloane, N.J.A.</string-name>
            </person-group>
            <year>1998</year>
            <article-title>Quantum Error Correction via Codes over GF(4)</article-title>
            <source>IEEE Transactions on Information Theory</source>
            <volume>44</volume>
            <pub-id pub-id-type="doi">10.1109/18.681315</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B30">
        <label>30.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Barrington, D.A. (1989) Bounded-Width Polynomial-Size Branching Programs Recognize Exactly Those Languages in NC1. <italic>Journal of Computer and System Sciences</italic>, 38, 150-164. https://doi.org/10.1016/0022-0000(89)90037-8 <pub-id pub-id-type="doi">10.1016/0022-0000(89)90037-8</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/0022-0000(89)90037-8">https://doi.org/10.1016/0022-0000(89)90037-8</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Barrington, D.A.</string-name>
            </person-group>
            <year>1989</year>
            <article-title>Bounded-Width Polynomial-Size Branching Programs Recognize Exactly Those Languages in NC1</article-title>
            <source>Journal of Computer and System Sciences</source>
            <volume>0000</volume>
            <issue>89</issue>
            <pub-id pub-id-type="doi">10.1016/0022-0000(89)90037-8</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B31">
        <label>31.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Griess, R.L. (1986) Code Loops. <italic>Journal of Algebra</italic>, 100, 224-234. https://doi.org/10.1016/0021-8693(86)90075-x <pub-id pub-id-type="doi">10.1016/0021-8693(86)90075-x</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/0021-8693(86)90075-x">https://doi.org/10.1016/0021-8693(86)90075-x</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Griess, R.L.</string-name>
            </person-group>
            <year>1986</year>
            <article-title>Code Loops</article-title>
            <source>Journal of Algebra</source>
            <volume>8693</volume>
            <issue>86</issue>
            <pub-id pub-id-type="doi">10.1016/0021-8693(86)90075-x</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B32">
        <label>32.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Gottesman, D. (1999) The Heisenberg Representation of Quantum Computers. In: Corney, S.P., Delbourgo, R. and Jarvis, P.D., Eds., <italic>Group</italic>22: <italic>Proceedings of the XXII International Colloquium on Group Theoretical Methods in Physics</italic>, International Press, 32-43.</mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Gottesman, D.</string-name>
              <string-name>Corney, S.P.</string-name>
              <string-name>Delbourgo, R.</string-name>
              <string-name>Jarvis, P.D.</string-name>
              <string-name>Physics, I</string-name>
            </person-group>
            <year>1999</year>
            <article-title>The Heisenberg Representation of Quantum Computers</article-title>
            <source>In: Corney</source>
            <volume>32</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B33">
        <label>33.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Aaronson, S. and Gottesman, D. (2004) Improved Simulation of Stabilizer Circuits. <italic>Physical Review A</italic>, 70, Article ID: 052328. https://doi.org/10.1103/physreva.70.052328 <pub-id pub-id-type="doi">10.1103/physreva.70.052328</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1103/physreva.70.052328">https://doi.org/10.1103/physreva.70.052328</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Aaronson, S.</string-name>
              <string-name>Gottesman, D.</string-name>
            </person-group>
            <year>2004</year>
            <article-title>Improved Simulation of Stabilizer Circuits</article-title>
            <source>Physical Review A</source>
            <volume>70</volume>
            <fpage>052328</fpage>
            <elocation-id>ID</elocation-id>
            <pub-id pub-id-type="doi">10.1103/physreva.70.052328</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B34">
        <label>34.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Boykin, P.O., Mor, T., Pulver, M., Roychowdhury, V. and Vatan, F. (2000) A New Universal and Fault-Tolerant Quantum Basis. <italic>Information Processing Letters</italic>, 75, 101-107. https://doi.org/10.1016/s0020-0190(00)00084-3 <pub-id pub-id-type="doi">10.1016/s0020-0190(00)00084-3</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/s0020-0190(00)00084-3">https://doi.org/10.1016/s0020-0190(00)00084-3</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Boykin, P.O.</string-name>
              <string-name>Mor, T.</string-name>
              <string-name>Pulver, M.</string-name>
              <string-name>Roychowdhury, V.</string-name>
              <string-name>Vatan, F.</string-name>
            </person-group>
            <year>2000</year>
            <article-title>A New Universal and Fault-Tolerant Quantum Basis</article-title>
            <source>Information Processing Letters</source>
            <volume>0190</volume>
            <issue>00</issue>
            <pub-id pub-id-type="doi">10.1016/s0020-0190(00)00084-3</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B35">
        <label>35.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Bell, J.S. (1964) On the Einstein Podolsky Rosen Paradox. <italic>Physics Physique Fizika</italic>, 1, 195-200. https://doi.org/10.1103/physicsphysiquefizika.1.195 <pub-id pub-id-type="doi">10.1103/physicsphysiquefizika.1.195</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1103/physicsphysiquefizika.1.195">https://doi.org/10.1103/physicsphysiquefizika.1.195</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Bell, J.S.</string-name>
            </person-group>
            <year>1964</year>
            <article-title>On the Einstein Podolsky Rosen Paradox</article-title>
            <source>Physics Physique Fizika</source>
            <volume>1</volume>
            <pub-id pub-id-type="doi">10.1103/physicsphysiquefizika.1.195</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B36">
        <label>36.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Khmelnik, S.I. (2022) Computer Arithmetic of Numbers, Vectors, Figures and Functions: Algorithms and Hardware Design. Mathematics in Computer (MiC), Israel. https://doi.org/10.5281/zenodo.6822985 <pub-id pub-id-type="doi">10.5281/zenodo.6822985</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5281/zenodo.6822985">https://doi.org/10.5281/zenodo.6822985</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Khmelnik, S.I.</string-name>
              <string-name>Numbers, V</string-name>
            </person-group>
            <year>2022</year>
            <article-title>Computer Arithmetic of Numbers, Vectors, Figures and Functions: Algorithms and Hardware Design</article-title>
            <source>Mathematics in Computer (MiC)</source>
            <pub-id pub-id-type="doi">10.5281/zenodo.6822985</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B37">
        <label>37.</label>
        <citation-alternatives>
          <mixed-citation publication-type="book">Weste, N.H.E. and Harris, D.M. (2011) CMOS VLSI Design: A Circuits and Systems Perspective. 4th Edition, Addison-Wesley.</mixed-citation>
          <element-citation publication-type="book">
            <person-group person-group-type="author">
              <string-name>Weste, N.H.E.</string-name>
              <string-name>Harris, D.M.</string-name>
              <string-name>Edition, A</string-name>
            </person-group>
            <year>2011</year>
            <article-title>CMOS VLSI Design: A Circuits and Systems Perspective</article-title>
            <source>4th Edition</source>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B38">
        <label>38.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Shibata, T. and Ohmi, T. (1992) A Functional MOS Transistor Featuring Gate-Level Weighted Sum and Threshold Operations. <italic>IEEE Transactions on Electron Devices</italic>, 39, 1444-1455. https://doi.org/10.1109/16.137325 <pub-id pub-id-type="doi">10.1109/16.137325</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/16.137325">https://doi.org/10.1109/16.137325</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Shibata, T.</string-name>
              <string-name>Ohmi, T.</string-name>
            </person-group>
            <year>1992</year>
            <article-title>A Functional MOS Transistor Featuring Gate-Level Weighted Sum and Threshold Operations</article-title>
            <source>IEEE Transactions on Electron Devices</source>
            <volume>39</volume>
            <pub-id pub-id-type="doi">10.1109/16.137325</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B39">
        <label>39.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Johns, D.A. and Martin, K. (1997) Analog Integrated Circuit Design. Wiley.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Johns, D.A.</string-name>
              <string-name>Martin, K.</string-name>
            </person-group>
            <year>1997</year>
            <article-title>Analog Integrated Circuit Design</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B40">
        <label>40.</label>
        <citation-alternatives>
          <mixed-citation publication-type="web">Vogt, H., Atkinson, G. and Nenzi, P. (2024) Ngspice User’s Manual, Version 42. https://ngspice.sourceforge.io</mixed-citation>
          <element-citation publication-type="web">
            <person-group person-group-type="author">
              <string-name>Vogt, H.</string-name>
              <string-name>Atkinson, G.</string-name>
              <string-name>Nenzi, P.</string-name>
              <string-name>Manual, V</string-name>
            </person-group>
            <year>2024</year>
            <article-title>Ngspice User’s Manual, Version 42</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B41">
        <label>41.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Bezanson, J., Edelman, A., Karpinski, S. and Shah, V.B. (2017) Julia: A Fresh Approach to Numerical Computing. <italic>SIAM Review</italic>, 59, 65-98. https://doi.org/10.1137/141000671 <pub-id pub-id-type="doi">10.1137/141000671</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1137/141000671">https://doi.org/10.1137/141000671</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Bezanson, J.</string-name>
              <string-name>Edelman, A.</string-name>
              <string-name>Karpinski, S.</string-name>
              <string-name>Shah, V.B.</string-name>
            </person-group>
            <year>2017</year>
            <article-title>Julia: A Fresh Approach to Numerical Computing</article-title>
            <source>SIAM Review</source>
            <volume>59</volume>
            <pub-id pub-id-type="doi">10.1137/141000671</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B42">
        <label>42.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Bennett, C.H. (1973) Logical Reversibility of Computation. <italic>IBM Journal of Research and Development</italic>, 17, 525-532. https://doi.org/10.1147/rd.176.0525 <pub-id pub-id-type="doi">10.1147/rd.176.0525</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1147/rd.176.0525">https://doi.org/10.1147/rd.176.0525</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Bennett, C.H.</string-name>
            </person-group>
            <year>1973</year>
            <article-title>Logical Reversibility of Computation</article-title>
            <source>IBM Journal of Research and Development</source>
            <volume>17</volume>
            <pub-id pub-id-type="doi">10.1147/rd.176.0525</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
    </ref-list>
  </back>
</article>