Skip to content

jlchern-251016/eikonal-bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

25 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

The Eikonal Bridge ๐ŸŒ‰

From Classical Lens Design to Quantum Photonics via Differentiable Computing

License: CC BY-NC-SA 4.0 Python 3.9+ JAX SPIE Press HTML5


๐ŸŽฏ Overview

The Evolution of the Eikonal

The trajectory of the Eikonal formalism. The upper stream represents the evolution of classical optics from Hamilton (1828) to the 'Inflection Point' (2010). The lower stream represents the computational evolution. The 'Eikonal Bridge' connects these, utilizing the Bridge Identity to map classical characteristic functions into quantum operators.


This repository contains the companion materials for The Eikonal Bridge, a comprehensive technical book that unifies classical optical design with quantum photonics through the power of differentiable computing.

The Central Innovation: The Differentiable Eikonal Engine (DEE) framework uses JAX automatic differentiation to bridge two traditionally separate worldsโ€”classical lens design and quantum photonicsโ€”through a single elegant identity:

ฯ†_quantum = 2ฯ€ ร— W_eikonal / ฮป

This bridge identity reveals that the classical eikonal function (optical path length) and quantum optical phase are the same mathematical object, enabling unified computational tools for both domains.


๐ŸŒŸ Key Features

  • ๐Ÿ“š 12 Chapters in 4 Parts - Foundations โ†’ Computational Optics โ†’ Quantum Extensions โ†’ Production Practice
  • ๐Ÿ”ฌ W/MN Duality Framework - Every topic from both forward analysis (Walther) and inverse design (Matsui-Nariai) perspectives
  • ๐ŸŽจ Production-Ready JAX Code - Complete, tested implementations with 100-1000ร— speedup
  • โš ๏ธ Three-Axis Failure Framework - Systematic diagnostics for scalar eikonal limitations (P1-P5, M1-M5, T1-T3)
  • ๐Ÿ“Š Specification Translation Tables - Quantitative classicalโ†’quantum tolerance tightening factors (10-100ร—)
  • ๐Ÿ“ 80+ Paired Problems - W-type (analysis), MN-type (design), and Q-type (quantum) problem sets

๐Ÿ‘ฅ Who This Book Is For

  • Optical Engineers transitioning from CODE V/Zemax to quantum photonics applications
  • Quantum Physicists seeking practical lens design foundations for photonic systems
  • Graduate Students in optics, photonics, and quantum information science
  • Researchers exploring differentiable programming for optical design

๐Ÿ”„ The W/MN Duality Framework

Every chapter presents optical problems from dual perspectives:

Perspective Question Approach
Walther (Forward) ๐Ÿ”ต "Given this device, what does it do?" Analysis, simulation, characterization
Matsui-Nariai (Inverse) ๐Ÿ”ด "Given this target, how do I build it?" Design, optimization, synthesis

This duality provides a universal problem-solving methodology that applies across classical and quantum domains.


โš ๏ธ Three-Axis Failure Framework

When does the scalar eikonal approximation break down? Our systematic diagnostic framework identifies failure modes across three axes:

Axis Codes Failure Modes
Physical P1-P5 High NA, polarization, dispersion, nonlinearity, thermal
Mathematical M1-M5 Singularities, discontinuities, non-differentiable, ill-conditioned, numerical precision
Topological T1-T3 OAM, Berry phase, topological charge

๐Ÿ“– Book Structure

Part I: Foundations (Chapters 1โ€“4)

Ch Title Key Topics
1 Eikonal as Universal Language Eikonal equation, bridge identity, singlet lens example
2 Hamilton's Characteristic Functions V, T, W, W' functions; Seidel aberrations
3 Wavefront Aberrations Zernike polynomials, PSF/MTF, Double Gauss example
4 Beyond Scalar Eikonal Three-axis failure framework (P/M/T), Level 1โ€“5 hierarchy

Part II: Computational Optics (Chapters 5โ€“8)

Ch Title Key Topics
5 Photonic Integration Dimensional hierarchy, eigenmode-eikonal, CPO couplers
6 Quantum-Inspired Optimization QUBO formulation, quantum annealing algorithms
7 Differentiable Eikonal Engine DEE architecture, JAX implementation, benchmarks
8 Walther-(Matsui-Nariai) Duality W/MN unified workflow, central methodology chapter

Part III: Quantum Extensions (Chapters 9โ€“11)

Ch Title Key Topics
9 Quantum Wavefront Sensing Squeezed light sensing, MPLC mode sorter
10 Quantum Walks in Waveguide Arrays Quantum walks, HOM effect, QRNG design
11 N-Photon Phase Multiplication N-photon enhancement, NOON states, Heisenberg limit

Part IV: Practice (Chapter 12)

Ch Title Key Topics
12 Production Workflows AR/VR combiner, CPO coupler, metalens, QKD source

Newly added (Brief guides (B) and Problem Cases (PC)) (April 2026)

categories Title Key Topics version
B1 Brief guide to eikonal bridge 6 analytical derivations and 11 problem cases v19
S_A Showcase_Eiknoal Bridge_Case A teaching optimized showcase A for eikonal bridge v9
S_B Showcase_Eiknoal Bridge_Case B research optimized showcase B for eikonal bridge v12
S_C Showcase_Eiknoal Bridge_Case C Engineering optimized showcase C for eikonal bridge v6

๐Ÿ“ Repository Structure

the-eikonal-bridge/
โ”œโ”€โ”€ assets/
โ”‚   โ””โ”€โ”€ images/               # README and documentation images
โ”‚       โ””โ”€โ”€ eikonal_evolution_bridge.png
โ”œโ”€โ”€ manuscript/               # LaTeX source files
โ”‚   โ”œโ”€โ”€ chapters/             # Individual chapter .tex files
โ”‚   โ”œโ”€โ”€ appendices/           # Appendix .tex files
โ”‚   โ”œโ”€โ”€ figures/              # Publication figures
โ”‚   โ””โ”€โ”€ main.tex              # Master document
โ”œโ”€โ”€ code/                     # Python/JAX implementations
โ”‚   โ”œโ”€โ”€ dee_core/             # DEE framework core modules
โ”‚   โ”œโ”€โ”€ examples/             # Worked examples from each chapter
โ”‚   โ”œโ”€โ”€ problems/             # Problem solution code
โ”‚   โ””โ”€โ”€ figures/              # Figure generation scripts
โ”œโ”€โ”€ solutions/                # Complete problem solutions manual
โ”œโ”€โ”€ notebooks/                # Jupyter notebooks for exploration
โ”œโ”€โ”€ data/                     # Sample datasets and results
โ””โ”€โ”€ docs/                     # Additional documentation

๐Ÿš€ Quick Start

Online Usage (Recommended)

  1. Clone or download the repository
  2. Navigate to notebooks/ for interactive exploration
  3. No heavy installation required for basic exploration!

Full Installation

# Clone the repository
git clone https://github.com/[username]/the-eikonal-bridge.git
cd the-eikonal-bridge

# Create virtual environment
python -m venv dee_env
source dee_env/bin/activate  # On Windows: dee_env\Scripts\activate

# Install dependencies
pip install -r requirements.txt

๐Ÿ“ฆ Dependencies

numpy>=1.21.0
matplotlib>=3.5.0
jax>=0.4.0
jaxlib>=0.4.0
scipy>=1.7.0
pyyaml>=6.0

๐ŸŽฎ Your First DEE Calculation

import jax.numpy as jnp
from jax import grad

def eikonal_to_quantum_phase(W_eikonal, wavelength):
    """
    Bridge identity: phi_quantum = 2*pi * W_eikonal / lambda
    """
    return 2 * jnp.pi * W_eikonal / wavelength

# The gradient is automatically available
d_phase_dW = grad(eikonal_to_quantum_phase)

# Example: 1 wave of OPD at 1.55 um
W = 1.55e-6  # meters
wl = 1.55e-6  # meters
phase = eikonal_to_quantum_phase(W, wl)
print(f"Quantum phase: {phase:.4f} rad = {phase/(2*jnp.pi):.4f} waves")

๐Ÿ“Š Specification Translation Tables

A key feature of this book is quantitative guidance on tolerance tightening when transitioning from classical to quantum applications:

Parameter Classical Spec Quantum Spec Tightening Factor
Wavefront Error ฮป/14 RMS ฮป/63 RMS ~4.5ร—
Surface Figure ฮป/20 P-V ฮป/100 P-V 5ร—
Temperature Stability ยฑ2 K ยฑ0.1 K 20ร—
Alignment (angular) 10 ฮผrad 0.1 ฮผrad 100ร—
Vibration Isolation 10 nm RMS 0.1 nm RMS 100ร—

๐Ÿ”ฌ Technical Highlights

DEE Performance Benchmarks

Operation Finite Difference JAX Autodiff Speedup
Gradient (N=100) 2.1 s 0.003 s 700ร—
Hessian (N=100) 210 s 0.15 s 1400ร—
Optimization (1000 iter) 35 min 45 s 47ร—

Eigenvalue-Eikonal Identity

The key equation connecting waveguide coupling to quantum state evolution:

ฮฒ_k = (dW_k/dz) ร— (2ฯ€/ฮป)

This identity enables unified design of classical CPO couplers and quantum photonic gates.


๐Ÿ™ Acknowledgments

This work bridges decades of optical engineering wisdom with modern computational methods. Special thanks to:

  • The optical design community for foundational knowledge
  • The JAX development team for enabling differentiable computing

๐Ÿ“„ Citation

If you use this work in your research, please cite:

@book{lin2026eikonal,
  title     = {The Eikonal Bridge: From Classical Lens Design to 
               Quantum Photonics via Differentiable Computing},
  author    = {Lin, Jyh-Long},
  year      = {2025},
  publisher = {Open-source},
  series    = {},
  isbn      = {}
}

๐Ÿค Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines.

  • ๐Ÿ› Bug Reports: Open an issue with a minimal reproducible example
  • ๐Ÿ’ก Feature Requests: Describe the use case and proposed solution
  • ๐Ÿ”ง Code Contributions: Fork, create a feature branch, submit a PR

๐Ÿ“œ License


๐Ÿšฆ Project Status

Current Version: 1.0 (Publication Preparation)
Last Updated: January 2026
Active Development: Yes


"The eikonal function is not just a mathematical convenienceโ€”it is the Rosetta Stone connecting classical ray optics to quantum wave mechanics."


About

Here is a book: The eikonal bridge: from classical lens design to quantum photonics through differentiable computing.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors