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

Slow performance of trainer #25

Closed
Stephenito opened this issue Jul 12, 2022 · 3 comments
Closed

Slow performance of trainer #25

Stephenito opened this issue Jul 12, 2022 · 3 comments

Comments

@Stephenito
Copy link

Hi,
i am running the py quantum trainer example on the documentation (with AerBackend and TketModel), and the training time for each epoch is almost 1 minute. I would like to know how can i speed it up, what may be the most probable bottleneck.
I am using 100 samples for the training set and 30 for testing.
Thanks.

@y-richie-y
Copy link
Collaborator

Hi, the AerBackend can be used with TketModel to perform a noisy, architecture-aware simulation of an IBM machine. However for initial experiments we recommend using NumpyModel, as it performs noiseless simulations and is orders of magnitude faster.

@Stephenito
Copy link
Author

Thanks, i tried with NumpyModel and it performs approximately 5 times faster.

@dimkart
Copy link
Contributor

dimkart commented Jul 26, 2022

This will be now closed.

@dimkart dimkart closed this as completed Jul 26, 2022
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

3 participants