Billiard Ball Fredkin Gate

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

A Fredkin gate with binary inputs returns the inputs unchanged if , but switches inputs 2 and 3 to give if . In this Demonstration, the gate is shown with billiard balls bouncing off fixed dominoes and each other. You can choose from seven possible inputs. The two interesting cases are and , which transform into one another. All other cases return their inputs.

Contributed by: Ed Pegg Jr (January 2023)
Open content licensed under CC BY-NC-SA




[1] M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, Cambridge University Press, 2000 p. 156.

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.