Postquantum-Theory-of-Classical-Gravity-Video-for-GitHub.mp4
(if video is not working, try clicking around the timeline or wait a little bit for it load fully!)
Jonathan Oppenheim's postquantum theory of classical gravity offers a novel approach to the problem of unifying quantum mechanics and general relativity. Instead of quantizing gravity, as is done in traditional approaches like string theory or loop quantum gravity, Oppenheim's theory maintains gravity as a classical field while allowing for quantum matter fields to interact with this classical gravity in a fundamentally stochastic manner.
Oppenheim's model avoids the inconsistencies faced by the semiclassical Einstein equation, which attempts to describe quantum fields on a fixed classical spacetime background. His approach integrates classical gravity with quantum field theory by ensuring that the interaction remains consistent with the principles of both quantum mechanics and general relativity. This involves modifications to the quantum dynamics, making them fundamentally stochastic, which allows for a backreaction of quantum fields on the classical spacetime metric
This project implements a simulation inspired by Jonathan Oppenheim's hypothesis on the postquantum theory of classical gravity. The code, created by mmtmn, simulates the interaction of quantum systems with classical gravity using OpenGL for visualization and OpenMP for parallel processing. The simulation includes 10,000 quantum systems that exhibit stochastic spacetime fluctuations, gravitational interactions, and decoherence, thereby exploring the theoretical framework where classical gravity interacts with quantum matter.
The simulation initializes a set of quantum and classical systems with random positions and velocities, then applies various physical processes including spacetime fluctuations, stochastic curvature fluctuations, and gravitational interactions. The systems' evolution is visualized in real-time, demonstrating how quantum systems decohere due to their interaction with the classical gravitational field, and how energy conservation is managed throughout the simulation. This project serves as both a conceptual exploration and a visual demonstration of the proposed theory's dynamics.
- move your cursor (pc's mouse or touchpad) to move the camera around
- 'a' moves to the left
- 's' moves backwards
- 'w' moves forward
- 'd' moves to the right
- 'q' to move upwards
- 'e' to move downwards
- #define NUM_QUANTUM_SYSTEMS 1000 <-- change this number to achieve the results according to the capacity of your computer
- Install necessary libraries:
sudo apt-get update sudo apt-get install freeglut3 freeglut3-dev libglu1-mesa-dev build-essential
- Compile the code:
gcc -o main main.c -lGL -lGLU -lglut -lm -fopenmp
- Run the program:
./main
- Install necessary libraries:
sudo dnf install freeglut-devel mesa-libGLU-devel gcc gcc-c++
- Compile the code:
gcc -o main main.c -lGL -lGLU -lglut -lm -fopenmp
- Run the program:
./main
- Install necessary libraries:
sudo pacman -S freeglut glu gcc
- Compile the code:
gcc -o main main.c -lGL -lGLU -lglut -lm -fopenmp
- Run the program:
./main
- Install MinGW and MSYS2 from the MinGW website.
- Install necessary packages using MSYS2 shell:
pacman -S mingw-w64-x86_64-freeglut mingw-w64-x86_64-gcc
- Compile the code:
gcc -o main main.c -lglut32 -lopengl32 -lglu32 -lm -fopenmp
- Run the program:
./main.exe
- Install Xcode command line tools:
xcode-select --install
- Install Homebrew if not already installed:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Install necessary libraries using Homebrew:
brew install freeglut
- Compile the code:
gcc -o main main.c -framework OpenGL -framework GLUT -lm -fopenmp
- Run the program:
./main