Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
128 commits
Select commit Hold shift + click to select a range
0ea5965
Add QEC simulator literature survey scaffold
ciaranra Apr 12, 2026
1364efe
Add DemStabSim wrapper proposal and next-sim recommendation
ciaranra Apr 12, 2026
292153d
Anchor DemStabSim to sim() entry point; confirm build order; mark bos…
ciaranra Apr 12, 2026
2e4903b
Add DemStabSim module skeleton and SimBuilder audit
ciaranra Apr 12, 2026
1172a95
Promote Path B to v2 roadmap; sketch batch-mode design
ciaranra Apr 12, 2026
ee4cba9
Add DemStabSim v0 pure-sim module with parity tests
ciaranra Apr 12, 2026
4c81e3b
Add MemStabSim v0 sibling module + parity tests
ciaranra Apr 12, 2026
8eb2e0d
Propose sample_stab batch orchestration sibling to sim()
ciaranra Apr 12, 2026
c66d3c3
Revise sample_stab proposal: pecos.sampling.stab under X4 catalog model
ciaranra Apr 12, 2026
e02d881
Add Lindblad/trajectory sim skeleton + refine literature #7
ciaranra Apr 13, 2026
4d2bd01
Add Magnus/Pauli-Lindblad algorithm spec + resolve skeleton open ques…
ciaranra Apr 13, 2026
05378ec
Verify Magnus/crosstalk formulas against 2502.03462 latex source
ciaranra Apr 13, 2026
b7d85a8
Scaffold exp/pecos-lindblad with 1Q identity synthesis (Phase 1)
ciaranra Apr 13, 2026
786911e
Add Phase 2: 1Q X_theta synthesis via interaction frame + Simpson
ciaranra Apr 13, 2026
707e21d
Correct Walsh-Hadamard inversion sign in algorithm spec
ciaranra Apr 13, 2026
4a396ea
Add Phase 3: n-qubit synthesis with Walsh-Hadamard + CZ_theta test
ciaranra Apr 13, 2026
74c56ff
Add Phase 4: CX_theta synthesis + block-diagonal matrix exp
ciaranra Apr 13, 2026
45503ef
Add Phase 5 scaffold: PL summary helpers + DemStabSim scalar-collapse…
ciaranra Apr 13, 2026
ff3b4c4
Polish: add top-level doctest + Magnus-order scope documentation
ciaranra Apr 13, 2026
7231fca
Add general matrix::expm via Taylor scaling-squaring
ciaranra Apr 13, 2026
437b9fd
Add Phase 6: exact-unitary synthesis + 3Q IZZ crosstalk test
ciaranra Apr 13, 2026
9602ca6
Add Phase 7: 2Q coherent phase noise parity tests (paper eqs. 981, 98…
ciaranra Apr 13, 2026
5859f66
Add Gate::from_hamiltonian + iSWAP smoke tests for expm fallback
ciaranra Apr 13, 2026
77d06b7
Add noise_models module: device-parameter (T1, T2) convenience API
ciaranra Apr 13, 2026
58a26bb
Add serde feature: (de)serialize PauliLindbladModel for caching
ciaranra Apr 13, 2026
4d1e7a2
Verification gaps 1-3: Simpson convergence, cross-path, 4Q smoke
ciaranra Apr 13, 2026
0a43649
Verification gap 4: Hermitian + bounds input validation
ciaranra Apr 13, 2026
cca1536
Verification gaps 5-7: Walsh-Hadamard round-trip, positivity sweep, s…
ciaranra Apr 13, 2026
92562d8
Verification gap 8: property-based invariants with proptest
ciaranra Apr 13, 2026
a5b0949
Limit fix F1: PauliLindbladModel diff/residual/diagnose helpers for v…
ciaranra Apr 13, 2026
d709be8
Limit fix F2: superop synthesis path for mixed coherent+dissipative n…
ciaranra Apr 13, 2026
cfc733a
Limit fix F3: Monte Carlo uncertainty propagation for (T1, T2) inputs
ciaranra Apr 13, 2026
6eb56eb
Limit fix F4: general time-sliced superop synthesis for mixed noise +…
ciaranra Apr 13, 2026
cb958ee
Limit fix F5: inverse fit (analytic 1Q recovery) + compose_independent
ciaranra Apr 13, 2026
28be80a
Limit fix F6: 2Q CZ_theta inverse fit with model-mismatch residual
ciaranra Apr 13, 2026
6f5bfa5
Limit fix F7: 2Q CX_theta inverse fit with sin(2 theta) decoupling
ciaranra Apr 13, 2026
242ff0f
G1: add PerGateTypeNoise types + with_per_gate_noise builder (dead path)
ciaranra Apr 13, 2026
fa43093
G2: teach DemSamplerBuilder::build to use per-gate-type rates
ciaranra Apr 13, 2026
c9126fd
G3: pecos-lindblad PauliLindbladModel adapter + DemStabSim per_gate_n…
ciaranra Apr 13, 2026
cf9b2ae
Non-Markovian TCL support: TimeDepLindbladian + time-sliced synthesis
ciaranra Apr 14, 2026
70ed99f
Revert feature flags; simplify lib.rs docs to 'core vs extended' stru…
ciaranra Apr 15, 2026
d77472c
Per-qubit noise variation in PerGateTypeNoise with layered lookup
ciaranra Apr 15, 2026
7613a0b
Per-qubit measurement and prep rates in PerGateTypeNoise
ciaranra Apr 15, 2026
2323686
Add PauliLindbladModel::explain() noise-budget inspector
ciaranra Apr 15, 2026
8f33db6
Route GateType::Idle locations through 1Q noise path
ciaranra Apr 15, 2026
8160481
Merge origin/dev (Surf dems #293) into worktree-qec-sim-literature
ciaranra Apr 15, 2026
98c2ff3
DemStabSim::detector_error_model() for Stim-format DEM text export
ciaranra Apr 15, 2026
0ff128c
DemBuilder::with_per_gate_noise for decomposed DEM text with asymmetr…
ciaranra Apr 15, 2026
1caf399
Move 5 lindblad/DEM design docs to pecos-docs vault
ciaranra Apr 17, 2026
b59e7de
Remove design/ directory: all docs migrated to pecos-docs vault
ciaranra Apr 17, 2026
ebe26bd
Fault tolerance infrastructure: meas_sampling, fault catalog, decoder…
ciaranra May 8, 2026
eb0099e
Merge dev into worktree-cleanup, add StabMps RngManageable impl
ciaranra May 8, 2026
120cc0d
Add debug findings for InfluenceBuilder regression
ciaranra May 8, 2026
7f1ded1
Fix InfluenceBuilder to populate observables from circuit annotations
ciaranra May 8, 2026
fbbef6c
Fix duplicate observable handling, split-time propagation, compact de…
ciaranra May 8, 2026
16a9a9c
Clippy cleanup, lint tightening, terminology fixes
ciaranra May 8, 2026
bacaf02
Remove dem_sampling() alias, keep only meas_sampling()
ciaranra May 8, 2026
443ca0b
Rename internal dem_sampling_method field to meas_sampling_method
ciaranra May 8, 2026
258e184
Parameterized fault catalog: structural construction, noise separatio…
ciaranra May 9, 2026
89424c6
Ruff config expansion and lint fixes across codebase
ciaranra May 9, 2026
492cf4e
Update fault catalog tutorial for parameterization, tracked operators…
ciaranra May 9, 2026
40c7eb3
Fix doc test blocks: merge split examples, add continuation markers, …
ciaranra May 9, 2026
f7bd783
Improve fault catalog tutorial: quick start, real-world entry point, …
ciaranra May 9, 2026
4299698
Fix tutorial issues from Codex review: API mismatch, tracked-op examp…
ciaranra May 9, 2026
244cd32
Tighten fault catalog tutorial: cut repetition, add metadata context …
ciaranra May 9, 2026
16252c8
Fix tracked-operator tutorial example to produce visible output
ciaranra May 9, 2026
c0465b0
Add expect-output checks to fault catalog tutorial doc tests
ciaranra May 9, 2026
a3d3210
Add expect-output-block doc test marker with exact and ellipsis matching
ciaranra May 9, 2026
8f929bb
Move decoder-architecture design doc to pecos-docs, add output block …
ciaranra May 9, 2026
ff18399
Refine operator taxonomy and tracked operator APIs
ciaranra May 9, 2026
a0633fe
Merge branch 'worktree-qec-sim-literature' into worktree-cleanup
ciaranra May 9, 2026
3137e9d
Refine operator and sampler infrastructure
ciaranra May 10, 2026
0a70eaf
Pack F2Matrix storage
ciaranra May 10, 2026
ec691cd
Add entanglement measures
ciaranra May 10, 2026
0a9bb44
Add packed Pauli commutation matrix
ciaranra May 10, 2026
38b5f86
Add Choi tomography helpers
ciaranra May 10, 2026
7afb9b3
Add tomography and GPU state access helpers
ciaranra May 10, 2026
eb3942f
Add random density matrix and channel generators
ciaranra May 10, 2026
8c0b324
Add in-place Pauli bitmask conjugation
ciaranra May 10, 2026
316ca92
Batch raw fault overlay masks
ciaranra May 10, 2026
757d978
Add dense stabilizer Pauli expectation access
ciaranra May 10, 2026
112e2f7
Expose quantum info primitives to Python
ciaranra May 10, 2026
5788624
Document quantum info primitives
ciaranra May 10, 2026
efeba54
Add Pauli channel diamond norm
ciaranra May 10, 2026
49adbb7
Add simulator state conversion bridges
ciaranra May 10, 2026
94dab46
Add quantum information measure utilities
ciaranra May 10, 2026
f3c7364
Group commuting Pauli collections
ciaranra May 10, 2026
69869a2
Add channel matrix representation types
ciaranra May 10, 2026
df39e4f
Expose quantum info additions to Python
ciaranra May 10, 2026
b19c9f0
Add first-class channel noise compilation
ciaranra May 10, 2026
b3ad169
Add inline channel execution for sim_neo
ciaranra May 10, 2026
6f4adc3
Add tomography helpers and catalog propagation reuse
ciaranra May 10, 2026
215651d
Refresh catalog benchmark plans
ciaranra May 10, 2026
bde3459
Check root Python workspace version
ciaranra May 10, 2026
a687fd8
Harden Python workspace metadata checks
ciaranra May 10, 2026
6966369
Harden Python workspace metadata tooling
ciaranra May 10, 2026
7b2a30b
Make idle noise explicit in DEM builders
ciaranra May 10, 2026
cd1373f
Make doc tests runnable and harden checks
ciaranra May 10, 2026
0a22ebf
Polish PECOS concepts and PauliString ergonomics
ciaranra May 10, 2026
435a967
Polish quantum-info Python ergonomics
ciaranra May 10, 2026
b500e52
Polish QEC UX and quantum info regressions
ciaranra May 11, 2026
a55391e
Refine operator algebra and quantum-info validation
ciaranra May 11, 2026
1f1f4ec
Consolidate cleanup review fixes and benchmarks
ciaranra May 11, 2026
1a372ec
Route batched execution through TickCircuit
ciaranra May 11, 2026
8af551f
Remove separate TickCircuitSoA representation
ciaranra May 11, 2026
fb5e069
Rename tick analyzer to batched
ciaranra May 11, 2026
e8f38dc
Clarify Tick internal batched command storage
ciaranra May 11, 2026
5afd5d3
Use explicit batched gate access internally
ciaranra May 11, 2026
b454109
Use batched gate terminology in Rust internals
ciaranra May 11, 2026
022f01d
Move Tick storage to internal SoA
ciaranra May 11, 2026
5878585
Expose explicit Python gate_batches access
ciaranra May 11, 2026
90a1a03
Remove TickCircuit gate alias APIs
ciaranra May 11, 2026
bffc538
Simplify Tick storage and update stubs
ciaranra May 11, 2026
09d805c
Use TickCircuit tick iterators in consumers
ciaranra May 11, 2026
4399ff1
Align TickCircuit batch metadata storage
ciaranra May 11, 2026
540b250
Add TickCircuit borrowed gate views
ciaranra May 11, 2026
4ceae2c
Migrate TickCircuit consumers to gate batch views
ciaranra May 11, 2026
7fe3808
Polish TickCircuit gate batch APIs
ciaranra May 11, 2026
17f5cbf
Fix stale maturin extension artifacts
ciaranra May 12, 2026
60598ea
Polish DEM tracking and gate handling
ciaranra May 12, 2026
a8dc453
Upgrade Rust Wasmtime to 44
ciaranra May 12, 2026
fbc4951
Add pecos env command and fix macOS SDKROOT for highs-sys bindgen
ciaranra May 12, 2026
da37544
Apply lint fixes to pecos env command
ciaranra May 12, 2026
6f5097a
Fix clippy errors in pecos env command
ciaranra May 12, 2026
f7a15f9
Fix CI failures: Tesseract MSVC build, Python 3.10 tomli, doc test guppy
ciaranra May 12, 2026
d86f16d
Fix macOS clippy collapsible-if and add pecos-rslib-exp to release wo…
ciaranra May 12, 2026
05d155a
Remove quantum-pecos dependency on pecos-rslib-exp
ciaranra May 12, 2026
a1c51ac
Fix test importing pecos-rslib-exp names from pecos namespace
ciaranra May 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ jobs:
PATH=$HOME/.cargo/bin:$HOME/.pecos/deps/llvm-14/bin:$PATH
LLVM_SYS_140_PREFIX=$HOME/.pecos/deps/llvm-14
MACOSX_DEPLOYMENT_TARGET=13.2
SDKROOT=$(xcrun --show-sdk-path)
CIBW_BEFORE_ALL_MACOS: |
curl -sSf https://sh.rustup.rs | sh -s -- -y
source $HOME/.cargo/env
Expand Down Expand Up @@ -287,6 +288,7 @@ jobs:
PATH=$HOME/.cargo/bin:$HOME/.pecos/deps/llvm-14/bin:$PATH
LLVM_SYS_140_PREFIX=$HOME/.pecos/deps/llvm-14
MACOSX_DEPLOYMENT_TARGET=13.2
SDKROOT=$(xcrun --show-sdk-path)
CIBW_BEFORE_ALL_MACOS: |
source $HOME/.cargo/env 2>/dev/null || { curl -sSf https://sh.rustup.rs | sh -s -- -y && source $HOME/.cargo/env; }
if [ ! -d "$HOME/.pecos/deps/llvm-14/bin" ]; then
Expand Down
44 changes: 13 additions & 31 deletions .github/workflows/python-version-consistency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,46 +3,28 @@ name: Python Version Consistency Check
on:
push:
paths:
- 'pyproject.toml'
- 'python/**/pyproject.toml'
- 'scripts/check_python_workspace.py'
- '.github/workflows/python-version-consistency.yml'
pull_request:
paths:
- 'pyproject.toml'
- 'python/**/pyproject.toml'
- 'scripts/check_python_workspace.py'
- '.github/workflows/python-version-consistency.yml'

jobs:
check_versions:
check_python_workspace:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6

- name: Check version consistency
run: |
# Find all pyproject.toml files in the python/ directory
PYPROJECT_FILES=$(find python -name pyproject.toml)
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.11"

# Initialize variables
FIRST_VERSION=""
INCONSISTENT=false

# Check each pyproject.toml file
for file in $PYPROJECT_FILES; do
VERSION=$(grep -oP 'version = "\K[^"]+' $file)

if [ -z "$FIRST_VERSION" ]; then
FIRST_VERSION=$VERSION
echo "Reference version: $FIRST_VERSION (from $file)"
elif [ "$VERSION" != "$FIRST_VERSION" ]; then
echo "Inconsistent version found in $file: $VERSION"
INCONSISTENT=true
else
echo "Consistent version found in $file: $VERSION"
fi
done

# Exit with error if versions are inconsistent
if [ "$INCONSISTENT" = true ]; then
echo "Error: Inconsistent versions found across pyproject.toml files"
exit 1
else
echo "Success: All pyproject.toml files have consistent versions"
fi
- name: Check Python workspace metadata
run: python scripts/check_python_workspace.py
2 changes: 2 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@ egative = "egative"
agger = "agger"
# Ruff rule code prefix (flake8-copyright)
CPY = "CPY"
# Abbreviation for "undetectable" in fault enumeration debug output
UNDET = "UNDET"
Loading
Loading