pennylane-qiskit
pennylane-qiskit copied to clipboard
Update plugin to natively support Ugate, Pgate, and SXgate
-
The
Ugateis the new Qiskit label for theU3gate -
The
Pgatecorresponds to the PennyLanePhaseShiftoperation -
The
SXgate(sqrtX gate) is new, and currently does not have a PennyLane native equivalent. -
Qiskit has deprecated the
[u1, u2, u3]basis in favour of the new[p, sx]basis.
Once the above gates are natively available in PennyLane, we should update the plugin to use the newly available gates.
Hey! Is this issue still open? The SXgate is now supported and cant be used in the plugin too right? I understand Ugate and Pgate have already been updated in the v0.23 update.
Hi @charmerDark, having a look at the Qiskit device's supported operations,
https://github.com/PennyLaneAI/pennylane-qiskit/blob/57934622ee0531212e032c6dd24271c5fd1b4d6d/pennylane_qiskit/qiskit_device.py#L36
it appears that SX is not yet listed. Further, ex.PhaseGate and ex.U3Gate currently in used by the plugin might be deprecated by Qiskit and could be in need of an update!
So I would say that this issue is still valid, yes.
Hey! Is this issue still open? The
SXgateis now supported and cant be used in the plugin too right? I understandUgateandPgatehave already been updated in the v0.23 update.
I'm sorry..I meant now that SX is available on pennylane, it could be added to the list of supported operations. the 'cant' was a typo :sweat_smile:
Ah I see, yes definitely @charmerDark!