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

Transpiler transpiles unnecessary gate optimization #1982

Closed
doichanj opened this issue Nov 1, 2023 · 0 comments
Closed

Transpiler transpiles unnecessary gate optimization #1982

doichanj opened this issue Nov 1, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@doichanj
Copy link
Collaborator

doichanj commented Nov 1, 2023

Informations

  • Qiskit Aer version: 0.13.0
  • Python version:
  • Operating system:

What is the current behavior?

From Aer 0.13.0 with BackendV2, transpiler returns circuit with unnecessary gate conversions.

For example H gate is transpiled to P gate, X gate is transpiled to U3 gate reported in #1977

For extended stabilizer method, converting H to P is bad strategy, because H is Clifford gate but P is not that takes very long time to simulate.

Steps to reproduce the problem

What is the expected behavior?

For the simulator backends, gate conversion is not necessary and should be ignored even when transpiler's optimization level is higher (if some of the backend model is not applied)

Suggested solutions

This can be avoided by setting some parameters in backend target class (e.g. error rates) as default parameters for simulator backends.

@doichanj doichanj added the bug Something isn't working label Nov 1, 2023
@doichanj doichanj self-assigned this Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant