An open API service indexing awesome lists of open source software.

https://github.com/mr-gl00m/nothing-engine

A 1+1D quantum field theory simulator for studying vacuum friction in dynamical Casimir cavities. Bogoliubov mode-space evolution, dynamical plate coupling, closed/open/periodic boundaries, 9 validation gates, energy audit, and pre-registered analysis. Built to test the vacuum. Built to catch itself.
https://github.com/mr-gl00m/nothing-engine

casimir casimir-effect casimir-simulation photon quantum-machine-learning quantum-physics quantum-simulation science science-research

Last synced: 5 days ago
JSON representation

A 1+1D quantum field theory simulator for studying vacuum friction in dynamical Casimir cavities. Bogoliubov mode-space evolution, dynamical plate coupling, closed/open/periodic boundaries, 9 validation gates, energy audit, and pre-registered analysis. Built to test the vacuum. Built to catch itself.

Awesome Lists containing this project

README

          

# Nothing Engine

A Casimir vacuum friction simulator built on Bogoliubov mode-function evolution coupled to dynamical plate motion.

## What it does

Nothing Engine solves the quantum field theory of a scalar field inside a 1+1D cavity with one dynamical (moving) boundary. It evolves:

- **Cavity mode functions** `f_n(t)` via `f_n'' + omega_n^2(q(t)) * f_n = 0`
- **Plate dynamics** `M * q'' = -k*(q - q_eq) + F_field` with self-consistent radiation pressure feedback

This captures dynamical Casimir effect physics: a moving mirror creates real photons from the quantum vacuum, and those photons exert back-reaction on the mirror.

## Installation

```bash
pip install -e ".[dev,analysis]"
```

Or with just the core dependencies:

```bash
pip install -e .
```

## Quick start

```python
from nothing_engine.core.bogoliubov import SimulationConfig, run_simulation

config = SimulationConfig(
N_modes=64,
plate_mass=1e4,
initial_velocity=1e-3,
cavity_width=1.0,
duration=100.0,
)

result = run_simulation(config)
print(f"Total particles created: {result.particle_number[-1].sum():.6f}")
```

## Running experiments

```bash
# Validation gates (run these first)
python -m nothing_engine.experiments.val_static_casimir
python -m nothing_engine.experiments.val_dynamic_casimir
python -m nothing_engine.experiments.val_conservation
python -m nothing_engine.experiments.val_adiabatic
python -m nothing_engine.experiments.val_residual_baseline

# Physics experiments
python -m nothing_engine.experiments.run_closed_ringdown
python -m nothing_engine.experiments.run_open_ringdown
python -m nothing_engine.experiments.run_convergence
python -m nothing_engine.experiments.run_topology_comparison
```

## Running tests

```bash
pytest
```

## Package structure

```
nothing_engine/
core/ # Simulation engine
bogoliubov.py # ODE evolution (mode functions + plate)
constants.py # Physical constants (SI & natural units)
mode_space.py # Cavity mode frequencies & functions
energy.py # Energy density & totals
energy_audit.py # Conservation monitoring
plate.py # DynamicalPlate class
radiation_pressure.py
flux.py
analysis/ # Post-simulation analysis
ringdown_fit.py # Exponential decay fitting
psd_analysis.py # Power spectral density
residual_motion.py
experiments/ # Simulation runners & validation
runner.py # ExperimentRunner orchestration
run_*.py # Experiment scripts
val_*.py # Validation gate scripts
config/ # Default parameters & validation criteria
tests/ # Unit tests
```

## License

MIT