Skip to content

Release 2.1.0 — modern complex-valued architectures - #14

Merged
josiahwsmith10 merged 1 commit into
mainfrom
release/2.1.0
Jun 21, 2026
Merged

Release 2.1.0 — modern complex-valued architectures#14
josiahwsmith10 merged 1 commit into
mainfrom
release/2.1.0

Conversation

@josiahwsmith10

Copy link
Copy Markdown
Owner

Single-commit 2.1.0 release on top of the 2.0.1 line (now on main). 734 tests / 100% coverage; ruff check, ruff format --check, and sphinx -W all clean.

Adds: complex positional encodings (RoPE/sinusoidal/CoPE), holographic (interference-aware) attention, diagonal-complex state-space models (S4D/DSS/S4DBlock/MambaBlock), unitary RNN, learnable STFT/Gabor/Morlet front-ends, complex KAN, and Steinmetz/Analytic networks (+ analytic_signal/hilbert).

Also fixes wFMConvStrict2d to use the circular (Fréchet) mean on SO(2) instead of an arithmetic mean of raw angles — correct across the ±π branch cut and exactly U(1)-equivariant (verified by a new branch-cut test).

Supersedes the earlier #13 (which was mistakenly based on the 2.0.1 branch). The 2.0.1 work it depended on is now merged into main separately.

🤖 Generated with Claude Code

A large modern-architecture expansion of complextorch.nn / .models / .signal:

- Positional encodings: RotaryEmbedding (RoPE), SinusoidalPositionalEncoding,
  CoPE; wired into MultiheadAttention (rotary=) and ViT (pos_encoding=).
- Holographic (interference-aware) attention + HolographicReconstructionLoss
  and phase_smoothness anti-phase-collapse safeguards.
- Diagonal-complex state-space models: S4D, DSS, S4DBlock, and a selective
  MambaBlock (FFT long-conv == exact recurrence, verified).
- Unitary complex RNN (UnitaryRNN/Cell) via the Cayley transform.
- Learnable time-frequency front-ends: STFT/InverseSTFT (tie windows for exact
  inversion) and ComplexGaborConv1d/MorletConv1d filterbanks.
- Complex-valued KAN (CVKANLayer + CVKAN model).
- Steinmetz & Analytic networks + AnalyticSignalLoss; analytic_signal/hilbert
  signal utilities.

Also fixes wFMConvStrict2d to compute the phase mean as the circular (Fréchet)
mean on SO(2) instead of an arithmetic mean of raw angles — correct across the
±π branch cut and exactly U(1)-equivariant.

Lands with full tests (100% coverage maintained), rST/LaTeX docstrings,
concept pages, getting-started examples, and a CHANGELOG entry.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@josiahwsmith10
josiahwsmith10 merged commit 44ce2bb into main Jun 21, 2026
12 checks passed
@josiahwsmith10
josiahwsmith10 deleted the release/2.1.0 branch June 21, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant