pub struct InterferenceKernels {
pub kernels: Vec<[[Complex; 3]; 10]>,
}Expand description
Interference kernel kappa_{n,ij} in C^3 for particle n between modes i and j. Controls how off-diagonal coherence rho_{ij} affects particle geometry.
The particle position with interference is: x_n = root + sum_k rho_kk * g_{n,k} + 2*sum_{i<j} Re[kappa_{n,ij} * rho_{ij}]
This is the decisive test from QUANTUM.md S7: If exists n: x_n(rho) != x_n(Delta(rho)), then coherence is not metaphor — it’s simulation.
Fields§
§kernels: Vec<[[Complex; 3]; 10]>For each mode pair (i,j) with i<j, a 3D complex displacement. 10 pairs x 3 axes x 2 (re,im) = 60 f32 values per particle. We store kernels for a representative subset of particles. Pair order: (0,1),(0,2),(0,3),(0,4),(1,2),(1,3),(1,4),(2,3),(2,4),(3,4)
Implementations§
Source§impl InterferenceKernels
impl InterferenceKernels
Sourcepub fn generate(particle_count: u32) -> Self
pub fn generate(particle_count: u32) -> Self
Generate interference kernels for N particles. Each kernel is designed to create visible wave-like distortion when the corresponding mode coherence is nonzero.
Sourcepub fn interference_displacement(
&self,
n: usize,
rho: &DensityMatrix5,
) -> [f32; 3]
pub fn interference_displacement( &self, n: usize, rho: &DensityMatrix5, ) -> [f32; 3]
Compute interference displacement for particle n from density matrix. Returns the 3D displacement caused by off-diagonal coherence. This is: 2*sum_{i<j} Re[kappa_{n,ij} * rho_{ij}]