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

Update plugin to natively support Ugate, Pgate, and SXgate #113

Open
josh146 opened this issue Oct 20, 2020 · 4 comments
Open

Update plugin to natively support Ugate, Pgate, and SXgate #113

josh146 opened this issue Oct 20, 2020 · 4 comments

Comments

@josh146
Copy link
Member

josh146 commented Oct 20, 2020

  • The Ugate is the new Qiskit label for the U3gate

  • The Pgate corresponds to the PennyLane PhaseShift operation

  • 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.

@josh146 josh146 mentioned this issue Oct 20, 2020
6 tasks
@charmerDark
Copy link

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.

@josh146
Copy link
Member Author

josh146 commented May 28, 2021

Hi @charmerDark, having a look at the Qiskit device's supported operations,

QISKIT_OPERATION_MAP = {

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.

@charmerDark
Copy link

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.

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 😅

@josh146
Copy link
Member Author

josh146 commented May 28, 2021

Ah I see, yes definitely @charmerDark!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants