-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Optimize parameterized UGate into 1 RXGate + 2 RZGate #13455
Comments
We currently don't optimize expressions containing parameter expressions, due to the overhead in handling the symbolic expressions. If the angles are bound, this should give the optimal decomposition, though, right? |
Julien: this is something that we ought to be able to do during basis translation for the given circuit, even for parametric gates. Adding a direct rule to the |
Yes, if I bind parameter, the circuit becomes optimal. But users might want to evaluate ansatz with unbound UGates (e.g,.
|
What should we add?
Because RXGate is available as a basis gate thanks to the fractional gates support, it would be nice if Qiskit could optimize UGate into 1 RXGate + 2 RZGate as follows.
qiskit 1.2.4, 1.3.0rc1, main branch
The text was updated successfully, but these errors were encountered: