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

qsimcirq performance overhead #432

Open
sergeisakov opened this issue Sep 21, 2021 · 1 comment
Open

qsimcirq performance overhead #432

sergeisakov opened this issue Sep 21, 2021 · 1 comment

Comments

@sergeisakov
Copy link
Collaborator

qsimcirq Python performance overhead is very high for small circuits. Say, for a 10-qubit circuit, it can be two orders of magnitude larger than the actual simulation time.

@95-martin-orion
Copy link
Collaborator

This profile graph is generated from a benchmark against 1000 circuits, each with 2 qubits and 4 gates. A notable culprit is the getattr method, which consumes ~10% of the runtime (compared to ~0.56% for the actual simulation)

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