You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I build a Qiskit Target that supports two qubit basis gates with arbitrary rotation angle, it cannot transpile the circuit if the added basis gate is other than RZXGate or RXXGate.
Qiskit transpiler should support arbitrary fractional two qubit basis gates, e.g. RZX, RXX, RYY, RZZ, RXY, ....
Transpiling with Target and giving basis_gates should behave identically.
This is related but might be a feature request; even if I give RZXGate(Parameter(ϴ)) in the target, current synthesis algorithm only picks pi/4 rotation. The synthesis pass should consider another angle if there is possibility of reducing the circuit depth.
Any suggestions?
No. I'm not familiar with synthesis passes.
The text was updated successfully, but these errors were encountered:
Many components of transpiler is currently being ported to Rust.
Not, sure if the fix of this bug is supposed to be in the current python code base or the fix is planned in the future Rust code base.
Many components of transpiler is currently being ported to Rust.
Not, sure if the fix of this bug is supposed to be in the current python code base or the fix is planned in the future Rust code base.
While this pass will almost certainly be ported to be written in Rust in the near future, in the short term coming up with a fix for this makes sense. The exact time frame for the migration isn't clear, also a fix for the python implementation can be backported to stable releases for inclusion in a bugfix release.
Environment
What is happening?
When I build a Qiskit
Target
that supports two qubit basis gates with arbitrary rotation angle, it cannot transpile the circuit if the added basis gate is other thanRZXGate
orRXXGate
.How can we reproduce the issue?
this results in an error
because it tries to get the unitary matrix of parameterized
RZZGate(Parameter(ϴ))
instruction.On the other hand, it transpiles circuit when I directly specify the basis gates.
What should happen?
RZX, RXX, RYY, RZZ, RXY, ...
.Target
and givingbasis_gates
should behave identically.This is related but might be a feature request; even if I give
RZXGate(Parameter(ϴ))
in the target, current synthesis algorithm only picks pi/4 rotation. The synthesis pass should consider another angle if there is possibility of reducing the circuit depth.Any suggestions?
No. I'm not familiar with synthesis passes.
The text was updated successfully, but these errors were encountered: