Skip to content

docs(design): document traits 2 refactor#184

Draft
Roger-luo wants to merge 1 commit into
mainfrom
codex/traits-2-design-refactor
Draft

docs(design): document traits 2 refactor#184
Roger-luo wants to merge 1 commit into
mainfrom
codex/traits-2-design-refactor

Conversation

@Roger-luo

Copy link
Copy Markdown
Collaborator

Summary

  • redesign the proposed ppvm-traits-2 configuration boundary around direct type composition
  • define the generalized Word and separate Indexable hashing capability
  • preserve existing names such as ACMap, PauliWord, GeneralizedTableauSum, and EntryStore where their concepts remain unchanged
  • document concrete Pauli, lossy, phased, and cached-hash representations
  • propose a contiguous, column-major tableau representation with temporary transposition

Motivation

The current Config bundle mixes coefficient, word representation, hashing, map, and truncation choices. These design notes separate algorithm policy and storage from quantum-data representations while retaining established terminology unless an abstraction materially changes.

Impact

This PR adds design documentation only. It does not modify the current implementation or public API. The documents are intended to guide a later ppvm-traits-2 prototype and further design iteration.

Validation

  • git diff --cached --check
  • repository pre-commit hooks, including trailing whitespace, EOF, merge-conflict, private-key, and Hawkeye license checks

@github-actions

Copy link
Copy Markdown
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://QuEraComputing.github.io/ppvm/pr-preview/pr-184/

Built to branch gh-pages at 2026-07-17 03:58 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

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