refactor(ppvm-lindblad): split lib.rs along spec/basis/step lines - #215
Open
david-pl wants to merge 2 commits into
Open
refactor(ppvm-lindblad): split lib.rs along spec/basis/step lines#215david-pl wants to merge 2 commits into
david-pl wants to merge 2 commits into
Conversation
|
The CTPP crate was one 1300-line file. Keep the public API and move the single-Pauli kernel, basis operators, and predictor-corrector into sibling modules. Also drop the unused approx dep, demote ppvm-pauli-sum to dev-dependencies, and strip 182-forward doc links. Co-authored-by: Cursor <cursoragent@cursor.com>
david-pl
force-pushed
the
codex/pr181-lindblad-split
branch
from
September 1, 2026 15:16
d085db5 to
3a76724
Compare
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.
Summary
ppvm-lindbladlib.rs/LindbladSpecimpl intoword,algebra,spec,basis,step, andtests, keeping the publicppvm_lindblad::*API.pc_stepcopy, demotesppvm-pauli-sumto a dev-dependency, drops unusedapprox, strips 182-forwardorbit_repdoc links, and forwardsadmit_basis/tau_addon the Python stringpc_step.split/2-ctpp-core) on purpose. Codex/pr180 symmetry design #193 replaces Translation symmetry: TranslationGroup + orbit-representative Pauli-sum merging #180 and is not an ancestor of Continuous-time Pauli propagation: real-space adaptive Lindbladian evolution #181; retargeting this at Codex/pr180 symmetry design #193 now would mix the whole CTPP crate into the diff. After Codex/pr180 symmetry design #193 merges and Continuous-time Pauli propagation: real-space adaptive Lindbladian evolution #181 is rebased onto it, this PR rebases with Continuous-time Pauli propagation: real-space adaptive Lindbladian evolution #181.Test plan
cargo test -p ppvm-lindblad(6 passed)cargo clippy -p ppvm-lindblad --all-targets -- -D warningscargo check -p ppvm-python-nativeMade with Cursor