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

example never converging? #34

Open
jsenellart opened this issue Sep 1, 2023 · 1 comment
Open

example never converging? #34

jsenellart opened this issue Sep 1, 2023 · 1 comment

Comments

@jsenellart
Copy link

Hello,

I am trying to run the following example out of the bow:

pytheus run --example cnot22_sp

It has been running for almost one week (on modern Apple M1 computer) - with the following message in loop:

10 invalid preoptimization, consider changing parameters.
INFO:pytheus.optimizer:10 invalid preoptimization, consider changing parameters.
INFO:pytheus.optimizer:begin preopt
INFO:pytheus.optimizer:end preopt
INFO:pytheus.optimizer:begin preopt
INFO:pytheus.optimizer:end preopt
INFO:pytheus.optimizer:begin preopt
INFO:pytheus.optimizer:end preopt
INFO:pytheus.optimizer:begin preopt
INFO:pytheus.optimizer:end preopt
INFO:pytheus.optimizer:begin preopt
INFO:pytheus.optimizer:end preopt
INFO:pytheus.optimizer:begin preopt
INFO:pytheus.optimizer:end preopt
INFO:pytheus.optimizer:begin preopt
INFO:pytheus.optimizer:end preopt
INFO:pytheus.optimizer:begin preopt
INFO:pytheus.optimizer:end preopt
INFO:pytheus.optimizer:begin preopt
INFO:pytheus.optimizer:end preopt
INFO:pytheus.optimizer:begin preopt
INFO:pytheus.optimizer:end preopt

is it expected?

Thanks in advance!

@cruizgo
Copy link
Collaborator

cruizgo commented Sep 1, 2023

Hi!

We have to update the README.md but the best way to replicate our solutions is to explore the folder pytheus/graphs which includes all the experiments and plots from our paper. Once you find the corresponding config file you can run it as follows:
pytheus run pytheus/graphs/Gates/cnot22_sp/config_cnot22_sp.json

Sorry for the confusion and let us know if you have further questions.

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