Skip to content

Logging information and set default parameters - #13

Merged
christofid merged 3 commits into
mainfrom
diagnostics_logfiles
Sep 28, 2026
Merged

christofid merged 3 commits into
mainfrom
diagnostics_logfiles

Conversation

@ter04

@ter04 ter04 commented Sep 25, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@christofid christofid left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice work! I made a small comment about an argument renaming. Also 2 more general suggestions:

  1. I would exclude execute.sh and plot_cas_pes.py as they are just scripts that helps to run experiments.
  2. Diagnostics are nice to have but I would have a flag to enable/disable them rather than collect them every time

Comment thread src/embasi_qiskit_integration/cli.py Outdated
# Processes used to build the circuit ensemble. 0 means one per CPU.
workers: int = 1
# SQD solver parameters
method: Literal["exact", "qdrift"] = "qdrift"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I would call it sqd_method as method it too generic and can be vague

@ter04
ter04 force-pushed the diagnostics_logfiles branch from 86688bd to e11a37d Compare September 25, 2026 10:58
Signed-off-by: Esther Gallego Estevez <ester.g.estevez@gmail.com>
@ter04
ter04 force-pushed the diagnostics_logfiles branch from e11a37d to 2b4a1ed Compare September 25, 2026 11:50

@drugilsberg drugilsberg left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Let's move plot_cas_pes.py and execute.sh somewhere else removing them from the repo, they contain too much ad-hoc code.

Let's also rename diagnostics_csv.py to diagnostics.py as it can be much more generic than just a csv.

…CLI command --sqd_method and README information about the new CLI parameters

Signed-off-by: Esther Gallego Estevez <ester.g.estevez@gmail.com>
Signed-off-by: Esther Gallego Estevez <ester.g.estevez@gmail.com>
@ter04
ter04 force-pushed the diagnostics_logfiles branch from 0070254 to 689b087 Compare September 28, 2026 09:10
@ter04

ter04 commented Sep 28, 2026

Copy link
Copy Markdown
Collaborator Author

Force-pushed this branch to add a missing Signed-off-by line (DCO).

@christofid christofid left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice job!

@christofid
christofid merged commit c0beb46 into main Sep 28, 2026
2 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