Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verbose boolean for QSimSimulator #244

Open
dabacon opened this issue Nov 22, 2020 · 1 comment
Open

Verbose boolean for QSimSimulator #244

dabacon opened this issue Nov 22, 2020 · 1 comment

Comments

@dabacon
Copy link
Collaborator

dabacon commented Nov 22, 2020

Currently the simulator will print to stdio if there are no intermediate results. Often one want to run repeated simulations and does not want this to pollute the terminal. Suggest that there be a verbose flag on the simulator to turn on and off this printing.

@95-martin-orion
Copy link
Collaborator

There is a verbosity flag in the qsim_options argument to QSimSimulator, e.g. QSimSimulator(qsim_options={'v': 1}). However, the default value of this flag is zero. We may be able to increase the verbosity level of certain log lines if you can identify which ones are causing issues, though.

(Part of me wants to suggest running with qsim_options={'v': -1} just to see what happens, but I have a feeling this will omit all log messages...)

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

No branches or pull requests

2 participants