Conversation
There was a problem hiding this comment.
👋 Thanks for opening your first pull request against PPVM!
A quick note on contribution terms: by submitting this PR you
agree that your contribution is licensed under the
Apache License 2.0
and that you accept the
PPVM Contributor License Agreement.
Please skim those before a maintainer reviews — opening this PR
counts as your acceptance.
A few things that will speed up review:
- Read
CONTRIBUTING.md
for the workflow, build commands, and style notes. - Run
prek run --all-fileslocally; CI runs the same checks. - Use Conventional Commits
for commit messages.
We'll get to your PR as soon as we can. Thanks for contributing!
|
Krastanov
marked this pull request as ready for review
September 25, 2026 05:57
Krastanov
marked this pull request as draft
September 25, 2026 06:00
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This was a quick and dirty benchmark I wanted to run to look at various bitpacking strategies. I have not actually validated myself that any of this is done correctly, please disregard for the moment.
AI slop below:
PR 204 already pads each tableau major to 256 bits. This adds a reproducible comparison of its storage and public API with QuantumClifford.jl and a Rust prototype using 8/16/32/64/128-bit words and both packing axes. Production storage is unchanged.
The harness checks common deterministic inputs against an independent Pauli reference, rejects missing configurations, records unsupported cases, and runs workers sequentially across 16 sizes and three process launches. The report includes 32,400 timing samples, 1,170 additional arbitrary-input validation cases, raw results, plots, source/executable hashes and a replayable Julia dependency lock.
On the measured Apple M5 Pro at 1,024 qubits:
The results support keeping generator-packed columns, amortizing row conversion, and evaluating QuantumClifford's phase kernel independently. Compact padding helps the experimental small-tableau cases; larger-tableau gains are modest and mixed. QC
fastcolumntransposes words, while ppvm columns pack generator bits; the report explains this distinction and the comparison limits.Full report · Run instructions
Validation: full Rust workspace tests (1,938 passed, three ignored), focused tableau and candidate tests, workspace Clippy/check, Rust formatting, Python lint/format, all benchmark checks, and exact Julia dependency replay. Local Rust is 1.96.0. The first upstream CI run uses newer Clippy and fails on
chunks_exact_to_as_chunksin unchangedcrates/stim-parser/src/pipeline/lower.rs:440; that unrelated parser code is outside this study.Stacked on #204, pinned at
3befaf1b597033138d6c1bab394b967b09cd57fb. QuantumClifford is pinned at1e553b25fdf12c67b55ccedfbc2f48f4dea78fcc.