Skip to content

Changes to QBC and RB apps#74

Merged
mghibaudi merged 65 commits into
mainfrom
togno
Oct 9, 2025
Merged

Changes to QBC and RB apps#74
mghibaudi merged 65 commits into
mainfrom
togno

Conversation

@Tognognongo

Copy link
Copy Markdown
Contributor

Added tracing with larger logging levels to both the QBC and RB apps

@mghibaudi
mghibaudi requested a review from Copilot October 2, 2025 15:18

@mghibaudi mghibaudi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Adds enhanced tracing/logging and significant refactors to the RB and QBC applications, including new configuration handling, schema changes, and benchmarking logic. Also updates connector tracing steps, modifies the mock MPI handler, and relaxes Pandera import usage. Some test assertions were removed without replacement.

  • Refactored RB app: new schema, benchmark generation, QASM construction, and survival probability aggregation.
  • Refactored QBC app: added argument decoding, parameter initialization changes, and updated loss aggregation.
  • Introduced (insecure) pickle-based APP_ARGS decoding in both RB and QBC; removed RB test assertions reducing coverage.

Reviewed Changes

Copilot reviewed 9 out of 11 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
tests/test_apps.py Removed assertions in RB pre test reducing validation strength.
qstone/utils/utils.py Added docstring and minor membership check improvement.
qstone/profiling/profile.py Adjusted pandera import namespace.
qstone/multiprocessing/nompi.py Added communicate method; changed Get_size return; simplified allreduce.
qstone/generators/generator.py Added formatting newline (no functional change).
qstone/generators/common/jobs.py.jinja Updated connector argument/environment variable mapping and removed duplicate instantiations.
qstone/connectors/no_link/no_link.py Corrected computation_step annotations; switched outcome source.
qstone/apps/RB.py Major redesign of RB workflow, configuration parsing, QASM generation, and post-processing.
qstone/apps/QBC.py Added tracing levels, APP_ARGS decoding, parameter initialization changes, and loss logic adjustments.

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread qstone/apps/RB.py Outdated
Comment thread qstone/apps/RB.py
Comment thread qstone/apps/RB.py Outdated
Comment thread qstone/apps/RB.py Outdated
Comment thread qstone/apps/RB.py
Comment thread qstone/apps/QBC.py Outdated
Comment thread qstone/apps/QBC.py
Comment thread qstone/apps/QBC.py Outdated
Comment thread qstone/apps/QBC.py
Tognognongo and others added 7 commits October 2, 2025 13:59
@mghibaudi
mghibaudi requested a review from Copilot October 9, 2025 10:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 11 out of 13 changed files in this pull request and generated 3 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread qstone/apps/RB.py Outdated
Comment thread qstone/multiprocessing/nompi.py
Comment thread qstone/apps/RB.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@mghibaudi
mghibaudi merged commit 04a7878 into main Oct 9, 2025
19 checks passed
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.

3 participants