Skip to content

7uk3y/quantumhull

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

🔮 QuantumHull: The Amplituhedron Simulator

Python License: MIT Contributions Welcome

QuantumHull is an open-source physics engine that calculates quantum particle interactions using Geometry and Vector Databases instead of traditional Feynman diagrams.

By treating particles as vectors in a high-dimensional positive space, we can wrap them in a geometric shape (a Polytope). The magic of modern physics (the Amplituhedron theory) tells us that the volume of this shape equals the probability of the quantum interaction.

No summing over infinite histories. No virtual particles. Just pure geometry.


🌌 The Core Concept: Why Geometry?

For 70 years, physicists used Feynman Diagrams to calculate particle interactions. This required tracking every possible path a particle could take through time and space, resulting in millions of complex algebraic calculations.

In 2013, physicists discovered the Amplituhedron. This theory suggests that space, time, and quantum mechanics are actually "shadows" of a static, higher-dimensional geometric object.

QuantumHull applies this logic to a programmable "Vector DB" mindset:

  1. Particles are Vectors: Properties like Momentum, Phase, and Polarity become coordinates.
  2. The Constraints are Walls: The laws of physics (like Conservation of Energy) act as boundaries in "Positive Space."
  3. Interactions are Shapes: Connecting the vectors within these boundaries creates a multi-dimensional jewel (a Convex Hull).
  4. Probability is Volume: The geometric volume of the shape gives us the exact Probability Amplitude of the interaction.

🚀 Quick Start

Prerequisites

You need Python 3.8+ and a few scientific libraries.

pip install numpy scipy matplotlib

Running the Simulator

Clone the repo and run the base simulation:

git clone https://github.com/yourusername/QuantumHull.git
cd QuantumHull
python quantum_hull_sim.py

What You Will See

The script will generate a 3D projection of a quantum interaction.

  • Red Dots are your particle vectors.
  • Blue Sheets are the facets connecting the interaction.
  • The terminal will output the Probability Amplitude (the exact Volume of the shape).

🛠️ How It Works (Under the Hood)

QuantumHull treats quantum mechanics like a Vector Database:

  • Input Space: Photons are generated as coordinates in a strictly positive tensor space ($x, y, z > 0$).
  • Convex Hull Algorithm: We use scipy.spatial.ConvexHull to "shrink-wrap" a boundary around the particle vectors and the physical constraints.
  • Dimensional Projection: While the base code visualizes in 3D (Momentum, Phase, Polarity), the math seamlessly scales to $N$-dimensions.

🗺️ Project Roadmap

This project is in its infancy, born from an amateur quest to build a quantum test stand. Here is where we are going:

  • Phase 1: 3D Toy Model: Build the basic vector generator and Convex Hull volume calculator.
  • Phase 2: Entanglement Logic: Introduce "locked" vectors where modifying Photon A instantly re-calculates the volume/facets for the entire shape, mimicking non-local entanglement.
  • Phase 3: N-Dimensional Scaling: Expand the vector properties to 16D+ to accurately model true Quantum Electrodynamics (QED) parameters.
  • Phase 4: Rust Port: Port the core volume calculation engine to Rust to handle the massive multi-dimensional matrices required for complex multi-particle interactions at high speeds.
  • Phase 5: Real-World Test Stand Integration: Allow the software to ingest real coincidence-counter data from DIY Bell Test stands and map the geometry in real-time.

🤝 Contributing

We are looking for anyone who wants to break the illusion of space and time! You do not need a PhD in physics to contribute.

We need:

  • Python/Rust Developers to optimize the high-dimensional matrix math.
  • Data Visualizers to figure out how to best project $N$-dimensional shapes onto a 2D screen.
  • Physics Hobbyists to help align our vector parameters with real-world BBO crystal / laser pointer setups.

Check out the CONTRIBUTING.md file to get started.


📜 License

This project is licensed under the AGPL License - see the LICENSE.md file for details.

“If you want to understand the universe, think of it as a Vector Database.”


About

physics engine that calculates quantum particle interactions using Geometry and Vector Databases instead of traditional Feynman diagrams.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages