Skip to content

Improve Symmray MPS sampling strategy - #8

Closed
rezaquant wants to merge 78 commits into
mainfrom
agent/native-gpu-tree-qr
Closed

Improve Symmray MPS sampling strategy#8
rezaquant wants to merge 78 commits into
mainfrom
agent/native-gpu-tree-qr

Conversation

@rezaquant

Copy link
Copy Markdown
Collaborator

What changed

  • Added a public strategy= alias for MpsSampler while preserving prefix_strategy=.
  • Added budget-aware automatic dense batching for resolved fermionic U1/U1U1 Symmray MPSs.
  • Kept parity-collapsed Z2/Z2Z2 states on the charge-aware sparse path.
  • Added dense-memory diagnostics, documentation, and sampler regression tests.

Why

High-entropy Symmray batches were falling back to many serial prefix contractions. The dense native batch kernel is substantially faster when the estimated dense MPS view fits the configured memory budget.

Validation

  • 83 sampler tests passed.
  • 31 public API/package tests passed.
  • Ruff passed for the changed Pepsy files.

rezaquant added 30 commits July 27, 2026 13:15
rezaquant added 28 commits July 31, 2026 21:54
* Add Tree bond and QR profiling diagnostics

* Keep Tree bond diagnostics opt-in
@rezaquant rezaquant closed this Aug 5, 2026
@rezaquant
rezaquant deleted the agent/native-gpu-tree-qr branch August 5, 2026 16:31
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