Skip to content

Patch for adding initial skeleton of lossy-pauli-word-2. - #250

Open
JonhasA wants to merge 14 commits into
trait-2/lossy-pauli-word-2from
trait-2/loss-pauli-word-data-only
Open

JonhasA wants to merge 14 commits into
trait-2/lossy-pauli-word-2from
trait-2/loss-pauli-word-data-only

Conversation

@JonhasA

@JonhasA JonhasA commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

As this crate can be quite complicated, this is just PR 1 of incremental merges to support lossy-pauli-word-2. This patch does the following:

  • Initialize the lossy-pauli-word-2 crate
  • adds forgotten LossySite enum in ppvm-traits-2/src/loss.rs
  • implements LossyPauliWord, which has:
    • two hash cashes, for the xz structure and the loss structure
    • implements Word, PauliBits, LossSite, and other traits

Part of the effort to refactoring #204

@JonhasA
JonhasA requested review from Roger-luo and david-pl October 16, 2026 06:59
@github-actions

github-actions Bot commented Oct 16, 2026 •

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-250/

Built to branch gh-pages at 2026-10-16 15:06 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@david-pl david-pl left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good, and thanks for keeping the scope small! There are some copy & paste errors from the standard Pauli word, which don't properly handle caches or lbits.

Comment thread crates/ppvm-lossy-pauli-word-2/src/data.rs Outdated
Comment thread crates/ppvm-lossy-pauli-word-2/src/data.rs
Comment thread crates/ppvm-lossy-pauli-word-2/src/data.rs

This branch has not been deployed

No deployments
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.

2 participants