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
Calling some library functions, like efficient_su2 don't work for num_qubits=1, since the entangling gate requires 2 qubits. This should still work, but simply not add an entangling gate.
We should check this edge case for all other functions, as well.
Environment
What is happening?
Calling some library functions, like
efficient_su2
don't work fornum_qubits=1
, since the entangling gate requires 2 qubits. This should still work, but simply not add an entangling gate.We should check this edge case for all other functions, as well.
How can we reproduce the issue?
What should happen?
Build a circuit without CX entangling gate. This should be handled in the
efficient_su2
function and adjust the internal call ton_local
.Any suggestions?
No response
The text was updated successfully, but these errors were encountered: