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

[simulator] Try speeding up the simulator #64

Open
3 tasks
Phionx opened this issue Nov 14, 2021 · 0 comments
Open
3 tasks

[simulator] Try speeding up the simulator #64

Phionx opened this issue Nov 14, 2021 · 0 comments

Comments

@Phionx
Copy link
Member

Phionx commented Nov 14, 2021

There are several potential ways to speed up benchmarking simulations.

  • Currently, we are inserting identity gates where we want errors, which forces us to use an optimization level of 0 thus preventing additional optimizations in the rest of the circuit. Instead, we can insert the Krauss error operators directly.
  • It may be faster to use density matrix simulation and then use that to measure the average value of the desired measurement operator (say logical Z readout) as follows, Tr(rho * measurement_operator).
  • We should look into why adding single qubit gates on the same qubit drastically increases simulation time. This may be because circuit depth is increasing with each addition gate on the same qubit.
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

1 participant