Repository navigation
Add Monte-Carlo FER simulator with BER sweep, CMake target, and CI artifact export - #1
Closed
sparkainlp-x with Copilot wants to merge 3 commits into
Closed
sparkainlp-x with Copilot wants to merge 3 commits into
sparkainlp-x with Copilot wants to merge 3 commits into
Conversation
Co-authored-by: sparkainlp-x <281253927+sparkainlp-x@users.noreply.github.com>
Co-authored-by: sparkainlp-x <281253927+sparkainlp-x@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add Monte-Carlo Frame Error Rate simulation for qLDPC decoder
Add Monte-Carlo FER simulator with BER sweep, CMake target, and CI artifact export
Aug 26, 2026
sparkainlp-x
approved these changes
Aug 26, 2026
Copilot AI
added a commit
that referenced
this pull request
Aug 27, 2026
- Integrate monte_carlo.cpp from PR #1 (BER sweep, FER statistics, CSV/JSON export) - Update CMakeLists.txt with monte_carlo_sim target and smoke test - Update CI workflow to run Monte-Carlo simulation and upload fer_curve.csv artifact - Replace minimal README with comprehensive scientific documentation (20 improvements) - Add PERFORMANCE.md with FER analysis, latency benchmark results, and reproducibility guide Co-authored-by: sparkainlp-x <281253927+sparkainlp-x@users.noreply.github.com>
Owner
|
Closing as overlapping #2, which contains the same Monte-Carlo FER simulator plus the CMake/CI changes. The branch is kept for reference. |
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 PR adds a Monte-Carlo Frame Error Rate workflow for the qLDPC decoder to measure FER across configurable BER points and produce machine-consumable curve outputs. It also wires the simulator into build and CI so FER generation is part of the software validation stage.
Monte-Carlo FER executable (
monte_carlo.cpp)monte_carlo_simto run BER sweeps with configurable trials, BER list, RNG seed, and progress interval.std::mt19937+std::bernoulli_distribution, computes noisy syndromes, runs BP decode, and records frame failures.BER,FER,FramesAtBER,ErrorsAtBER,Timestamp; optional JSON includes full stats.Build integration (
CMakeLists.txt)BUILD_MONTE_CARLO_SIM(defaultON).monte_carlo_simtarget linked againstldpcandOpenMP.CI integration (
.github/workflows/ci.yml)software-cito run Monte-Carlo with configurableMONTE_CARLO_TRIALS(default10000).fer_curve.csvas a CI artifact.Documentation (
README.md)