TITLE:
Arrow Logic Algebra—Boolean Gates Using the Arrow Numbers: Complex Numbers, Quaternions, and Octonions
AUTHORS:
Viktor Ariel
KEYWORDS:
Boolean Algebra, Logic Gates, Reversible Computing, Toffoli Gate, Majority Gate, Quaternions, Octonions, Cayley-Dickson Algebras, Pauli Group, Arrow Numbers
JOURNAL NAME:
Journal of Applied Mathematics and Physics,
Vol.14 No.11,
November
27,
2026
ABSTRACT: 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 Arrow Numbers, 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,
AB
(
BA
)
−1
=
(
−1
)
ab
, 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.