Skip to content

Document standalone NVIDIA QLDPC decoder packages - #957

Draft
melody-ren wants to merge 4 commits into
NVIDIA:mainfrom
melody-ren:melodyr/docs-standalone-decoders
Draft

melody-ren wants to merge 4 commits into
NVIDIA:mainfrom
melody-ren:melodyr/docs-standalone-decoders

Conversation

@melody-ren

Copy link
Copy Markdown
Collaborator

Description

Document standalone NVIDIA QLDPC decoder 0.1.0 alongside CUDA-Q QEC, with its own installation instructions, Python API reference, and release history.

  • Split Pre-built Decoders into QEC Library Decoders and Standalone Decoders, and show standalone availability in the decoder table.
  • Compare constructors, result layouts, and supported interfaces. Add QEC/standalone code tabs to the main examples and a --package selector to the downloadable QLDPC example.
  • Keep standalone version 0.1.0 separate from the QEC documentation version. Retain the current QEC 0.9.1 release notes and place Decoder Release History after them.
  • Identify workflows that require QEC, including noise learning, DEM preparation, and realtime integration.

The diff exceeds 1,000 lines because the existing pre-built decoder descriptions move into a separate page alongside the new standalone guide and API reference. These page moves are part of the navigation change.

Runtime / performance impact

N/A for the library. This changes documentation and a downloadable example; decoder implementation is unchanged.

Validation

  • Full Sphinx HTML rebuild with -E -a -n -W --keep-going: passed with zero warnings.
  • Browser checks passed for release navigation, QEC 0.9.1 and decoder 0.1.0 version text, API links, and QEC/standalone code tabs.
  • Python formatting checks passed, including the example and documentation configuration.
  • Full CI has not yet been run or reviewed for this PR.

Self-review checklist

Before requesting review

  • I reviewed my own full diff.
  • PR is in Draft.
  • Temporary / debugging changes have been removed.
  • Local validation logs reviewed; no unexplained warnings or errors.
  • CI logs reviewed; no unexplained warnings or errors.
  • Full CI has been run.

Scope and size

  • PR is under ~1000 lines, or an exception is justified in the description.
  • Refactoring-only changes are isolated in their own PR(s). The documentation moves support the new navigation; no library refactor is included.
  • No existing tests were disabled or modified just to make this PR pass.

Tests

  • New functionality has new tests. No automated regression tests were added for the example's package selector.
  • Tests fail if the new functionality is broken, including crashes.
  • Negative tests added where exceptions are expected.
  • Truth data added where simple assertions are insufficient for algorithmic correctness. No decoding algorithm changes.
  • CI runtime impact considered; no new CI jobs or test suites.

Documentation

  • Public-facing APIs have Doxygen docs. No C++ API changes; the standalone Python API is documented in Sphinx.
  • User-visible behavior changes have public documentation.

Code style

  • Naming follows existing conventions for the area being modified.

Dependencies

  • No new third-party dependencies.

Separate QEC library and standalone decoder guides, add package comparison and release history, and share examples through package-specific tabs. Track standalone version 0.1.0 independently and keep its release status in preparation.

Signed-off-by: Melody Ren <melodyr@nvidia.com>
Signed-off-by: Melody Ren <melodyr@nvidia.com>
Retain the separate decoder navigation while incorporating the QEC 0.9.1 release notes and updated JOBS detector limits.

Signed-off-by: Melody Ren <melodyr@nvidia.com>
Signed-off-by: Melody Ren <melodyr@nvidia.com>

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.

1 participant