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

[Performance] Possible optimizations #146

Open
jpmoutinho opened this issue Mar 15, 2024 · 1 comment
Open

[Performance] Possible optimizations #146

jpmoutinho opened this issue Mar 15, 2024 · 1 comment
Labels
performance Performance improvements

Comments

@jpmoutinho
Copy link
Collaborator

jpmoutinho commented Mar 15, 2024

https://github.com/quantumlib/qsim

To speed up the simulator, we use gate fusion [2] [3], single precision arithmetic, AVX/FMA instructions for vectorization and OpenMP for multi-threading.

I suspect this gate fusion is similar to what is already implemented in PyQTorch for 1Q gates, but maybe there are some more general ideas to explore there.

@jpmoutinho jpmoutinho added the performance Performance improvements label Mar 15, 2024
@dominikandreasseitz
Copy link
Collaborator

@jpmoutinho yes, gate-fusion is what we do in the pyq backebd in qadebce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance improvements
Projects
None yet
Development

No branches or pull requests

2 participants