This example demonstrates an automated search through Clifford Algebras to find dimensions that admit a complex structure (I² = -1).
cargo run -p physics_examples --example algebraic_scannerIn theoretical physics, finding algebras with complex structure is crucial for:
- Quantum Mechanics: Complex numbers are fundamental (wavefunctions)
- Supersymmetry: Requires specific Clifford algebra properties
- Signal Processing: Complex structure enables Fourier analysis
This example automates what would otherwise be tedious manual calculation.
Scans Clifford Algebras Cl(p,q) from dimension 1 to 9 and checks if the pseudoscalar I satisfies:
I² = -1 (Complex Structure)
The pseudoscalar I is the highest-grade element of the algebra (product of all basis vectors). Its square depends on the metric signature:
- Euclidean Cl(n,0): I² = ±1 depending on dimension
- Minkowski Cl(p,q): I² depends on signature
[MATCH] Dimension 3: Euclidean signature Cl(3, 0) admits Complex Structure. I² = -1.0000
This means Cl(3,0) - the algebra of 3D Euclidean space - has a complex structure, which is why quaternions (related to Cl(3,0)) are so useful in 3D rotations.
- Change dimension range: Modify
max_dim(note: memory grows as 2^n) - Add custom signatures: Use
Metric::Customfor arbitrary (p,q) signatures - Check other properties: Extend to check for division algebra structure, etc.
CausalMultiVector::new()- Create multivector with metricgeometric_product()- Compute I²Metric::Euclidean(n),Metric::Minkowski(n)- Signature selection