NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Computing Naturally in the Billiard Ball Model

Liang ZhangUC 2009

Abstract

This paper introduces the $m$-counting gate, a novel logic structure for the Billiard Ball Model (BBM) that performs complex arithmetic with minimal reliance on fixed mirrors. By exploiting the natural trajectories of colliding particles, the author moves collision-based computing closer to a truly "architectureless" and momentum-conserving physical reality. The proposed gate treats counting as a geometric primitive, allowing for the construction of adders and counters with significantly reduced architectural overhead compared to traditional Boolean implementations.

Introduction

The Billiard Ball Model, proposed by Fredkin and Toffoli, is a cornerstone of unconventional computing. It proves that universal computation can be achieved using nothing but idealized elastic collisions between identical spheres. However, traditional BBM implementations rely heavily on fixed mirrors to route signals and force interactions.

The author argues that these mirrors represent a "cheat code" that undermines the model's conceptual goals. Physically, a perfectly fixed mirror would require infinite mass to remain stationary upon impact. Conceptually, mirrors impose a pre-defined "architecture" or "wiring" on the medium, contradicting the ideal of architectureless computing—where the medium is uniform and computation emerges purely from the dynamic interaction of data-carrying particles. To address this, the paper proposes a new building block: the $m$-counting gate.

The $m$-Counting Gate: A Natural Logic Primitive

Instead of using mirrors to force balls into specific logic gates, the $m$-counting gate utilizes a stream of $m$ input variables ($a_1 \dots a_m$) and one "constant TRUTH" ball ($T$).

Schematic representation of the m-counting gate mechanism showing input streams and deflected output trajectories.

As the $T$ ball travels, it undergoes a series of collisions with any input balls that are present (representing logical 1s). Each collision deflects the $T$ ball to a new parallel trajectory. The final trajectory of the $T$ ball indicates exactly how many input balls were present; if $n$ balls were present, the $T$ ball ends up at output position $c_n$. This approach reveals that "counting" is a more "natural" primitive for collision-based systems than standard Boolean logic (AND, OR, NOT), which often requires complex signal merging and crossing.

Implementation and Results

The efficiency of the $m$-counting gate is demonstrated through several circuit designs that significantly reduce mirror counts. For example, a 1-bit half adder can be realized using a 2-counting gate with zero mirrors.

BBM implementations of 1-, 2-, and 3-counting gates illustrating how the T ball is deflected by input signals.

Key results include:

  • 1-bit Full Adder: Realized using four 3-counting gates and only 1 mirror.
  • Parallel (5,3)-counter: A complex circuit counting five inputs and outputting a 3-bit binary number, achieved using five 5-counting gates and only 2 mirrors.

Compared to traditional BBM designs, which require a dense network of mirrors to route signals through multiple interaction gates, these designs are remarkably clean and closer to physical realism, where momentum is conserved within the system of mobile particles.

Discussion and Future Work

While the $m$-counting gate is highly efficient for arithmetic, it produces "garbage" signals—unused output trajectories that could become obstacles in a real computing system. Clearing these out may eventually require more mirrors or methods for signal annihilation.

The author suggests that the next step is applying these "natural" gates to real-world unconventional substrates, such as the Belousov-Zhabotinsky (BZ) reaction. In such a medium, chemical wave fragments act like billiard balls, and "mirrors" are created by light-sensitive patterns. Reducing the reliance on these patterns would significantly simplify the experimental setup and move the field closer to truly autonomous, collision-based chemical computing.

Summary updated

BibTeX
@inproceedings{zhang2009computing,
  author = {Liang Zhang},
  title = {{Computing Naturally in the Billiard Ball Model}},
  booktitle = {UC},
  year = {2009},
  doi = {10.1007/978-3-642-03745-0\_29},
}
Figure